/* Modern CEE Landing Page - High Conversion Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    -webkit-font-smoothing: antialiased;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    animation: fadeInDown 0.6s ease-out;
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--success);
}

.trust-icon {
    font-size: 18px;
    background: var(--success);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Form Section */
.form-section-wrapper {
    padding: 40px 20px 60px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-header p {
    color: var(--gray);
    font-size: 16px;
}

/* Multi-step Form */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.3s ease-out;
}

.step-indicator {
    margin-bottom: 24px;
}

.step-number {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #667eea 100%);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.step-subtitle {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-select,
.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    transition: all 0.2s;
    font-family: inherit;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-select.error,
.form-input.error {
    border-color: var(--danger);
}

/* Radio Cards */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    transition: all 0.2s;
}

.radio-card:hover .radio-card-content {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.radio-card input[type="radio"]:checked + .radio-card-content {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    box-shadow: var(--shadow);
}

.radio-icon {
    font-size: 32px;
}

.radio-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Buttons */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn-next,
.btn-submit,
.btn-back {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-next,
.btn-submit {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: var(--shadow);
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-next:active,
.btn-submit:active {
    transform: translateY(0);
}

.btn-back {
    background: var(--light-gray);
    color: var(--dark);
}

.btn-back:hover {
    background: #e2e8f0;
}

.btn-arrow,
.btn-icon {
    font-size: 18px;
}

/* Alert */
.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert ul {
    margin: 8px 0 0 20px;
}

/* Benefits Section */
.benefits {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.benefit-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.benefit-card p {
    font-size: 14px;
    color: var(--gray);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--dark);
    color: white;
}

.footer p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-legal {
    font-size: 12px;
    color: var(--gray);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .form-container {
        padding: 24px;
        border-radius: 16px;
    }

    .hero {
        padding: 40px 20px 30px;
    }

    .trust-indicators {
        gap: 16px;
    }

    .trust-item {
        font-size: 12px;
    }

    .radio-cards {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn-next,
    .btn-submit,
    .btn-back {
        width: 100%;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}


/* Enhanced Mobile Optimization */
@media (max-width: 480px) {
    .hero {
        padding: 30px 16px 20px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .form-container {
        padding: 20px 16px;
        border-radius: 12px;
        margin: 0 12px;
    }

    .form-header h2 {
        font-size: 22px;
    }

    .form-header p {
        font-size: 14px;
    }

    .step-title {
        font-size: 18px;
    }

    .radio-card-content {
        padding: 16px;
    }

    .radio-icon {
        font-size: 28px;
    }

    .btn-next,
    .btn-submit,
    .btn-back {
        padding: 16px 24px;
        font-size: 15px;
    }

    .benefit-card {
        padding: 24px 20px;
    }

    .benefit-icon {
        font-size: 40px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 32px;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 20px 16px;
    }

    .form-container {
        max-width: 90%;
    }
}

/* Tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .form-container {
        max-width: 700px;
        padding: 48px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .hero {
        padding: 80px 20px 60px;
    }

    .form-container {
        max-width: 700px;
        padding: 56px;
    }

    .benefits-grid {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .form-select,
    .form-input {
        font-size: 16px; /* Prevent zoom on focus */
    }
}

/* Better touch targets */
@media (hover: none) and (pointer: coarse) {
    .radio-card-content {
        min-height: 80px;
    }

    .btn-next,
    .btn-submit,
    .btn-back {
        min-height: 48px;
    }

    .checkbox-label {
        padding: 8px 0;
    }
}

/* Thank You Page Styles */
.thankyou-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.success-box {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 24px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-box h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.success-message {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.success-message p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.success-message p:last-child {
    margin-bottom: 0;
}

.next-steps {
    text-align: left;
    background: #f8fafc;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.next-steps h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.next-steps ol {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.next-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 60px;
    margin-bottom: 24px;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

.next-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.next-steps strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--dark);
}

.next-steps small {
    color: var(--gray);
    font-size: 14px;
}

.info-box,
.cta-box {
    background: white;
    border-left: 4px solid #667eea;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    text-align: left;
}

.info-box {
    background: #eff6ff;
    border-color: #3b82f6;
}

.cta-box {
    background: #fef3c7;
    border-color: #f59e0b;
}

.info-box p,
.cta-box p {
    margin-bottom: 8px;
    font-size: 15px;
}

.info-box p:last-child,
.cta-box p:last-child {
    margin-bottom: 0;
}

/* Responsive Thank You Page */
@media (max-width: 768px) {
    .thankyou-page {
        margin: 20px auto;
    }

    .success-box {
        padding: 32px 24px;
    }

    .success-icon {
        font-size: 64px;
    }

    .success-box h1 {
        font-size: 24px;
    }

    .next-steps {
        padding: 24px 20px;
    }

    .next-steps h2 {
        font-size: 20px;
    }

    .next-steps li {
        padding-left: 50px;
    }

    .next-steps li::before {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}
