:root {
    --color-navy: #0B1F33;
    --color-navy-light: #1a3149;
    --color-navy-dark: #050f19;
    --color-off-white: #F5F5F5;
    --color-white: #FFFFFF;
    --color-gold: #C0A060;
    --color-gold-dark: #a8894d;
    --color-text: #2c2c2c;
    --color-text-light: #666666;

    --font-serif: Georgia, 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    --header-height: 80px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-navy);
    background-image: url('assets/zurich_skyline.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/zurich_skyline.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(8px);
    -webkit-filter: blur(2px);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 31, 51, 0.4) 0%, rgba(11, 31, 51, 0.6) 100%);
    z-index: -1;
    pointer-events: none;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-navy);
}

h2, h3, h4 {
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-gold);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.05);
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/zurich_skyline.webp');
    background-size: cover;
    background-position: top center;
    filter: blur(10px) brightness(0.7);
    -webkit-filter: blur(20px) brightness(0.7);
    z-index: -1;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 31, 51, 0.5) 0%, rgba(11, 31, 51, 0.6) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-toggle:active {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--color-white);
    transition: color 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

.nav-links a:active {
    opacity: 0.7;
}

.btn-login {
    padding: 0.6rem 1.5rem;
    background: rgba(192, 160, 96, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    font-weight: 400;
}

.btn-login:hover {
    background: rgba(192, 160, 96, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-login:active {
    transform: translateY(0);
    background: rgba(192, 160, 96, 0.45);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    padding-top: calc(var(--header-height) + var(--spacing-xl));
    padding-bottom: var(--spacing-xl);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--color-white);
    background: transparent;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: left;
}

.hero-headline {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-start;
    margin-bottom: var(--spacing-md);
}

.btn {
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: rgba(192, 160, 96, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    font-weight: 400;
}

.btn-primary:hover {
    background: rgba(192, 160, 96, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
    background: rgba(192, 160, 96, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.hero-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
    font-weight: 300;
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    background: transparent;
}

.section p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-alt {
    background: transparent;
}

.section-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.card {
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.1);
}

.section-alt .card {
    background: rgba(255, 255, 255, 0.08);
}

.card:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
}

.card h3 {
    color: var(--color-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

.card p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.card-icon {
    display: none;
}

.icon-circle {
    display: none;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.feature-list li {
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.feature-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.feature-list li {
    color: rgba(255, 255, 255, 0.9);
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.two-col ul {
    list-style: none;
}

.two-col ul li {
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.two-col ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.two-col ul li {
    color: rgba(255, 255, 255, 0.9);
}

/* Deal Snapshot */
.deal-snapshot {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

.deal-snapshot h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.deal-snapshot table {
    width: 100%;
    margin-bottom: var(--spacing-sm);
}

.deal-snapshot table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.deal-snapshot table tr:last-child {
    border-bottom: none;
}

.deal-snapshot table td {
    padding: 0.6rem 0;
}

.deal-snapshot table td:first-child {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.deal-snapshot table td:last-child {
    color: var(--color-white);
}

.deal-snapshot table td:last-child {
    text-align: right;
    font-weight: 500;
}

.snapshot-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0;
}

/* Feature Box */
.feature-box {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-left: 3px solid var(--color-gold);
    border-radius: 8px;
    margin: var(--spacing-md) 0;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-box ul {
    list-style: none;
}

.feature-box ul li {
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.feature-box ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.step {
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(192, 160, 96, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.step h3,
.step h4 {
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.step p {
    color: rgba(255, 255, 255, 0.9);
}

/* Disclaimer Box */
.disclaimer-box {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

.disclaimer-box p {
    margin: 0;
}

/* Contact */
.contact-container {
    max-width: 700px;
}

.contact-info {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.98);
}

/* Footer */
.footer {
    padding: var(--spacing-md) 0;
    padding-bottom: calc(var(--spacing-md) + env(safe-area-inset-bottom));
    background: rgba(11, 31, 51, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

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

.footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(11, 31, 51, 0.8);
    cursor: pointer;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: var(--spacing-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-close:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.5);
}

.modal-content h2 {
    margin-bottom: var(--spacing-md);
}

/* Login Form */
.login-form {
    margin-top: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-white);
    transition: all 0.2s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(192, 160, 96, 0.2);
}

.form-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--spacing-sm);
}

.form-message {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 3px solid var(--color-gold);
    border-radius: 4px;
    font-size: 0.95rem;
    display: none;
    color: rgba(255, 255, 255, 0.9);
}

.form-message.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    /* Fix background for mobile - remove fixed attachment and adjust sizing */
    body {
        background-attachment: scroll;
        background-size: auto 100%;
        background-position: center top;
    }

    body::before {
        background-attachment: scroll;
        background-size: auto 100%;
        background-position: center top;
        filter: blur(5px);
        -webkit-filter: blur(5px);
    }

    /* Fix hero section - extend behind header to eliminate gap */
    .hero {
        position: relative;
        top: 0;
        padding-top: calc(var(--header-height) + var(--spacing-lg));
        padding-bottom: var(--spacing-sm);
        min-height: 100vh;
        z-index: 1;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-subheadline {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
        justify-content: flex-start;
    }

    .hero .container {
        text-align: center;
    }

    .btn {
        padding: 0.9rem 2rem;
    }

    /* Reorganize header for better mobile layout */
    .header .container {
        gap: var(--spacing-sm);
    }

    .nav-logo {
        font-size: 1.2rem;
        flex: 1;
        min-width: 0;
    }

    .nav {
        gap: var(--spacing-xs);
        flex-shrink: 0;
    }

    .nav-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
        order: 1;
    }

    .btn-login {
        order: 2;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-width: 70px;
        min-height: 44px;
    }

    .nav-links {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: var(--spacing-sm) 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        order: 3;
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links li {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .header::before {
        filter: blur(8px) brightness(0.7);
        -webkit-filter: blur(8px) brightness(0.7);
    }

    .header::after {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .card {
        backdrop-filter: blur(15px) saturate(150%);
        -webkit-backdrop-filter: blur(15px) saturate(150%);
    }

    .modal-content {
        backdrop-filter: blur(20px) saturate(150%);
        -webkit-backdrop-filter: blur(20px) saturate(150%);
    }

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

    .two-col {
        grid-template-columns: 1fr;
    }

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

    .footer .container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}

/* Landscape mode fixes for mobile devices */
@media (max-width: 1024px) and (orientation: landscape) {
    /* Fix background for landscape - remove fixed attachment and proper sizing */
    body {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }

    body::before {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        filter: blur(5px);
        -webkit-filter: blur(5px);
    }

    .hero {
        min-height: 100vh;
        padding-top: calc(var(--header-height) + var(--spacing-md));
    }

    .header {
        height: 60px;
    }

    :root {
        --header-height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Adjust background sizing for smaller screens */
    body {
        background-size: auto 100%;
    }

    body::before {
        background-size: auto 100%;
        filter: blur(3px);
        -webkit-filter: blur(3px);
    }

    .hero-headline {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subheadline {
        font-size: 1rem;
        line-height: 1.6;
    }

    .modal-content {
        padding: var(--spacing-md);
    }

    .header::before {
        filter: blur(5px) brightness(0.7);
        -webkit-filter: blur(5px) brightness(0.7);
    }

    /* Ensure CTA button is full width for easier tapping */
    .hero-cta {
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}
