:root {
    --coral-primary: #ff7a59;
    --navy-primary: #1e2347;
    --navy-secondary: #2a2f5c;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(
        135deg,
        var(--navy-primary) 0%,
        var(--navy-secondary) 100%
    );
    overflow: hidden;
    padding: 80px 0;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 122, 89, 0.1) 0%,
        transparent 70%
    );
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.5;
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Content */
.hero-left {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 122, 89, 0.15);
    color: var(--coral-primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 122, 89, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-title .highlight {
    color: var(--coral-primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--coral-primary);
    border-radius: 2px;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
}

.stat-item {
    position: relative;
}

.stat-item::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--coral-primary);
    border-radius: 2px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--coral-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--coral-primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 122, 89, 0.3);
}

.btn-primary:hover {
    background: #ff6a47;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 122, 89, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* Right Image */
.hero-right {
    position: relative;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero-image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 122, 89, 0.2) 0%,
        rgba(30, 35, 71, 0.2) 100%
    );
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-card-1 {
    top: 50px;
    left: -30px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 80px;
    right: -30px;
    animation-delay: 1s;
}

.floating-card .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--coral-primary), #ff9a7a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 12px;
}

.floating-card h3 {
    font-size: 18px;
    color: var(--navy-primary);
    margin-bottom: 6px;
    font-weight: 800;
}

.floating-card p {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

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

    .hero-title {
        font-size: 48px;
    }

    .hero-right {
        order: -1;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-image {
        height: 400px;
    }
}

/* ============================================
   German Ostad - Multi-Step Form CSS
   Enhanced & Beautiful Design
   ============================================ */

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

:root {
    --coral-primary: #ff7a59;
    --coral-secondary: #ff9478;
    --navy-primary: #1e2347;
    --navy-secondary: #2a2f5c;
    --gray-light: #f9fafb;
    --gray-medium: #e8e9ec;
    --gray-dark: #6b7280;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(30, 35, 71, 0.06);
    --shadow-md: 0 4px 20px rgba(30, 35, 71, 0.08);
    --shadow-lg: 0 10px 40px rgba(30, 35, 71, 0.12);
    --shadow-xl: 0 20px 60px rgba(30, 35, 71, 0.16);
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    color: var(--navy-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ============================================
   Form Container
   ============================================ */

.form-container {
    min-height: 100vh;
    padding: 60px 20px;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(255, 122, 89, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(30, 35, 71, 0.05) 0%,
            transparent 50%
        ),
        linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(255, 122, 89, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.form-container::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(30, 35, 71, 0.06) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.form-wrapper {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============================================
   Progress Header
   ============================================ */

.progress-header {
    background: white;
    padding: 35px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
    border: 1px solid var(--gray-medium);
    position: relative;
    overflow: hidden;
}

.progress-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--coral-primary),
        var(--coral-secondary),
        var(--navy-primary)
    );
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--coral-primary) var(--gray-light);
}

.progress-steps::-webkit-scrollbar {
    height: 6px;
}

.progress-steps::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 10px;
}

.progress-steps::-webkit-scrollbar-thumb {
    background: var(--coral-primary);
    border-radius: 10px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 85px;
    opacity: 0.35;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.step::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--gray-medium);
    z-index: -1;
    transition: all 0.4s ease;
}

.step:last-child::after {
    display: none;
}

.step.active {
    opacity: 1;
    transform: scale(1.05);
}

.step.completed {
    opacity: 0.8;
}

.step.completed::after {
    background: var(--navy-primary);
}

.step-number {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
}

.step.active .step-number {
    background: linear-gradient(
        135deg,
        var(--coral-primary),
        var(--coral-secondary)
    );
    color: white;
    transform: scale(1.15);
    border-color: white;
    box-shadow: 0 8px 20px rgba(255, 122, 89, 0.35);
}

.step.active .step-number::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--coral-primary),
        var(--coral-secondary)
    );
    opacity: 0.2;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.step.completed .step-number {
    background: var(--navy-primary);
    color: white;
    border-color: var(--navy-secondary);
}

.step.completed .step-number::after {
    content: "✓";
    position: absolute;
    font-size: 14px;
}

.step-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-primary);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.progress-bar-container {
    width: 100%;
    height: 10px;
    background: var(--gray-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--coral-primary),
        var(--coral-secondary),
        var(--navy-primary)
    );
    width: 8.33%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 122, 89, 0.3);
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer-bar 2s linear infinite;
}

@keyframes shimmer-bar {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ============================================
   Form Sections
   ============================================ */

.form-section {
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-section.active {
    display: block;
}

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

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        var(--coral-primary),
        var(--coral-secondary)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    box-shadow: 0 12px 35px rgba(255, 122, 89, 0.35);
    position: relative;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.section-icon::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        var(--coral-primary),
        var(--coral-secondary)
    );
    opacity: 0.15;
    z-index: -1;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--navy-primary);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-header p {
    font-size: 17px;
    color: var(--gray-dark);
    font-weight: 500;
}

/* ============================================
   Form Content
   ============================================ */

.form-content {
    background: white;
    padding: 45px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-medium);
    position: relative;
}

.form-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 122, 89, 0.04), transparent);
    border-radius: 0 24px 0 0;
    pointer-events: none;
}

.form-group {
    margin-bottom: 32px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-medium);
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--navy-primary);
    background: var(--gray-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-dark);
    opacity: 0.6;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--coral-primary);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral-primary);
    background: white;
    box-shadow: 0 0 0 5px rgba(255, 122, 89, 0.12);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF7A59' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
    appearance: none;
}

/* ============================================
   Radio Group
   ============================================ */

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.radio-option {
    flex: 1;
    min-width: 150px;
    cursor: pointer;
}

.radio-option input {
    display: none;
}

.radio-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 22px;
    background: var(--gray-light);
    border: 2px solid var(--gray-medium);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.radio-option span::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.radio-option input:checked + span {
    background: linear-gradient(
        135deg,
        var(--coral-primary),
        var(--coral-secondary)
    );
    border-color: var(--coral-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 122, 89, 0.35);
    transform: translateY(-3px);
}

.radio-option input:checked + span::before {
    left: 100%;
}

.radio-option:hover span {
    border-color: var(--coral-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 122, 89, 0.2);
}

.radio-option span i {
    font-size: 18px;
}

/* ============================================
   Checkbox Group
   ============================================ */

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.checkbox-option {
    cursor: pointer;
}

.checkbox-option input {
    display: none;
}

.checkbox-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 22px;
    background: var(--gray-light);
    border: 2px solid var(--gray-medium);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.checkbox-option input:checked + span {
    background: linear-gradient(
        135deg,
        var(--navy-primary),
        var(--navy-secondary)
    );
    border-color: var(--navy-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(30, 35, 71, 0.25);
    transform: translateY(-3px);
}

.checkbox-option input:checked + span::after {
    content: "✓";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 900;
}

.checkbox-option:hover span {
    border-color: var(--navy-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(30, 35, 71, 0.15);
}

/* ============================================
   Rating Scale
   ============================================ */

.rating-scale {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-item {
    cursor: pointer;
    position: relative;
}

.rating-item input {
    display: none;
}

.rating-item span {
    display: block;
    padding: 14px 24px;
    background: var(--gray-light);
    border: 2px solid var(--gray-medium);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: 50px;
}

.rating-item span::before {
    content: attr(data-rating);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    transition: all 0.3s ease;
}

.rating-item input:checked + span {
    background: linear-gradient(
        135deg,
        var(--navy-primary),
        var(--navy-secondary)
    );
    border-color: var(--navy-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(30, 35, 71, 0.25);
    transform: translateX(8px);
}

.rating-item input:checked + span::before {
    background: white;
    color: var(--navy-primary);
}

.rating-item:hover span {
    border-color: var(--navy-primary);
    transform: translateX(4px);
}

/* ============================================
   Consent Box
   ============================================ */

.consent-box {
    background: linear-gradient(135deg, var(--gray-light), white);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid var(--gray-medium);
    box-shadow: var(--shadow-sm);
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    cursor: pointer;
    padding: 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.consent-item:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

.consent-item:last-child {
    margin-bottom: 0;
}

.consent-item input {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--coral-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.consent-item span {
    font-size: 15px;
    color: var(--navy-primary);
    line-height: 1.7;
    font-weight: 600;
}

.consent-item a {
    color: var(--coral-primary);
    text-decoration: none;
    font-weight: 800;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.consent-item a:hover {
    border-bottom-color: var(--coral-primary);
}

/* ============================================
   Navigation Buttons
   ============================================ */

.form-navigation {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 50px;
}

.btn {
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: inherit;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-back {
    background: white;
    color: var(--navy-primary);
    border: 3px solid var(--gray-medium);
    box-shadow: var(--shadow-sm);
}

.btn-back:hover {
    background: var(--gray-light);
    border-color: var(--navy-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-next,
.btn-submit {
    background: linear-gradient(
        135deg,
        var(--coral-primary),
        var(--coral-secondary)
    );
    color: white;
    box-shadow: 0 6px 20px rgba(255, 122, 89, 0.35);
    border: 3px solid transparent;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 122, 89, 0.45);
}

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

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   Modal
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 35, 71, 0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 28px;
    padding: 55px 45px;
    text-align: center;
    max-width: 520px;
    margin: 20px;
    box-shadow: var(--shadow-xl);
    animation: slideUpModal 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-medium);
}

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

.modal-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--coral-primary),
        var(--coral-secondary)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 35px rgba(255, 122, 89, 0.4);
    position: relative;
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

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

.modal-icon::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--coral-primary),
        var(--coral-secondary)
    );
    opacity: 0.2;
    animation: pulse-modal 2s ease-in-out infinite;
}

@keyframes pulse-modal {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.modal-icon i {
    font-size: 55px;
    color: white;
}

.modal-content h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--navy-primary);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.modal-content p {
    font-size: 17px;
    color: var(--gray-dark);
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--coral-primary),
        var(--coral-secondary)
    );
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 122, 89, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 122, 89, 0.45);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .form-wrapper {
        max-width: 750px;
    }

    .step {
        min-width: 75px;
    }

    .section-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 30px 15px;
    }

    .form-wrapper {
        max-width: 100%;
    }

    .progress-header {
        padding: 25px 20px;
    }

    .progress-steps {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .progress-steps::-webkit-scrollbar {
        display: none;
    }

    .step {
        min-width: 65px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .step-label {
        font-size: 11px;
    }

    .section-icon {
        width: 75px;
        height: 75px;
        font-size: 34px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 15px;
    }

    .form-content {
        padding: 30px 20px;
    }

    .form-group {
        margin-bottom: 26px;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-option {
        min-width: 100%;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .form-navigation {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 35px;
    }

    .modal-content {
        padding: 45px 28px;
        margin: 15px;
    }

    .modal-icon {
        width: 90px;
        height: 90px;
    }

    .modal-icon i {
        font-size: 45px;
    }

    .modal-content h3 {
        font-size: 26px;
    }

    .modal-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px 10px;
    }

    .progress-header {
        padding: 20px 15px;
    }

    .step {
        min-width: 55px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .step-label {
        font-size: 10px;
    }

    .section-icon {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }

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

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

    .form-content {
        padding: 25px 18px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 14px;
    }

    .radio-option span,
    .checkbox-option span {
        padding: 14px 18px;
        font-size: 14px;
    }

    .rating-item span {
        padding: 12px 20px;
        font-size: 14px;
        padding-left: 45px;
    }

    .consent-box {
        padding: 25px 20px;
    }

    .consent-item {
        padding: 14px;
    }

    .consent-item span {
        font-size: 14px;
    }

    .btn {
        padding: 15px 30px;
        font-size: 15px;
    }

    .modal-content {
        padding: 35px 22px;
    }

    .modal-icon {
        width: 80px;
        height: 80px;
    }

    .modal-icon i {
        font-size: 40px;
    }

    .modal-content h3 {
        font-size: 24px;
    }

    .btn-primary {
        padding: 16px 40px;
        font-size: 16px;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .progress-header,
    .form-navigation,
    .section-icon {
        display: none !important;
    }

    .form-section {
        display: block !important;
        page-break-after: always;
    }

    .form-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    body {
        background: white;
    }
}

/* ============================================
   Accessibility Enhancements
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible,
.btn:focus-visible,
.radio-option:focus-visible span,
.checkbox-option:focus-visible span,
.rating-item:focus-visible span {
    outline: 3px solid var(--coral-primary);
    outline-offset: 3px;
}

/* ============================================
   Loading State
   ============================================ */

.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Tooltip (Optional Enhancement)
   ============================================ */

[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: var(--navy-primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

[data-tooltip]::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--navy-primary);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
}

/* ============================================
   Custom Scrollbar
   ============================================ */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        135deg,
        var(--coral-primary),
        var(--coral-secondary)
    );
    border-radius: 10px;
    border: 2px solid var(--gray-light);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        135deg,
        var(--coral-secondary),
        var(--coral-primary)
    );
}

/* ============================================
   Selection Color
   ============================================ */

::selection {
    background: var(--coral-primary);
    color: white;
}

::-moz-selection {
    background: var(--coral-primary);
    color: white;
}
