/* CodeAmber - Cosmic Theme */
:root {
    --amber: #FFBF00;
    --amber-light: #FFD54F;
    --amber-dark: #CC9900;
    --deep-space: #0a0a12;
    --midnight: #12121f;
    --cosmic-purple: #1a1a2e;
    --star-white: #f4f4f8;
    --text-muted: #9ca3af;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--deep-space);
    color: var(--star-white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Stars Background */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

.stars {
    background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="50" cy="50" r="1" fill="white" opacity="0.5"/><circle cx="150" cy="80" r="1" fill="white" opacity="0.3"/><circle cx="250" cy="30" r="1" fill="white" opacity="0.4"/><circle cx="350" cy="120" r="1" fill="white" opacity="0.5"/><circle cx="80" cy="180" r="1" fill="white" opacity="0.3"/><circle cx="200" cy="200" r="1.5" fill="white" opacity="0.4"/><circle cx="320" cy="250" r="1" fill="white" opacity="0.5"/><circle cx="40" cy="300" r="1" fill="white" opacity="0.3"/><circle cx="180" cy="320" r="1" fill="white" opacity="0.4"/><circle cx="300" cy="350" r="1" fill="white" opacity="0.5"/></svg>') repeat 0 0;
    background-size: 400px 400px;
}

.twinkling {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><g fill="white" opacity="0.3"><circle cx="100" cy="100" r="1"/><circle cx="200" cy="50" r="0.8"/><circle cx="400" cy="150" r="1.2"/><circle cx="600" cy="80" r="0.9"/><circle cx="700" cy="200" r="1"/><circle cx="50" cy="250" r="0.8"/><circle cx="300" cy="300" r="1"/><circle cx="500" cy="280" r="1.1"/><circle cx="650" cy="350" r="0.9"/><circle cx="150" cy="400" r="1"/></g></svg>') repeat 0 0;
    background-size: 800px 800px;
    animation: twinkle 8s linear infinite;
}

@keyframes twinkle {
    from { transform: translateY(0); }
    to { transform: translateY(-800px); }
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--amber);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 35px;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
}

/* Offer Box */
.offer-box {
    background: linear-gradient(145deg, var(--midnight) 0%, var(--cosmic-purple) 100%);
    border: 1px solid rgba(255, 191, 0, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 191, 0, 0.1);
}

.offer-box h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--star-white);
}

.offer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Form */
.cosmic-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--amber);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 191, 0, 0.25);
    border-radius: 10px;
    color: var(--star-white);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.15);
}

.form-group input::placeholder {
    color: rgba(244, 244, 248, 0.3);
}

/* Date input styling */
input[type="date"] {
    color-scheme: dark;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
}

/* CTA Button */
.cta-button {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
    border: none;
    border-radius: 10px;
    color: var(--deep-space);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 191, 0, 0.35);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
}

.cta-button.loading .btn-text {
    display: none;
}

.cta-button.loading .btn-loading {
    display: inline;
}

/* Privacy */
.privacy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 20px;
    opacity: 0.7;
}

/* Social Proof */
.social-proof {
    text-align: center;
    margin-top: 35px;
}

.proof-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stars-visual {
    margin-top: 12px;
    color: var(--amber);
    font-size: 1.2rem;
    letter-spacing: 8px;
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 40px;
    text-align: center;
}

footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.disclaimer {
    margin-top: 8px;
    font-size: 0.7rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 30px 15px;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .offer-box {
        padding: 30px 20px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
}
