/* ===========================
   Global Styles & Reset
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Based on AuraSpend theme */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #EC4899;
    --accent: #F59E0B;
    
    /* Neutral Colors */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Functional Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-sans: 'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
    scroll-behavior: smooth;
    /* 隱藏滾動條但保持滾動功能 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #fff;
    zoom: 0.9;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-links a.btn-primary-small:hover {
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

/* ===========================
   Buttons
   =========================== */
.btn-primary, .btn-secondary, .btn-primary-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

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

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

.btn-primary-small {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
    background: var(--primary);
    color: white;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    background: linear-gradient(135deg, #F0F4FF 0%, #E0E7FF 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.hero-badges {
    display: flex;
    gap: var(--spacing-md);
}

.store-badge {
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.store-badge:hover {
    transform: scale(1.05);
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

/* Embedded hero video (YouTube) */
.hero-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    background: #000; /* Placeholder background */
}

/* Ensure container maintains height when child is fixed */
.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.hero-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Picture-in-Picture Mode */
.hero-embed.pip-mode {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    height: 180px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
    padding-top: 0 !important;
}

.hero-embed.pip-mode iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-embed.pip-mode .pip-close {
    display: block;
}

.pip-close {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    line-height: 1;
    transition: all 0.2s;
}

.pip-close:hover {
    background: rgba(0, 0, 0, 1);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-embed.pip-mode {
        width: 240px;
        height: 135px;
        bottom: 15px;
        right: 15px;
    }
}

.hero-gradient {
    position: absolute;
    top: 5%;
    left: 35%;
    width: 70%;
    height: 90%;
    background: radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.14) 0%, transparent 55%);
    pointer-events: none;
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: var(--spacing-3xl) 0;
    background: white;
}

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

.feature-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.feature-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.feature-visual {
    width: 100%;
    height: 200px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================
   How It Works Section
   =========================== */
.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, white 0%, var(--gray-50) 100%);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.step-visual {
    position: relative;
    width: 100%;
    height: 250px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.step-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.step-description {
    color: var(--gray-600);
    line-height: 1.6;
}

.step-arrow {
    font-size: var(--font-size-3xl);
    color: var(--primary);
    font-weight: 700;
}

/* ===========================
   Screenshots Section - Apple iPhone Style 3D Carousel
   =========================== */
.screenshots {
    padding: var(--spacing-3xl) 0;
    background: #fafafa;
    overflow: hidden;
}

.screenshots-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 2000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.screenshots-viewport {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.screenshots-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

/* iPhone 外殼容器 */
.screenshot-item {
    position: absolute;
    width: 265px;
    height: 565px;
    background: #000;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

/* 動態島 (Dynamic Island) */
.screenshot-item::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 22px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

/* 底部導覽條 (Home Indicator) */
/* .screenshot-item::after {
    content: "";
    position: absolute;
    bottom: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2.5px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    z-index: 10;
} */

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    background: #f8fafc;
    display: block;
}

/* 狀態定義 - 桌面版同時顯示 3 張 (中間大，兩側小且模糊) */
.screenshot-item.active {
    transform: translateX(0) translateZ(120px) scale(1.08);
    z-index: 10;
    opacity: 1;
    filter: blur(0);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.screenshot-item.prev {
    transform: translateX(-310px) translateZ(-80px) rotateY(18deg) scale(0.86);
    z-index: 5;
    opacity: 0.75; /* 提高可見度，讓用戶知道有其他卡片 */
    filter: blur(1px); /* 適度模糊 */
}

.screenshot-item.next {
    transform: translateX(310px) translateZ(-80px) rotateY(-18deg) scale(0.86);
    z-index: 5;
    opacity: 0.75;
    filter: blur(1px);
}

.screenshot-item.hidden {
    transform: translateX(0) translateZ(-500px) scale(0.4);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* 標題優化 */
.screenshot-caption {
    position: relative;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.screenshot-item.active .screenshot-caption {
    opacity: 1;
    transform: translateY(46px);
}

/* 控制按鈕 */
.carousel-button {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--gray-800);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 30;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* 減輕陰影 */
}

.carousel-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
}

.carousel-button:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-button.prev {
    left: 80px; /* 靠近主畫面：從 30px 改為 80px */
}

.carousel-button.next {
    right: 80px; /* 靠近主畫面：從 30px 改為 80px */
}

.carousel-button:focus {
    outline: 2px solid rgba(99,102,241,0.5);
}

/* 分頁點 - 絕對置中並修復位置 */
.carousel-dots {
    position: static;
    left: auto;
    transform: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 25;
    padding: 10px;
    margin-top: 12px;
    margin-bottom: 6px;
}

.carousel-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots button:hover {
    background: rgba(99, 102, 241, 0.5);
}

.carousel-dots button[aria-selected="true"] {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* Announcer (screen-reader only) */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* 響應式調整 */
@media (max-width: 900px) and (min-width: 601px) {
    .screenshots-viewport { height: 520px; margin-bottom: 44px; }
    .screenshot-item { width: 225px; height: 480px; padding: 6.5px; border-radius: 32px; }
    .screenshot-item img { border-radius: 26px; }
    .screenshot-item.prev { transform: translateX(-240px) translateZ(-80px) rotateY(18deg) scale(0.85); }
    .screenshot-item.next { transform: translateX(240px) translateZ(-80px) rotateY(-18deg) scale(0.85); }
    .carousel-button { width: 42px; height: 42px; }
    .carousel-button.prev { left: 15px; }
    .carousel-button.next { right: 15px; }
    .carousel-dots { padding: 0px; margin-top: -16px; }
    .screenshot-caption { transform: translateY(72px); }
    .screenshot-item.active .screenshot-caption { transform: translateY(56px); }
}

@media (max-width: 600px) {
    .screenshots-viewport { height: 450px; margin-bottom: 52px; }
    .screenshot-item { width: 200px; height: 430px; padding: 5px; border-radius: 32px; }
    .screenshot-item img { border-radius: 26px; }
    .screenshot-item::before { width: 55px; height: 18px; top: 14px; }
    .screenshot-item.active { transform: translateX(0) translateZ(100px) scale(1); }
    .screenshot-item.prev { transform: translateX(-190px) translateZ(-60px) rotateY(15deg) scale(0.8); }
    .screenshot-item.next { transform: translateX(190px) translateZ(-60px) rotateY(-15deg) scale(0.8); }
    .carousel-button { width: 38px; height: 38px; font-size: 1.2rem; }
    .carousel-button.prev { left: 10px; }
    .carousel-button.next { right: 10px; }
    .carousel-dots { padding: 0px; margin-top: -20px; }
    .screenshot-caption { transform: translateY(80px); }
    .screenshot-item.active .screenshot-caption { transform: translateY(62px); }
}

/* 尊重減少動畫偏好 */
@media (prefers-reduced-motion: reduce) {
    .screenshot-item { transition: none !important; }
}


/* ===========================
   Highlights Section
   =========================== */
.highlights {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.highlight-card {
    text-align: center;
    padding: var(--spacing-xl);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.highlight-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.highlight-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ===========================
   Roadmap Section
   =========================== */
.roadmap {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
}

.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.roadmap-item {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.roadmap-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.roadmap-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.roadmap-badge.current {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
}

.roadmap-badge.upcoming {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.roadmap-badge.future {
    background: var(--gray-200);
    color: var(--gray-700);
}

.roadmap-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.roadmap-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.roadmap-features {
    list-style: none;
    padding-left: 0;
}

.roadmap-features li {
    padding: var(--spacing-xs) 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.5rem;
}

.roadmap-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ===========================
   Pricing Section
   =========================== */
.pricing {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    align-items: stretch; /* Make cards same height */
}

.pricing-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-md);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 5;
}

.pricing-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-sm);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    margin-bottom: var(--spacing-md);
}

.pricing-tier {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.pricing-price {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.pricing-price span {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    text-align: left;
    flex-grow: 1; /* Make feature list expand */
}

.pricing-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.pricing-features li b {
    color: var(--primary-dark);
}

.check-icon {
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

.btn-primary-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.pricing-card .btn-primary {
    margin-top: auto;
}

.btn-primary-outline:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
}

/* ===========================
   Download Section
   =========================== */
.download {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #F0F4FF 0%, #E0E7FF 100%);
}

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

.download-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.download-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.download-btn {
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    height: 60px;
}

.download-note {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-description {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-heading {
    color: white;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

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

.footer-lang {
    display: flex;
    gap: var(--spacing-sm);
}

.lang-switch {
    background: none;
    border: 1px solid var(--gray-700);
    color: var(--gray-300);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.lang-switch.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-visual {
        order: -1;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-cta {
        flex-direction: row;
        gap: var(--spacing-sm);
    }

    .hero-badges {
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .store-badge {
        height: 60px;
        width: auto;
    }

    .hero-cta {
        justify-content: flex-start;
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .features-grid,
    .roadmap-timeline {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .download-btn img {
        width: 200px;
        height: auto;
    }

    .download .btn-secondary {
        width: auto;
        padding: 0.75rem 1.5rem;
        margin: 0 auto;
    }

    .hero-badges {
        justify-content: flex-start;
    }

    .hero-badges .store-badge {
        /* align-items: center; */
        height: 50px;
        width: auto;
    }

    /* Carousel adjustments for small screens */
    .screenshots-viewport {
        height: 420px;
    }
    .screenshot-item {
        width: 180px;
        height: 387px;
    }
    .screenshot-item.prev {
        transform: translateX(-110px) translateZ(-40px) rotateY(15deg) scale(0.75);
    }
    .screenshot-item.next {
        transform: translateX(110px) translateZ(-40px) rotateY(15deg) scale(0.75);
    }
    .carousel-button.prev {
        left: 5px;
    }
    .carousel-button.next {
        right: 5px;
    }
}
