/* ===================================
   CSS Variables - German Ostad
   =================================== */
:root {
    /* Brand Colors */
    --primary-orange: #f17855;
    --primary-orange-dark: #e16643;
    --primary-orange-light: #fff5f2;
    --primary-navy: #1e1b3d;
    --primary-navy-dark: #14112a;
    --primary-navy-light: #2a2654;
    --accent-blue: #4a90e2;
    --accent-blue-light: #e8f4fd;

    /* Neutral Colors */
    --text-dark: #1e1b3d;
    --text-medium: #5a5a7a;
    --text-light: #9b9bb0;
    --bg-white: #ffffff;
    --bg-light: #f8f9fc;
    --bg-lighter: #fafbfd;
    --border-color: #e5e7eb;

    /* Status Colors */
    --success-green: #10b981;
    --success-light: #d1fae5;
    --warning-yellow: #f59e0b;
    --error-red: #ef4444;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(30, 27, 61, 0.06);
    --shadow-md: 0 8px 24px rgba(30, 27, 61, 0.08);
    --shadow-lg: 0 20px 40px rgba(30, 27, 61, 0.12);
    --shadow-xl: 0 30px 60px rgba(30, 27, 61, 0.15);

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-lighter);
}

/* ===================================
   Hero Section - COMPACT & BEAUTIFUL
   =================================== */
.regi-hero-section {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1442 0%, #0f0a28 50%, #1e1b3d 100%);
    padding: 3rem 2rem 4rem;
}

/* Hero Background */
.regihero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.regihero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(80px);
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        var(--primary-orange) 0%,
        transparent 70%
    );
    top: -200px;
    right: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: floatShape 15s ease-in-out infinite reverse;
}

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

/* Hero Container */
.regihero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Hero Content */
.regihero-content {
    animation: fadeInUp 0.8s ease;
}

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

/* Logo Badge */
.logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-orange-dark) 100%
    );
    border-radius: 50% 50% 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
    box-shadow: 0 6px 20px rgba(241, 120, 85, 0.5);
}

.logo-text {
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
    transform: rotate(45deg);
    letter-spacing: -1px;
}

.logo-info h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 0.125rem;
}

.logo-info p {
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--accent-blue), #64b5f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Hero Title */
.regihero-title {
    font-family: "Poppins", sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.highlight-orange {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff9a76 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight-orange::after {
    content: "";
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.15em;
    background: linear-gradient(90deg, var(--primary-orange), transparent);
    opacity: 0.5;
    border-radius: 10px;
}

.highlight-blue {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #64b5f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight-blue::after {
    content: "";
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.15em;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
    opacity: 0.5;
    border-radius: 10px;
}

/* Hero Description */
.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Hero Benefits */
.hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.benefit-item i {
    color: var(--success-green);
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4));
}

/* Hero Image */
.regihero-image {
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    transform: scale(1);
    transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.05);
}

.hero-image-decoration {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(241, 120, 85, 0.2) 0%,
        rgba(74, 144, 226, 0.2) 100%
    );
    border-radius: 24px;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.hero-image-wrapper::before {
    content: "";
    position: absolute;
    inset: -3px;
    background: linear-gradient(
        135deg,
        var(--primary-orange),
        var(--accent-blue)
    );
    border-radius: 24px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
    z-index: 10;
    cursor: pointer;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 10px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%,
    100% {
        top: 6px;
        opacity: 1;
    }
    50% {
        top: 18px;
        opacity: 0.5;
    }
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* ===================================
   Registration Section
   =================================== */
.registration-section {
    padding: 4rem 2rem;
    background: var(--bg-lighter);
}

.registration-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ===================================
   User Type Selection
   =================================== */
.user-type-selection {
    text-align: center;
    margin-bottom: 4rem;
}

.selection-title {
    font-family: "Poppins", sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.selection-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.user-type-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.user-type-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 3px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.user-type-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--primary-orange-light) 0%,
        var(--accent-blue-light) 100%
    );
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.user-type-card:hover::before {
    opacity: 0.3;
}

.user-type-card.active {
    border-color: var(--primary-orange);
    box-shadow: 0 12px 40px rgba(241, 120, 85, 0.2);
    transform: translateY(-5px);
}

.user-type-card.active::before {
    opacity: 0.15;
}

.user-type-card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-orange-dark) 100%
    );
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(241, 120, 85, 0.3);
}

.user-type-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card-icon i {
    font-size: 2.5rem;
    color: white;
}

.card-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.card-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--success-green);
    font-size: 1rem;
}

.select-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.select-btn:hover {
    background: var(--bg-white);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.select-btn.selected {
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-orange-dark) 100%
    );
    border-color: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 16px rgba(241, 120, 85, 0.3);
}

.select-btn.selected:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 120, 85, 0.4);
}

/* Form visibility classes */
.learner-only {
    display: block !important;
}

.company-only {
    display: none !important;
}

body.company-mode .learner-only {
    display: none !important;
}

body.company-mode .company-only {
    display: block !important;
}

/* Registration Header */
.registration-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.header-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-orange-dark) 100%
    );
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 10px 30px rgba(241, 120, 85, 0.3);
}

.header-icon i {
    font-size: 2.25rem;
    color: white;
}

.registration-title {
    font-family: "Poppins", sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.625rem;
}

.registration-subtitle {
    font-size: 1.0625rem;
    color: var(--text-medium);
}

/* Progress Bar Container */
.progress-bar-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    flex: 1;
    transition: var(--transition);
}

.step-number {
    width: 55px;
    height: 55px;
    background: var(--bg-light);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-medium);
    transition: var(--transition);
}

.progress-step.active .step-number {
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-orange-dark) 100%
    );
    border-color: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(241, 120, 85, 0.3);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
    text-align: center;
    transition: var(--transition);
}

.progress-step.active .step-label {
    color: var(--primary-orange);
}

.progress-line {
    flex: 1;
    height: 3px;
    background: var(--border-color);
    position: relative;
    top: -22px;
    margin: 0 -10px;
}

/* Progress Bar */
.progress-bar-bg {
    height: 8px;
    background: var(--bg-light);
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--primary-orange) 0%,
        var(--primary-orange-dark) 100%
    );
    border-radius: 100px;
    width: 33.33%;
    transition: width 0.4s ease;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

/* Form Step */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

/* Step Header */
.step-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-light);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-orange-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-orange);
}

.step-title {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 1.0625rem;
    color: var(--text-medium);
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

/* Form Label */
.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-label i {
    color: var(--primary-orange);
    font-size: 1rem;
}

/* Form Input */
.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px var(--primary-orange-light);
}

.form-input:hover:not(:focus),
.form-textarea:hover:not(:focus) {
    border-color: var(--text-light);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--error-red);
    background: #fef2f2;
}

.form-input.success,
.form-textarea.success {
    border-color: var(--success-green);
    background: var(--success-light);
}

/* Select Styling */
select.form-input {
    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='%235A5A7A' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
    appearance: none;
}

/* Input Hint */
.input-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-medium);
    margin-top: -0.25rem;
}

.input-hint i {
    color: var(--accent-blue);
    font-size: 0.875rem;
}

/* Character Count */
.character-count {
    font-size: 0.8125rem;
    color: var(--text-light);
    text-align: right;
    margin-top: -0.25rem;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 3.5rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-medium);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    border-radius: 8px;
}

.toggle-password:hover {
    color: var(--primary-orange);
    background: var(--bg-light);
}

.toggle-password i {
    font-size: 1.125rem;
}

/* Password Strength Indicator */
.password-strength {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.strength-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-light);
    border-radius: 100px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0;
    border-radius: 100px;
    transition: var(--transition);
}

.strength-fill.weak {
    width: 33%;
    background: var(--error-red);
}

.strength-fill.medium {
    width: 66%;
    background: var(--warning-yellow);
}

.strength-fill.strong {
    width: 100%;
    background: var(--success-green);
}

.strength-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-medium);
    min-width: 100px;
    text-align: right;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-orange-dark) 100%
    );
    border-color: var(--primary-orange);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 0.75rem;
}

.checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
    box-shadow: 0 0 0 4px var(--primary-orange-light);
}

.checkbox-text {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.checkbox-text .link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.checkbox-text .link:hover {
    text-decoration: underline;
}

/* Error Message */
.error-message {
    font-size: 0.8125rem;
    color: var(--error-red);
    display: none;
    margin-top: 0.25rem;
}

.error-message.show {
    display: block;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

/* Buttons */
.btn {
    padding: 1.125rem 2.25rem;
    border: none;
    border-radius: 14px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

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

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary-orange) 0%,
        var(--primary-orange-dark) 100%
    );
    color: white;
    box-shadow: 0 8px 20px rgba(241, 120, 85, 0.3);
    flex: 1;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(241, 120, 85, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-white);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.btn-secondary:hover i {
    transform: translateX(-3px);
}

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

.btn.loading i {
    animation: spin 1s linear infinite;
}

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

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-text {
    font-size: 0.9375rem;
    color: var(--text-medium);
}

.footer-text .link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-text .link:hover {
    text-decoration: underline;
}

/* ===================================
   Success Modal
   =================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 2rem;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 27, 61, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 550px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.modal.show .modal-content {
    transform: scale(1);
    animation: modalBounce 0.5s ease;
}

@keyframes modalBounce {
    0% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.modal-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.modal-icon i {
    font-size: 3.5rem;
    color: white;
}

.modal-title {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.modal-text {
    font-size: 1.0625rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    justify-content: center;
}

.modal-actions .btn {
    min-width: 200px;
    text-decoration: none;
}

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

/* Tablets */
@media (max-width: 768px) {
    .regi-hero-section {
        min-height: 50vh;
        padding: 2rem 1.5rem 3rem;
    }

    .regihero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .regihero-content {
        text-align: center;
    }

    .regihero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .regihero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .registration-section {
        padding: 3rem 1.5rem;
    }

    .selection-title {
        font-size: 2rem;
    }

    .user-type-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .registration-title {
        font-size: 2rem;
    }

    .progress-bar-container {
        padding: 1.5rem;
    }

    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }

    .progress-line {
        display: none;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

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

    .btn {
        width: 100%;
    }

    .modal-content {
        padding: 2.5rem 2rem;
    }

    .modal-title {
        font-size: 1.75rem;
    }

    .modal-subtitle {
        font-size: 1.25rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .regi-hero-section {
        min-height: 45vh;
        padding: 1.5rem 1rem 2.5rem;
    }

    .logo-badge {
        padding: 0.5rem 1rem;
        gap: 0.75rem;
    }

    .logo-circle {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-info h3 {
        font-size: 0.9375rem;
    }

    .logo-info p {
        font-size: 0.625rem;
    }

    .regihero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.9375rem;
    }

    .benefit-item {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .registration-section {
        padding: 2rem 1rem;
    }

    .selection-title {
        font-size: 1.75rem;
    }

    .selection-subtitle {
        font-size: 1rem;
    }

    .user-type-card {
        padding: 2rem 1.5rem;
    }

    .card-icon {
        width: 70px;
        height: 70px;
    }

    .card-icon i {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-description {
        font-size: 0.9375rem;
    }

    .registration-title {
        font-size: 1.75rem;
    }

    .header-icon {
        width: 70px;
        height: 70px;
    }

    .header-icon i {
        font-size: 2rem;
    }

    .progress-bar-container {
        padding: 1.25rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }

    .step-label {
        font-size: 0.8125rem;
    }

    .form-container {
        padding: 1.5rem 1rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-icon i {
        font-size: 1.75rem;
    }

    .step-title {
        font-size: 1.375rem;
    }

    .step-description {
        font-size: 0.9375rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

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

    .modal-icon i {
        font-size: 2.75rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-subtitle {
        font-size: 1.125rem;
    }
}

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

.btn:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible,
.checkbox-label input[type="checkbox"]:focus-visible + .checkbox-custom {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-light: #666666;
    }
}
