/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark: #050505;
    --white: #ffffff;
    --grey: #999999;
    --grey-dark: #1a1a1a;
    --grey-border: #222222;
    --gold: #c9a84c;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: linear-gradient(160deg, #000000 0%, #0a0a1a 25%, #0d0a1e 50%, #0a0a14 75%, #000000 100%);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

/* === Typography === */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

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

/* === Layout === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(24px, 6vw, 80px);
}

.narrow {
    max-width: 720px;
}

.section {
    padding: clamp(80px, 12vw, 160px) 0;
    padding-left: var(--safe-left);
    padding-right: var(--safe-right);
}

.section-alt {
    background: linear-gradient(180deg, rgba(10,10,26,0.6) 0%, rgba(13,10,30,0.4) 50%, rgba(10,10,20,0.6) 100%);
}

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 24px;
}

.logo {
    font-size: clamp(48px, 12vw, 120px);
    letter-spacing: 0.15em;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--white) 0%, var(--grey) 50%, var(--white) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tagline {
    font-size: clamp(16px, 2.5vw, 24px);
    color: var(--gold);
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    font-style: italic;
    text-transform: lowercase;
}

.hero-line {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--grey);
    max-width: 480px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* === CTA Button === */
.cta-btn {
    display: inline-block;
    padding: 16px 48px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.4s ease;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
}

.cta-btn:hover {
    background: var(--gold);
    color: var(--black);
}

/* === Section Titles === */
.section-title {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 24px;
    text-align: center;
}

.section-subtitle {
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--grey);
    text-align: center;
    margin-bottom: 64px;
    line-height: 1.7;
}

.section-closer {
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--gold);
    text-align: center;
    margin-top: 48px;
    font-style: italic;
}

/* === Features Grid === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    padding: 40px 32px;
    border: 1px solid var(--grey-border);
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.6;
}

/* === Steps === */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
}

.step {
    text-align: center;
    padding: 32px;
}

.step-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

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

.step p {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.7;
}

/* === Audience === */
.audience-list {
    max-width: 600px;
    margin: 48px auto 0;
}

.audience-item {
    font-size: clamp(16px, 2.5vw, 20px);
    padding: 20px 0;
    border-bottom: 1px solid var(--grey-border);
    color: var(--grey);
    transition: color 0.3s ease;
}

.audience-item:first-child {
    border-top: 1px solid var(--grey-border);
}

.audience-item:hover {
    color: var(--white);
}

/* === Origin === */
.origin-quote {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.8;
    color: var(--grey);
    border-left: 2px solid var(--gold);
    padding-left: 32px;
    margin: 48px 0 32px;
    font-style: italic;
}

.origin-signature {
    font-size: 16px;
    letter-spacing: 0.08em;
    text-align: right;
}

/* === Pricing === */
.pricing-card {
    border: 1px solid var(--grey-border);
    padding: clamp(40px, 6vw, 64px);
    text-align: center;
    margin-top: 48px;
}

.price-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 48px;
    flex-wrap: wrap;
}

.price-block {
    flex: 1;
    min-width: 200px;
}

.price-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 12px;
}

.price-value {
    display: block;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--gold);
    margin-bottom: 12px;
}

.price-desc {
    display: block;
    font-size: 14px;
    color: var(--grey);
    line-height: 1.6;
}

.price-divider {
    width: 1px;
    background: var(--grey-border);
    align-self: stretch;
}

.price-note {
    margin-top: 40px;
    font-size: 13px;
    color: var(--grey);
    letter-spacing: 0.04em;
}

/* === Contact Form === */
.contact-form {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    background: var(--black);
    border: 1px solid var(--grey-border);
    color: var(--white);
    padding: 18px 20px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    outline: none;
    width: 100%;
    -webkit-appearance: none;
    border-radius: 0;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #555;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .cta-btn {
    align-self: flex-start;
    margin-top: 8px;
}

.form-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--grey);
    text-align: center;
    letter-spacing: 0.04em;
}

/* === Footer === */
.footer {
    padding: 64px 24px;
    padding-bottom: calc(64px + var(--safe-bottom));
    text-align: center;
    border-top: 1px solid var(--grey-border);
}

.footer-brand {
    font-size: 16px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.footer-copy {
    font-size: 12px;
    color: var(--grey);
    letter-spacing: 0.04em;
}

/* === Animations === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 600px) {
    .price-divider {
        width: 100%;
        height: 1px;
    }

    .price-row {
        gap: 32px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .contact-form .cta-btn {
        width: 100%;
        text-align: center;
    }
}
