/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #60A5FA;
    --gradient-start: #3B82F6;
    --gradient-end: #2563EB;
    --text-dark: #0F172A;
    --text-light: #475569;
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

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

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

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

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

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}


.hero-screenshot {
    width: 280px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-image {
    display: flex;
    justify-content: center;
}


/* Section Titles */
.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Timeline */
.timeline-section {
    padding: 100px 0;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-node {
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-color);
    justify-self: center;
    z-index: 1;
}

.timeline-screenshot {
    width: 280px;
    border-radius: 32px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.timeline-right .timeline-image-side {
    display: flex;
    justify-content: flex-end;
}

.timeline-right .timeline-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-left .timeline-image-side {
    display: flex;
    justify-content: flex-start;
}

.timeline-left .timeline-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.timeline-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Privacy Section */
.privacy-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
}

.privacy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-icon {
    margin-bottom: 24px;
}

.privacy-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
}

.privacy-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

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

.privacy-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
}

.check-icon {
    width: 24px;
    height: 24px;
    stroke-width: 3;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-brand {
    font-size: 20px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-disclaimer {
    padding-top: 32px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text,
.hero-image {
    animation: fadeIn 0.8s ease-out;
}

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

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-image {
        order: -1;
    }

    /* Timeline: single column, line on left */
    .timeline::before {
        left: 20px;
        transform: none;
    }

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

    /* Hide the image-side on the "wrong" column */
    .timeline-right .timeline-image-side,
    .timeline-left .timeline-text-side {
        /* For right items: image was col1, we need to reorder */
    }

    /* Reset all items to: node | content */
    .timeline-item.timeline-right,
    .timeline-item.timeline-left {
        grid-template-columns: 40px 1fr;
    }

    .timeline-item.timeline-right .timeline-image-side,
    .timeline-item.timeline-left .timeline-image-side {
        grid-column: 2;
        justify-content: flex-start;
    }

    .timeline-item.timeline-right .timeline-text-side,
    .timeline-item.timeline-left .timeline-text-side {
        grid-column: 2;
        text-align: left;
    }

    .timeline-node {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .timeline-item.timeline-right,
    .timeline-item.timeline-left {
        display: grid;
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
    }

    .timeline-item.timeline-right .timeline-image-side {
        grid-column: 2;
        grid-row: 1;
    }

    .timeline-item.timeline-right .timeline-node {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .timeline-item.timeline-right .timeline-text-side {
        grid-column: 2;
        grid-row: 2;
    }

    .timeline-item.timeline-left .timeline-text-side {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
    }

    .timeline-item.timeline-left .timeline-node {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .timeline-item.timeline-left .timeline-image-side {
        grid-column: 2;
        grid-row: 1;
    }

    .timeline-screenshot {
        width: 240px;
    }

    .privacy-section h2 {
        font-size: 32px;
    }
}

/* Responsive: Mobile */
@media (max-width: 640px) {
    .nav-links {
        gap: 16px;
    }

    .hero {
        padding: 40px 0 60px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-screenshot {
        width: 220px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .timeline-section {
        padding: 60px 0;
    }

    .timeline-item {
        margin-bottom: 48px;
    }

    .timeline-screenshot {
        width: 200px;
    }

    .timeline-content h3 {
        font-size: 20px;
    }

    .timeline-content p {
        font-size: 15px;
    }

    .privacy-section {
        padding: 60px 0;
    }

    .privacy-section h2 {
        font-size: 28px;
    }

    .privacy-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}
