/**
 * Webinar Landing - Modern tech-style, alternating light/dark sections
 * Hero split layout, countdown, grid patterns, hover glow
 */

/* -----------------------------------------------------------------------------
   Variables & base
----------------------------------------------------------------------------- */
:root {
    --bg-dark: #050F3A;
    --bg-section: #071B4F;
    --accent: #1E6EDB;
    --highlight: #00B8FF;
    --text: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.85);
    --text-dark: #081B33;
    --text-dark-muted: #333;
    --font: 'Montserrat', Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--highlight);
    text-decoration: none;
}

a:hover {
    color: var(--text);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* -----------------------------------------------------------------------------
   Sticky navigation
----------------------------------------------------------------------------- */
.nav-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 15, 58, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(30, 110, 219, 0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    display: block;
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--highlight);
}

.nav-lang {
    font-size: 0.875rem;
    color: var(--text-muted);
    cursor: default;
}

/* -----------------------------------------------------------------------------
   Container
----------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* -----------------------------------------------------------------------------
   Section common + alternating colors + separators
----------------------------------------------------------------------------- */
.section {
    padding: 4rem 0;
    position: relative;
}

/* Thin glowing separator between sections */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 184, 255, 0.25), transparent);
    pointer-events: none;
}

.section:first-of-type::before {
    display: none;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin: 0 0 2rem;
    text-align: center;
    color: var(--text);
}

.section-title--light {
    color: var(--text);
}

.section-title--dark {
    color: var(--text-dark);
}

/* Light sections (white bg) */
.section--light {
    background: #FFFFFF;
    color: var(--text-dark);
}

.section--light .section-title {
    color: var(--text-dark);
}

.section--light::before {
    background: linear-gradient(90deg, transparent, rgba(8, 27, 51, 0.12), transparent);
}

/* Subtle grid background pattern (dark sections) */
.bg-grid {
    background-image:
        linear-gradient(rgba(30, 110, 219, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 110, 219, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.section--light.bg-grid {
    background-image:
        linear-gradient(rgba(8, 27, 51, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 27, 51, 0.06) 1px, transparent 1px);
}

/* -----------------------------------------------------------------------------
   1. Hero - layered: video, overlay, product PNG (left), text content
    Fallback from assets/img
----------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-dark) url('../img/bg.jpg') center/cover no-repeat;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
  background: linear-gradient(
135deg,
rgba(2, 6, 53, 0.75) 0%,
rgba(5, 18, 75, 0.75) 50%,
rgba(12, 72, 140, 0.70) 100%
);
    z-index: 2;
}

/* Hero machine: fade-in once on load */
@keyframes hero-machine-enter {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.hero-visual {
    max-width: 100%;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    opacity: 0;
    animation: hero-machine-enter 800ms ease-out 1 forwards;
}

/* Subtle scan beam on machine/image side only (~8s loop), low opacity */
@keyframes hero-scan {
    0% { transform: translateY(-100%); opacity: 0; }
    8% { opacity: 0.05; }
    50% { opacity: 0.07; }
    92% { opacity: 0.05; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    width: 52%;
    height: 100px;
    top: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 184, 255, 0.08) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2;
    animation: hero-scan 8s linear infinite;
}

@media (max-width: 900px) {
    .hero-product-img {
        max-width: 45%;
    }
}

@media (max-width: 600px) {
    .hero-product-img {
        max-width: 40%;
    }
}

.hero-inner {
    position: relative;
    z-index: 4;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1360px;
}

.hero-right {
    padding: 2rem 1.5rem;
    flex: 1;
    max-width: 600px;
}

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
    }
    .hero-left {
        order: -1;
        padding-bottom: 1rem;
    }
    .hero-right {
        margin-left: 0;
        margin-right: auto;
        text-align: center;
    }
}

.hero-cycle {
    font-size: clamp(1.375rem, 2vw, 1.625rem);
    font-weight: 600;
    color: var(--highlight);
    margin: 0 0 0.5rem;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-title {
    margin: 0 0 1.75rem;
    color: var(--text);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    line-height: 1.25;
}

.hero-title-line1 {
    display: block;
    font-weight: 700;
}

.hero-title-line2 {
    display: block;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* Hero meta: 2x2 grid (date, time, online, duration), consistent size, blue icons */
.hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, auto));
    gap: 0.6rem 2.5rem;
    margin: 0 0 2.5rem;
    font-size: 1.35rem;
    color: var(--text-muted);
}

.hero-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-meta__item i {
    color: var(--highlight);
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .hero-meta {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-meta {
        font-size: 1.15rem;
        grid-template-columns: 1fr;
    }
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2.25rem;
    background: var(--highlight);
    color: var(--text) !important;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    margin-bottom: 1.75rem;
}

.hero-cta:hover {
    background: #33c5ff;
    box-shadow: 0 0 24px rgba(0, 184, 255, 0.45);
    color: var(--text) !important;
}

.section-cta-wrap {
    margin: 1.5rem 0 0;
}

/* Countdown - larger cards, easy to read */
.hero-countdown {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .hero-countdown {
        justify-content: center;
    }
}

.countdown-box {
    min-width: 80px;
    padding: 1rem 0.85rem;
    background: rgba(5, 15, 58, 0.9);
    border: 1px solid rgba(0, 184, 255, 0.5);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 24px rgba(0, 184, 255, 0.18);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.countdown-box:hover {
    box-shadow: 0 0 32px rgba(0, 184, 255, 0.35);
    border-color: var(--highlight);
}

.countdown-box span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

@media (max-width: 600px) {
    .countdown-box { min-width: 68px; padding: 0.75rem 0.6rem; }
    .countdown-box span { font-size: 1.5rem; }
}

.countdown-box small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

/* -----------------------------------------------------------------------------
   2. About (white, two columns, grid pattern)
----------------------------------------------------------------------------- */
.section-about {
    background: #FFFFFF;
}

.section-about .section-title {
    color: var(--text-dark);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

.two-col-visual {
    min-height: 280px;
    display: flex;
    align-items: center;
}

.two-col-text .section-title {
    text-align: left;
}

.about-lead {
    font-size: 1.125rem;
    color: var(--accent);
    margin: 0 0 1rem;
}

.two-col-text p {
    margin: 0 0 1rem;
    color: var(--text-dark-muted);
}

.section-about .two-col-text p {
    color: var(--text-dark-muted);
}

.about-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    min-height: 260px;
    object-fit: contain;
    object-position: center;
}

.about-visual-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    min-height: 260px;
    background: rgba(30, 110, 219, 0.06);
    border: 1px solid rgba(30, 110, 219, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--accent);
    font-size: 0.9rem;
}

.about-visual-placeholder i {
    font-size: 3.5rem;
    opacity: 0.75;
}

/* -----------------------------------------------------------------------------
   3. Challenges - X-ray scan waves + delicate vertical lines (.challenges)
----------------------------------------------------------------------------- */
.challenges {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-section);
    /* Identical thin vertical lines, close together, slightly lighter, barely visible */
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 7px,
        rgba(255, 255, 255, 0.022) 7px,
        transparent 8px
    );
    background-size: 8px 100%;
    background-position: 0 0;
}

/* EKG/EEG-style lifeline – ::before full size of parent, SVG encoded so url() does not break */
.challenges::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 1200 40%27%3E%3Cpath d=%27M0,20 L80,20 L90,3 L100,20 L110,37 L120,20 L200,20 L210,3 L220,20 L230,37 L240,20 L320,20 L330,4 L340,20 L350,36 L360,20 L440,20 L450,3 L460,20 L470,37 L480,20 L560,20 L570,2 L580,20 L590,38 L600,20 L680,20 L690,3 L700,20 L710,37 L720,20 L800,20 L810,4 L820,20 L830,36 L840,20 L920,20 L930,3 L940,20 L950,37 L960,20 L1040,20 L1050,3 L1060,20 L1070,37 L1080,20 L1160,20 L1170,3 L1180,20 L1190,37 L1200,20%27 fill=%27none%27 stroke=%27rgba(0,184,255,0.08)%27 stroke-width=%271%27 stroke-linecap=%27square%27 stroke-linejoin=%27miter%27/%3E%3C/svg%3E");
    background-size: 100% 120px;
    background-position: center center;
    background-repeat: no-repeat;
}

.challenges::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.challenges > * {
    position: relative;
    z-index: 1;
}

.challenges-intro {
    max-width: 820px;
    margin: 0 auto 1.25rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.challenges-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--highlight);
    margin: 0 auto 1.5rem;
    text-align: center;
}

.challenges-outro {
    margin: 2rem 0 0.75rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.challenges-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 100%;
    color: var(--text-muted);
}

.challenges-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.challenges-bullets li:last-child {
    margin-bottom: 0;
}

.challenges-bullets li i {
    font-size: 1.25rem;
    color: var(--highlight);
    flex-shrink: 0;
    margin-top: -0.15rem;
}

.challenges-bullets li span {
    flex: 1;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .challenge-grid {
        grid-template-columns: 1fr;
    }
}

.challenge-card {
    background: rgba(8, 27, 51, 0.6);
    border: 1px solid rgba(30, 110, 219, 0.3);
    border-radius: 12px;
    padding: 1.75rem;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.challenge-card:hover {
    border-color: var(--highlight);
    box-shadow: 0 0 36px rgba(0, 184, 255, 0.28), 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.challenge-card__icon {
    font-size: 2.25rem;
    color: var(--highlight);
    display: block;
    margin-bottom: 1rem;
}

.challenge-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--highlight);
    line-height: 1.3;
}

.challenge-card__list {
    margin: 0;
    padding: 0 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.challenge-card__list li {
    margin-bottom: 0.4rem;
}

/* -----------------------------------------------------------------------------
   4. Why attend (text in normal container aligned with other sections, graphic glued right)
----------------------------------------------------------------------------- */
.section-why {
    position: relative;
    background: linear-gradient(180deg, #050F3A 0%, #071B4F 50%, #050F3A 100%);
}

.section-why .section-title {
    color: var(--text);
}

/* Text uses same container as other sections (max-width, margin, padding) */
.section-why .container.why-cols {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: 420px;
}

.why-cols {
    display: block;
}

/* Narrow text column so it stays left of the graphic and aligns with rest of site */
.why-col-content {
    min-width: 0;
    max-width: calc(50% - 1.5rem);
}

.why-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 184, 255, 0.12);
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.why-list li:last-child {
    border-bottom: none;
}

.why-list li i {
    font-size: 1.5rem;
    color: var(--highlight);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.why-list li span {
    flex: 1;
}

/* Graphic: glued to right edge of section, full height, no margin no padding */
.why-col-visual {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.why-illustration-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.why-illustration {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: cover;
    object-position: right center;
}

@media (max-width: 900px) {
    .section-why {
        display: flex;
        flex-direction: column;
    }
    .section-why .container.why-cols {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
        min-height: 0;
        order: 1;
    }
    .section-why .why-col-content {
        max-width: 100%;
    }
    .why-col-visual {
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        height: 280px;
        min-height: 280px;
        order: -1;
        overflow: hidden;
    }
    .why-illustration-wrap {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
    .why-illustration {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

/* -----------------------------------------------------------------------------
   5. Speakers (dark + tech grid, 4 columns in one row, hover elevation)
----------------------------------------------------------------------------- */
.section-speakers {
    background: #03082F; /* slightly different from section-why/hero overlay */
    background-image:
        linear-gradient(rgba(30, 110, 219, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 110, 219, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .speakers-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
}

.speaker-card {
    position: relative;
    background: rgba(14, 47, 90, 0.6);
    border: 1px solid rgba(30, 110, 219, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.speaker-card:hover {
    border-color: var(--highlight);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 184, 255, 0.2), 0 4px 20px rgba(0, 0, 0, 0.2);
}

.speaker-card--moderator {
    border-color: rgba(0, 184, 255, 0.4);
}

.speaker-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--highlight);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.speaker-card__photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(30, 110, 219, 0.2);
}

.speaker-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-placeholder {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(30, 110, 219, 0.3);
    color: var(--text-muted);
    font-size: 2rem;
}

.speaker-card__name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--text);
}

.speaker-card__position,
.speaker-card__company {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* -----------------------------------------------------------------------------
   6. Register (light gray bg + overlay for graphic, glass form, hero-coherent button)
----------------------------------------------------------------------------- */
.section-register {
    position: relative;
    background: linear-gradient(180deg, #e8eef5 0%, #d4e0f0 50%, #c5d5eb 100%);
    color: var(--text-dark);
}

/* Overlay: assets/img/registrationpattern.jpg at low opacity */
.section-register::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url("../img/registrationpattern.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    pointer-events: none;
}

.section-register .container {
    position: relative;
    z-index: 1;
}

.register-cols {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 2.5rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .register-cols {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

.register-graphic {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-illustration {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0.92;
    animation: register-illustration-float 7s ease-in-out infinite;
}

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

.register-graphic-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    min-height: 220px;
    background: rgba(30, 110, 219, 0.08);
    border: 1px solid rgba(30, 110, 219, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.9rem;
}

.register-graphic-placeholder i {
    font-size: 3rem;
    opacity: 0.7;
}

.register-form-col {
    display: flex;
    justify-content: stretch;
    align-items: flex-start;
}

.register-box {
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 24px rgba(8, 27, 51, 0.08), 0 0 0 1px rgba(0, 184, 255, 0.15);
    border-radius: 12px;
    padding: 2rem;
}

.register-box .section-title {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: left;
}

.register-note {
    margin: 0 0 1.5rem;
    font-size: 0.9rem;
    color: var(--text-dark-muted);
}

/* Form grid: row1 first_name | last_name, row2 company | position, row3 email | phone */
.register-form--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}

@media (max-width: 600px) {
    .register-form--grid {
        grid-template-columns: 1fr;
    }
}

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

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-row label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark-muted);
}

.section-register .form-row .required {
    color: var(--accent);
}

.form-row input[type="text"],
.form-row input[type="email"] {
    padding: 0.65rem 0.9rem;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text-dark);
    background: #fff;
    border: 1px solid rgba(8, 27, 51, 0.2);
    border-radius: 6px;
    transition: border-color 0.2s;
}

.form-row input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-row input:focus {
    outline: none;
    border-color: var(--accent);
}

.form-row input:invalid:not(:placeholder-shown) {
    border-color: rgba(220, 53, 69, 0.6);
}

.form-row--check {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-row--check input {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.form-row--check label {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-dark-muted);
}

.form-row--check label a {
    color: var(--highlight, #e85d04);
    text-decoration: underline;
}

.form-row--check label a:hover {
    text-decoration: none;
}

.form-row--submit {
    margin-top: 0.25rem;
}

.btn-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark) !important;
    background: var(--highlight);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    position: relative;
}

.btn-submit:hover:not(:disabled) {
    background: #33c5ff;
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.4);
}

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

.btn-submit-spinner {
    display: none;
    width: 20px;
    height: 20px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn-submit.is-loading .btn-submit-text {
    visibility: hidden;
}

.btn-submit.is-loading .btn-submit-spinner {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -10px 0 0 -10px;
}

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

.register-success {
    text-align: center;
    padding: 2rem;
}

.register-success i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.register-success p {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.register-error {
    padding: 1rem;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 6px;
    color: #c92a2a;
    font-size: 0.95rem;
}

/* -----------------------------------------------------------------------------
   Footer
----------------------------------------------------------------------------- */
.footer {
    padding: 1.5rem;
    background: var(--bg-dark);
    border-top: 1px solid rgba(30, 110, 219, 0.2);
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}
