:root {
    --primary: #f4a736;
    --primary-light: #ffce7a;
    --primary-dark: #d98e2b;
    --slate: #2b3d4f;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --accent: #f1f5f9;
    --success: #10b981;
    --error: #ef4444;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    text-decoration: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(244, 167, 54, 0.1);
    color: var(--primary-dark);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge.yellow {
    background: rgba(244, 167, 54, 0.1);
    color: var(--primary-dark);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
}

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

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

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.btn-small {
    padding: 10px 20px;
    background: var(--text);
    color: white !important;
    border-radius: 12px;
    font-weight: 700;
}

/* Hero */
.hero {
    padding: 160px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 24px;
}

.hero .subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 18px 36px;
    background: var(--text);
    color: white;
    border-radius: 16px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.2s;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-app-store img {
    height: 44px;
    transition: transform 0.2s;
}

.btn-app-store:hover img {
    transform: translateY(-2px);
}

/* Showcase Frames Redesign */
.screenshots-showcase {
    padding: 80px 0;
    text-align: center;
}

.screenshots-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.device-card-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    background: white;
    padding: 40px;
    border-radius: 32px;
}

.device-card-large.mac { flex: 2; min-width: 400px; max-width: 600px; }
.device-card-large.iphone { flex: 1; min-width: 200px; max-width: 300px; }
.device-card-large.watch { flex: 0.8; min-width: 140px; max-width: 200px; }

.device-info {
    text-align: center;
}

.device-info strong {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text);
}

.device-info span {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Mac Display */
.mac-display {
    width: 100%;
    border: 10px solid #000;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.mac-screen img {
    width: 100%;
    display: block;
}

/* iPhone Display */
.iphone-display {
    width: 100%;
    max-width: 240px;
}

.iphone-bezel {
    background: #000;
    padding: 10px;
    border-radius: 40px;
}

.iphone-screen {
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
}

.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Watch Display */
.watch-display {
    width: 100%;
    max-width: 140px;
}

.watch-bezel {
    background: #000;
    padding: 0;
    border-radius: 38px;
    overflow: hidden;
    aspect-ratio: 1/1.2;
    border: 10px solid #000;
}

.watch-screen {
    width: 100%;
    height: 100%;
}

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

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .screenshots-row {
        gap: 40px;
    }
    .mac-display {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .screenshots-row {
        flex-direction: column;
    }
    .mac-display, .iphone-display, .watch-display {
        margin: 0 auto;
    }
}

/* Privacy Comparison */
.privacy-comparison {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    padding: 48px;
    border-radius: 32px;
}

.comparison-card h3 {
    font-size: 24px;
    margin-bottom: 32px;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-weight: 600;
}

.comparison-card li::before {
    position: absolute;
    left: 0;
    font-weight: 900;
}

.negative::before {
    content: '✕';
    color: var(--error);
}

.positive::before {
    content: '✓';
    color: var(--success);
}

.comparison-card.local {
    border: 2px solid var(--primary);
}

/* Features */
.features {
    padding: 120px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px;
    border-radius: 24px;
    background: var(--bg-secondary);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card .icon {
    font-size: 40px;
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 22px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Device Showcase Detailed */
.device-showcase-detailed {
    padding: 50px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.showcase-content-centered {
    max-width: 900px;
    margin: 0 auto;
}

.showcase-content-centered h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.showcase-content-centered p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 60px;
}

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

.device-item {
    background: white;
    padding: 40px 24px;
    border-radius: 24px;
    transition: transform 0.2s;
}

.device-item:hover {
    transform: translateY(-5px);
}

.device-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.device-item strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
}

.device-item span {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .device-list-grid {
        grid-template-columns: 1fr;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    text-align: center;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    font-size: 36px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.step-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.step-item p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 280px;
}

.download-cta {
    margin-top: 64px;
    display: flex;
    justify-content: center;
}

/* Download Section */
.download-cta-section {
    padding: 60px 0;
}

.cta-box {
    background: #0f172a;
    color: white;
    padding: 40px;
    border-radius: 32px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.cta-box p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 24px;
}

.store-badges-large {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-app-store-large img {
    height: 44px;
    transition: transform 0.2s;
}

.btn-app-store-large:hover img {
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
    align-items: start;
}

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

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 240px;
    line-height: 1.5;
}

.footer-links-group h4 {
    margin-bottom: 24px;
    font-size: 16px;
}

.footer-links-group a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--accent);
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* Subpages Styling */
.subpage {
    padding-top: 120px;
}

.policy-container {
    padding: 60px 0 100px;
}

.policy-container h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

.last-updated {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 60px;
}

.policy-box {
    max-width: 100%;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.policy-box h3 {
    font-size: 24px;
    margin: 48px 0 20px;
    color: var(--text);
}

.policy-box h3:first-child {
    margin-top: 0;
}

.policy-box h4 {
    font-size: 18px;
    margin: 32px 0 16px;
    color: var(--text);
}

.policy-box p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.policy-box ul, .policy-box ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.policy-box li {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.policy-section {
    margin-bottom: 40px;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .showcase-content {
        flex-direction: column;
        text-align: center;
    }
    .hero h1 {
        font-size: 48px;
    }
    .macbook-frame {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .cta-box {
        padding: 60px 24px;
    }
    .cta-box h2 {
        font-size: 32px;
    }
    .showcase-img-sub {
        display: none;
    }
}
