/* ============================================
   Ultra Note Landing Page — Design System
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Brand Colors */
    --color-primary: #0EA5E9;
    --color-primary-dark: #0284C7;
    --color-primary-light: #38BDF8;
    --color-accent: #2DD4BF;
    --color-accent-dark: #14B8A6;
    --color-amber: #F59E0B;
    --color-amber-light: #FCD34D;

    /* Neutrals */
    --color-bg: #FAFBFF;
    --color-bg-alt: #F0F4FF;
    --color-surface: #FFFFFF;
    --color-surface-hover: #F8FAFF;
    --color-border: rgba(14, 165, 233, 0.08);
    --color-border-hover: rgba(14, 165, 233, 0.15);

    /* Text */
    --color-text: #0F172A;
    --color-text-secondary: #475569;
    --color-text-tertiary: #94A3B8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2DD4BF 0%, #0EA5E9 50%, #6366F1 100%);
    --gradient-hero: linear-gradient(180deg, #F0F9FF 0%, #FAFBFF 50%, #F0F4FF 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(240,244,255,0.6));
    --gradient-cta: linear-gradient(135deg, #0EA5E9 0%, #6366F1 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.02);
    --shadow-lg: 0 12px 40px rgba(14,165,233,0.1), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 24px 64px rgba(14,165,233,0.15), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-glow: 0 0 60px rgba(14,165,233,0.2), 0 0 120px rgba(45,212,191,0.1);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

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

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ============================================
   Utility Classes
   ============================================ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(45,212,191,0.08));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-medium);
    background: transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(250, 251, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    z-index: 10;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-text);
    background: rgba(14, 165, 233, 0.06);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-text);
    color: white;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.nav-cta:hover {
    background: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

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

.hero-orb-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14,165,233,0.3), transparent 70%);
    animation-delay: 0s;
}

.hero-orb-2 {
    bottom: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45,212,191,0.25), transparent 70%);
    animation-delay: -7s;
}

.hero-orb-3 {
    top: 30%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
    animation-delay: -14s;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14,165,233,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14,165,233,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-container {
    flex: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 24px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    max-width: 480px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-text);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--gradient-cta);
    background-size: 200% 200%;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border-hover);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(14,165,233,0.04);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.stat-number {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-phone-wrapper {
    position: relative;
}

.hero-phone-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse, rgba(14,165,233,0.2), transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.hero-phone {
    position: relative;
    width: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: transparent;
    animation: phoneFloat 6s ease-in-out infinite;
}

.hero-phone img {
    width: 100%;
    border-radius: 24px;
}

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

/* Scroll Indicator */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out 1s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

.hero-scroll-indicator span {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--section-padding);
    position: relative;
}

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

.feature-card {
    position: relative;
    padding: 36px 28px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-medium);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-medium);
}

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

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

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(45,212,191,0.08));
    color: var(--color-primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.feature-card-large {
    grid-column: span 2;
}

.feature-card-image {
    margin-top: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 340px;
    display: flex;
    justify-content: center;
}

.feature-card-image img {
    width: 220px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.1));
}

.feature-languages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.lang-tag {
    padding: 6px 14px;
    background: rgba(14,165,233,0.06);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.lang-tag:hover {
    background: rgba(14,165,233,0.12);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ============================================
   Showcase Section
   ============================================ */
.showcase {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
}

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

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item-reverse {
    direction: rtl;
}

.showcase-item-reverse > * {
    direction: ltr;
}

.showcase-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.showcase-text h3 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.showcase-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
}

.showcase-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
}

.showcase-features svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

.showcase-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.showcase-phone {
    width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: transparent;
    transition: var(--transition-medium);
}

.showcase-phone:hover {
    transform: scale(1.02);
}

.showcase-phone img {
    width: 100%;
    border-radius: 20px;
}

.showcase-visual-dual {
    position: relative;
    min-height: 500px;
}

.showcase-phone-back {
    position: absolute;
    left: 0;
    top: 20px;
    z-index: 1;
    width: 240px;
    transform: rotate(-4deg);
    opacity: 0.85;
}

.showcase-phone-front {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    width: 260px;
    transform: rotate(3deg);
}

.showcase-phone-back:hover,
.showcase-phone-front:hover {
    z-index: 3;
    opacity: 1;
    transform: rotate(0deg) scale(1.05);
}

/* ============================================
   Platforms Section
   ============================================ */
.platforms {
    padding: var(--section-padding);
}

.platforms-showcase {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
}

.platform-ipad {
    position: relative;
}

.ipad-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: radial-gradient(ellipse, rgba(14,165,233,0.15), transparent 70%);
    filter: blur(40px);
}

.ipad-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: transparent;
    transition: var(--transition-medium);
}

.ipad-frame:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-glow);
}

.ipad-frame img {
    width: 100%;
    border-radius: 20px;
}

.platform-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.platform-feature {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-medium);
}

.platform-feature:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.platform-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(45,212,191,0.1));
    color: var(--color-primary);
}

.platform-feature h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.platform-feature p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    padding: var(--section-padding);
    background: var(--color-bg-alt);
    overflow: hidden;
}

.gallery-scroll {
    margin: 0 -24px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    gap: 24px;
    padding: 20px 24px;
    min-width: max-content;
    animation: scrollGallery 30s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

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

.gallery-item {
    flex-shrink: 0;
    width: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: transparent;
    transition: var(--transition-medium);
}

.gallery-item:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: var(--section-padding);
}

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

.testimonial-card {
    padding: 32px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-medium);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-hover);
}

.testimonial-stars {
    font-size: 18px;
    color: var(--color-amber);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

/* ============================================
   Download CTA Section
   ============================================ */
.download {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, #E0F2FE 50%, var(--color-bg-alt) 100%);
}

.download-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.download-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.download-orb-1 {
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14,165,233,0.15), transparent 70%);
}

.download-orb-2 {
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45,212,191,0.12), transparent 70%);
}

.download-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.download-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 40px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: iconFloat 4s ease-in-out infinite;
}

.download-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

.download-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.download-desc {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 36px;
    background: var(--color-text);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 16px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.btn-download:hover {
    background: var(--gradient-cta);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.download-label {
    display: block;
    font-size: 11px;
    font-weight: 400;
    text-align: left;
    opacity: 0.8;
}

.download-store {
    display: block;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    letter-spacing: -0.01em;
}

.download-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--color-text-tertiary);
    background: rgba(255,255,255,0.6);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 0;
    background: var(--color-text);
    color: rgba(255,255,255,0.7);
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-col h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-primary-light);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

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

    .hero-phone {
        width: 280px;
    }

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

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

    .feature-card-large {
        grid-column: span 2;
    }

    .showcase-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-item-reverse {
        direction: ltr;
    }

    .showcase-text {
        text-align: center;
    }

    .showcase-features {
        align-items: center;
    }

    .showcase-visual-dual {
        min-height: 400px;
        justify-content: center;
    }

    .showcase-phone-back {
        left: 10%;
    }

    .showcase-phone-front {
        right: 10%;
    }

    .platforms-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

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

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 251, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        z-index: 5;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 20px;
        padding: 12px 24px;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(36px, 8vw, 52px);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

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

    .hero-phone {
        width: 260px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: span 1;
    }

    .showcase-item {
        gap: 32px;
        margin-bottom: 80px;
    }

    .showcase-phone {
        width: 240px;
    }

    .showcase-visual-dual {
        min-height: 350px;
    }

    .showcase-phone-back {
        width: 200px;
        left: 5%;
    }

    .showcase-phone-front {
        width: 220px;
        right: 5%;
    }

    .gallery-item {
        width: 200px;
    }

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

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

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

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

@media (max-width: 480px) {
    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 24px;
    }

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

    .download-title {
        font-size: 32px;
    }

    .showcase-visual-dual {
        min-height: 300px;
    }

    .showcase-phone-back {
        width: 180px;
    }

    .showcase-phone-front {
        width: 200px;
    }
}

/* ============================================
   Special Effects
   ============================================ */

/* Glassmorphism cards on hover */
.feature-card:hover {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Smooth scroll snap for mobile gallery */
@media (max-width: 768px) {
    .gallery-scroll {
        scroll-snap-type: x mandatory;
    }

    .gallery-item {
        scroll-snap-align: center;
    }

    .gallery-track {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

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

    html {
        scroll-behavior: auto;
    }
}
