:root {
    --bg-color: #0d0d0d;
    --text-color: #e0e0e0;
    --accent-color: #f5f5f7;
    /* Apple-esque white */
    --highlight-color: #ff9f0a;
    /* Subtle warm orange for CTA or highlights */
    --paper-overlay: rgba(255, 248, 225, 0.05);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --spacing-unit: 1.5rem;
}

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

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

/* Typography */
h1,
h2,
h3 {
    letter-spacing: -0.02em;
    color: var(--accent-color);
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

p {
    font-size: 1.125rem;
    color: #a1a1a6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Layout Utilities */
section {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--accent-color);
    text-decoration: none;
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

/* Hero */
.hero {
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 0;
    position: relative;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: black;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1.125rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.cta-button.small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Comparison Slider */
.comparison-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    aspect-ratio: 16 / 10;
    /* Adjust based on image aspect ratio usually */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.after-image {
    background-image: url('images/after.jpg');
    z-index: 1;
}

.before-image {
    background-image: url('images/before.jpg');
    z-index: 2;
    width: 100%;
    /* Keep full width */
    /* Remove border here, handled by divider line */
}

/* Slider Divider Line */
.slider-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.8);
    z-index: 3;
    pointer-events: none;
    left: 50%;
    transform: translateX(-50%);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    /* Let clicks pass through to input */
}

input[type="range"].slider-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 4;
    cursor: ew-resize;
    margin: 0;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feature-card p {
    font-size: 1rem;
    color: #86868b;
    margin: 0;
}

/* Privacy Section */
.privacy-section {
    text-align: center;
    margin-top: 0;
    padding: 3rem 1.5rem 4rem;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));
    border-radius: 24px;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.privacy-item {
    color: #a1a1a6;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-icon {
    color: #32d74b;
    /* Apple green */
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 1.5rem;
    color: #6e6e73;
    font-size: 0.9rem;
}

footer a {
    color: inherit;
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.legal-page {
    max-width: 860px;
    padding-top: 4rem;
}

.legal-page h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.legal-date {
    margin-bottom: 3rem;
}

.legal-content {
    text-align: left;
}

.legal-content h2 {
    text-align: left;
    font-size: 1.5rem;
    margin: 2.5rem 0 0.75rem;
}

.legal-content p {
    max-width: none;
    margin: 0;
}

.legal-content a {
    color: var(--accent-color);
}

/* Floating Badges */
.badge {
    display: inline-block;
    background: rgba(255, 159, 10, 0.15);
    color: var(--highlight-color);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    header {
        padding: 1.5rem;
    }

    section {
        padding: 1.5rem 1.5rem;
    }

    .hero {
        padding-top: 2rem;
    }

    .comparison-container {
        margin-bottom: 1.25rem;
    }

    .features {
        gap: 1.25rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .privacy-section {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    .privacy-grid {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    footer {
        padding: 2.5rem 1.5rem;
    }
}
