/* Reset and base styles */
:root {
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-accent: #6366f1;
    --color-accent-hover: #4f46e5;
    --color-hero-from: #4f46e5;
    --color-hero-via: #7c3aed;
    --color-hero-to: #6366f1;
    --color-nav-bg: rgba(255, 255, 255, 0.8);
    --color-footer: #0f172a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius-card: 20px;
    --radius-nav: 12px;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
.navbar {
    background: var(--color-nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease, background 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-nav);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
    background: rgba(99, 102, 241, 0.08);
}

/* Hero Section */
.hero {
    background: linear-gradient(160deg, var(--color-hero-from) 0%, var(--color-hero-via) 50%, var(--color-hero-to) 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 73px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 255, 255, 0.15), transparent);
    pointer-events: none;
}

.hero-container {
    max-width: 880px;
    position: relative;
    z-index: 1;
    animation: heroFadeIn 0.8s ease-out forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    margin-bottom: 2.5rem;
}

.hero-logo-img {
    height: 128px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
    transition: transform 0.4s ease;
}

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

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 3.5rem;
    opacity: 0.92;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 560px;
}

.feature {
    background: rgba(255, 255, 255, 0.12);
    padding: 2rem 1.75rem;
    border-radius: var(--radius-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.feature p {
    font-size: 0.9375rem;
    opacity: 0.88;
    line-height: 1.5;
}

.feature-link {
    display: flex;
    align-items: center;
    min-height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.feature-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
}

.feature-download-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.app-store-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.app-store-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Slides section — App Store style slider */
.slides-section {
    padding: 5rem 0;
    background: var(--color-bg);
    overflow: hidden;
}

.slides-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.03em;
    padding: 0 2rem;
}

.slides-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 2rem 1rem 2rem;
    scrollbar-width: none;
}

.slides-slider::-webkit-scrollbar {
    display: none;
}

.slide-item {
    flex-shrink: 0;
    width: min(320px, 78vw);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.08);
    background: var(--color-surface);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.slide-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.slide-img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Support Page */
.support-page {
    margin-top: 80px;
    padding: 2rem 0;
}

.support-page h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-hero-from) 0%, var(--color-hero-via) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.support-section {
    background: var(--color-surface);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.support-section h2 {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--color-accent);
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h3 {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.faq-item p,
.faq-item li {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.faq-item ul,
.faq-item ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item a {
    color: var(--color-accent);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Privacy Page */
.privacy-page {
    margin-top: 80px;
    padding: 2rem 0;
}

.privacy-page h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-hero-from) 0%, var(--color-hero-via) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.privacy-section {
    background: var(--color-surface);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.privacy-section h2 {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.privacy-section p,
.privacy-section li {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-section ul {
    margin-left: 1.5rem;
}

.privacy-section a {
    color: var(--color-accent);
    text-decoration: none;
}

.privacy-section a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--color-footer);
    color: white;
    text-align: center;
    padding: 2.5rem 0;
}

.footer-container p {
    margin-bottom: 0.5rem;
    opacity: 0.85;
    font-size: 0.9375rem;
}

.footer a {
    color: #a5b4fc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    
    .nav-logo .logo-img {
        height: 32px;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .hero {
        margin-top: 70px;
        padding: 2rem 1rem;
    }
    
    .hero-logo-img {
        height: 80px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .slides-section {
        padding: 3rem 0;
    }
    
    .slides-heading {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .slide-item {
        width: min(280px, 82vw);
    }
    
    .container {
        padding: 1rem;
    }
    
    .support-page h1,
    .privacy-page h1 {
        font-size: 2rem;
    }
    
    .support-section,
    .privacy-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem;
    }
    
    .nav-logo .logo-img {
        height: 28px;
    }
    
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.4rem;
        font-size: 0.8rem;
    }
    
    .hero {
        margin-top: 60px;
    }
    
    .hero-logo-img {
        height: 60px;
    }
    
    .app-store-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
} 