:root {
    --bg-color: #0d0d0c; /* Deep Espresso Charcoal */
    --text-primary: #f5f2ed; /* Soft Bone/Cream */
    --text-secondary: #a39e96; /* Warm Gray */
    --text-muted: #5e5a54; /* Muted Earth */
    --accent-color: #d4af37; /* Muted Champagne Gold */
    --accent-text: #0d0d0c;
    --grid-color: rgba(212, 175, 55, 0.03); /* Subtle Gold Grid */
    --border-color: rgba(245, 242, 237, 0.08);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-width: 1200px;
    --section-padding: 160px 20px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Texture Overlays */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    opacity: 0.5;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: var(--section-padding);
}

/* Typography */
h1 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 40px;
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
}

.subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin-bottom: 60px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.large-text {
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--text-primary);
    max-width: 900px;
    letter-spacing: -0.01em;
}

/* Components */
.badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: transparent;
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
    color: var(--text-primary);
}

.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    text-align: center;
    border: 1px solid var(--text-primary);
}

.primary-btn {
    background: transparent;
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.05);
}

.primary-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    background: var(--text-primary);
    color: var(--bg-color);
}

.cta-group {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Hero Section - Centered */
#hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1000px;
}

.hero-content h1 {
    margin-bottom: 30px;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 40px;
}

/* About Section */
#about {
    border-top: 1px solid var(--border-color);
}

.about-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-flex .section-title {
    margin-bottom: 0;
}

.about-image-vessel {
    width: 100%;
    height: 500px;
    background: #111;
    overflow: hidden;
    border-radius: 8px;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0.9;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 100px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
}

.number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-family: monospace;
}

/* Signup Section */
#signup {
    border-top: 1px solid var(--border-color);
    background: linear-gradient(to bottom, var(--bg-color), #141311);
}

#signup .subtitle {
    font-size: 1.1rem;
    max-width: 650px;
}

#creator-form {
    margin-top: 80px;
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
}

.input-group label {
    display: block;
    margin-bottom: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.input-group input,
.input-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    color: white;
    font-size: 1.2rem;
    font-family: inherit;
    transition: all 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.input-group select {
    color-scheme: dark;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 1.2em;
    padding-right: 30px;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.other-input {
    margin-top: 15px;
    font-size: 1rem !important;
    border-bottom-style: dashed !important;
}

.submit-btn {
    margin-top: 80px;
    min-width: 280px;
}

/* Success Message */
.hidden {
    display: none;
}

#success-message {
    padding: 100px 0;
    text-align: center;
    animation: fadeIn 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

#success-message .large-text {
    margin: 0 auto;
}

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

/* Reveal Animation - Refined */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered Reveals */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Components - Refined */
.badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: transparent;
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
    color: var(--text-primary);
    animation: pulseBadge 3s infinite ease-in-out;
}

@keyframes pulseBadge {
    0%, 100% { border-color: var(--border-color); box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    50% { border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); }
}

.primary-btn:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.25);
    background: var(--text-primary);
    color: var(--bg-color);
}

.btn:active {
    transform: translateY(-2px) scale(0.98);
}

/* Footer */
footer {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
}

/* Mobile Sticky CTA */
.btn-full {
    width: 100%;
    display: block;
}

.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: rgba(13, 13, 12, 0.9); /* Espresso with glass effect */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.hide-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

@media (max-width: 768px) {
    :root {
        --section-padding: 120px 20px;
    }

    .container {
        padding: 0 30px;
    }

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

    .about-image-vessel {
        height: 350px;
    }

    h1 {
        font-size: 4rem;
    }

    .mobile-sticky-cta {
        display: block;
    }
    
    body {
        padding-bottom: 80px; /* Prevent footer clipping */
    }
}
