/* ============================================
   ROOT VARIABLES & THEME
   ============================================ */
:root {
    --primary-cyan: #06b6d4;
    --primary-blue: #0891b2;
    --primary-dark: #0e7490;
    --accent-pink: #ec4899;
    --accent-purple: #8b5cf6;
    --accent-orange: #f97316;
    --accent-green: #10b981;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border-color: #334155;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.8);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-brand {
    flex: 0 0 auto;
}

.nav-brand a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: var(--transition);
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--bg-secondary);
    padding: 0.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.lang-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Be Vietnam Pro', sans-serif;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: white;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: scale(1.05);
}

.theme-toggle .dark-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .light-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .dark-icon {
    display: block;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

/* ============================================
   HERO BACKGROUND
   ============================================ */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.1) 0%,
        rgba(8, 145, 178, 0.05) 25%,
        rgba(236, 72, 153, 0.1) 50%,
        rgba(139, 92, 246, 0.05) 75%,
        rgba(6, 182, 212, 0.1) 100%
    );
    animation: gradientShift 15s ease infinite;
}

[data-theme="dark"] .hero-gradient {
    background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.15) 0%,
        rgba(8, 145, 178, 0.1) 25%,
        rgba(236, 72, 153, 0.15) 50%,
        rgba(139, 92, 246, 0.1) 75%,
        rgba(6, 182, 212, 0.15) 100%
    );
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: meshMove 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes meshMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   SWITCHER
   ============================================ */
.switcher {
    display: flex;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    max-width: 750px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    flex: 1 1 auto;
    min-width: 0;
    max-width: 750px;
}

.switch-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Be Vietnam Pro', sans-serif;
    transition: var(--transition);
    position: relative;
}

.switch-button i {
    font-size: 1.2rem;
}

.switch-button:hover {
    color: var(--text-primary);
}

.switch-button.active {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

/* ============================================
   APP SECTIONS
   ============================================ */
.app-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.app-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    padding: 2rem 0;
}

/* ============================================
   LOGO
   ============================================ */
.logo-container {
    width: 200px;
    height: 200px;
    position: relative;
    margin-bottom: 1rem;
}

.logo-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    z-index: 0;
}

.driver-glow {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
}

.merchant-glow {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
}

.dashboard-glow {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.logo {
    width: 100%;
    height: 100%;
    border-radius: 25%;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.logo:hover {
    transform: translateY(-10px) scale(1.05);
}

.animated {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   CONTENT
   ============================================ */
.content {
    max-width: 700px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(8, 145, 178, 0.1) 100%);
    color: var(--primary-cyan);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: var(--shadow-sm);
}

.driver-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.merchant-badge {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(219, 39, 119, 0.1) 100%);
    color: var(--accent-pink);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.dashboard-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 50%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ============================================
   DOWNLOAD BUTTONS
   ============================================ */
.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.download-button {
    transition: var(--transition);
    display: inline-block;
    border-radius: var(--radius-lg);
}

.download-button:hover {
    transform: translateY(-5px);
}

.button-image {
    height: 60px;
    width: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.download-button:hover .button-image {
    box-shadow: var(--shadow-lg);
}

/* ============================================
   DASHBOARD LINKS
   ============================================ */
.dashboard-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.dashboard-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.dashboard-link.login-link {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: white;
}

.dashboard-link.cms-link {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #7c3aed 100%);
    color: white;
}

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

.dashboard-link:active {
    transform: translateY(-2px);
}

.dashboard-link i {
    font-size: 1.2rem;
}

/* ============================================
   STATS
   ============================================ */
.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.driver-icon {
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
}

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

/* ============================================
   APP NOTICE
   ============================================ */
.app-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(8, 145, 178, 0.08) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    margin-top: 2.5rem;
    max-width: 600px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.app-notice:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.driver-notice {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

.merchant-notice {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(219, 39, 119, 0.08) 100%);
    border-color: rgba(236, 72, 153, 0.2);
}

.notice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.driver-notice .notice-icon {
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
}

.merchant-notice .notice-icon {
    background: linear-gradient(135deg, var(--accent-pink) 0%, #db2777 100%);
}

.notice-content {
    flex: 1;
    text-align: left;
}

.notice-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.notice-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
}

.feature-item {
    background: var(--bg-secondary);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-cyan) 0%, var(--primary-blue) 50%, var(--accent-pink) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.gradient-bg-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.gradient-bg-cyan {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
}

.gradient-bg-pink {
    background: linear-gradient(135deg, var(--accent-pink) 0%, #db2777 100%);
}

.gradient-bg-purple {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #7c3aed 100%);
}

.gradient-bg-orange {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ea580c 100%);
}

.gradient-bg-green {
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .container {
        padding: 10rem 2rem 4rem;
    }

    .switcher {
        max-width: 480px;
    }

    .switch-button {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 9.5rem 1rem 2rem;
    }

    .nav-container {
        padding: 1rem;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .nav-brand {
        flex: 0 0 auto;
    }

    .switcher {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0.375rem;
        margin-top: 0.75rem;
    }

    .nav-actions {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .logo-img {
        height: 28px;
    }

    .language-toggle {
        padding: 0.2rem;
    }

    .lang-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .btn-back span {
        display: none;
    }

    .btn-back {
        padding: 0.75rem;
        border-radius: 50%;
        width: 44px;
        height: 44px;
    }

    .switch-button {
        padding: 0.625rem 0.5rem;
        font-size: 0.8rem;
        gap: 0.25rem;
    }

    .switch-button span {
        font-size: 0.7rem;
    }

    .switch-button i {
        font-size: 1rem;
    }

    .home-section {
        padding: 1rem 0;
        gap: 2rem;
    }

    .logo-container {
        width: 150px;
        height: 150px;
    }

    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.625rem 1.25rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .dashboard-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .button-image {
        height: 50px;
    }

    .stats {
        gap: 2rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .app-notice {
        padding: 1.25rem 1.5rem;
        gap: 0.875rem;
    }

    .notice-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .notice-content h4 {
        font-size: 1rem;
    }

    .notice-content p {
        font-size: 0.875rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .feature-item {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .feature-item h3 {
        font-size: 1.2rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 9.5rem 1rem 2rem;
    }

    .nav-container {
        padding: 0.75rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .switcher {
        flex-direction: row;
        gap: 0.25rem;
        max-width: 100%;
        margin-top: 0.5rem;
        padding: 0.375rem;
    }

    .switch-button {
        flex: 1;
        padding: 0.5rem 0.375rem;
        font-size: 0.7rem;
        min-width: 0;
    }

    .switch-button span {
        display: inline;
        font-size: 0.65rem;
    }

    .switch-button i {
        font-size: 0.9rem;
    }

    .title {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .stats {
        gap: 1.5rem;
    }

    .app-notice {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
        margin-top: 2rem;
    }

    .notice-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .notice-content h4 {
        font-size: 0.95rem;
    }

    .notice-content p {
        font-size: 0.85rem;
    }
}

/* ============================================
   DIALOG
   ============================================ */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dialog-overlay.active {
    display: flex;
    opacity: 1;
}

.dialog-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.dialog-overlay.active .dialog-content {
    transform: scale(1) translateY(0);
}

.dialog-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

.dialog-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.dialog-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.dialog-close {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Be Vietnam Pro', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.dialog-close:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.dialog-close:active {
    transform: translateY(0);
}

/* ============================================
   APP SCREENSHOTS SHOWCASE
   ============================================ */
.app-showcase {
	padding: var(--sp-24) 0;
	background: linear-gradient(to bottom,
		rgba(6, 182, 212, 0.02) 0%,
		rgba(16, 185, 129, 0.02) 100%
	);
	position: relative;
	overflow: hidden;
	/* Break out of parent container for full-width */
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
}

.showcase-container {
	width: 100%;
	max-width: none;
	padding: 0;
}

.section-header {
	text-align: center;
	margin-bottom: 3rem;
	padding: 0 2rem;
}

.section-header .badge {
	margin-bottom: 1.5rem;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--text-primary);
	line-height: 1.2;
	margin: 0;
}

@media (max-width: 768px) {
	.section-title {
		font-size: 2rem;
	}
}

/* Showcase Display Container */
.showcase-display {
	position: relative;
	margin: var(--sp-12) 0;
	min-height: 500px;
	overflow: visible;
	border-radius: 0;
}

/* Parallax Background Layer */
.showcase-parallax-bg {
	position: absolute;
	top: 90px;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: 500px;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 50%, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
		linear-gradient(135deg,
			#0A1929 0%,
			#1a2332 20%,
			#06394d 40%,
			#06b6d4 50%,
			#06394d 60%,
			#1a2332 80%,
			#0A1929 100%);
	z-index: 0;
	overflow: hidden;
}

.showcase-waves {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	clip-path: inset(0);
}

.showcase-wave-layer {
	position: absolute;
	bottom: 0;
	left: -10%;
	width: 120%;
	height: 100%;
	opacity: 0.12;
}

.showcase-wave-layer path {
	fill: currentColor;
}

.showcase-wave-1 {
	color: rgba(6, 182, 212, 0.6);
	animation: showcaseWaveMove1 10s ease-in-out infinite;
}

.showcase-wave-2 {
	color: rgba(255, 255, 255, 0.25);
	animation: showcaseWaveMove2 8s ease-in-out infinite;
	animation-delay: -2s;
}

.showcase-wave-3 {
	color: rgba(16, 185, 129, 0.5);
	animation: showcaseWaveMove3 12s ease-in-out infinite;
	animation-delay: -4s;
}

@keyframes showcaseWaveMove1 {
	0%, 100% {
		transform: translateX(5%) scaleY(1);
	}
	50% {
		transform: translateX(0%) scaleY(1.05);
	}
}

@keyframes showcaseWaveMove2 {
	0%, 100% {
		transform: translateX(-6%) scaleY(1);
	}
	50% {
		transform: translateX(0%) scaleY(1.08);
	}
}

@keyframes showcaseWaveMove3 {
	0%, 100% {
		transform: translateX(3%) scaleY(1);
	}
	50% {
		transform: translateX(0%) scaleY(1.03);
	}
}

/* Main Content Wrapper */
.showcase-content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-12);
	padding: var(--sp-8);
	min-height: 680px;
	z-index: 1;
	width: 100%;
}

.dashboard-showcase-content {
	justify-content: center;
	align-items: center;
}

/* Navigation Buttons */
.showcase-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 10;
	padding: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.showcase-nav-btn:hover {
	background: var(--cyan-500);
	border-color: var(--cyan-500);
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

.showcase-nav-btn:active {
	transform: translateY(-50%) scale(0.95);
}

.showcase-nav-btn svg {
	width: 24px;
	height: 24px;
	stroke-width: 2.5;
}

.showcase-nav-prev {
	left: 2rem;
}

.showcase-nav-next {
	right: 2rem;
}

/* Phones Container */
.showcase-phones-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 680px;
	perspective: 1000px;
}

/* Phone Frame Container */
.showcase-phone-frame {
	position: absolute;
	width: 340px;
	height: 680px;
	background: transparent;
	border-radius: 0;
	padding: 0;
	transition: transform 0.5s ease, opacity 0.4s ease;
	will-change: transform;
}

.showcase-phone-frame-left {
	left: 50%;
	transform: translateX(-120%) translateY(40px) rotate(-12deg) scale(0.85);
	z-index: 1;
	opacity: 0.9;
}

.showcase-phone-frame-center {
	left: 50%;
	transform: translateX(-50%) scale(0.95);
	z-index: 3;
	opacity: 1;
}

.dashboard-showcase-phones .showcase-phone-frame-center {
	transform: none !important;
}

.showcase-phone-frame-right {
	left: 50%;
	transform: translateX(20%) translateY(40px) rotate(12deg) scale(0.85);
	z-index: 2;
	opacity: 0.9;
}

.showcase-phone-frame:hover {
	transform: translateY(-8px) scale(1.02);
}

.showcase-phone-frame-left:hover {
	transform: translateX(-120%) translateY(32px) rotate(-12deg) scale(0.87);
}

.showcase-phone-frame-center:hover {
	transform: translateX(-50%) translateY(-8px) scale(0.97);
}

.dashboard-showcase-phones .showcase-phone-frame-center:hover {
	transform: none !important;
}

.showcase-phone-frame-right:hover {
	transform: translateX(20%) translateY(32px) rotate(12deg) scale(0.87);
}

/* Main Screenshot Image */
.showcase-main-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 0;
	display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.app-showcase {
		padding: var(--sp-16) 0;
	}

	.showcase-display {
		min-height: auto;
		overflow: visible;
	}

	.showcase-parallax-bg {
		top: 40px;
		left: 50%;
		transform: translateX(-50%);
		width: 100vw;
		height: 400px;
	}

	.showcase-content {
		flex-direction: column;
		gap: var(--sp-8);
		padding: var(--sp-8) var(--sp-4);
		min-height: 560px;
	}

	.showcase-phones-container {
		height: 560px;
	}

	.showcase-phone-frame {
		width: 280px;
		height: 560px;
		border-radius: 0;
		padding: 0;
		margin-top: 0;
		margin-bottom: 0;
	}

	.showcase-phone-frame-left {
		transform: translateX(-110%) translateY(30px) rotate(-10deg) scale(0.8);
	}

	.showcase-phone-frame-center {
		transform: translateX(-50%) scale(0.95);
	}

	.showcase-phone-frame-right {
		transform: translateX(10%) translateY(15px) rotate(10deg) scale(0.8);
	}

	.showcase-phone-frame-left:hover {
		transform: translateX(-110%) translateY(22px) rotate(-10deg) scale(0.82);
	}

	.showcase-phone-frame-center:hover {
		transform: translateX(-50%) translateY(-8px) scale(0.97);
	}

	.showcase-phone-frame-right:hover {
		transform: translateX(10%) translateY(7px) rotate(10deg) scale(0.82);
	}

	.showcase-main-image {
		border-radius: 0;
	}

	.showcase-nav-btn {
		width: 48px;
		height: 48px;
	}

	.showcase-nav-btn svg {
		width: 20px;
		height: 20px;
	}

	.showcase-nav-prev {
		left: 0.5rem;
	}

	.showcase-nav-next {
		right: 0.5rem;
	}
}

/* Dark mode adjustments */
[data-theme="dark"] .showcase-parallax-bg {
	background:
		radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
		linear-gradient(135deg,
			#0A1929 0%,
			#1a2332 20%,
			#06394d 40%,
			#0891b2 50%,
			#06394d 60%,
			#1a2332 80%,
			#0A1929 100%);
}

/* ============================================
   DASHBOARD SHOWCASE - SINGLE IMAGE CENTER
   ============================================ */
.dashboard-showcase-phones {
	justify-content: center;
	align-items: center;
	position: relative;
}

.dashboard-showcase-phones .showcase-phone-frame-left,
.dashboard-showcase-phones .showcase-phone-frame-right {
	display: none;
}

.dashboard-showcase-phones .dashboard-center-only {
	position: absolute;
	left: 50% !important;
	transform: translateX(-50%) scale(1.3) !important;
	opacity: 1;
	z-index: 3;
	width: 740px !important;
	height: 1000px !important;
	margin: 0;
	padding: 0;
}

.dashboard-showcase-phones .dashboard-center-only:hover {
	transform: translateX(-50%) translateY(-8px) scale(1.35) !important;
}

.dashboard-showcase-phones .dashboard-center-only .showcase-main-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (max-width: 768px) {
	.dashboard-showcase-phones .dashboard-center-only {
		transform: translateX(-50%) scale(1.15) !important;
		width: 400px !important;
		height: 800px !important;
	}
	
	.dashboard-showcase-phones .dashboard-center-only:hover {
		transform: translateX(-50%) translateY(-8px) scale(1.2) !important;
	}
}

@media (max-width: 480px) {
	.dashboard-showcase-phones .dashboard-center-only {
		transform: translateX(-50%) scale(1.05) !important;
		width: 320px !important;
		height: 640px !important;
	}
	
	.dashboard-showcase-phones .dashboard-center-only:hover {
		transform: translateX(-50%) translateY(-8px) scale(1.1) !important;
	}
}

/* ============================================
   ANIMATIONS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
