/**
 * Landing Page Styles
 * Современный дизайн с анимациями для главной страницы
 */

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

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

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

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

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

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

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s var(--anim-easing) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s var(--anim-easing) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s var(--anim-easing) forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s var(--anim-easing) forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.animate-slide-in-up {
    animation: slideInUp 0.6s var(--anim-easing) forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--anim-easing), transform 0.6s var(--anim-easing);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO SECTION
   ============================================ */

.landing-hero {
    background: var(--landing-hero-bg);
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

.landing-hero__background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.landing-hero__background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.85) 0%, 
        rgba(139, 92, 246, 0.8) 50%,
        rgba(236, 72, 153, 0.75) 100%
    );
}

[data-theme="dark"] .landing-hero__overlay {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.7) 0%, 
        rgba(139, 92, 246, 0.65) 50%,
        rgba(236, 72, 153, 0.6) 100%
    );
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.landing-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: 
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px),
        linear-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.landing-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.landing-hero__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .landing-hero .gradient-text {
    background: linear-gradient(135deg, #e0e7ff 0%, rgba(224, 231, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.7;
}

[data-theme="dark"] .landing-hero__subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.landing-hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    margin-left:-14px;
    /*transform: translateX(-50%);*/
    z-index: 2;
    color: white;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
}

.landing-hero__badge {
    margin-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.badge--primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .landing-hero .badge--primary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-hero__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.landing-hero__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.landing-hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.landing-hero__stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    width: 200px;
}

.stat-item__value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-item__label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.landing-hero__form {
    max-width: 550px;
    margin: 4rem auto 0;
}

.form-card {
    background: var(--color-bg);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.form-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.form-card__subtitle {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.landing-hero__image {
    max-width: 1000px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ============================================
   PRE-REGISTRATION SECTION
   ============================================ */

.preregister-section {
    padding: 4rem 0;
    background: var(--color-bg-secondary);
}

.preregister-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-bg);
    padding: 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    text-align: center;
}

.preregister-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preregister-card__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.preregister-card__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.preregister-form {
    text-align: left;
}

.preregister-form__fields {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--landing-gradient-start) 0%, var(--landing-gradient-end) 100%);
    color: white;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    color: #fff;
}

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

.btn--secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn--white {
    background: white;
    color: var(--color-primary);
}

.btn--white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

.btn--animated svg {
    transition: transform var(--transition-normal);
}

.btn--animated:hover svg {
    transform: translateX(4px);
}

/* ============================================
   SECTIONS
   ============================================ */

.landing-section {
    padding: 6rem 0;
}

.landing-section--alt {
    background: var(--color-bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-header__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-bg);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--landing-gradient-start) 0%, var(--landing-gradient-end) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
}

.feature-card__title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.feature-card__description {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Feature Card Highlight with Badge */
.feature-card--highlight {
    position: relative;
}

.feature-card__badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: linear-gradient(135deg, var(--landing-gradient-start) 0%, var(--landing-gradient-end) 100%);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-md);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.feature-card__badge svg {
    width: 14px;
    height: 14px;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--color-bg-secondary);
    color: var(--color-text-secondary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
}

/* ============================================
   STEPS GRID
   ============================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--color-bg);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.step-card__number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    opacity: 0.2;
}

.step-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.step-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.step-card__description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   SCROLL-DRIVEN FEATURES SECTION
   ============================================ */

.scroll-features-section {
    padding: 6rem 0;
    background: var(--color-bg);
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.scroll-features {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
}

.scroll-features__sidebar {
    position: relative;
}

.scroll-features__tabs {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scroll-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: left;
}

.scroll-tab:hover {
    background: var(--landing-card-hover);
    border-color: var(--color-primary);
}

.scroll-tab.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateX(8px);
}

.scroll-tab__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.scroll-tab.active .scroll-tab__icon {
    background: rgba(255, 255, 255, 0.2);
}

.scroll-tab__content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.scroll-tab__content p {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.scroll-features__content {
    position: relative;
}

.scroll-features__sticky {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.scroll-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s var(--anim-easing), transform 0.6s var(--anim-easing);
    pointer-events: none;
    padding: 1rem;
}

.scroll-panel.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.scroll-features__triggers {
    display: flex;
    flex-direction: column;
}

.scroll-trigger {
    height: 100vh;
    width: 100%;
}

.scroll-feature-image {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}


/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-content {
    /* Styles handled by section-header */
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-item__icon {
    font-size: 2rem;
    flex-shrink: 0;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item__content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.benefit-item__content p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.benefits-image {
    position: relative;
}

.rounded-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card__rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-card__text {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--landing-gradient-start) 0%, var(--landing-gradient-end) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.testimonial-card__name {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.testimonial-card__role {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--landing-gradient-start) 0%, var(--landing-gradient-end) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-section__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-section__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.85) 0%, 
        rgba(139, 92, 246, 0.8) 50%,
        rgba(236, 72, 153, 0.75) 100%
    );
}

[data-theme="dark"] .cta-section__overlay {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.7) 0%, 
        rgba(139, 92, 246, 0.65) 50%,
        rgba(236, 72, 153, 0.6) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-content__actions {
    margin-bottom: 2rem;
}

.cta-form-wrapper {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.cta-form .floating-field {
    flex: 1;
    min-width: 300px;
    margin-bottom: 0;
}

.cta-form .floating-field__input {
    background: white;
    border: none;
    color: var(--color-text);
}

.cta-form .floating-field__label {
    background: white;
    color: var(--color-text-muted);
}

.cta-form .floating-field__input:focus + .floating-field__label {
    color: var(--color-primary);
}

.cta-form .btn {
    flex-shrink: 0;
}

.input--cta {
    background: white;
    color: var(--color-text);
    border: none;
}

.input--cta::placeholder {
    color: var(--color-text-secondary);
}

.cta-content__features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.95;
}

.cta-feature svg {
    flex-shrink: 0;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    transition: all var(--transition-normal);
}

.input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input--large {
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
}

.input--white {
    background: white;
    color: var(--color-text);
}

.input--white::placeholder {
    color: var(--color-text-secondary);
}

.form-error {
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: 0.5rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.alert--success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .benefits-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .benefits-image {
        order: -1;
    }
    
    .scroll-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .scroll-features__sidebar {
        position: static;
    }
    
    .scroll-features__tabs {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.75rem;
        background: var(--color-bg);
        border-radius: var(--radius-full);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        z-index: 100;
        max-width: 90%;
        overflow-x: auto;
        scrollbar-width: none;
    }
    
    .scroll-features__tabs::-webkit-scrollbar {
        display: none;
    }
    
    .scroll-tab {
        flex-direction: column;
        min-width: auto;
        padding: 0.75rem 1rem;
        text-align: center;
        flex-shrink: 0;
        border-radius: var(--radius-lg);
    }
    
    .scroll-tab.active {
        transform: scale(1.05);
    }
    
    .scroll-tab__icon {
        display: none;
    }
    
    .scroll-tab__content h4 {
        font-size: 0.875rem;
        margin-bottom: 0;
        white-space: nowrap;
    }
    
    .scroll-tab__content p {
        display: none;
    }
    
    .scroll-features__sticky {
        position: static;
        transform: none;
        height: auto;
        min-height: 400px;
        margin-top: 0;
    }
    
    .scroll-panel {
        position: static;
        opacity: 1;
        transform: none;
        height: auto;
        min-height: 400px;
        padding: 1rem;
        display: none;
    }
    
    .scroll-panel.active {
        display: flex;
    }
    
    .scroll-features__triggers {
        display: none;
    }
}

@media (max-width: 768px) {
    .landing-hero {
        padding: 5rem 0 3rem;
        min-height: 100vh;
    }
    
    .landing-hero__title {
        font-size: 2.5rem;
    }
    
    .landing-hero__subtitle {
        font-size: 1.125rem;
    }
    
    .landing-hero__stats {
        gap: 2rem;
    }
    
    .stat-item__value {
        font-size: 2rem;
    }
    
    .preregister-card {
        padding: 2rem;
    }
    
    .preregister-card__title {
        font-size: 1.5rem;
    }
    
    .section-header__title {
        font-size: 2rem;
    }
    
    .section-header__subtitle {
        font-size: 1.125rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .scroll-features__content {
        min-height: 400px;
    }
    
    .scroll-features__sticky {
        position: static;
        transform: none;
        height: auto;
        min-height: 300px;
        margin-top: 0;
    }
    
    .scroll-panel {
        position: static;
        opacity: 1;
        transform: none;
        height: auto;
        min-height: 300px;
        padding: 0.5rem;
        display: none;
    }
    
    .scroll-panel.active {
        display: flex;
    }
    
    .scroll-features__triggers {
        display: none;
    }
    
    .scroll-tab__content h4 {
        font-size: 0.8rem;
    }
    
    .cta-content__title {
        font-size: 2rem;
    }
    
    .cta-content__subtitle {
        font-size: 1.125rem;
    }
    
    .cta-form {
        flex-direction: column;
        padding: 1rem;
    }
    
    .cta-form .input {
        min-width: 100%;
    }
    
    .cta-content__features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .landing-hero__cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .landing-hero__title {
        font-size: 2rem;
    }
    
    .section-header__title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .preregister-card {
        padding: 1.5rem;
    }
    
    .scroll-tab {
        min-width: 120px;
        padding: 0.75rem;
    }
}

/* ============================================
   DARK THEME ADJUSTMENTS
   ============================================ */

[data-theme="dark"] .feature-card {
    background: var(--color-bg-secondary);
}

[data-theme="dark"] .step-card {
    background: var(--color-bg-secondary);
}

[data-theme="dark"] .testimonial-card {
    background: var(--color-bg-secondary);
}

[data-theme="dark"] .form-card {
    background: var(--color-bg-secondary);
}

[data-theme="dark"] .preregister-card {
    background: var(--color-bg-secondary);
}

[data-theme="dark"] .scroll-tab {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .scroll-tab:hover {
    background: var(--landing-card-hover);
}

[data-theme="dark"] .input {
    background: var(--color-bg-tertiary);
    border-color: var(--color-border);
}

[data-theme="dark"] .input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .btn--secondary {
    background: var(--color-bg-secondary);
}

[data-theme="dark"] .tag {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .alert--success {
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .cta-form {
    background: rgba(0, 0, 0, 0.2);
}

/* FAQ Section Dark Theme */
[data-theme="dark"] .faq-item {
    background: var(--color-bg-secondary) !important;
    border-color: var(--color-border) !important;
}

[data-theme="dark"] .faq-item__question {
    color: var(--color-text);
}

[data-theme="dark"] .faq-item__answer {
    color: var(--color-text-secondary);
}

/* FAQ Item Base Styles */
.faq-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item__question {
    padding: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    color: var(--color-text);
}

.faq-item__answer {
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item__answer > div {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 1.0625rem;
}

.faq-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
    color: var(--color-primary);
}

.faq-item--open .faq-item__icon {
    transform: rotate(180deg);
}

/* Tabs Panel Content Styles */
.tabs__panel-content {
    padding: 2rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-2xl);
}

.tabs__panel-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.tabs__panel-content > p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

.tabs__panel-content ul {
    list-style: none;
    padding: 0;
}

.tabs__panel-content li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.tabs__panel-content li svg {
    margin-right: 0.5rem;
    color: var(--color-success);
}

.tabs__panel-content .btn {
    margin-top: 1.5rem;
}

/* Features CTA Block */
.features-cta {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
}

.features-cta__content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.features-cta__content p {
    color: var(--color-text-secondary);
    margin: 0;
}

/* Benefits CTA Block */
.benefits-cta {
    margin-top: 4rem;
    text-align: center;
}

.benefits-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.benefits-cta p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .features-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    [data-theme="dark"] .scroll-features__tabs {
        background: var(--color-bg-secondary);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }
}

/* Additional dark theme styles for sections */
[data-theme="dark"] .landing-section--alt {
    background: var(--color-bg-secondary);
}

[data-theme="dark"] .preregister-section {
    background: var(--color-bg-secondary);
}

[data-theme="dark"] .section-header__badge {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

/* Preregister CTA Section */
[data-theme="dark"] .preregister-cta-section__gradient {
    opacity: 0.08;
}

[data-theme="dark"] .preregister-cta__form-card {
    background: var(--color-bg-secondary);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.3),
        0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .preregister-stat {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .preregister-stat:hover {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .preregister-feature {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .preregister-feature:hover {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .preregister-cta__form-note {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .preregistration-form-card {
    background: rgba(30, 30, 40, 0.95);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

[data-theme="dark"] .preregistration-hero__gradient {
    background: linear-gradient(135deg, 
        #0f0f1e 0%, 
        #0d1628 25%,
        #081f3f 50%,
        #3d2563 75%,
        #c93850 100%);
}

[data-theme="dark"] .preregistration-stats {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .preregistration-form-note {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .preregistration-success {
    background: var(--color-bg-secondary);
}

/* Benefits Section */
[data-theme="dark"] .benefit-item__content h4 {
    color: var(--color-text);
}

[data-theme="dark"] .benefit-item__content p {
    color: var(--color-text-secondary);
}

/* Scroll Features */
[data-theme="dark"] .scroll-tab__content h4 {
    color: var(--color-text);
}

[data-theme="dark"] .scroll-tab__content p {
    color: var(--color-text-secondary);
}

/* CTA Form Inputs */
[data-theme="dark"] .cta-form .floating-field__input {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

[data-theme="dark"] .cta-form .floating-field__label {
    background: var(--color-bg-secondary);
    color: var(--color-text-muted);
}

[data-theme="dark"] .input--cta {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

[data-theme="dark"] .input--white {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

/* Sticky CTA Bar */
[data-theme="dark"] .sticky-cta-bar {
    background: var(--color-bg-secondary);
    border-top-color: var(--color-border);
}

/* ============================================
   Pre-registration CTA Section
   ============================================ */

.preregister-cta-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.preregister-cta-section__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.preregister-cta-section__gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    var(--color-primary) 0%, 
    #8b5cf6 50%, 
    #ec4899 100%);
  opacity: 0.05;
}

[data-theme="dark"] .preregister-cta-section__gradient {
  opacity: 0.08;
}

.preregister-cta-section__pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

.preregister-cta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Left Content */
.preregister-cta__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.preregister-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  width: fit-content;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.preregister-cta__badge svg {
  width: 20px;
  height: 20px;
}

.preregister-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--color-text);
  margin: 0;
}

.preregister-cta__description {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

.preregister-cta__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.preregister-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.preregister-feature:hover {
  transform: translateX(8px);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.preregister-feature svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.preregister-feature span {
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

/* Right Form */
.preregister-cta__form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.preregister-cta__form-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .preregister-cta__form-card {
  background: var(--color-bg-secondary);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.3),
    0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.preregister-cta__form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #8b5cf6, #ec4899);
}

.preregister-cta__form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.preregister-cta__form-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
  border-radius: var(--radius-xl);
  color: white;
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.preregister-cta__form-header h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0 0 0.5rem 0;
}

.preregister-cta__form-header p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

.preregister-cta__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-label svg {
  color: var(--color-primary);
}

.form-label .required {
  color: var(--color-danger);
}

.preregister-cta__form-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  margin: 0;
  padding: 0.75rem;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.preregister-cta__form-note svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* Stats */
.preregister-cta__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.preregister-stat {
  padding: 1.25rem;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all 0.3s ease;
}

.preregister-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

.preregister-stat__value {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.preregister-stat__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
}

/* Progress Bar */
.preregister-cta__progress {
  margin-top: 1rem;
  height: 8px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.preregister-cta__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), #8b5cf6);
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Counter Animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter {
  display: inline-block;
  animation: countUp 0.6s ease-out;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .preregister-cta-section {
    padding: 3rem 0;
    min-height: auto;
  }
  
  .preregister-cta {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .preregister-cta__title {
    font-size: 1.75rem;
  }
  
  .preregister-cta__form-card {
    padding: 1.75rem;
  }
  
  .preregister-cta__stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .preregister-cta-section {
    padding: 2rem 0;
  }
  
  .preregister-cta {
    gap: 2rem;
  }
  
  .preregister-cta__features {
    gap: 0.5rem;
  }
  
  .preregister-feature {
    padding: 0.625rem 0.75rem;
    max-width: 100%;
    word-wrap: break-word;
  }
  
  .preregister-feature svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
  }
  
  .preregister-cta__form-card {
    padding: 1.25rem;
    max-width: 100%;
  }
  
  .preregister-cta__form {
    gap: 1rem;
  }
  
  .preregister-cta__stats {
    gap: 0.75rem;
  }
  
  .preregister-stat {
    padding: 1rem 0.75rem;
  }
  
  .preregister-stat__value {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
  }
  
  .preregister-stat__label {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .preregister-cta-section {
    padding: 1.5rem 0;
  }
  
  .preregister-cta {
    gap: 1.5rem;
  }
  
  .preregister-cta__title {
    font-size: 1.5rem;
  }
  
  .preregister-cta__description {
    font-size: 0.875rem;
  }
  
  .preregister-feature {
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
  }
  
  .preregister-cta__form-card {
    padding: 1rem;
  }
  
  .preregister-cta__form-header h3 {
    font-size: 1.125rem;
  }
  
  .preregister-cta__form-header p {
    font-size: 0.75rem;
  }
  
  .preregister-stat {
    padding: 0.75rem 0.5rem;
  }
  
  .preregister-stat__value {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
  }
}

/* Ensure all elements respect container width */
.preregister-cta-section * {
  box-sizing: border-box;
}

.preregister-cta-section .container {
  overflow-x: hidden;
}

@media (max-width: 640px) {
  .preregister-cta-section .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .preregister-cta-section .container {
    padding: 0 0.75rem;
  }
}

/* ============================================
   Universal Gradient Text (for sections)
   ============================================ */

.section-header__title .gradient-text,
.preregister-cta__title .gradient-text {
  background: linear-gradient(135deg, 
    var(--landing-gradient-start), 
    var(--landing-gradient-end), 
    var(--landing-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Специальный градиент для CTA "путь писателя" */
.cta-content__title .gradient-text {
  background: rgba(236, 72, 153);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/*

linear-gradient(135deg, 
        rgba(99, 102, 241, 0.85) 0%, 
        rgba(139, 92, 246, 0.8) 50%,
        rgba(236, 72, 153, 0.75) 100%
    )

*/

/* ============================================
   PREREGISTRATION PAGE
   ============================================ */

.preregistration-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.preregistration-hero .container {
    max-width: 1400px;
    width: 100%;
}

.preregistration-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.preregistration-hero__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #1a1a2e 0%, 
        #16213e 25%,
        #0f3460 50%,
        #533483 75%,
        #e94560 100%);
}

[data-theme="dark"] .preregistration-hero__gradient {
    background: linear-gradient(135deg, 
        #0f0f1e 0%, 
        #0d1628 25%,
        #081f3f 50%,
        #3d2563 75%,
        #c93850 100%);
}

.preregistration-hero__pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(233, 69, 96, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(83, 52, 131, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(15, 52, 96, 0.1) 0%, transparent 60%);
    animation: float 25s ease-in-out infinite;
}

/* Two-column grid layout */
.preregistration-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Left column - content */
.preregistration-hero__left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Right column - form */
.preregistration-hero__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.preregistration-hero__badge {
    animation: fadeInUp 0.8s ease-out;
}

.badge--glow {
    background: rgba(233, 69, 96, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(233, 69, 96, 0.4);
    box-shadow: 0 8px 32px rgba(233, 69, 96, 0.3);
}

.preregistration-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    text-align: left;
}

.preregistration-hero__title .gradient-text {
    background: linear-gradient(135deg, 
        #e94560 0%,
        #ff6b9d 50%,
        #ffa8c5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preregistration-hero__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    text-align: left;
}

/* Mobile Timer - visible only on mobile, inside right column above form */
.preregistration-mobile-timer {
    display: none;
    width: 100%;
    max-width: 480px;
}

.preregistration-mobile-timer .preregistration-timer {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    margin: 0;
}

/* Form Card */
.preregistration-form-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-3xl);
    padding: 2.5rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
    width: 100%;
    max-width: 480px;
    position: relative;
}

[data-theme="dark"] .preregistration-form-card {
    background: rgba(30, 30, 40, 0.95);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.preregistration-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e94560, #ff6b9d, #ffa8c5);
    border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
}

.preregistration-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.preregistration-form-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #e94560, #ff6b9d);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4);
}

.preregistration-form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.preregistration-form-header p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.preregistration-form .floating-field {
    margin-bottom: 1.5rem;
}

.preregistration-form .floating-field__input {
    background: var(--color-bg);
    border-color: var(--color-border);
}

.preregistration-form .floating-field__input:focus {
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.preregistration-form .floating-field__label {
    background: rgba(255, 255, 255, 0.98);
}

.preregistration-form .floating-field__input:focus + .floating-field__label {
    color: #e94560;
}

.preregistration-form .btn--primary {
    background: linear-gradient(135deg, #e94560, #ff6b9d);
    margin-top: 0.5rem;
}

.preregistration-form .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(233, 69, 96, 0.4);
}

.preregistration-form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.875rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.preregistration-form-note svg {
    flex-shrink: 0;
    color: #e94560;
}

/* Registration Stats */
.preregistration-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
}

.preregistration-stats__item {
    text-align: center;
}

.preregistration-stats__value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e94560, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.preregistration-stats__label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.preregistration-stats__divider {
    font-size: 1.5rem;
    color: var(--color-border);
    font-weight: 300;
}

/* Progress Bar */
.preregistration-progress {
    margin-top: 1rem;
    height: 8px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.preregistration-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, #e94560, #ff6b9d);
    border-radius: var(--radius-full);
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

.preregistration-progress__text {
    text-align: center;
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Success State */
.preregistration-success {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.6s ease-out;
}

.preregistration-success__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.preregistration-success__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.preregistration-success__message {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Features */
.preregistration-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.preregistration-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.preregistration-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
    border-color: rgba(233, 69, 96, 0.5);
}

.preregistration-feature svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #ff6b9d;
}

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

.preregistration-form-link {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.preregistration-form-link:hover {
    color: #e94560;
}

.preregistration-form-link span {
    font-weight: 600;
    color: #e94560;
}

/* Responsive */
@media (max-width: 1200px) {
    .preregistration-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .preregistration-hero__title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .preregistration-hero__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Reverse order on mobile - form first, then content */
    .preregistration-hero__right {
        order: -1;
    }
    
    /* Show mobile timer, hide desktop timer */
    .preregistration-mobile-timer {
        display: block;
    }
    
    .preregistration-hero__left .countdown-timer {
        display: none;
    }
    
    .preregistration-hero__title {
        font-size: 2.75rem;
        text-align: center;
    }
    
    .preregistration-hero__subtitle {
        text-align: center;
    }
    
    .preregistration-hero__badge {
        display: flex;
        justify-content: center;
    }
    
    .preregistration-hero__left {
        align-items: center;
    }
    
    .preregistration-features {
        max-width: 500px;
        width: 100%;
    }
    
    .preregistration-form-card {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    .preregister-cta-section * {
        max-width: 100%;
    }

    .preregistration-hero {
        padding: 1.5rem 1rem;
    }
    
    .preregistration-hero__grid {
        gap: 2.5rem;
    }
    
    .preregistration-hero__title {
        font-size: 2.25rem;
    }
    
    .preregistration-hero__subtitle {
        font-size: 1.1rem;
    }
    
    .preregistration-form-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .preregistration-hero {
        padding: 1.25rem 0.75rem;
    }
    
    .preregistration-hero__grid {
        gap: 2rem;
    }
    
    .preregistration-hero__title {
        font-size: 1.875rem;
    }
    
    .preregistration-hero__subtitle {
        font-size: 1rem;
    }
    
    .preregistration-form-card {
        padding: 1.75rem 1.25rem;
    }
    
    .preregistration-feature {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .badge--glow {
        font-size: 0.8rem;
        padding: 0.4rem 0.875rem;
    }
}
