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

:root {
    /* Colors */
    --primary-gradient: linear-gradient(135deg, #4A90E2 0%, #7B61FF 50%, #BD10E0 100%);
    --primary-blue: #4A90E2;
    --primary-purple: #BD10E0;
    --accent-blue: #007AFF;
    --success-green: #34C759;
    
    --bg-primary: #F5F7FA;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #EDF2F7;
    
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-light: #A0AEC0;
    --text-white: #FFFFFF;
    
    --border-color: rgba(226, 232, 240, 0.8);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -3px rgba(66, 153, 225, 0.15), 0 4px 6px -2px rgba(66, 153, 225, 0.05);
    --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
    --container-padding: 0 24px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: var(--transition-normal);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('/assets/images/logo-1024.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition-normal);
}

.logo-icon:hover {
    transform: scale(1.05);
}

.logo-gradient {
    /* Keep for fallback but hide when logo image loads */
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    transition: var(--transition-normal);
    opacity: 0;
}

.logo-text {
    /* Hide the AI text when using real logo */
    display: none;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.nav-cta {
    background: var(--primary-gradient);
    color: white;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
    filter: brightness(1.1);
}

.nav-mobile {
    display: none;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 24px;
    gap: 16px;
    flex-direction: column;
}

.mobile-link,
.mobile-cta {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    padding: 12px 0;
    text-align: center;
}

.mobile-cta {
    background: var(--primary-gradient);
    color: white;
    border-radius: 12px;
    padding: 16px;
    margin-top: 8px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 160px 0 120px;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-store-button {
    display: inline-block;
    transition: var(--transition-fast);
}

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

.app-store-button img {
    height: 60px;
    width: auto;
}

/* CSS-based App Store Button - fallback when image doesn't load */
.app-store-button-css {
    display: inline-block;
    background: linear-gradient(145deg, #000000, #1c1c1e);
    border: 1px solid #a6a6a6;
    border-radius: 8px;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    min-width: 180px;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    transition: var(--transition-fast);
    position: relative;
}

.app-store-button-css:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, #1c1c1e, #2c2c2e);
}

.app-store-button-css .apple-logo {
    width: 24px;
    height: 28px;
    background: white;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M18.1 1.4c.7-.8 1.2-1.9 1.1-3C18 .5 16.8 1.1 16 1.8c-.7.7-1.3 1.8-1.1 2.9 1.2.1 2.4-.5 3.2-1.3zm2.4 3c-1.8-.1-3.5 1-4.4 1-.9 0-2.3-1-3.8-1-1.9 0-3.7 1.1-4.7 2.8-2 3.5-.5 8.7 1.4 11.5 1 1.4 2.1 2.9 3.6 2.8 1.4-.1 2-.9 3.7-.9s2.2.9 3.7.8c1.5-.1 2.5-1.3 3.5-2.7 1.1-1.6 1.6-3.1 1.6-3.2-.1 0-3-.1-3.1-3.6-.1-2.9 2.4-4.3 2.5-4.4-1.4-2-3.5-2.2-4.3-2.3z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.app-store-button-css .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.app-store-button-css .download-text {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1;
}

.app-store-button-css .store-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

/* Small CSS-based App Store Button for navigation */
.app-store-button-small-css {
    display: inline-block;
    background: linear-gradient(145deg, #000000, #1c1c1e);
    border: 1px solid #a6a6a6;
    border-radius: 6px;
    padding: 6px 12px;
    color: white;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    min-width: 120px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.app-store-button-small-css:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, #1c1c1e, #2c2c2e);
}

.app-store-button-small-css .apple-logo {
    width: 18px;
    height: 22px;
    background: white;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M18.1 1.4c.7-.8 1.2-1.9 1.1-3C18 .5 16.8 1.1 16 1.8c-.7.7-1.3 1.8-1.1 2.9 1.2.1 2.4-.5 3.2-1.3zm2.4 3c-1.8-.1-3.5 1-4.4 1-.9 0-2.3-1-3.8-1-1.9 0-3.7 1.1-4.7 2.8-2 3.5-.5 8.7 1.4 11.5 1 1.4 2.1 2.9 3.6 2.8 1.4-.1 2-.9 3.7-.9s2.2.9 3.7.8c1.5-.1 2.5-1.3 3.5-2.7 1.1-1.6 1.6-3.1 1.6-3.2-.1 0-3-.1-3.1-3.6-.1-2.9 2.4-4.3 2.5-4.4-1.4-2-3.5-2.2-4.3-2.3z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.app-store-button-small-css .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.app-store-button-small-css .download-text {
    font-size: 9px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1;
}

.app-store-button-small-css .store-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.compatibility {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: #FFFFFF;
    border-radius: 48px;
    padding: 12px;
    box-shadow: 
        0 50px 100px -20px rgba(50, 50, 93, 0.25), 
        0 30px 60px -30px rgba(0, 0, 0, 0.3), 
        inset 0 -2px 6px 0 rgba(10, 37, 64, 0.35);
    border: 8px solid #1a1a1a;
    animation: float 8s ease-in-out infinite;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    mask-image: -webkit-radial-gradient(white, black); /* Fixes border radius clipping in Safari */
}

.screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float-orb 20s ease-in-out infinite;
    mix-blend-mode: multiply;
}

.gradient-orb-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    right: -100px;
    background: #4A90E2;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -100px;
    background: #BD10E0;
    animation-delay: -7s;
}

.gradient-orb-3 {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 40%;
    background: #7B61FF;
    animation-delay: -12s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-secondary);
    padding: 48px 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(74, 144, 226, 0.3);
}

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

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    background: var(--bg-tertiary);
    color: var(--primary-blue);
    position: relative;
    transition: var(--transition-normal);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 20px -5px rgba(74, 144, 226, 0.4);
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    padding: var(--section-padding);
    background: var(--bg-tertiary);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

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

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition-normal);
    position: relative;
}

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

.step:hover .step-icon {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

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

.step-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.step-arrow {
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-arrow svg {
    width: 24px;
    height: 24px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--section-padding);
    background: var(--text-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-buttons {
    margin-bottom: 40px;
}

.app-store-button-large {
    display: inline-block;
    transition: var(--transition-fast);
}

.app-store-button-large:hover {
    transform: scale(1.05);
}

.app-store-button-large img {
    height: 72px;
    width: auto;
}

/* Large CSS-based App Store Button */
.app-store-button-large-css {
    display: inline-block;
    background: linear-gradient(145deg, #000000, #1c1c1e);
    border: 1px solid #a6a6a6;
    border-radius: 12px;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    min-width: 240px;
    min-height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    transition: var(--transition-fast);
    position: relative;
}

.app-store-button-large-css:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, #1c1c1e, #2c2c2e);
}

.app-store-button-large-css .apple-logo {
    width: 28px;
    height: 32px;
    background: white;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M18.1 1.4c.7-.8 1.2-1.9 1.1-3C18 .5 16.8 1.1 16 1.8c-.7.7-1.3 1.8-1.1 2.9 1.2.1 2.4-.5 3.2-1.3zm2.4 3c-1.8-.1-3.5 1-4.4 1-.9 0-2.3-1-3.8-1-1.9 0-3.7 1.1-4.7 2.8-2 3.5-.5 8.7 1.4 11.5 1 1.4 2.1 2.9 3.6 2.8 1.4-.1 2-.9 3.7-.9s2.2.9 3.7.8c1.5-.1 2.5-1.3 3.5-2.7 1.1-1.6 1.6-3.1 1.6-3.2-.1 0-3-.1-3.1-3.6-.1-2.9 2.4-4.3 2.5-4.4-1.4-2-3.5-2.2-4.3-2.3z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.app-store-button-large-css .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.app-store-button-large-css .download-text {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1;
}

.app-store-button-large-css .store-text {
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.cta-feature svg {
    width: 16px;
    height: 16px;
    color: var(--success-green);
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.footer-title {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-primary);
}

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

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-padding: 0 20px;
        --section-padding: 60px 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Hero App Store Button - iPhone optimized */
    .hero-cta .app-store-button-css {
        min-width: 160px;
        min-height: 50px;
        padding: 6px 12px;
        gap: 8px;
        border-radius: 6px;
        width: 100%;
        max-width: 200px;
        justify-content: center;
        margin: 0 auto;
    }
    
    .hero-cta .app-store-button-css .apple-logo {
        width: 20px;
        height: 24px;
    }
    
    .hero-cta .app-store-button-css .download-text {
        font-size: 10px;
    }
    
    .hero-cta .app-store-button-css .store-text {
        font-size: 16px;
    }
    
    .hero-cta {
        align-items: center;
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 30px;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Mobile Small (iPhone SE and similar) */
@media (max-width: 375px) {
    .hero-cta .app-store-button-css {
        min-width: 140px;
        min-height: 45px;
        padding: 5px 10px;
        gap: 6px;
        max-width: 180px;
    }
    
    .hero-cta .app-store-button-css .apple-logo {
        width: 18px;
        height: 22px;
    }
    
    .hero-cta .app-store-button-css .download-text {
        font-size: 9px;
    }
    
    .hero-cta .app-store-button-css .store-text {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon svg {
        width: 24px;
        height: 24px;
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation classes for JavaScript */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .phone-mockup {
        animation: none;
    }
    
    .gradient-orb {
        animation: none;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ===== LEGAL PAGES STYLES ===== */
.legal-content {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    min-height: 70vh;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.update-notice {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-blue);
}

.update-notice p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 24px 0 16px 0;
    line-height: 1.4;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 1rem;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 1rem;
}

.legal-section li strong {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
    background: var(--bg-tertiary);
    padding: 24px;
    border-radius: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item strong {
    min-width: 100px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
}

.contact-item a:hover {
    text-decoration: underline;
    color: var(--accent-blue);
}

/* Page header styles for legal pages */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive styles for legal pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 120px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.125rem;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .contact-item strong {
        min-width: auto;
    }
}

/* Fix for animation issues */
.content-wrapper[data-aos] {
    opacity: 1 !important;
    transform: translateY(0px) !important;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .hero-background,
    .cta-background,
    .gradient-orb {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .section-padding {
        padding: 20px 0;
    }
    
    .legal-content {
        padding: 20px 0;
    }
    
    .page-header {
        padding: 20px 0;
    }
}