/* ============================================================
   GETNOMIK — EARLY ACCESS LANDING PAGE
   Brand: Navy #0A1628, Gold #C9A227, Off-white #F8F5EE
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

:root {
    --navy:        #0A1628;
    --navy-mid:    #152540;
    --navy-light:  #1E3A5F;
    --gold:        #C9A227;
    --gold-light:  #E8C547;
    --gold-pale:   #F5E9C0;
    --cream:       #F8F5EE;
    --cream-dark:  #EDE8DC;
    --white:       #FFFFFF;
    --text-dark:   #0A1628;
    --text-mid:    #3C4B60;
    --text-muted:  #7A8B9A;
    --border:      rgba(10, 22, 40, 0.12);
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   32px;
    --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:   'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm:   0 2px 8px rgba(10,22,40,0.08);
    --shadow-md:   0 8px 32px rgba(10,22,40,0.12);
    --shadow-lg:   0 24px 64px rgba(10,22,40,0.16);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ================================================================
   HERO
================================================================ */
.hero {
    background-color: var(--navy);
    width: 100%;
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    padding: 80px 6vw;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,162,39,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 580px;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo.small {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--white);
    letter-spacing: 0.02em;
}

.badge-row {
    margin-bottom: 28px;
}

.badge {
    display: inline-block;
    background: rgba(201,162,39,0.15);
    border: 1px solid rgba(201,162,39,0.3);
    color: #E8C547;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 100px;
    letter-spacing: 0.01em;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 500;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--gold);
    line-height: 1;
    font-weight: 500;
}

.stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

.cta-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
}

.cta-hero:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* Floating product cards */
.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-left: 60px;
}

.floating-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 18px 28px;
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card.card-1 { animation-delay: 0s; }
.floating-card.card-2 { animation-delay: 0.8s; }
.floating-card.card-3 { animation-delay: 1.6s; }

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

.card-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.card-dot.green { background: #4ADE80; }
.card-dot.gold  { background: var(--gold); }
.card-dot.blue  { background: #60A5FA; }

/* ================================================================
   SHARED SECTION STYLES
================================================================ */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 6vw;
}

.section-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

/* ================================================================
   PRODUCTS SECTION
================================================================ */
.products {
    background: var(--white);
    padding: 100px 0;
}

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

.product-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: transform 0.22s, box-shadow 0.22s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.icon-navy { background: rgba(10,22,40,0.08); }
.icon-gold  { background: rgba(201,162,39,0.12); }
.icon-teal  { background: rgba(20,184,166,0.1); }

.product-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-card > p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.65;
    margin-bottom: 24px;
}

.product-card ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.product-card ul li {
    font-size: 14px;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 9px;
}

.product-card ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

/* ================================================================
   WHY SECTION
================================================================ */
.why-section {
    background: var(--navy);
    padding: 100px 0;
}

.why-section .section-title {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
}

.why-num {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    color: rgba(201,162,39,0.25);
    line-height: 1;
    margin-bottom: 12px;
}

.why-item h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 10px;
}

.why-item p {
    font-size: 15px;
    color: rgba(255,255,255,0.58);
    line-height: 1.72;
}

/* ================================================================
   FORM SECTION
================================================================ */
.form-section {
    background: var(--cream);
    padding: 100px 6vw;
}

.form-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 56px;
}

.form-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.2;
}

.form-subtitle {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.65;
}

.form-section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    color: var(--text-muted);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: block;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1;
    display: block;
}

.req {
    color: var(--gold);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 13px 16px;
    background: var(--white);
    border: 1.5px solid rgba(10, 22, 40, 0.15);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    display: block;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A8B9A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.inline-group {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.inline-group label {
    flex: 1;
    min-width: 180px;
    margin: 0;
}

.select-inline {
    width: auto;
    min-width: 200px;
    flex-shrink: 0;
}

.form-submit-area {
    margin-top: 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
    -webkit-appearance: none;
}

button[type="submit"]:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

button[type="submit"]:active {
    transform: translateY(0);
}

button[type="submit"].loading {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-icon {
    transition: transform 0.2s;
    display: inline-block;
}

button[type="submit"]:hover .btn-icon {
    transform: translateX(4px);
}

.form-note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
    background: var(--navy);
    padding: 48px 6vw 32px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand strong {
    font-family: var(--font-serif);
    font-size: 17px;
    color: var(--white);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 12px;
    color: rgba(255,255,255,0.38);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.48);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-legal {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 12px;
    color: rgba(255,255,255,0.28);
    line-height: 1.5;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 60px 6vw 80px;
    }

    .hero-visual {
        display: none;
    }

    .hero-inner {
        max-width: 100%;
    }

    .product-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .hero-title { font-size: 30px; }
    .section-title { font-size: 24px; }
    .products, .why-section { padding: 64px 0; }
    .form-section { padding: 64px 5vw; }

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

    .inline-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .select-inline {
        width: 100%;
        min-width: 0;
    }

    .hero-stats {
        gap: 20px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ================================================================
   ENTRANCE ANIMATIONS
================================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-inner > * {
    animation: fadeUp 0.65s ease both;
}

.brand-mark  { animation-delay: 0.00s; }
.badge-row   { animation-delay: 0.08s; }
.hero-title  { animation-delay: 0.16s; }
.hero-sub    { animation-delay: 0.24s; }
.hero-stats  { animation-delay: 0.32s; }
.cta-hero    { animation-delay: 0.40s; }
