/* Inter, served from here rather than Google Fonts so visitors' browsers don't contact Google.
   assets/fonts: @fontsource-variable/inter (SIL Open Font License, LICENSE.txt). */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
    /* Primary Blue Colors */
    --primary-900: #1e3a8a;
    --primary-800: #1e40af;
    --primary-700: #1d4ed8;
    --primary-600: #2563eb;
    --primary-500: #3b82f6;
    --primary-400: #60a5fa;
    --primary-300: #93c5fd;

    /* Cyan/Sky Colors */
    --cyan-700: #0e7490;
    --cyan-600: #0891b2;
    --cyan-500: #06b6d4;
    --cyan-400: #22d3ee;
    --cyan-300: #67e8f9;

    /* Neutral Colors */
    --gray-950: #020617;
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;

    /* Semantic Colors */
    --background: #ffffff;
    --background-alt: var(--gray-50);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --border: var(--gray-200);

    /* Spacing */
    /* Type scale shared by all pages; smaller screens redefine it in the media queries. */
    --fs-display: 56px;   /* hero title */
    --fs-h1: 42px;        /* section and page titles */
    --fs-h2: 24px;        /* headings inside a page */
    --fs-h3: 20px;        /* card titles */
    --fs-lead: 18px;      /* subtitles and intro paragraphs */
    --fs-body: 16px;      /* running text */
    --fs-small: 14px;     /* labels, dates, notes */

    --container-width: 1200px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

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

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

/* The HereCast app icon, rounded like on the phone's home screen. */
.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 22%;
}

.logo-icon-small {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-600), var(--cyan-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--cyan-500));
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 32px;
    font-size: var(--fs-body);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: var(--fs-small);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--primary-600);
    background: var(--gray-100);
}

.lang-btn.active {
    color: var(--primary-600);
    background: var(--primary-50);
}

.lang-separator {
    color: var(--gray-300);
    font-size: var(--fs-small);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-size: var(--fs-display);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, white, var(--cyan-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--fs-lead);
    color: var(--gray-300);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--fs-small);
    color: var(--gray-400);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.map-illustration {
    animation: float 6s ease-in-out infinite;
}

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

.pulse-animation circle {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; r: 20; }
    50% { opacity: 0.1; r: 35; }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: var(--fs-h1);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: var(--fs-lead);
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: var(--section-padding) 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-500);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-50), var(--cyan-50));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* Safe Content Section */
.safety {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #eff6ff, white);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.safety .feature-card {
    background: white;
}

.safety-checks {
    margin-top: 56px;
    text-align: center;
}

.safety-checks h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 20px;
}

.safety-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
}

.safety-chips li {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: white;
    color: var(--text-secondary);
    font-size: 15px;
}

.safety-rule {
    margin: 28px auto 0;
    font-size: var(--fs-lead);
    font-weight: 600;
    color: var(--text-primary);
}

.safety-note {
    max-width: 680px;
    margin: 32px auto 0;
    font-size: var(--fs-lead);
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* Use Cases Section */
.use-cases {
    padding: var(--section-padding) 0;
    background: var(--background-alt);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.use-case-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.use-case-card:hover {
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
    border-color: var(--primary-300);
}

.use-case-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.use-case-card h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 12px;
}

.use-case-card p {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sits between the buttons and the stats; .hero-cta keeps 60px below itself. */
.hero-note {
    margin: -44px 0 24px;
    color: var(--gray-300);
    font-size: var(--fs-small);
}

/* Platforms in the hero: web now, the store apps soon */
.hero-platforms {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 56px;
}

.platforms-label {
    color: var(--gray-300);
    font-size: var(--fs-small);
}

.platform-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: white;
    font-size: var(--fs-small);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.platform-chip:hover {
    background: rgba(255, 255, 255, 0.1);
}

.platform-chip svg,
.app-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.platform-chip small {
    color: var(--gray-300);
    font-weight: 400;
}

/* Apps Section */
.apps {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

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

.app-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px 28px;
    position: relative;
}

.app-card-live {
    border-color: var(--primary-500);
}

.app-card h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 8px;
}

.app-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex: 1;
}

.app-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-600);
}

.app-icon svg {
    width: 26px;
    height: 26px;
}

.app-badge {
    position: absolute;
    top: -12px;
    left: 28px;
    background: var(--gray-600);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-badge-live {
    background: linear-gradient(135deg, var(--primary-600), var(--cyan-500));
}

/* Store buttons say "coming soon" until config.js has the store address (script.js adds .is-live). */
.store-link .when-live,
.store-link.is-live .when-soon,
.app-card-live .when-soon-block {
    display: none;
}

.store-link.is-live .when-live {
    display: inline;
}

.btn-pricing[aria-disabled="true"] {
    border-color: var(--border);
    color: var(--text-secondary);
    cursor: default;
}

.btn-pricing[aria-disabled="true"]:hover {
    background: white;
    color: var(--text-secondary);
    transform: none;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding) 0;
    background: white;
}

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

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--primary-500);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
}

.pricing-card-featured {
    border-color: var(--primary-600);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-600);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-badge-active {
    background: linear-gradient(135deg, var(--primary-600), var(--cyan-500));
}

.pricing-card h3 {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
}

.pricing-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-price .amount {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-600), var(--cyan-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 4px;
}

.pricing-price .amount-muted {
    font-size: 36px;
    background: none;
    -webkit-text-fill-color: var(--text-secondary);
    color: var(--text-secondary);
}

.pricing-price .period {
    font-size: var(--fs-body);
    color: var(--text-secondary);
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-body);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 28px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-600);
    font-weight: 700;
}

/* Planned options: not a checkmark, since they aren't available yet. */
.pricing-features-future li {
    color: var(--text-secondary);
}

.pricing-features-future li::before {
    content: '○';
    color: var(--gray-400, #94a3b8);
    font-weight: 400;
}

.btn-pricing {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: var(--fs-body);
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid var(--primary-600);
    background: white;
    color: var(--primary-600);
}

.btn-pricing:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-2px);
}

.btn-pricing-active {
    background: linear-gradient(135deg, var(--primary-600), var(--cyan-500));
    color: white;
    border: none;
}

.btn-pricing-active:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

/* Subpages: legal texts, contact, blog */
.page {
    padding: 64px 0 var(--section-padding);
}

.page-content {
    max-width: 760px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.page-updated {
    margin-top: -8px;
    color: var(--text-secondary);
    font-size: var(--fs-small);
    margin-bottom: 40px;
}

.page-lead {
    font-size: var(--fs-lead);
    color: var(--text-primary);
    margin-bottom: 32px;
}

.page-content h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin: 40px 0 12px;
}

.page-content h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin: 24px 0 8px;
}

.page-content p,
.page-content li {
    color: var(--gray-700);
    line-height: 1.7;
}

.page-content p {
    margin-bottom: 14px;
}

.page-content ul {
    margin: 0 0 16px 22px;
}

.page-content li {
    margin-bottom: 6px;
}

.page-content a {
    color: var(--primary-600);
}

.page-box {
    background: var(--primary-50, #eff6ff);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.page-box p:last-child {
    margin-bottom: 0;
}

.contact-email {
    font-size: var(--fs-h2);
    font-weight: 700;
}

/* Details the operator still has to fill in before going public. */
.placeholder {
    background: #fef3c7;
    color: #92400e;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Long texts exist in both languages; show the one matching <html lang> (set by script.js). */
html:lang(pl) .lang-en,
html:not(:lang(pl)) .lang-pl {
    display: none;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-700), var(--cyan-600));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.cta h2 {
    font-size: var(--fs-h1);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta p {
    font-size: var(--fs-lead);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-600);
}

.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.3);
}

.btn-cta {
    background: white;
    color: var(--primary-600);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: var(--fs-body);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 24px;
}

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

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

.footer-description {
    margin-top: 16px;
    color: var(--gray-400);
}

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

.footer-column h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    margin: 80px auto;
    width: 90%;
    max-width: 480px;
    border-radius: 16px;
    position: relative;
    animation: slideUp 0.3s;
}

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

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--gray-500);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--gray-900);
}

.modal-body {
    padding: 48px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: 24px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
}

.btn-google {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
}

.btn-google:hover {
    border-color: var(--gray-400);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-input {
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary-600);
}

.btn-block {
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --fs-display: 36px;
        --fs-h1: 32px;
    }

    .nav-links {
        display: none;
    }

    .language-switcher {
        position: fixed;
        top: 20px;
        right: 80px;
        background: white;
        padding: 8px 12px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .modal-content {
        margin: 20px auto;
    }

    .modal-body {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    :root {
        --fs-display: 28px;
        --fs-h1: 28px;
        --fs-lead: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

/* Above the hero title: the old tagline, kept as a small label. */
.hero-eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan-300);
    margin-bottom: 12px;
}

/* Under the apps: what the browser can't do (background location). */
.apps-note {
    max-width: 760px;
    margin: 28px auto 0;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

/* Privacy section */
.privacy {
    padding: var(--section-padding) 0;
    background: white;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.privacy-card {
    padding: 28px 32px;
    border: 1px solid var(--border);
    border-radius: 12px;
    border-left: 4px solid var(--primary-500);
}

.privacy-card h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 10px;
}

.privacy-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.privacy-links {
    margin-top: 12px;
}

.privacy-links a {
    color: var(--primary-600);
    font-weight: 600;
}

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