/**
 * SheraAI LMS - OPTIMIZED CSS
 * Performance-first, no-lag, no-blinking design
 * Version: 3.0.0 - CLEAN & FAST
 */

/* ============================================
   PERFORMANCE CRITICAL FIXES
   ============================================ */

/* Prevent white flash during scroll */
html {
    background: #0a0f1a !important;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: #0a0f1a !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Remove ALL problematic animations on mobile */
@media (max-width: 768px) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.2s !important;
    }
    
    .gradient-orb {
        display: none !important;
    }
    
    .animated-bg {
        display: none !important;
    }
    
    .particle-container {
        display: none !important;
    }
    
    .cursor-glow,
    .cursor-trail {
        display: none !important;
    }
}

/* Simplified background for better performance */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 60% 40% at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 50% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

/* Hide orbs - they cause lag */
.gradient-orb {
    display: none !important;
}

/* Disable heavy effects */
.scroll-progress {
    display: none !important;
}

.particle-container {
    display: none !important;
}

.cursor-glow,
.cursor-trail {
    display: none !important;
}

/* ============================================
   CLEAN GLASS CARDS
   ============================================ */
.glass-card {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.glass-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Remove 3D effects that cause lag */
.glass-card,
.feature-card,
.pricing-card,
.role-detail-card,
.contact-method {
    transform: none !important;
    perspective: none !important;
}

/* ============================================
   NAVBAR - SOLID & CLEAN
   ============================================ */
.navbar {
    background: rgba(10, 15, 26, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.navbar.scrolled {
    background: rgba(10, 15, 26, 0.98) !important;
}

/* ============================================
   ANNOUNCEMENT BAR - SIMPLIFIED
   ============================================ */
.announcement-bar {
    background: linear-gradient(90deg, #6366f1, #8b5cf6) !important;
    animation: none !important;
    padding: 12px 16px;
    text-align: center;
    color: white;
    font-size: 0.9rem;
}

.announcement-bar p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.announcement-bar i {
    animation: none !important;
}

.announcement-bar a {
    color: #fcd34d;
    text-decoration: none;
    font-weight: 600;
}

/* ============================================
   WHATSAPP BUTTON - CLEAN
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float::before {
    display: none !important;
}

.whatsapp-tooltip {
    display: none;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ============================================
   PHONE MOCKUP V2 - MATCHING FLUTTER APP EXACTLY
   ============================================ */
.phone-mockup-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.iphone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1c1c1e 0%, #2c2c2e 50%, #1c1c1e 100%);
    border-radius: 50px;
    padding: 12px;
    box-shadow: 
        0 0 0 3px #3a3a3c,
        0 0 0 4px #1c1c1e,
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 60px 120px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.iphone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.dynamic-island {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 32px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* iOS Status Bar */
.ios-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 24px 8px;
    background: transparent;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.ios-status .time {
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 5px;
    font-size: 11px;
}

.status-icons .battery {
    font-size: 13px;
}

/* Flutter AppBar - Purple to Blue Gradient */
.flutter-appbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #9333ea 0%, #3b82f6 100%);
}

.appbar-title span {
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.appbar-icons {
    display: flex;
    gap: 12px;
}

.appbar-icons i {
    color: white;
    font-size: 14px;
}

/* Flutter Body - Scrollable Content */
.flutter-body {
    flex: 1;
    padding: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Welcome Card - Gradient Matching Flutter */
.flutter-welcome {
    background: linear-gradient(135deg, #9333ea 0%, #3b82f6 100%);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fw-title {
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.fw-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 10px;
}

/* Stats Grid - Matching Flutter _buildStatCard */
.flutter-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.flutter-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.fs-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.fs-icon.blue { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); color: white; }
.fs-icon.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; }
.fs-icon.orange { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: white; }
.fs-icon.red { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); color: white; }

.fs-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fs-label {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.fs-value {
    font-size: 14px;
    font-weight: 700;
    color: white;
}

/* Section Title */
.flutter-section-title {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

/* Quick Actions Grid */
.flutter-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.flutter-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.fa-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.fa-icon.purple { background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%); color: white; }
.fa-icon.blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: white; }
.fa-icon.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; }
.fa-icon.orange { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: white; }

.flutter-action span {
    font-size: 7px;
    color: rgba(255, 255, 255, 0.7);
}

/* Bottom Navigation Bar */
.flutter-navbar {
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 8px;
}

.nav-item i {
    font-size: 14px;
}

.nav-item.active {
    color: #a78bfa;
}

/* Home Indicator */
.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* Mobile Responsive Phone */
@media (max-width: 768px) {
    .iphone-frame {
        width: 200px;
        height: 420px;
        border-radius: 36px;
        padding: 8px;
        transform: none;
    }
    
    .iphone-frame:hover {
        transform: none;
    }
    
    .dynamic-island {
        width: 80px;
        height: 24px;
        top: 12px;
    }
    
    .iphone-screen {
        border-radius: 28px;
    }
    
    .ios-status {
        padding: 36px 16px 6px;
        font-size: 10px;
    }
    
    .flutter-appbar {
        padding: 8px 12px;
    }
    
    .appbar-title span {
        font-size: 12px;
    }
    
    .appbar-icons i {
        font-size: 11px;
    }
    
    .flutter-body {
        padding: 8px;
        gap: 6px;
    }
    
    .flutter-welcome {
        padding: 10px;
        border-radius: 12px;
    }
    
    .fw-title {
        font-size: 12px;
    }
    
    .fw-sub {
        font-size: 8px;
    }
    
    .flutter-stats {
        gap: 5px;
    }
    
    .flutter-stat {
        padding: 6px;
        border-radius: 10px;
    }
    
    .fs-icon {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }
    
    .fs-label {
        font-size: 6px;
    }
    
    .fs-value {
        font-size: 11px;
    }
    
    .flutter-section-title {
        font-size: 9px;
    }
    
    .flutter-actions {
        gap: 4px;
    }
    
    .flutter-action {
        padding: 5px 2px;
    }
    
    .fa-icon {
        width: 18px;
        height: 18px;
        font-size: 8px;
    }
    
    .flutter-action span {
        font-size: 5px;
    }
    
    .flutter-navbar {
        padding: 5px 0;
    }
    
    .nav-item i {
        font-size: 10px;
    }
    
    .nav-item span {
        font-size: 6px;
    }
    
    .home-indicator {
        width: 70px;
        height: 3px;
        bottom: 5px;
    }
}

@media (max-width: 480px) {
    .iphone-frame {
        width: 180px;
        height: 380px;
        border-radius: 32px;
    }
}

/* ============================================
   GLASSMORPHISM CONTAINERS FOR TEXT
   ============================================ */
.glass-container {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
}

.overview-content {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
}

.overview-content p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.overview-content p:last-child {
    margin-bottom: 0;
}

.overview-content a {
    color: #a5b4fc;
    text-decoration: none;
}

.overview-content a:hover {
    color: #6366f1;
    text-decoration: underline;
}

.faq-container {
    display: grid;
    gap: 20px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.faq-item h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Role Cards with Glassmorphism */
.role-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.role-card i {
    font-size: 2.5rem;
    color: #6366f1;
    margin-bottom: 16px;
}

.role-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.role-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .roles-grid {
        grid-template-columns: 1fr;
    }
}

/* Platform Items with Glassmorphism */
.platform-item {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
}

.platform-item h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-item h3 i {
    color: #6366f1;
}

.platform-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Card with Glassmorphism */
.glass-card-large {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
}

.glass-card-large h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.glass-card-large p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .glass-card-large {
        padding: 32px 20px;
    }
    
    .glass-card-large h2 {
        font-size: 1.6rem;
    }
}

/* ============================================
   SCROLL FIX - Universal
   ============================================ */
html {
    background: #0a0f1a !important;
    scroll-behavior: smooth;
    overflow-x: hidden;
    height: auto !important;
    min-height: 100%;
    overflow-y: auto !important;
}

body {
    background: #0a0f1a !important;
    overflow-x: hidden;
    overflow-y: auto !important;
    min-height: 100vh;
    height: auto !important;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
}

main {
    overflow: visible;
    min-height: auto;
    flex: 1 0 auto;
}

section {
    overflow: visible;
    position: relative;
}

/* Fix footer spacing - NO SCROLL BELOW */
.footer {
    margin-top: auto;
    flex-shrink: 0;
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
}

.footer-bottom {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Ensure content can scroll */
.section,
.hero-section,
.page-hero {
    overflow: visible !important;
}

/* Hero section glassmorphism */
.hero-content {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 24px;
        background: rgba(15, 23, 42, 0.6);
    }
}

/* Page hero glass */
.page-hero-content {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.page-hero-content h1 {
    color: white;
    margin-bottom: 12px;
}

.page-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Feature cards glass override */
.feature-card,
.ultra-glass {
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
}

/* Neon card as glass */
.neon-card {
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

/* ============================================
   PRICING GRID
   ============================================ */
.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing-grid-4 {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    position: relative;
    padding: 32px 24px;
    text-align: center;
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 0 0 12px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-badge.trial {
    background: #10b981;
    color: white;
}

.pricing-badge.popular {
    background: #6366f1;
    color: white;
}

.pricing-badge.premium {
    background: #f59e0b;
    color: white;
}

.pricing-popular {
    border: 2px solid rgba(99, 102, 241, 0.5) !important;
}

.pricing-header {
    margin-bottom: 20px;
    padding-top: 20px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.pricing-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.pricing-price {
    margin: 24px 0 16px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.pricing-price .currency {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.pricing-price .period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    align-self: flex-end;
    margin-bottom: 8px;
}

.pricing-duration {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.pricing-savings {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i.fa-check {
    color: #10b981;
}

.pricing-features li i.fa-times {
    color: #64748b;
}

.pricing-features li.disabled {
    color: rgba(255, 255, 255, 0.4);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

.comparison-table td.highlight,
.comparison-table th.highlight {
    background: rgba(99, 102, 241, 0.1);
}

.text-success { color: #10b981; }
.text-muted { color: #64748b; }

/* ============================================
   FAQ GRID
   ============================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    padding: 24px;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.faq-item h3 i {
    color: #6366f1;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
    padding: 60px 0;
}

.cta-box {
    padding: 60px 40px;
    text-align: center;
    background: rgba(99, 102, 241, 0.1) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-trust {
    margin-top: 32px;
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.cta-trust i {
    color: #10b981;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 40px 24px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* ============================================
   CONTACT FORM STYLES
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: #1e293b;
    color: white;
}

.btn-full {
    width: 100%;
}

.form-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.form-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.form-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.contact-methods {
    display: grid;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.contact-details p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.contact-details a {
    color: #a5b4fc;
    text-decoration: none;
}

.contact-details a:hover {
    color: #6366f1;
}

.contact-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-top: 4px !important;
}

/* ============================================
   SOCIAL LINKS
   ============================================ */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    color: #6366f1;
}

/* ============================================
   ADMIN LOGIN STYLES
   ============================================ */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-box {
    max-width: 440px;
    width: 100%;
    padding: 48px 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header .logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin: 0 auto 16px;
}

.login-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.login-header p {
    color: rgba(255, 255, 255, 0.6);
}

.login-form .form-group {
    margin-bottom: 20px;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.forgot-link {
    display: block;
    text-align: right;
    margin-top: -12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #a5b4fc;
    text-decoration: none;
}

.forgot-link:hover {
    color: #6366f1;
}

/* ============================================
   ADMIN DASHBOARD STYLES
   ============================================ */
.dashboard-nav {
    background: rgba(10, 15, 26, 0.98);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 70px);
}

@media (max-width: 968px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
}

.dashboard-sidebar {
    background: rgba(15, 23, 42, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
}

.dashboard-main {
    padding: 32px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 1200px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    padding: 24px;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.stat-card .stat-change {
    font-size: 0.85rem;
    color: #10b981;
    margin-top: 8px;
}

.submissions-table {
    width: 100%;
    border-collapse: collapse;
}

.submissions-table th,
.submissions-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.submissions-table th {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.submissions-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.new {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

.status-badge.read {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
}

/* ============================================
   GRADIENT TEXT (Simplified)
   ============================================ */
.gradient-text-animated {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: none !important;
}

/* ============================================
   BUTTONS - CLEAN
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-success {
    background: #10b981 !important;
}

.btn-error {
    background: #ef4444 !important;
}

/* Remove all glow effects */
.btn-glow::before,
.btn::before {
    display: none !important;
}

/* ============================================
   MOBILE OPTIMIZATIONS - COMPREHENSIVE
   ============================================ */
@media (max-width: 768px) {
    /* Base spacing */
    .announcement-bar {
        padding: 10px 12px;
        font-size: 0.75rem;
    }
    
    .announcement-bar p {
        flex-direction: column;
        gap: 4px;
    }
    
    section {
        padding: 48px 0 !important;
    }
    
    .section-header {
        margin-bottom: 32px !important;
    }
    
    h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.1rem !important;
    }
    
    .container {
        padding: 0 16px !important;
    }
    
    /* BUTTONS - Mobile optimized with proper touch targets */
    .btn {
        padding: 14px 20px !important;
        font-size: 0.9rem !important;
        min-height: 48px !important; /* Google recommended touch target */
        width: 100%;
        justify-content: center;
    }
    
    .btn-lg {
        padding: 16px 24px !important;
        font-size: 1rem !important;
    }
    
    /* Hero section mobile */
    .hero-section .container {
        flex-direction: column !important;
        gap: 32px !important;
    }
    
    .hero-content {
        padding: 24px 20px !important;
        text-align: center;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100% !important;
    }
    
    .hero-meta {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 20px !important;
    }
    
    .hero-meta span {
        font-size: 0.75rem !important;
        padding: 8px 12px !important;
    }
    
    /* Phone mockup mobile */
    .hero-visual {
        order: -1;
        margin-bottom: 16px;
    }
    
    .phone-frame {
        width: 200px !important;
        height: 400px !important;
        border-radius: 28px !important;
    }
    
    .phone-notch {
        width: 70px !important;
        height: 18px !important;
    }
    
    .phone-screen {
        border-radius: 22px !important;
    }
    
    /* Feature cards mobile */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .feature-card {
        padding: 20px !important;
    }
    
    .feature-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.2rem !important;
    }
    
    /* Platform grid mobile */
    .platform-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .platform-item {
        padding: 20px !important;
    }
    
    /* Roles grid mobile */
    .roles-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .role-card {
        padding: 20px !important;
    }
    
    .role-card i {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
    }
    
    /* Pricing cards mobile */
    .pricing-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .pricing-card {
        padding: 24px 20px !important;
    }
    
    .pricing-price .amount {
        font-size: 2.5rem !important;
    }
    
    /* FAQ mobile */
    .faq-container {
        gap: 12px !important;
    }
    
    .faq-item {
        padding: 20px !important;
    }
    
    .faq-item h3 {
        font-size: 1rem !important;
    }
    
    /* CTA section mobile */
    .glass-card-large {
        padding: 28px 20px !important;
    }
    
    .glass-card-large h2 {
        font-size: 1.4rem !important;
    }
    
    .glass-card-large p {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }
    
    .cta-actions {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .cta-actions .btn {
        width: 100% !important;
    }
    
    /* Contact grid mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .contact-form {
        padding: 24px 20px !important;
    }
    
    .contact-method {
        padding: 16px !important;
    }
    
    /* Overview content mobile */
    .overview-content {
        padding: 20px !important;
    }
    
    .overview-content p {
        font-size: 0.95rem !important;
    }
    
    /* Page hero mobile */
    .page-hero {
        padding: 80px 0 40px !important;
    }
    
    .page-hero-content {
        padding: 24px 20px !important;
    }
    
    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center;
    }
    
    .footer-links {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    /* Section footer mobile */
    .section-footer {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }
    
    .section-footer .btn {
        width: 100% !important;
        max-width: 300px !important;
    }
    
    /* WhatsApp button mobile */
    .whatsapp-float {
        bottom: 16px !important;
        right: 16px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 24px !important;
    }
    
    /* Dashboard stats mobile */
    .dashboard-stats {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    /* Login box mobile */
    .login-box {
        padding: 32px 24px !important;
    }
    
    /* Download buttons mobile */
    .download-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .download-card {
        padding: 24px 20px !important;
    }
}

/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.25rem !important;
    }
    
    .container {
        padding: 0 12px !important;
    }
    
    .btn {
        padding: 12px 16px !important;
        font-size: 0.85rem !important;
    }
    
    .hero-content {
        padding: 20px 16px !important;
    }
    
    .phone-frame {
        width: 180px !important;
        height: 360px !important;
    }
    
    .footer-links {
        grid-template-columns: 1fr !important;
    }
    
    .announcement-bar {
        font-size: 0.7rem;
    }
    
    .navbar .logo-text {
        font-size: 1rem !important;
    }
    
    .nav-actions .btn {
        padding: 10px 16px !important;
        font-size: 0.8rem !important;
    }
}

/* ============================================
   LOADING SCREEN - SIMPLIFIED
   ============================================ */
.loading-screen {
    display: none !important;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .whatsapp-float,
    .announcement-bar,
    .animated-bg,
    .navbar {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
