/* ============================================
   WAC LABS - Electric Playground Theme
   A vibrant, energetic design for mobile app studio
   ============================================ */

/* === Font Import === */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* === CSS Custom Properties === */
:root {
    /* Primary Palette - Electric Coral & Sunny Yellow */
    --coral-400: #FF8585;
    --coral-500: #FF6B6B;
    --coral-600: #FF5252;
    --yellow-400: #FFE66D;
    --yellow-500: #FFD93D;
    --lime-400: #C6F135;
    --lime-500: #A3E635;

    /* Neutral Palette */
    --navy-900: #0D1B2A;
    --navy-800: #1B263B;
    --navy-700: #2D3E50;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --white: #FFFFFF;

    /* Theme Colors (Light Mode) */
    --bg-primary: #FEFEFE;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FAFAFA;

    --text-primary: #0D1B2A;
    --text-secondary: #475569;
    --text-tertiary: #64748B;
    --text-muted: #94A3B8;

    --accent-primary: #FF6B6B;
    --accent-secondary: #FFE66D;
    --accent-glow: rgba(255, 107, 107, 0.3);

    --border-color: #E2E8F0;
    --border-light: #F1F5F9;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 50%, #A3E635 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B6B 0%, #FF8585 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(13, 27, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(13, 27, 42, 0.08);
    --shadow-lg: 0 16px 48px rgba(13, 27, 42, 0.12);
    --shadow-glow: 0 0 60px rgba(255, 107, 107, 0.2);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    /* Spacing */
    --nav-height: 80px;
    --section-padding: 120px;
    --container-max: 1280px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* === Dark Theme === */
[data-theme="dark"] {
    --bg-primary: #0D1B2A;
    --bg-secondary: #1B263B;
    --bg-tertiary: #2D3E50;
    --bg-card: #1B263B;
    --bg-card-hover: #2D3E50;

    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-tertiary: #94A3B8;
    --text-muted: #64748B;

    --accent-glow: rgba(255, 107, 107, 0.4);

    --border-color: #2D3E50;
    --border-light: #1B263B;

    --gradient-card: linear-gradient(145deg, rgba(43, 62, 80, 0.8) 0%, rgba(27, 38, 59, 0.4) 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 80px rgba(255, 107, 107, 0.25);
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--transition-normal), color var(--transition-normal);
}

/* Noise Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

[data-theme="dark"] body::before {
    opacity: 0.03;
}

/* === Ambient Background === */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.sphere-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: var(--gradient-hero);
    animation-delay: 0s;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    bottom: 20%;
    left: -100px;
    background: linear-gradient(135deg, var(--yellow-400) 0%, var(--lime-400) 100%);
    animation-delay: -7s;
}

.sphere-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 20%;
    background: linear-gradient(135deg, var(--coral-400) 0%, var(--yellow-500) 100%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
}

[data-theme="dark"] .grid-overlay {
    opacity: 0.1;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* === Navigation === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.nav.scrolled {
    background: rgba(254, 254, 254, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .nav.scrolled {
    background: rgba(13, 27, 42, 0.85);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.logo-text {
    letter-spacing: -0.02em;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-links li a:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-cta {
    background: var(--accent-primary) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
}

.nav-cta:hover {
    background: var(--coral-600) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 107, 0.4) !important;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--bg-card);
    color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.icon-sun { display: none; }
.icon-moon { display: block; }

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

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: calc(var(--nav-height) + 60px) 32px 80px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Hero Title */
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
}

.title-accent {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
    background: var(--coral-600);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.45);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 32px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg) translateY(-10px);
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.25),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #0d0d15;
    border-radius: 20px;
    margin: 0 auto 16px;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 44px);
    background: linear-gradient(180deg, #1e1e30 0%, #141422 100%);
    border-radius: 32px;
    overflow: hidden;
    padding: 20px;
}

.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-header {
    height: 60px;
    background: linear-gradient(135deg, var(--coral-500) 0%, var(--yellow-400) 100%);
    border-radius: 16px;
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-card.small {
    flex: 0.5;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: var(--gradient-hero);
    filter: blur(100px);
    opacity: 0.3;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: floatCard 6s ease-in-out infinite;
}

.float-card svg {
    color: var(--accent-primary);
}

.card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -30px;
    animation-delay: -2s;
}

.card-3 {
    bottom: 15%;
    left: 0;
    animation-delay: -4s;
}

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

/* === Sections Common === */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 230, 109, 0.1) 100%);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-title em {
    font-style: normal;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
}

/* === About Section === */
.about {
    padding: var(--section-padding) 0;
    position: relative;
}

.about-header {
    margin-bottom: 64px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.value-item {
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.value-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

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

.value-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.value-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.value-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === Apps Section === */
.apps {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.apps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.apps-header {
    text-align: center;
    margin-bottom: 64px;
}

.apps-header .section-subtitle {
    margin: 0 auto;
}

.apps-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.app-feature-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.app-feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.app-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.app-feature-card:hover::after {
    transform: scaleX(1);
}

.app-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 230, 109, 0.1) 100%);
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.app-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.app-feature-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Store Button */
.apps-cta {
    display: flex;
    justify-content: center;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 36px;
    background: var(--navy-900);
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
}

[data-theme="dark"] .store-button {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.store-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.store-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-hero);
    border-radius: var(--radius-md);
    color: var(--white);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 0.75rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.store-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

[data-theme="dark"] .store-name {
    color: var(--text-primary);
}

.store-arrow {
    color: var(--slate-400);
    transition: transform var(--transition-fast);
}

.store-button:hover .store-arrow {
    transform: translateX(6px);
    color: var(--accent-primary);
}

/* === Contact Section === */
.contact {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 230, 109, 0.1) 100%);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Contact Card */
.contact-card {
    padding: 32px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.card-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--coral-500) 0%, var(--yellow-400) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
}

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

.card-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-role {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.card-message {
    margin-bottom: 24px;
}

.card-message p {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.response-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.response-time svg {
    color: var(--lime-500);
}

/* === Footer === */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 48px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-tertiary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

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

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-location::before {
    content: '🇻🇳';
}

/* === Animations === */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.hero-badge[data-animate] { transition-delay: 0.1s; }
.hero-title[data-animate] { transition-delay: 0.2s; }
.hero-subtitle[data-animate] { transition-delay: 0.3s; }
.hero-actions[data-animate] { transition-delay: 0.4s; }
.hero-stats[data-animate] { transition-delay: 0.5s; }
.hero-visual[data-animate] { transition-delay: 0.3s; }

/* === Responsive === */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        transform: perspective(1000px) rotateY(0) rotateX(5deg);
    }

    .floating-cards {
        display: none;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .apps-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 100px 24px 40px;
        background: var(--bg-primary);
        border-left: 1px solid var(--border-color);
        transition: right var(--transition-normal);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        padding: 16px 20px;
        border-radius: var(--radius-md);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: calc(var(--nav-height) + 40px) 20px 60px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .section-container {
        padding: 0 20px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .store-button {
        width: 100%;
        justify-content: center;
    }
}
