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

html {
    scroll-behavior: smooth;
}

:root {
    --bg-primary: #0F1923;
    --bg-surface: #1A2633;
    --bg-surface-light: #243447;
    --border-color: #2D3F52;
    --text-primary: #FFFFFF;
    --text-secondary: #8899AA;
    --text-tertiary: #5A6B7C;
    --accent-gold: #D4A017;
    --accent-gold-glow: #E8B830;
    --accent-gold-dim: rgba(212, 160, 23, 0.15);
    --accent-green: #4ADE80;
    --accent-orange: #FFA726;
    --accent-red: #EF5350;
    --divider: #1E2D3D;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ─── Navbar ─── */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 25, 35, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.brand-title a {
    text-decoration: none;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: 0.3s;
}

/* ─── Hero ─── */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(212, 160, 23, 0.08);
    top: 0;
    right: 10%;
    animation: drift 12s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(74, 222, 128, 0.05);
    bottom: 10%;
    right: 30%;
    animation: drift 16s ease-in-out infinite reverse;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -15px); }
    66% { transform: translate(-15px, 15px); }
}

.hero-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    width: 100%;
}

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

.hero-content {
    max-width: 520px;
}

.hero-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    background: var(--accent-gold-dim);
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual: Timezone Card Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tz-mockup {
    position: relative;
    width: 340px;
}

.tz-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.tz-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.tz-card-1::after {
    background: linear-gradient(90deg, #0D1B2A, #1B2838, #1E3A5F, #6FA8DC, #E8C84C, #F5D96B, #E8A84C, #CC7A30, #4A2040, #0D1B2A);
}

.tz-card-2::after {
    background: linear-gradient(90deg, #E8C84C, #F5D96B, #E8A84C, #CC7A30, #4A2040, #0D1B2A, #0D1B2A, #1B2838, #1E3A5F, #6FA8DC);
}

.tz-card-3::after {
    background: linear-gradient(90deg, #CC7A30, #4A2040, #0D1B2A, #0D1B2A, #1B2838, #1E3A5F, #6FA8DC, #E8C84C, #F5D96B, #E8A84C);
}

.tz-city {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.tz-offset {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.tz-time {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tz-time-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.tz-slider {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 4px;
}

.tz-slider-label {
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.tz-slider-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, #0D1B2A, #1B2838, #1E3A5F, #6FA8DC, #E8C84C, #F5D96B, #E8A84C, #CC7A30, #4A2040, #0D1B2A);
    position: relative;
}

.tz-slider-thumb {
    width: 4px;
    height: 16px;
    background: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(212, 160, 23, 0.6);
}

/* ─── Buttons ─── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gold);
    color: #fff;
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(212, 160, 23, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    transform: translateY(-1px);
}

/* ─── Features ─── */

.features {
    padding: 120px 0;
    background: rgba(15, 25, 35, 0.5);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 160, 23, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-gold-dim);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── Pricing ─── */

.pricing {
    padding: 120px 0;
}

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

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
}

.pricing-card--pro {
    border-color: rgba(212, 160, 23, 0.4);
}

.pricing-card--pro:hover {
    box-shadow: 0 8px 40px rgba(212, 160, 23, 0.1);
}

.pricing-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.pricing-badge--free {
    color: var(--accent-orange);
    background: rgba(255, 167, 38, 0.12);
}

.pricing-badge--pro {
    color: var(--accent-gold);
    background: var(--accent-gold-dim);
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-note {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.pricing-card--free .pricing-features li.limited::before {
    content: '\2022';
    color: var(--accent-orange);
}

.pricing-plans {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--divider);
}

.pricing-plan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.pricing-plan-row strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ─── Download ─── */

.download {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.download-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.download-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    transition: transform 0.2s ease;
}

.download-btn:hover {
    transform: scale(1.04);
}

.download-btn img {
    height: 54px;
    width: auto;
}

/* ─── Footer ─── */

.footer {
    padding: 64px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.footer-heading {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 14px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 0.8125rem;
}

/* ─── Legal Pages (Privacy, Terms) ─── */

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    color: var(--text-primary);
    line-height: 1.8;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.legal-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.legal-date {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.legal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-section h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.legal-section ul,
.legal-section ol {
    margin: 12px 0;
    padding-left: 24px;
}

.legal-section li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.legal-section a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: var(--accent-gold-glow);
    text-decoration: underline;
}

.legal-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.8125rem;
}

.legal-section th,
.legal-section td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--divider);
    color: var(--text-secondary);
}

.legal-section th {
    color: var(--text-primary);
    font-weight: 600;
    background: var(--bg-surface-light);
}

.legal-section strong {
    color: var(--text-primary);
}

.legal-divider {
    height: 1px;
    background: var(--divider);
    margin: 28px 0;
}

.back-button {
    position: fixed;
    top: 84px;
    left: 20px;
    background: var(--accent-gold);
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.25);
    z-index: 100;
}

.back-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.35);
    color: #fff;
}

.legal-contact {
    background: var(--bg-surface-light);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    margin-top: 32px;
}

.legal-contact a {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
}

/* ─── Animations ─── */

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

/* ─── Responsive ─── */

@media (max-width: 960px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(15, 25, 35, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 12px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .tz-mockup {
        width: 100%;
        max-width: 360px;
    }

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

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

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

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

    .legal-container {
        padding: 100px 16px 60px;
    }

    .legal-content {
        padding: 28px 20px;
    }

    .back-button {
        position: static;
        display: inline-block;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .features,
    .pricing {
        padding: 80px 0;
    }

    .legal-title {
        font-size: 1.875rem;
    }

    .legal-content {
        padding: 20px 16px;
    }
}
