/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode Colors */
    --primary-color: #003B75;
    --primary-dark: #002952;
    --secondary-color: #0057B8;
    --accent-color: #bfcdd1;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --dark-color: #1f2937;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --border-color: #e2e8f0;
    --white: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --full-white: #ffffff;
    
    /* Common */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #ffffff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --dark-color: #f8fafc;
    --light-gray: #e0e2e6;
    --medium-gray: #94a3b8;
    --border-color: #374151;
    --white: #1e293b;
    --full-white: #ffffff;
    /* Dark Background Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    
    /* Dark Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --full-white: #ffffff;
    /* Dark Shadows */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

/* Dark Mode Global Styles */
[data-theme="dark"] .role-card,
[data-theme="dark"] .feature-item,
[data-theme="dark"] .dashboard-preview,
[data-theme="dark"] .preview-window,
[data-theme="dark"] .request-type-card,
[data-theme="dark"] .request-form-container,
[data-theme="dark"] .track-form-wrapper,
[data-theme="dark"] .company-info,
[data-theme="dark"] .success-modal-content,
[data-theme="dark"] .request-result,
[data-theme="dark"] .track-result,
[data-theme="dark"] .track-error {
    background: var(--white) !important;
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .nav-btn-secondary {
    background: var(--bg-tertiary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .nav-btn-secondary:hover {
    background: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .nav-btn-whatsapp {
    background: #25d366 !important;
    color: white !important;
}

[data-theme="dark"] .nav-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
}

[data-theme="dark"] .btn-primary {
    background: var(--primary-color) !important;
    color: white !important;
}

[data-theme="dark"] .btn-primary:hover {
    background: var(--primary-dark) !important;
}

[data-theme="dark"] .mvp-features,
[data-theme="dark"] .request-section,
[data-theme="dark"] .track-section,
[data-theme="dark"] .faq-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="dark"] .contact-info-section {
    background: var(--bg-secondary);
}

/* Smooth Dark Mode Transitions */
* {
    transition: background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease, 
                box-shadow 0.3s ease !important;
}

/* Prevent transition on page load */
.preload * {
    transition: none !important;
}

/* Ensure mobile drawer is completely hidden on page load */
.preload .mobile-drawer {
    transform: translateX(100%) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
}

.preload .mobile-overlay {
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
}

/* Mobile drawer display management - prevent initial visibility */
@media (max-width: 768px) {
    .mobile-drawer:not(.open) {
        display: none !important;
    }
    
    .mobile-overlay:not(.show) {
        display: none !important;
    }
    
    .mobile-drawer.open {
        display: flex !important;
    }
    
    .mobile-overlay.show {
        display: block !important;
    }
}

/* Enhanced Dark Mode Form Elements */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] select:focus,
[data-theme="dark"] textarea:focus {
    background: var(--white);
    border-color: var(--primary-color);
}

[data-theme="dark"] .upload-area {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="dark"] .upload-area:hover,
[data-theme="dark"] .upload-area.drag-over {
    background: var(--white);
    border-color: var(--primary-color);
}

/* Dark Mode Preview Elements */
[data-theme="dark"] .preview-body,
[data-theme="dark"] .mobile-screen,
[data-theme="dark"] .chart-container,
[data-theme="dark"] .training-slot,
[data-theme="dark"] .attendance-item,
[data-theme="dark"] .payment-item,
[data-theme="dark"] .preview-card {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

/* Dark Mode Text Elements */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--text-primary);
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] li {
    color: var(--text-secondary);
}

[data-theme="dark"] .hero-description,
[data-theme="dark"] .section-header p,
[data-theme="dark"] .contact-subtitle {
    color: var(--text-secondary);
}

/* Dark Mode Mobile Responsive */
@media (max-width: 768px) {
    .dark-mode-toggle {
        width: 40px;
        height: 22px;
        margin-left: 0.5rem;
    }
    
    .dark-mode-toggle::before {
        width: 18px;
        height: 18px;
    }
    
    [data-theme="dark"] .dark-mode-toggle::before {
        transform: translateX(18px);
    }
    
    .dark-mode-toggle i {
        font-size: 10px;
    }
    
    .dark-mode-toggle .sun-icon {
        left: 4px;
    }
    
    .dark-mode-toggle .moon-icon {
        right: 4px;
    }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: var(--transition);
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Ensure all elements use border-box and prevent overflow */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Prevent horizontal overflow but allow vertical scrolling */
html {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    /* Ensure smooth scrolling on mobile */
    -webkit-overflow-scrolling: touch;
}

/* Ensure all major containers respect viewport width */
.navbar, .hero, .features, .mvp-features, .key-features, 
.cta, .contact-section, .request-section, .faq-section, .footer {
    max-width: 100%;
    overflow-x: hidden;
}

/* Prevent text from causing overflow */
h1, h2, h3, h4, h5, h6, p, div, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure tables are responsive */
table {
    width: 100%;
    table-layout: fixed;
}

/* Additional mobile safety measures */
@media (max-width: 768px) {
    * {
        max-width: 100%;
    }
    
    /* Prevent any element from extending beyond viewport but allow vertical scroll */
    .nav-menu, .hero-container, .container, .mvp-content,
    .contact-content, .request-container, .faq-container {
        max-width: 100% !important;
        overflow-x: hidden;
        overflow-y: visible;
    }
    
    /* Ensure mobile touch scrolling works properly */
    body {
        touch-action: pan-y pinch-zoom;
        -webkit-overflow-scrolling: touch;
        overflow-y: auto !important;
    }
    
    /* Prevent touch action conflicts on interactive elements */
    .role-card, .feature-item, .mvp-feature, .contact-method,
    .request-type-card, .faq-item {
        touch-action: manipulation;
        /* Ensure these elements don't interfere with scrolling */
        pointer-events: auto;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }
    
    /* Allow text selection and scrolling in content areas */
    .role-card p, .feature-item p, .mvp-info p, .contact-method p,
    .request-type-card p, .faq-answer p {
        user-select: text;
        -webkit-user-select: text;
        pointer-events: auto;
        touch-action: pan-y;
    }
}

/* Mobile body optimizations */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.5;
        /* Ensure touch scrolling is smooth and responsive */
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll !important;
        height: auto !important;
        min-height: 100vh;
    }
    
    /* Fix any height restrictions that might prevent scrolling */
    .role-card, .feature-item, .mvp-feature {
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
    }
    
    /* Ensure main content areas are scrollable */
    .features, .mvp-features, .key-features, .contact-section, .request-section {
        height: auto !important;
        overflow: visible !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile-first container optimization */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
        max-width: 100%;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    border-bottom-color: var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile nav container optimization */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
        max-width: 100%;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: var(--border-color);
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 1rem;
}

.dark-mode-toggle:hover {
    background: var(--medium-gray);
}

.dark-mode-toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .dark-mode-toggle {
    background: var(--primary-color);
}

[data-theme="dark"] .dark-mode-toggle::before {
    transform: translateX(24px);
    background: var(--white);
}

.dark-mode-toggle i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: var(--transition);
}

.dark-mode-toggle .sun-icon {
    left: 6px;
    color: var(--warning-color);
    opacity: 1;
}

.dark-mode-toggle .moon-icon {
    right: 6px;
    color: var(--text-tertiary);
    opacity: 0.5;
}

[data-theme="dark"] .dark-mode-toggle .sun-icon {
    opacity: 0.5;
}

[data-theme="dark"] .dark-mode-toggle .moon-icon {
    opacity: 1;
    color: var(--full-white);
}

/* CSS-Only Hamburger Menu Styles */
/* New Mobile Navbar (Off-Canvas Drawer) */
.nav-toggle-btn {
    display: none;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 0;
    width: 42px;
    height: 36px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-toggle-btn:hover {
    background: var(--white);
    border-color: var(--primary-color);
}

.nav-toggle-btn .bar {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.nav-toggle-btn .bar:nth-child(1) { top: 10px; }
.nav-toggle-btn .bar:nth-child(2) { top: 17px; }
.nav-toggle-btn .bar:nth-child(3) { top: 24px; }

.nav-toggle-btn.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-btn.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle-btn.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

[data-theme="dark"] .nav-toggle-btn { border-color: var(--border-color); background: var(--bg-secondary); }
[data-theme="dark"] .nav-toggle-btn:hover { background: var(--white); }
[data-theme="dark"] .nav-toggle-btn .bar { background: var(--text-primary); }

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 2000;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 84vw;
    max-width: 360px;
    background: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transform: translateX(100%) !important;
    transition: transform 0.3s ease;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    will-change: transform;
    /* Ensure drawer is hidden initially */
    visibility: hidden;
    opacity: 0;
}

.mobile-drawer.open {
    transform: translateX(0) !important;
    animation: drawerBounce 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Quick open animation with slight overshoot */
@keyframes drawerBounce {
    0% { transform: translateX(100%); }
    70% { transform: translateX(-8px); }
    100% { transform: translateX(0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .mobile-drawer { transition: none; }
    .mobile-drawer.open { animation: none; }
    .mobile-overlay { transition: none; }
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.drawer-close {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
}

.drawer-link {
    display: block;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--bg-secondary);
}

.drawer-link:hover {
    background: var(--white);
    border-color: var(--primary-color);
}

.drawer-actions {
    margin-top: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
}

/* Place a compact theme toggle inside drawer actions */
.drawer-actions .dark-mode-toggle {
    margin-top: 4px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .nav-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--full-white);
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hamburger styles moved to CSS-Only section above */

/* Hero Section */
.hero {
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-color) 100%);
    overflow: hidden;
    transition: var(--transition);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile hero container optimization */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        gap: 1.5rem;
        padding: 0 15px;
        display: block;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--primary-color);
    color: var(--white);
    flex: 2;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    background: var(--white);
    color: var(--medium-gray);
    border: 2px solid var(--border-color);
    flex: 1;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--light-gray);
    border-color: var(--medium-gray);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    position: relative;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.stat-subtitle {
    font-size: 10px;
    color: #f59e0b;
    font-weight: 600;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-number.coming-soon {
    opacity: 0.6;
    position: relative;
}

.stat-number.coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(249, 115, 22, 0.3) 50%, transparent 60%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Statistics Animation Enhancements */
.stat-number {
    transition: all 0.3s ease;
    display: inline-block;
}

.stat-number:not(.coming-soon) {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 800;
}

.last-updated {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    white-space: nowrap;
    animation: fadeInUp 0.5s ease-out 2.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.scroll-animate.fade-in-up {
    opacity: 0;
    transform: translateY(60px);
}

.scroll-animate.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
}

.scroll-animate.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
}

.scroll-animate.fade-in-scale {
    opacity: 0;
    transform: scale(0.85) translateY(30px);
}

.scroll-animate.fade-in-rotate {
    opacity: 0;
    transform: rotate(8deg) translateY(40px);
}

/* Active states when in view */
.scroll-animate.animate {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) rotate(0) !important;
}

.scroll-animate.animate.delay-1 {
    transition-delay: 0.2s;
}

.scroll-animate.animate.delay-2 {
    transition-delay: 0.4s;
}

.scroll-animate.animate.delay-3 {
    transition-delay: 0.6s;
}

.scroll-animate.animate.delay-4 {
    transition-delay: 0.8s;
}

.scroll-animate.animate.delay-5 {
    transition-delay: 1.0s;
}

/* Stagger animation for groups */
.scroll-animate-group .scroll-animate:nth-child(1) { transition-delay: 0.0s; }
.scroll-animate-group .scroll-animate:nth-child(2) { transition-delay: 0.15s; }
.scroll-animate-group .scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.scroll-animate-group .scroll-animate:nth-child(4) { transition-delay: 0.45s; }
.scroll-animate-group .scroll-animate:nth-child(5) { transition-delay: 0.6s; }
.scroll-animate-group .scroll-animate:nth-child(6) { transition-delay: 0.75s; }

/* Specific animation variations */
.scroll-bounce {
    opacity: 0;
    transform: translateY(120px) scale(0.7);
    transition: opacity 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), 
                transform 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.scroll-bounce.animate {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.scroll-slide-fade {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.4s cubic-bezier(0.23, 1, 0.32, 1),
                transform 1.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-slide-fade.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Counter animation for numbers */
.counter-animate {
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.counter-animate.animate {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Force initial states more aggressively */
.scroll-animate:not(.animate) {
    opacity: 0 !important;
    visibility: visible;
}

.scroll-animate.fade-in-up:not(.animate) {
    transform: translateY(60px) !important;
}

.scroll-animate.fade-in-left:not(.animate) {
    transform: translateX(-60px) !important;
}

.scroll-animate.fade-in-right:not(.animate) {
    transform: translateX(60px) !important;
}

.scroll-animate.fade-in-scale:not(.animate) {
    transform: scale(0.85) translateY(30px) !important;
}

.scroll-animate.fade-in-rotate:not(.animate) {
    transform: rotate(8deg) translateY(40px) !important;
}

/* Mobile optimizations for animations */
@media (max-width: 768px) {
    .scroll-animate {
        transition-duration: 1s;
    }
    
    .scroll-animate.fade-in-up {
        transform: translateY(40px);
    }
    
    .scroll-animate.fade-in-left {
        transform: translateX(-40px);
    }
    
    .scroll-animate.fade-in-right {
        transform: translateX(40px);
    }
    
    .scroll-animate.fade-in-scale {
        transform: scale(0.9) translateY(20px);
    }
    
    .scroll-animate.fade-in-rotate {
        transform: rotate(5deg) translateY(25px);
    }
    
    /* Faster stagger on mobile */
    .scroll-animate-group .scroll-animate:nth-child(1) { transition-delay: 0.0s; }
    .scroll-animate-group .scroll-animate:nth-child(2) { transition-delay: 0.1s; }
    .scroll-animate-group .scroll-animate:nth-child(3) { transition-delay: 0.2s; }
    .scroll-animate-group .scroll-animate:nth-child(4) { transition-delay: 0.3s; }
    .scroll-animate-group .scroll-animate:nth-child(5) { transition-delay: 0.4s; }
    .scroll-animate-group .scroll-animate:nth-child(6) { transition-delay: 0.5s; }
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    .scroll-bounce,
    .scroll-slide-fade,
    .counter-animate {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .scroll-animate-group .scroll-animate {
        transition-delay: 0s !important;
    }
}

.stat-label {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Hero stats specific styles */
.hero-stats .stat-number {
    color: var(--secondary-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-stats .stat-number.coming-soon {
    opacity: 0.7;
}

.hero-stats .stat-number:not(.coming-soon) {
    color: var(--secondary-color);
    text-shadow: 0 2px 8px rgba(150, 149, 149, 0.5);
    font-weight: 800;
}

.hero-stats .stat-label {
    color: var(--secondary-color);
    font-weight: 500;
}

.hero-stats .stat-subtitle {
    color: var(--accent-color);
    font-weight: 600;
}

/* Dashboard Preview */
.hero-visual {
    position: relative;
}

.dashboard-preview {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: var(--transition);
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
}

.preview-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.preview-title {
    color: var(--white);
    font-weight: 600;
}

.preview-content {
    display: flex;
    height: 300px;
}

.preview-sidebar {
    width: 80px;
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
}

.sidebar-item {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    transition: var(--transition);
}

.sidebar-item.active,
.sidebar-item:hover {
    background: var(--primary-color);
    color: var(--full-white);
}

.preview-main {
    flex: 1;
    padding: 1.5rem;
}

.preview-cards {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-card {
    flex: 1;
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--full-white);
}

.card-icon.blue {
    background: var(--primary-color);
}

.card-icon.green {
    background: var(--success-color);
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
}

.card-label {
    font-size: 0.8rem;
    color: var(--medium-gray);
}

.preview-chart {
    height: 120px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1rem;
    display: flex;
    align-items: end;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 80px;
    width: 100%;
}

.bar {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    animation: growUp 2s ease-out;
}

@keyframes growUp {
    from { height: 0; }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.user-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.role-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.role-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.role-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--full-white);
}

.role-icon.coaches {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.role-icon.athletes {
    background: linear-gradient(135deg, #10b981, #059669);
}

.role-icon.parents {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.role-icon.managers {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.role-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.role-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.role-features {
    list-style: none;
    text-align: left;
}

.role-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.role-features i {
    color: var(--success-color);
    font-size: 0.9rem;
}

/* MVP Features Section */
.mvp-features {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-color) 50%, var(--bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
}

.mvp-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 99, 132, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(54, 162, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.mvp-feature {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.mvp-feature.in-view {
    opacity: 1;
    transform: translateY(0);
}

.mvp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mvp-feature.reverse .mvp-content {
    direction: rtl;
}

.mvp-feature.reverse .mvp-info {
    direction: ltr;
}

.mvp-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.mvp-badge.student {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: var(--full-white);
}

.mvp-badge.training {
    background: linear-gradient(135deg, #10b981, #047857);
    color: var(--full-white);
}

.mvp-badge.attendance {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: var(--full-white);
}

.mvp-badge.payment {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: var(--full-white);
}

.mvp-badge.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--full-white);
}

.mvp-badge.performance {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--full-white);
}

.mvp-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.mvp-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mvp-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mvp-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.mvp-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--success-color), #10b981);
    border-radius: 0 2px 2px 0;
}

.mvp-features-list li:hover {
    background: var(--white);
    border-color: var(--success-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.mvp-features-list i {
    color: var(--success-color);
    font-size: 1.1rem;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.mvp-features-list li:hover i {
    background: var(--success-color);
    color: white;
    transform: scale(1.1);
}

.mvp-features-list strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* MVP Preview Windows */
.mvp-preview {
    position: relative;
}

.preview-window {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.preview-window:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.preview-window.whatsapp-theme {
    background: #075E54;
}

.preview-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
}

.whatsapp-theme .preview-header {
    background: #075E54;
}

.preview-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.preview-body {
    padding: 1.5rem;
    min-height: 200px;
}

.whatsapp-theme .preview-body {
    background: #0a0a0a;
    padding: 1rem;
}

/* Student Profile Preview */
.student-profile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.profile-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.sport-badge {
    background: var(--light-gray);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Training Schedule Preview */
.training-schedule {
    display: flex;
    gap: 1rem;
}

.day-schedule {
    flex: 1;
}

.day-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--medium-gray);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.training-slot {
    background: var(--light-gray);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.training-slot.morning {
    border-left-color: #fbbf24;
}

.training-slot.evening {
    border-left-color: #8b5cf6;
}

.training-slot .time {
    display: block;
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-bottom: 0.25rem;
}

.training-slot .activity {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Attendance Preview */
.attendance-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.attendance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.student-name {
    font-weight: 500;
    color: var(--text-primary);
}

.attendance-status i {
    font-size: 1.25rem;
}

.attendance-item.present .attendance-status i {
    color: var(--success-color);
}

.attendance-item.absent .attendance-status i {
    color: var(--error-color);
}

/* Payment Overview */
.payment-overview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-summary {
    display: flex;
    gap: 1rem;
}

.summary-item {
    flex: 1;
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.summary-item.paid {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.summary-item.pending {
    background: linear-gradient(135deg, #fed7aa, #fdba74);
}

.summary-item .amount {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.summary-item .label {
    font-size: 0.8rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recent-payments {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.payment-item .name {
    font-weight: 500;
    color: var(--dark-color);
}

.paid-badge {
    background: var(--success-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pending-badge {
    background: var(--warning-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* WhatsApp Messages */
.whatsapp-messages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message {
    display: flex;
}

.message.sent {
    justify-content: flex-end;
}

.message.received {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    position: relative;
}

.message.sent .message-content {
    background: #005c4b;
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.message.received .message-content {
    background: #202c33;
    color: #e9edef;
    border-bottom-left-radius: 4px;
}

.message-content p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-content .time {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Performance Chart */
.performance-chart {
    position: relative;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-header .metric {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
}

.chart-header .timeframe {
    font-size: 0.8rem;
    color: var(--medium-gray);
}

.chart-visual {
    height: 120px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: relative;
    height: 100%;
    width: 100%;
}

.data-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, 50%);
}

.data-point.active {
    background: var(--accent-color);
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 4px rgba(6, 214, 160, 0.2);
}

.improvement-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success-color);
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Key Features Section */
.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--full-white);
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--full-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #20b954;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--white);
    padding: 5px;
    margin-right: 10px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--accent-color);
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.floating-action {
    position: fixed;
    bottom: max(20px, env(safe-area-inset-bottom));
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: var(--white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.floating-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}


.key-features,
.features,
.cta {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

/* Packages Section Styles */
.packages-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

[data-theme="dark"] .packages-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.packages-loading {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-secondary);
}

.packages-loading p {
    margin-top: 1rem;
    font-size: 1.1rem;
}

.packages-error {
    text-align: center;
    padding: 3rem 0;
}

.packages-error .error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--error-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.packages-error h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.packages-error p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
}

/* Package Card Styles */
.package-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
    position: relative;
}

.package-card.clickable-card {
    cursor: pointer;
}

.package-card.clickable-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}



.package-card.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
}

.package-card.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.package-header {
    position: relative;
    padding: 1.2rem;
    color: white;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
}

/* Angled pricing header like reference */
.package-header.angled {
    padding: 1.5rem 1.2rem 2.5rem;
    min-height: 160px;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 85% 100%, 0 100%);
}

.package-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.package-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.package-title-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.package-title-icon i {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.package-title h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Pricing card refinements */
.pricing-card {
    display: flex;
    flex-direction: column;
}

.package-title .title-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.student-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

.student-chip i { font-size: 0.8rem; }

.plan-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.95);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    width: fit-content;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.plan-label i {
    font-size: 1rem;
}



.student-hero {
    margin-top: 0.75rem;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.student-hero .count {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

.student-hero .decimals {
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.95;
}

.package-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.package-meta .meta-item {
    display: grid;
    grid-template-rows: auto auto auto;
    align-items: center;
    justify-items: center;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-secondary);
}

.package-meta .meta-item i { color: var(--primary-color); }
.package-meta .meta-item span { font-size: 0.75rem; color: var(--text-primary); font-weight: 600; }
.package-meta .meta-item strong { font-size: 0.8rem; color: var(--text-secondary); }


.package-cta {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.package-cta .btn-primary.btn-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
}

.package-cta .btn-secondary.btn-details {
    padding: 0.875rem;
    border-radius: 10px;
    min-width: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.package-cta .btn-secondary.btn-details:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.features-list .more-features { color: var(--text-tertiary); font-style: italic; }

.features-list.simple li { 
    background: transparent; 
    border: 0; 
    padding: 0.4rem 0; 
    margin-bottom: 0.3rem;
}

.features-list.simple li.included i { color: var(--success-color); }
.features-list.simple li.excluded i { color: var(--error-color); }
.features-list.simple li.excluded { opacity: 0.6; }

/* Tooltip styles */
.more-features-tooltip {
    position: relative;
    cursor: help;
    color: var(--primary-color) !important;
    opacity: 1 !important;
}

.more-features-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 200px;
    max-width: 300px;
}

.tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--border-color);
}

.tooltip-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tooltip-features li {
    padding: 0.25rem 0;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tooltip-features li i {
    color: var(--success-color);
    font-size: 0.7rem;
}

.package-customers {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.package-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Package Content */
.package-content {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.package-limits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.limit-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.7rem;
    text-align: center;
    transition: all 0.3s ease;
}

.limit-card:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.limit-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    border-radius: 10px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.limit-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.limit-value {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.package-features {
    margin-top: 1rem;
}

.package-features h4 {
    margin: 0 0 0.6rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-features h4 i {
    color: var(--primary-color);
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.features-list li i {
    color: var(--success-color);
    font-size: 0.75rem;
    width: 16px;
    flex-shrink: 0;
}

.student-limit {
    background: linear-gradient(135deg, var(--success-color), #10b981);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 1rem;
}

.student-limit-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.student-limit-text {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.student-limit-number {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .packages-section {
        padding: 3rem 0;
    }
    
    .package-header {
        padding: 1.5rem;
        min-height: 140px;
    }
    
    .package-title h3 {
        font-size: 1.5rem;
    }
    
    .package-title-icon {
        width: 40px;
        height: 40px;
    }
    
    .package-title-icon i {
        font-size: 1.25rem;
    }
    
    .package-content {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .package-limits,
    .package-meta {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .limit-card {
        padding: 0.75rem;
    }
    
    .limit-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Package Modal Styles */
.package-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.package-modal.show {
    opacity: 1;
    visibility: visible;
}

.package-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.package-modal .modal-content {
    position: relative;
    background: var(--bg-primary);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.package-modal.show .modal-content {
    transform: scale(1);
}

.package-modal .modal-header {
    padding: 1.5rem;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.package-modal .modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.package-modal .modal-title i {
    font-size: 1.25rem;
}

.package-modal .modal-title h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.package-modal .modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.package-modal .modal-close:hover {
    background: rgba(255,255,255,0.3);
}

.package-modal .modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.package-modal .package-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.package-modal .info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.package-modal .info-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.package-modal .info-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.package-modal .info-item strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-left: auto;
}

.package-modal .package-description-full h4,
.package-modal .package-features-full h4 {
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.package-modal .package-description-full p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.package-modal .package-features-full {
    margin-top: 1.5rem;
}

.package-modal .features-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.package-modal .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.package-modal .feature-item i {
    color: var(--success-color);
    font-size: 0.8rem;
}

.package-modal .feature-item span {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.package-modal .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.package-modal .modal-footer .btn-secondary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.package-modal .modal-footer .btn-secondary:hover {
    background: var(--border-color);
}

@media (max-width: 768px) {
    .package-modal .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    

    
    .package-modal .features-grid {
        grid-template-columns: 1fr;
    }
    
    .package-modal .modal-footer {
        flex-direction: column;
    }
    
    .package-modal .modal-footer .btn-primary,
    .package-modal .modal-footer .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Scroll Optimization */
@media (max-width: 768px) {
    /* Ensure no elements have height restrictions that prevent scrolling */
    html, body {
        height: auto !important;
        min-height: 100vh;
        max-height: none !important;
        overflow-y: auto !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Restrict heavy transforms to prevent scroll jank, but keep animations working */
    /* Do NOT globally remove transforms; only neutralize on heavy containers if needed */
    .hero-visual,
    .preview-window.enhanced {
        will-change: auto;
    }
    
    /* Reset any position fixed elements that might interfere */
    .hero, .features, .mvp-features, .contact-section, .request-section {
        position: relative !important;
        /* keep transforms for animations */
    }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        max-width: 100%;
        margin: 1.5rem auto;
        gap: 0.8rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .dashboard-preview {
        transform: none;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 12px;
    }
    
    .preview-content {
        height: 200px;
        padding: 0.5rem;
    }
    
    .preview-sidebar {
        width: 60px;
        padding: 0.5rem;
    }
    
    .sidebar-item {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .preview-main {
        padding: 1rem;
    }
    
    .preview-cards {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .preview-card {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .card-number {
        font-size: 1rem;
    }
    
    .card-label {
        font-size: 0.7rem;
    }
    
    .user-roles {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        gap: 0.6rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .features,
    .key-features,
    .cta {
        padding: 60px 0;
        margin-bottom: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .role-card,
    .feature-item {
        padding: 1.5rem;
    }
    
    .role-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* MVP Features Mobile Optimization */
    .mvp-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .mvp-feature.reverse .mvp-content {
        direction: ltr;
    }
    
    .mvp-info h3 {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    .mvp-info p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .mvp-features-list li {
        font-size: 0.9rem;
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        gap: 0.75rem;
    }
    
    .mvp-features-list i {
        width: 18px;
        height: 18px;
        font-size: 1rem;
    }
    
    .preview-window {
        transform: none;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 8px;
    }
    
    .preview-window.enhanced {
        min-height: 300px;
    }
    
    .mobile-frame {
        width: 240px;
        height: 480px;
    }
    
    .mobile-screen {
        height: 440px;
        padding: 15px;
    }
    
    .app-header h4 {
        font-size: 18px;
    }
    
    .quick-cards {
        gap: 8px;
    }
    
    .quick-card {
        padding: 10px;
    }
    
    .card-info .title {
        font-size: 9px;
    }
    
    .card-info .detail {
        font-size: 11px;
    }
    
    .menu-item {
        padding: 10px 12px;
    }
    
    .menu-item span {
        font-size: 12px;
    }
    
    .training-schedule {
        flex-direction: column;
    }
    
    .payment-summary {
        flex-direction: column;
    }
    
    /* Contact Section Mobile */
    .contact-content {
        gap: 1.5rem;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    /* Request Section Mobile */
    .request-types {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .request-type-card {
        padding: 2rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .request-form-container {
        padding: 2rem;
    }
} 

/* New Navigation Button Styles */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.nav-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.nav-btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.nav-btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

/* Single Row Role Cards */
@media (min-width: 768px) {
    .user-roles {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #581c87 100%);
    position: relative;
    padding: 80px 0;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.whatsapp-contact .method-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.phone-contact .method-icon {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
}

.email-contact .method-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.method-info h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.method-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--full-white);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    transform: translateY(-2px);
}

.phone-btn {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: var(--full-white);
}

.phone-btn:hover {
    background: linear-gradient(135deg, #8b5cf6, var(--primary-color));
    transform: translateY(-2px);
}

.email-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.email-btn:hover {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    transform: translateY(-2px);
}

/* Contact Form Styles */
.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile form optimization */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 12px;
        margin: 0;
    }
    
    .contact-form-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-form-header p {
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .contact-form-header h3 {
        font-size: 1.3rem;
    }
    
    .contact-form-header p {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.65rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-header h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

textarea::placeholder {
    color: var(--text-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #8b5cf6, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-note i {
    color: var(--accent-color);
}

/* Contact Section Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Mobile App Preview Styles */
.mobile-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.mobile-frame {
    width: 280px;
    height: 580px;
    background: var(--bg-secondary);
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: var(--bg-secondary);
    border-radius: 0 0 15px 15px;
}

.mobile-time {
    color: white;
}

.mobile-battery {
    color: var(--success-color);
}

.mobile-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 540px;
    border-radius: 22px;
    padding: 20px;
    color: white;
    overflow: hidden;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-header h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.notification-dot {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

.welcome-banner {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.greeting {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 12px;
    opacity: 0.8;
}

.quick-cards {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-card i {
    font-size: 18px;
    width: 30px;
    text-align: center;
}

.quick-card.training i { color: #06b6d4; }
.quick-card.payment i { color: #10b981; }

.card-info {
    display: flex;
    flex-direction: column;
}

.card-info .title {
    font-size: 10px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.card-info .detail {
    font-size: 12px;
    font-weight: 600;
}

.app-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

.menu-item span {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}

.menu-item .badge {
    background: #ef4444;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    text-align: center;
}

/* Updated Messaging Preview Styles */
.messaging-theme {
    border: 2px solid #3b82f6;
}

.messaging-theme .preview-header {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.announcement-center {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px;
}

.announcement-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    border-left: 4px solid #e2e8f0;
    transition: all 0.3s ease;
}

.announcement-item.urgent {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.announcement-item.normal {
    border-left-color: #3b82f6;
    background: #eff6ff;
}

.announcement-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.announcement-badge.urgent {
    background: #ef4444;
    color: white;
}

.announcement-badge.normal {
    background: #3b82f6;
    color: white;
}

.announcement-content h5 {
    margin: 0 0 4px 0;
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
}

.announcement-content p {
    margin: 0 0 8px 0;
    font-size: 10px;
    color: #6b7280;
    line-height: 1.3;
}

.announcement-stats {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: #9ca3af;
}

/* MVP Badge Updates */
.mvp-badge.mobile {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.mvp-badge.messaging {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

/* Enhanced MVP Preview Styles */
.preview-window.enhanced {
    min-height: 380px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile optimization for enhanced preview windows */
@media (max-width: 768px) {
    .preview-window.enhanced {
        min-height: 320px;
        border-radius: 8px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .preview-window.enhanced .preview-header {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .preview-window.enhanced .preview-body {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .dashboard-stats {
        gap: 6px;
        margin-bottom: 12px;
        padding: 6px;
    }
    
    .mini-stat {
        padding: 6px;
        gap: 4px;
    }
    
    .stat-icon {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }
    
    .stat-data .stat-number {
        font-size: 12px;
    }
    
    .stat-data .stat-label {
        font-size: 8px;
    }
    
    .section-title {
        font-size: 10px;
        margin-bottom: 6px;
        padding: 0 6px;
    }
}

@media (max-width: 480px) {
    .preview-window.enhanced {
        min-height: 280px;
    }
    
    .dashboard-stats {
        gap: 4px;
        padding: 4px;
    }
    
    .mini-stat {
        padding: 4px;
        gap: 3px;
    }
    
    .stat-icon {
        width: 18px;
        height: 18px;
        font-size: 8px;
    }
    
    .stat-data .stat-number {
        font-size: 11px;
    }
    
    .stat-data .stat-label {
        font-size: 7px;
    }
}

.preview-window.enhanced .preview-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.preview-header i {
    font-size: 16px;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.count-badge, .date-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Dashboard Stats */
.dashboard-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px;
}

.mini-stat {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border-color);
}

.stat-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--white);
}

.stat-icon.blue { background: var(--primary-color); }
.stat-icon.green { background: var(--success-color); }
.stat-icon.orange { background: var(--warning-color); }

.stat-data {
    display: flex;
    flex-direction: column;
}

.stat-data .stat-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-data .stat-label {
    font-size: 9px;
    color: var(--text-secondary);
    line-height: 1;
}

/* Section Title */
.section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    padding: 0 8px;
}

/* Student Management Styles */
.student-dashboard {
    padding: 8px 0;
}

.student-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 8px;
}

.student-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* Mobile optimization for student management */
@media (max-width: 768px) {
    .student-list {
        gap: 4px;
        padding: 0 6px;
    }
    
    .student-row {
        gap: 6px;
        padding: 6px;
    }
    
    .student-avatar {
        width: 20px;
        height: 20px;
    }
    
    .student-name {
        font-size: 10px;
    }
    
    .sport-branch {
        font-size: 8px;
        padding: 1px 4px;
    }
    
    .student-status {
        font-size: 8px;
        padding: 2px 4px;
    }
}

@media (max-width: 480px) {
    .student-row {
        gap: 4px;
        padding: 4px;
    }
    
    .student-avatar {
        width: 18px;
        height: 18px;
    }
    
    .student-name {
        font-size: 9px;
    }
    
    .sport-branch {
        font-size: 7px;
    }
    
    .student-status {
        font-size: 7px;
        padding: 1px 3px;
    }
}

.student-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
}

.student-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.student-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}

.sport-branch {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
    margin-top: 2px;
    display: inline-block;
    width: fit-content;
}

.sport-branch.swimming {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.sport-branch.basketball {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.sport-branch.tennis {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.student-status {
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.student-status.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.student-status.pending {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Training Management Styles */
.training-dashboard {
    padding: 8px 0;
}

.training-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 8px;
}

.training-item {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--border-color);
}

.training-item.ongoing {
    border-left-color: var(--success-color);
    background: var(--bg-secondary);
}

.training-item.upcoming {
    border-left-color: var(--warning-color);
    background: var(--bg-secondary);
}

.training-item.scheduled {
    border-left-color: var(--primary-color);
    background: var(--bg-secondary);
}

.training-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
}

.training-time .time {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.training-time .duration {
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 1;
}

.training-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.training-name {
    font-size: 11px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 2px;
}

.training-meta {
    display: flex;
    gap: 8px;
    font-size: 8px;
    color: #6b7280;
}

.training-status {
    font-size: 8px;
    padding: 3px 6px;
    border-radius: 8px;
    font-weight: 600;
    align-self: flex-start;
}

.training-status.ongoing {
    background: #dcfce7;
    color: #166534;
}

.training-status.upcoming {
    background: #fef3c7;
    color: #92400e;
}

.training-status.scheduled {
    background: #dbeafe;
    color: #1e40af;
}

/* Attendance Management Styles */
.attendance-dashboard {
    padding: 8px 0;
}

.attendance-students {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 8px;
}

.attendance-student {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--border-color);
}

.attendance-student.present {
    border-left-color: var(--success-color);
    background: var(--bg-secondary);
}

.attendance-student.absent {
    border-left-color: var(--error-color);
    background: var(--bg-secondary);
}

.attendance-student.late {
    border-left-color: var(--warning-color);
    background: var(--bg-secondary);
}

.attendance-student .student-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.arrival-time, .absence-reason {
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 1;
}

.absence-reason {
    color: var(--error-color);
}

.attendance-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.attendance-status.present {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.attendance-status.absent {
    background: var(--bg-secondary);
    color: var(--error-color);
}

.attendance-status.late {
    background: var(--bg-secondary);
    color: var(--warning-color);
}

/* Payment Management Styles */
.payment-dashboard {
    padding: 8px 0;
}

.payment-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 8px;
}

.payment-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--border-color);
}

.payment-row.paid {
    border-left-color: var(--success-color);
    background: var(--bg-secondary);
}

.payment-row.pending {
    border-left-color: var(--warning-color);
    background: var(--bg-secondary);
}

.payment-row.overdue {
    border-left-color: var(--error-color);
    background: var(--bg-secondary);
}

.payment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.payment-date, .payment-due, .payment-overdue {
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 1;
}

.payment-due {
    color: var(--warning-color);
}

.payment-overdue {
        color: var(--error-color);
    font-weight: 600;
}

.payment-amount {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 40px;
    text-align: right;
}

.payment-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.payment-status.paid {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.payment-status.pending {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.payment-status.overdue {
    background: var(--bg-secondary);
    color: var(--error-color);
}

/* Performance Management Styles */
.performance-dashboard {
    padding: 8px 0;
}

.performance-chart-section {
    padding: 0 8px;
}

.chart-container {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

.chart-visual {
    position: relative;
    height: 80px;
    width: 100%;
    margin-bottom: 12px;
}

.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    opacity: 0.5;
}

.chart-line {
    position: relative;
    height: 100%;
    width: 100%;
}

.chart-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.data-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, 50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.data-point:hover {
    transform: translate(-50%, 50%) scale(1.3);
    z-index: 10;
}

.data-point.active {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.data-point:hover::after {
    content: attr(data-value);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    margin-bottom: 4px;
    z-index: 20;
}

.performance-metrics {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.metric-label {
    font-size: 9px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.metric-value {
    font-size: 12px;
    font-weight: 700;
}

.metric-value.best {
    color: var(--success-color);
}

.metric-value.target {
    color: var(--warning-color);
}

/* Navigation Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 220px;
    z-index: 1000;
    margin-top: 8px;
    border: 1px solid #e5e7eb;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px;
}

.dropdown-item i {
    font-size: 14px;
    width: 16px;
    color: #6b7280;
}

.dropdown-item:hover {
    background: #f3f4f6;
    color: #1f2937;
    transform: translateX(4px);
}

.dropdown-item:hover i {
    color: var(--primary-color);
}

/* Enhanced Navigation Button Styles */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn-secondary, .nav-btn-whatsapp, .nav-btn {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.nav-btn-secondary {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.nav-btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

.nav-btn-whatsapp {
    background: #25d366;
    color: white;
}

.nav-btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-1px);
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #5b21b6, var(--primary-color));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile FAQ optimization */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    .faq-item {
        margin-bottom: 12px;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .faq-answer {
        padding: 0 20px 16px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-container {
        padding: 0 15px;
    }
    
    .faq-question {
        padding: 14px 16px;
    }
    
    .faq-question h3 {
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 16px 14px 16px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
    color: var(--primary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 14px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 24px 20px 24px;
}

.faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #6b7280;
}

/* FAQ mobile polish */
@media (max-width: 768px) {
    .faq-container {
        padding: 0 12px;
    }
    .faq-item {
        border: 1px solid var(--border-color);
        border-radius: 14px;
        margin-bottom: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    }
    .faq-question {
        padding: 16px 16px;
    }
    .faq-question h3 {
        font-size: 16px;
    }
    .faq-answer {
        transition: max-height 0.35s ease, padding 0.2s ease;
    }
    .faq-answer p {
        font-size: 14px;
    }
    .faq-question i {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-secondary);
    }
}

/* MVP Preview Hover Animations */
.mvp-preview {
    transition: all 0.3s ease;
}

.mvp-preview:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.mobile-preview:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(-2deg);
}

.preview-window.enhanced:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Hero Visual Enhanced Hover */
.hero-visual {
    transition: all 0.4s ease;
}

.hero-visual:hover {
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}

/* Demo & Fiyat Talebi Section Styles */
.request-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f1f5f9 100%);
}

.request-container {
    max-width: 1000px;
    margin: 0 auto;
}

.request-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.request-type-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.request-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.request-type-card.demo-card:hover {
    border-color: var(--primary-color);
}

.request-type-card.price-card:hover {
    border-color: var(--accent-color);
}

.request-type-card .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.demo-card .card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--full-white);
}

.price-card .card-icon {
    background: linear-gradient(135deg, var(--accent-color), #059669);
    color: var(--full-white);
}

.request-type-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.request-type-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--medium-gray);
}

.features-list li i {
    color: var(--success-color);
    width: 16px;
}

.select-type-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.select-type-btn.demo {
    background: var(--primary-color);
    color: var(--full-white);
}

.select-type-btn.demo:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.select-type-btn.price {
    background: var(--success-color);
    color: var(--full-white);
}

.select-type-btn.price:hover {
    background: var(--success-color);
    transform: translateY(-2px);
}

/* Request Form Styles */
.request-form-container {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile request form optimization */
@media (max-width: 768px) {
    .request-form-container {
        padding: 2rem;
        border-radius: 12px;
        margin: 0;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    .request-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .request-form-container {
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-actions .btn-primary,
    .form-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.request-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-secondary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--bg-secondary);
    color: var(--text-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Logo Upload Styles */
.logo-upload .upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-secondary);
}

.logo-upload .upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.logo-upload .upload-area.drag-over {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.upload-area input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-text i {
    font-size: 2rem;
    color: var(--primary-color);
}

.upload-text span {
    font-weight: 600;
    color: var(--dark-color);
}

.upload-text small {
    color: var(--medium-gray);
}

/* Track Request Page Styles */
.track-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f1f5f9 100%);
    min-height: 60vh;
}

.track-header {
    text-align: center;
    margin-bottom: 4rem;
}

.track-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.track-header p {
    font-size: 1.2rem;
    color: var(--medium-gray);
}

.track-container {
    max-width: 800px;
    margin: 0 auto;
}

.track-form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.track-form {
    max-width: 400px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.input-group input {
    flex: 1;
}

.track-btn {
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: var(--full-white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.track-btn:hover {
    background: var(--primary-dark);
}

/* Track Result and Error Styles - Enhanced */
.track-result,
.track-error {
    background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.track-result::before,
.track-error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
}

.result-card {
    max-width: 600px;
    margin: 0 auto;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
}

.result-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
}

.request-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.request-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.request-id {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.request-type {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.request-type.demo {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.request-type.price {
    background: rgba(6, 214, 160, 0.1);
    color: var(--accent-color);
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.status-badge.processing {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.status-badge.quoted,
.status-badge.scheduled {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.status-badge.contacted {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.status-badge.cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.company-info {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.company-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-info h4::before {
    content: '🏢';
    font-size: 1.1rem;
}

.request-details {
    display: grid;
    gap: 0.75rem;
}

.request-details p {
    margin: 0;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    color: var(--dark-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.request-details p:hover {
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(4px);
}

.request-details p strong {
    color: var(--medium-gray);
    font-weight: 600;
    font-size: 0.9rem;
}

.request-details p span {
    font-weight: 600;
    color: var(--dark-color);
}

/* Modern Timeline Design */
.status-timeline {
    margin: 2rem 0;
    padding: 0;
    background: transparent;
    position: relative;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step:last-child .step-connector {
    display: none;
}

/* Step Indicator */
.step-indicator {
    position: relative;
    margin-right: 1.5rem;
    z-index: 2;
}

.step-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    position: relative;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
    color: #9ca3af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 3px solid var(--white);
}

/* Step Connector */
.step-connector {
    position: absolute;
    top: 4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3rem;
    background: linear-gradient(180deg, #e5e7eb 0%, rgba(229, 231, 235, 0.3) 100%);
    border-radius: 2px;
    transition: all 0.4s ease;
}

/* Step Content */
.step-content {
    flex: 1;
    padding: 0.5rem 0;
    position: relative;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #6b7280;
    transition: color 0.3s ease;
}

.step-status {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.step-description {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

/* Completed State */
.timeline-step.completed .step-icon {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.timeline-step.completed .step-connector {
    background: linear-gradient(180deg, var(--success-color), rgba(16, 185, 129, 0.3));
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.timeline-step.completed .step-title {
    color: var(--success-color);
}

.timeline-step.completed .step-status {
    color: var(--success-color);
}

.timeline-step.completed .step-description {
    color: var(--dark-color);
}

/* Active State */
.timeline-step.active .step-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    animation: activeStepPulse 2s ease-in-out infinite;
}

.timeline-step.active .step-connector {
    background: linear-gradient(180deg, var(--primary-color), rgba(99, 102, 241, 0.3));
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.timeline-step.active .step-title {
    color: var(--primary-color);
    font-weight: 800;
}

.timeline-step.active .step-status {
    color: var(--primary-color);
    animation: statusPulse 1.5s ease-in-out infinite;
}

.timeline-step.active .step-description {
    color: var(--dark-color);
    font-weight: 500;
}

/* Rejected State */
.timeline-step.rejected .step-icon {
    background: linear-gradient(135deg, var(--error-color), #dc2626);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

.timeline-step.rejected .step-title {
    color: var(--error-color);
}

.timeline-step.rejected .step-status {
    color: var(--error-color);
}

.timeline-step.rejected .step-description {
    color: var(--dark-color);
}

/* Pending State */
.timeline-step.pending .step-icon {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #9ca3af;
}

/* Step Pulse Animation */
.step-pulse {
    position: absolute;
    top: -0.5rem;
    left: -1.5rem;
    right: -0.5rem;
    bottom: -0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(99, 102, 241, 0.02));
    border-radius: var(--border-radius);
    border: 1px solid rgba(99, 102, 241, 0.1);
    animation: stepContentPulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes activeStepPulse {
    0%, 100% {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 12px 35px rgba(99, 102, 241, 0.6);
    }
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes stepContentPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.01);
    }
}

/* Error and Loading Styles */
.track-error .error-card,
.error-card {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.error-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--error-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.error-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.error-card p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
}

.spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.spinner > div {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 100%;
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        transform: scale(0);
    } 40% {
        transform: scale(1.0);
    }
}

/* Contact Info Section */
.contact-info-section {
    padding: 3rem 0;
    background: var(--white);
}

.contact-info-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-info-content p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.contact-methods-inline {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-method-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-method-btn.whatsapp {
    background: #25d366;
    color: var(--full-white);
}

.contact-method-btn.whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.contact-method-btn.phone {
    background: var(--primary-color);
    color: var(--full-white);
}

.contact-method-btn.phone:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-method-btn.email {
    background: var(--success-color);
    color: var(--full-white);
}

.contact-method-btn.email:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Success Modal Styles */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.success-modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 500px;
    margin: 2rem;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.success-modal.show .success-modal-content {
    transform: scale(1);
}

.success-modal .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--success-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.success-modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.success-modal p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Mobile styles for modal */
@media (max-width: 768px) {
    .success-modal-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn-primary,
    .modal-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

.dashboard-preview:hover {
    transform: scale(1.02);
}

/* Request Result Styles */
.request-result {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.result-success {
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--success-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.result-success h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.result-success p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Request Details Styles */
.request-details {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.request-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .label {
    font-weight: 600;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.summary-item .value {
    font-weight: 600;
    color: var(--dark-color);
    text-align: right;
}

.summary-item .value.status-pending {
    color: var(--warning-color);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Result Actions for Request Form */
.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.result-actions .btn-primary,
.result-actions .btn-secondary {
    min-width: 150px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-actions .btn-primary::before,
.result-actions .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.result-actions .btn-primary:hover::before,
.result-actions .btn-secondary:hover::before {
    left: 100%;
}

.result-actions .btn-primary:hover,
.result-actions .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile responsive for request details */
@media (max-width: 768px) {
    .request-result {
        padding: 2rem;
        margin-top: 1rem;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .result-success h4 {
        font-size: 1.25rem;
    }
    
    .result-success p {
        font-size: 0.9rem;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        text-align: left;
    }
    
    .summary-item .value {
        text-align: left;
    }
    
    .result-actions {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .result-actions .btn-primary,
    .result-actions .btn-secondary {
        width: 100%;
        justify-content: center;
        min-width: auto;
        padding: 1rem;
    }
    
    /* Modern Timeline Mobile Optimizations */
    .status-timeline {
        margin: 1.5rem 0;
    }
    
    .timeline-step {
        margin-bottom: 1.5rem;
    }
    
    .step-indicator {
        margin-right: 1rem;
    }
    
    .step-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.1rem;
        border: 2px solid var(--white);
    }
    
    .step-connector {
        top: 3rem;
        height: 2.5rem;
        width: 2px;
    }
    
    .timeline-step.active .step-icon {
        transform: scale(1.05);
    }
    
    .timeline-step.completed .step-icon {
        transform: scale(1.02);
    }
    
    .step-content {
        padding: 0.25rem 0;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .step-status {
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.7rem;
    }
    
    .step-pulse {
        top: -0.25rem;
        left: -1rem;
        right: -0.25rem;
        bottom: -0.25rem;
    }
    
    /* Track Result Mobile */
    .track-result,
    .track-error {
        padding: 1.5rem;
    }
    
    .result-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        text-align: left;
    }
    
    .request-info h3 {
        font-size: 1.25rem;
    }
    
    .request-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .status-badge {
        align-self: flex-start;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .company-info h4 {
        font-size: 1.1rem;
    }
    
    .request-details {
        gap: 0.5rem;
    }
    
    .request-details p {
        font-size: 0.9rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .request-details p:hover {
        transform: none;
    }
    
    /* Track Form Mobile */
    .track-form-wrapper {
        padding: 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .input-group input {
        margin-bottom: 0;
    }
    
    .track-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Contact Methods Mobile */
    .contact-methods-inline {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .contact-method-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    /* Track Header Mobile */
    .track-header h1 {
        font-size: 2rem;
    }
    
    .track-header p {
        font-size: 1rem;
    }
}

.preview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Updates */
@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        position: fixed;
        top: 70px;
        left: 20px;
        right: 20px;
        min-width: auto;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .nav-btn-secondary, .nav-btn-whatsapp, .nav-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    
    /* Mobile form actions */
    .form-actions {
        flex-direction: row;
        gap: 0.75rem;
        justify-content: stretch;
    }
    
    .btn-primary {
        flex: 2;
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }
    
    .btn-secondary {
        flex: 1;
        font-size: 0.85rem;
        padding: 0.625rem 0.75rem;
    }
}

/* Footer Styles */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 60px 0 20px 0;
    transition: var(--transition);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--full-white);
    padding: 5px;
    margin-right: 10px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

[data-theme="dark"] .footer {
    background: var(--bg-secondary);
}

[data-theme="dark"] .footer-logo-img {
    background-color: var(--full-white);
}