:root {
    --bg-dark: #0f1115;
    --bg-card: rgba(26, 29, 36, 0.6);
    --accent: #00ffaa;
    --accent-glow: rgba(0, 255, 170, 0.4);
    --accent-hover: #00e699;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    z-index: 1;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 80%, transparent);
}

.blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
    animation: drift 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(88,101,242,0.3) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(5%, 5%); }
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .navbar {
        padding: 2rem 4rem;
    }
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge svg {
    color: var(--accent);
}

.badge .afternic {
    color: #fff;
}

/* Hero Section */
.hero-container {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 4rem;
        gap: 6rem;
    }
}

.hero-content {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
        align-items: flex-start;
    }
}

.pill-badge {
    display: inline-flex;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: rgba(0, 255, 170, 0.1);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 255, 170, 0.2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title .accent-text {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero-title .accent-text::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 35%;
    background-color: var(--accent);
    opacity: 0.15;
    z-index: -1;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.hero-copy {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 480px;
    font-weight: 400;
    line-height: 1.6;
}

/* Form Card */
.form-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.form-card-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--accent), rgba(88,101,242,0.8));
    border-radius: 28px;
    z-index: 0;
    opacity: 0.3;
    filter: blur(15px);
    transition: opacity 0.3s ease;
}

.form-card-wrapper:hover .form-card-glow {
    opacity: 0.5;
}

.form-card {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.offer-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.input-group input {
    background: rgba(15, 17, 21, 0.7);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

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

.input-group input::placeholder {
    color: rgba(148, 163, 184, 0.3);
}

.currency-input {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.currency-input input {
    width: 100%;
    padding-left: 2rem;
}

.submit-btn {
    background: var(--text-primary);
    color: var(--bg-dark);
    border: none;
    padding: 1.125rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 0.75rem;
}

.submit-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent-glow);
}

.submit-btn:active {
    transform: translateY(1px);
}

.hidden {
    display: none !important;
}

#form-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    color: var(--accent);
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

#form-message p {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.5;
}

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