/* CSS Variables */
:root {
    --navy: #1e3a8a;
    --navy-light: #2e4a9a;
    --teal: #0d9488;
    --teal-hover: #0f766e;
    --mist: #f1f5f9;
    --mist-dark: #e2e8f0;
    --green: #16a34a;
    --white: #ffffff;
    --text-main: #334155;
    --text-light: #64748b;
    --border: #cbd5e1;
    
    --font-heading: 'Inter Tight', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--mist);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    padding: 32px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--navy);
    letter-spacing: -0.02em;
}

/* Hero Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 24px 0 80px;
    align-items: start;
}

/* Left Column */
.hero-content {
    padding-top: 24px;
}

.badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--teal);
    background: rgba(13, 148, 136, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 24px;
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.value-prop-list {
    list-style: none;
    margin-bottom: 48px;
}

.value-prop-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--navy);
}

.value-prop-list svg {
    width: 24px;
    height: 24px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 138, 0.1);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.06);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Right Column - Sticky Form */
.hero-form-container {
    position: sticky;
    top: 40px;
}

.form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(30, 58, 138, 0.1);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.04);
}

.form-card h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
}

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

input, select, textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text-main);
    transition: all 0.2s ease;
    width: 100%;
}

input::placeholder, textarea::placeholder {
    color: #94a3b8;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

button[type="submit"] {
    background: var(--teal);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-top: 8px;
}

button[type="submit"]:hover {
    background: var(--teal-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Status Messages */
.status-alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
}

.status-alert.error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Success State */
.success-state {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.success-state h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.success-state p {
    color: var(--text-light);
    margin-bottom: 32px;
}

/* Share Panel */
.share-panel {
    background: var(--mist);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}

.share-panel h4 {
    font-family: var(--font-heading);
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.share-panel p {
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.share-input-group {
    display: flex;
    gap: 8px;
}

.share-input-group input {
    flex: 1;
    background: white;
}

.share-input-group button {
    background: var(--navy);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.share-input-group button:hover {
    background: var(--navy-light);
}

/* Social Proof Section */
.social-proof {
    padding: 60px 0 100px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.section-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.logo-card {
    background: var(--mist);
    border: 1px solid var(--border);
    border-radius: 12px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.logo-card:hover {
    opacity: 1;
}

.quotes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.quote-card {
    background: var(--mist);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border);
}

.stars {
    color: #eab308;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.quote-text {
    font-size: 1.125rem;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 24px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.avatar.bg-teal {
    background: var(--teal);
}

.author-info strong {
    display: block;
    color: var(--navy);
    font-family: var(--font-heading);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

#wbx-powered-by-slot {
    margin-top: 40px;
    padding-bottom: 40px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-form-container {
        position: static;
    }
    
    h1 {
        font-size: 2.75rem;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quotes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 24px;
    }
    
    h1 {
        font-size: 2.25rem;
    }
}
