/* ================================
   FitCheck AI - Main Stylesheet
   Liquid Glass / Electric Blue Theme
   ================================ */

/* CSS Variables */
:root {
    --dark-navy: #0B1220;
    --deep-navy: #0E1B2E;
    --electric-blue: #00BFFF;
    --electric-blue-dim: rgba(0, 191, 255, 0.5);
    --cool-white: #E8F0FF;

    --glass-light: rgba(255, 255, 255, 0.06);
    --glass-medium: rgba(255, 255, 255, 0.08);
    --glass-strong: rgba(255, 255, 255, 0.10);
    --glass-border: rgba(255, 255, 255, 0.15);

    --text-primary: #E8F0FF;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-disabled: rgba(255, 255, 255, 0.4);

    --container-width: 1200px;
    --nav-height: 80px;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, var(--dark-navy) 0%, var(--deep-navy) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================
   Typography
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--electric-blue), #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-medium);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 32, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    opacity: 0;
    transition: var(--transition-medium);
}

.navbar.scrolled::before {
    opacity: 1;
}

.nav-container {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 10;
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
}

.logo-text {
    color: var(--text-primary);
    white-space: nowrap;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    transition: var(--transition-medium);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Nav CTA Button */
.nav-cta {
    padding: 12px 24px;
    background: var(--electric-blue);
    color: var(--dark-navy);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition-medium);
}

.nav-cta:hover {
    background: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(11, 18, 32, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-medium);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-menu .mobile-cta {
    display: inline-block;
    padding: 14px 28px;
    background: var(--electric-blue);
    color: var(--dark-navy);
    font-weight: 600;
    border-radius: 50px;
    text-align: center;
    margin-top: 10px;
    border: none;
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 8px 16px 8px 8px;
    background: var(--glass-light);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    width: fit-content;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--dark-navy);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.social-proof span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.social-proof strong {
    color: var(--text-primary);
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 32px;
    max-width: 480px;
}

/* Store Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--glass-medium);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition-medium);
}

.store-btn:hover {
    background: var(--glass-strong);
    border-color: var(--electric-blue-dim);
    transform: translateY(-2px);
}

.store-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-text span {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.store-text strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.store-btn.large {
    padding: 16px 28px;
}

.store-btn.large svg {
    width: 32px;
    height: 32px;
}

.store-btn.large .store-text strong {
    font-size: 1.1rem;
}

/* ================================
   Phone Mockups (shared)
   ================================ */
.hero-phones {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.phone-mockup {
    position: relative;
    background: linear-gradient(145deg, #1a2a3a 0%, #0d1520 100%);
    border-radius: 40px;
    padding: 10px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    background: var(--dark-navy);
    border-radius: 32px;
    overflow: hidden;
}

.main-phone {
    z-index: 2;
}

.main-phone .phone-screen {
    width: 260px;
    height: 520px;
}

.side-phone {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%) scale(0.85);
    opacity: 0.9;
    z-index: 1;
}

.side-phone .phone-screen {
    width: 240px;
    height: 480px;
}

/* Screen Content */
.screen-content {
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* When screenshots are present */
.screen-content .screenshot-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Fallback content (when no screenshot) */
.screen-fallback {
    padding: 50px 16px 16px;
    height: 100%;
}

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

.screen-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.screen-score {
    font-size: 0.9rem;
    color: var(--electric-blue);
    font-weight: 600;
}

/* Fit Checker Screen Fallback */
.outfit-preview {
    width: 100%;
    height: 180px;
    background: linear-gradient(145deg, var(--glass-medium), var(--glass-light));
    border-radius: 16px;
    margin-bottom: 20px;
}

.score-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-bar span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: block;
}

.score-bar .bar {
    height: 8px;
    background: var(--glass-light);
    border-radius: 4px;
    overflow: hidden;
}

.score-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--electric-blue), #00f2fe);
    border-radius: 4px;
    animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
    from { width: 0 !important; }
}

/* Wardrobe Screen Fallback */
.wardrobe-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.wardrobe-tabs span {
    font-size: 0.85rem;
    color: var(--text-disabled);
    cursor: pointer;
}

.wardrobe-tabs span.active {
    color: var(--electric-blue);
    font-weight: 600;
}

.wardrobe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.piece {
    aspect-ratio: 1;
    background: linear-gradient(145deg, var(--glass-medium), var(--glass-light));
    border-radius: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-disabled);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ================================
   Features Section
   ================================ */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--glass-light);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--electric-blue);
    margin-bottom: 16px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--electric-blue), #00f2fe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--dark-navy);
}

.feature-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.feature-content p {
    margin-bottom: 24px;
    max-width: 480px;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--electric-blue);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Feature Phone Mockups */
.feature-visual {
    display: flex;
    justify-content: center;
}

.feature-phone .phone-screen {
    width: 280px;
    height: 560px;
}

/* Feature Screen Fallbacks */
.camera-viewfinder {
    width: 220px;
    height: 300px;
    position: relative;
    margin: 60px auto 40px;
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--electric-blue);
}

.corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--electric-blue);
    box-shadow: 0 0 10px var(--electric-blue);
    animation: scanMove 2s ease-in-out infinite;
}

@keyframes scanMove {
    0%, 100% { top: 10%; }
    50% { top: 90%; }
}

.capture-btn {
    width: 70px;
    height: 70px;
    border: 4px solid var(--text-primary);
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}

.capture-btn::after {
    content: '';
    position: absolute;
    inset: 6px;
    background: var(--text-primary);
    border-radius: 50%;
}

/* Wardrobe Detail Fallback */
.wardrobe-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 600;
}

.piece-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.category-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.pill {
    padding: 6px 14px;
    background: var(--glass-light);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.pill.active {
    background: var(--electric-blue);
    border-color: var(--electric-blue);
    color: var(--dark-navy);
    font-weight: 600;
}

.pieces-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.piece-card {
    aspect-ratio: 1;
    background: linear-gradient(145deg, var(--glass-medium), var(--glass-light));
    border-radius: 12px;
}

/* Builder Detail Fallback */
.builder-header {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-align: center;
}

.outfit-canvas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.slot {
    height: 100px;
    background: var(--glass-light);
    border: 2px dashed var(--glass-border);
    border-radius: 12px;
}

.slot.top { height: 120px; }
.slot.bottom { height: 120px; }
.slot.shoes { height: 60px; }

.piece-selector {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.mini-piece {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--glass-medium), var(--glass-light));
    border-radius: 8px;
}

/* Wishlist Detail Fallback */
.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.heart-icon {
    color: #ff4757;
    font-size: 1.2rem;
}

.wishlist-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wish-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--glass-light);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.wish-img {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--glass-medium), var(--glass-light));
    border-radius: 8px;
    flex-shrink: 0;
}

.wish-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wish-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.wish-brand {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ================================
   How It Works Section
   ================================ */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 191, 255, 0.03) 50%, transparent 100%);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.step {
    text-align: center;
    max-width: 280px;
    padding: 32px 24px;
    background: var(--glass-light);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: var(--transition-medium);
}

.step:hover {
    background: var(--glass-medium);
    border-color: var(--electric-blue-dim);
    transform: translateY(-8px);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--electric-blue);
    opacity: 0.3;
    margin-bottom: 8px;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--electric-blue), #00f2fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--dark-navy);
}

.step h3 {
    margin-bottom: 12px;
}

.step p {
    font-size: 0.95rem;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 100px;
    color: var(--electric-blue);
    opacity: 0.5;
}

.step-connector svg {
    width: 60px;
    height: 20px;
}

/* ================================
   Stats Section
   ================================ */
.stats {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat {
    text-align: center;
    padding: 32px;
    background: var(--glass-light);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--electric-blue);
    display: inline;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 800;
    color: var(--electric-blue);
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ================================
   FAQ Section
   ================================ */
.faq {
    padding: 100px 0;
}

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

.faq-item {
    margin-bottom: 16px;
    background: var(--glass-light);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-medium);
}

.faq-item:hover {
    border-color: var(--electric-blue-dim);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--electric-blue);
    transition: var(--transition-medium);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 1rem;
    line-height: 1.7;
}

/* ================================
   Download CTA Section
   ================================ */
.download-cta {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
}

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

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--electric-blue);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
}

/* ================================
   Responsive - Large Desktop (1441px+)
   ================================ */
@media (min-width: 1441px) {
    .container {
        padding: 0 60px;
    }

    .hero-content {
        gap: 100px;
    }
}

/* ================================
   Responsive - Laptop (1025px–1440px)
   ================================ */
@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        padding: 0 40px;
    }

    .hero-content {
        gap: 80px;
    }

    .main-phone .phone-screen {
        width: 280px;
        height: 560px;
    }

    .side-phone .phone-screen {
        width: 260px;
        height: 520px;
    }
}

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

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

    .social-proof {
        margin: 0 auto 24px;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

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

    .hero-phones {
        min-height: 400px;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .feature-content {
        text-align: center;
    }

    .feature-content p {
        margin: 0 auto 24px;
    }

    .feature-list {
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
}

/* ================================
   Responsive - Mobile (max 768px)
   ================================ */
@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

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

    .hero-phones {
        min-height: 350px;
    }

    .main-phone .phone-screen {
        width: 240px;
        height: 480px;
    }

    .side-phone {
        right: -30px;
    }

    .side-phone .phone-screen {
        width: 220px;
        height: 440px;
    }

    .feature-phone .phone-screen {
        width: 260px;
        height: 520px;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .scroll-indicator {
        display: none;
    }
}

/* ================================
   Responsive - Small Mobile (max 480px)
   ================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 30px);
        padding-bottom: 30px;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 20px;
    }

    .hero-phones {
        min-height: 300px;
        margin-top: 20px;
    }

    .main-phone .phone-screen {
        width: 200px;
        height: 400px;
    }

    .side-phone {
        display: none;
    }

    .feature-phone .phone-screen {
        width: 220px;
        height: 440px;
    }

    .feature-row {
        gap: 30px;
        margin-bottom: 80px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn.large {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
}

/* ================================
   Animation Enhancements
   ================================ */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}
