/* =========================================
   VARIABLES & THEME
   ========================================= */
:root {
    /* Color Palette - Systango Inspired */
    --color-primary: #ff5c38;
    --color-primary-hover: #e04e2f;
    /* Adjusted darker shade */

    --color-bg-body: #141414;
    --color-bg-surface: #1E1E1E;
    --color-bg-surface-hover: #252525;

    --color-text-heading: #FAFAFA;
    --color-text-body: #A3A3A3;
    --color-text-accent: #ff5c38;

    --color-border: #333333;
    --color-accent-glow: rgba(0, 58, 236, 0.4);

    /* Typography */
    --font-primary: 'Satoshi', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-body);
    color: var(--color-text-body);
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
}

.text-accent {
    color: var(--color-text-accent);
}

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

/* =========================================
   UTILITIES & COMPONENTS
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.section:last-child {
    border-bottom: none;
}

.section-heading {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.25rem;
    color: var(--color-text-heading);
    /* 
       Pull the intro up to visually sit closer to the heading, 
       while maintaining the large spacing below itself. 
    */
    margin-top: calc(var(--spacing-lg) * -0.6);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    max-width: fit-content;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 90, 54, 0.3);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: #fff;
    color: var(--color-text-heading);
}

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

/* 
.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
} */

.btn-block {
    display: block;
    width: 100%;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-bottom: 10px;
}

.logo-img {
    height: 60px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-heading);
    opacity: 0.8;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.nav-cta {
    color: var(--color-primary) !important;
    border: 1px solid var(--color-primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    opacity: 1;
}

.nav-cta:hover {
    background: var(--color-primary);
    color: #fff !important;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    padding: 5rem 0;
    /* Restored breathing room */
    min-height: 100vh;
    /* Full screen impact as requested */
    display: flex;
    align-items: center;
    /* Keep centered, but tighter content will fit */
    position: relative;
    overflow: hidden;
    /* Fallback gradient if canvas fails or loads late */
    background: radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 1) 0%, rgba(10, 10, 10, 1) 100%);
    /* Subtle glow background inspired by Systango */
    background: radial-gradient(circle at 80% 20%, rgba(255, 92, 56, .44) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 92, 56, 0.1) 0%, transparent 40%);
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* Let clicks pass through */
}

.hero-content {
    max-width: var(--container-width);
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    height: 100%;
}

.hero-left {
    flex: 1;
    max-width: 650px;
    text-align: left;
}

.hero-right {
    flex: 0 0 auto;
}

/* Speaker Card - Transparent Floating */
.speaker-card {
    background: transparent;
    border: none;
    padding: 0;
    width: auto;
    max-width: 320px;
    box-shadow: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.speaker-card::before,
.speaker-card::after {
    display: none;
}

/* Animated Circular Border Wrapper */
.speaker-img-wrapper {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto 1.5rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: transparent;
    /* Pulsing ambient glow */
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 50px rgba(255, 92, 56, 0.2);
    }

    50% {
        box-shadow: 0 0 80px rgba(255, 92, 56, 0.6);
    }
}

/* The Glowing Gradient Ring (Primary) */
.speaker-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(from 0deg,
            transparent 0%,
            var(--color-primary) 50%,
            transparent 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    animation: spin 3s linear infinite;
    filter: drop-shadow(0 0 8px var(--color-primary));
}

/* Secondary Dashed Ring (Counter-Rotating) */
.speaker-img-wrapper::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 92, 56, 0.3);
    animation: spin-reverse 12s linear infinite;
    z-index: -1;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    /* Dark border to separate image from gradient */
    border: 4px solid #141414;
}

.speaker-info {
    /* Premium Dark Glass */
    /* background: linear-gradient(180deg, rgba(30, 30, 30, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%); */
    /* backdrop-filter: blur(16px); */
    /* -webkit-backdrop-filter: blur(16px); */
    padding: 1rem;
    border-radius: 20px;
    /* border: 1px solid rgba(255, 255, 255, 0.08); */
    text-align: center;
    position: relative;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); */
    margin-top: -1.5rem;
    z-index: 3;
}



.speaker-name {
    font-size: 2rem;
    margin-bottom: 0;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}


.speaker-role {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    margin-bottom: 1.5rem;
    /* Restored spacing */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    margin-bottom: 2rem;
    /* Restored spacing */
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 500;
}

.hero-supporting {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    /* Restored spacing */
    padding-left: 1rem;
    border-left: 3px solid var(--color-primary);
    background: rgba(0, 0, 0, 0.3);
    /* Slight legible backing */
    backdrop-filter: blur(2px);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* CSS Property for smooth angle rotation */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Refined Hero Meta */
.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    color: var(--color-text-heading);
    /* Glassmorphism & Gradient Border */
    position: relative;
    z-index: 1;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);

    /* Transparent border to allow gradient to show */
    border: 2px solid transparent;

    /* 
       Layer 1: Semi-transparent dark tint (Glass) -> padding-box (Covers content)
       Layer 2: Rotating Conic Gradient -> border-box (Covers content + border)
    */
    background:
        linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.7)) padding-box,
        conic-gradient(from var(--angle), transparent 25%, var(--color-primary), transparent 50%) border-box;

    /* The Glass Effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Animate the --angle property */
    animation: rotate-angle 4s linear infinite;

    /* background: linear-gradient(90deg, rgba(255, 92, 56, 0.1) 0%, rgba(20, 20, 20, 0.6) 30%);
    border-left: 3px solid var(--color-primary);
    padding: 1rem 2rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0; */
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Hide old rotating border on meta to match clean reference */
.hero-meta::before,
.hero-meta::after {
    display: none;
}

@keyframes rotate-angle {
    to {
        --angle: 360deg;
    }
}

/* Remove old pseudo-elements as we are using modern background layers */
.hero-meta::before,
.hero-meta::after {
    display: none;
}

.meta-label {
    color: var(--color-text-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.meta-value {
    font-weight: 700;
}

.audience-tag {
    margin-bottom: 3rem;
    /* Restored spacing */
    font-size: 0.95rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Enhanced CTA Visibility */
.hero-section .btn-primary {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 92, 56, 0.4);
    animation: ctaPulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.hero-section .btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.3s, opacity 0.3s;
}

.hero-section .btn-primary:hover::after {
    opacity: 1;
    transform: scale(1);
}

@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 92, 56, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 92, 56, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 92, 56, 0);
    }
}

/* =========================================
   PROBLEM SECTION
   ========================================= */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.problem-list ul {
    list-style: none;
    /* Removed defaults above, confirming */
}

.problem-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: azure;
}

.magnet-card p {
    color: azure;
}

.problem-list li::before {
    content: "•";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.stat-desc {
    color: azure;
}

.warning-box {
    background: rgba(255, 90, 54, 0.1);
    border-left: 4px solid var(--color-primary);
    padding: 2rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.warning-box h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.pull-quote {
    font-size: 1.75rem;
    color: var(--color-text-heading);
    text-align: center;
    margin: 4rem auto;
    max-width: 900px;
    font-style: italic;
    font-weight: 300;
}

.pull-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-style: normal;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bold-statement {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-heading);
    border-top: 1px solid var(--color-border);
    padding-top: 4rem;
}

/* =========================================
   URGENCY SECTION
   ========================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--color-bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

/* =========================================
   SOLUTION SECTION
   ========================================= */
.feature-list li {
    background: var(--color-bg-surface);
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        background-color 0.3s ease,
        border-left-color 0.3s ease;
    will-change: transform;
}

.feature-list li:hover {
    border-left-color: var(--color-primary);
    background: rgba(255, 92, 56, 0.05);
    transform: translateX(10px);
}

.feature-list strong {
    color: var(--color-text-heading);
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
}

.solution-closing {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.5rem;
    color: var(--color-text-heading);
    font-weight: 500;
}

/* =========================================
   IMPACT SECTION
   ========================================= */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-column {
    padding: 3rem;
}

.comparison-column.from {
    background: var(--color-bg-surface);
    border-right: 1px solid var(--color-border);
}

.comparison-column.to {
    background: #171c19;
    /* Subtle tint shift check */
    background: radial-gradient(circle at 100% 0%, rgba(255, 90, 54, 0.05) 0%, transparent 50%);
}

.comparison-column h3 {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--color-text-body);
}

.to h3 {
    color: var(--color-primary);
}

.comparison-column ul li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.from ul li::before {
    content: "✕";
    margin-right: 1rem;
    color: #555;
    font-size: 0.8rem;
}

.to ul li {
    color: var(--color-text-heading);
    font-weight: 500;
}

.to ul li::before {
    content: "✓";
    margin-right: 1rem;
    color: var(--color-primary);
    font-weight: 800;
}

.impact-closing {
    text-align: center;
    margin-top: 3rem;
    font-weight: 700;
    font-size: 1.25rem;
}

/* =========================================
   TAKEAWAYS SECTION
   ========================================= */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.checklist-grid li {
    background: var(--color-bg-surface);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
}

.checklist-grid li::before {
    content: "";
    min-width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    margin-top: 0.6em;
    margin-right: 1rem;
}

/* =========================================
   AUDIENCE SECTION
   ========================================= */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.role-card {
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    text-align: left;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--color-text-heading);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background: var(--color-bg-surface);
}

.role-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.role-card:hover {
    border-color: var(--color-primary);
    background: rgba(255, 92, 56, 0.05);
    /* Subtle tint on hover */
    transform: translateY(-5px);
}

/* =========================================
   LEAD MAGNETS
   ========================================= */
.magnets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.magnet-card {
    background: linear-gradient(145deg, var(--color-bg-surface), var(--color-bg-body));
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.magnet-card h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* =========================================
   INCENTIVES
   ========================================= */
.incentives-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.incentives-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--color-text-heading);
}

.incentives-list li::before {
    content: "★";
    color: var(--color-primary);
}

/* =========================================
   REGISTRATION FORM
   ========================================= */
.registration-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-wrapper {
    background: var(--color-bg-surface);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin-bottom: 4rem;
}

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

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

.webinar-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-heading);
}

.webinar-form input[type="text"],
.webinar-form input[type="email"] {
    width: 100%;
    padding: 1rem;
    background: var(--color-bg-body);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-heading);
    font-family: inherit;
    font-size: 1rem;
}

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

.checkbox-group {
    border: none;
    padding: 0;
    /* margin-top: 2rem; */
    display: flex;
    flex-direction: column;
}

.checkbox-group legend {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-heading);
}

.checkbox-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    color: var(--color-text-body);
}

.checkbox-group input {
    margin-right: 0.5rem;
    accent-color: var(--color-primary);
    width: 1.25em;
    height: 1.25em;
}

.closing-authority {
    text-align: center;
}

.closing-authority h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-left: 2rem;
    color: var(--color-text-body);
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {

    .problem-grid,
    .magnets-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        border: none;
    }

    .comparison-column {
        padding: 2rem;
        border: 1px solid var(--color-border);
    }

    .comparison-column.from {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .comparison-column.to {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        border-top: none;
    }

    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 2rem;
    }

    .hero-left {
        text-align: center;
        max-width: 100%;
    }

    .hero-right {
        /* Hide speaker on very small screens if needed, or just stack it */
        margin-top: 1rem;
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

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

    .container {
        padding: 0 var(--spacing-md);
    }
}

/* Height-based adjustments for short screens */
@media (max-height: 800px) {
    .logo-img {
        height: 52px;
    }

    .hero-section .btn-primary {
        font-size: 1rem;
    }

    .modal-form-wrapper {
        padding: 2rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .hero-supporting {
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .audience-tag {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .meta-separator {
        display: none;
    }

    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .incentives-list {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        margin: 0 1rem;
    }
}


/* =========================================
   ANIMATIONS
   ========================================= */
/* Base state for animated elements */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

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

/* Stagger delays for grid items */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Specific complex animations */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 92, 56, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 92, 56, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(255, 92, 56, 0.2);
    }
}

.warning-box {
    /* Existing styles remain, adding animation enhancement */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.warning-box:hover {
    transform: translateX(5px);
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.5);
}

/* Hover lift effects for cards */
.stat-card,
.role-card,
.magnet-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover,
.magnet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--color-primary);
}

/* =========================================
   MODAL STYLES
   ========================================= */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.visible {
    opacity: 1;
    visibility: visible;
}

/* Custom Scrollbar for Modal */
.modal-container {
    width: 95%;
    max-width: 800px;
    /* Widened for 2-column layout */
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    /* Reduced slightly to show backdrop context */
    overflow-y: auto;
    border-radius: var(--radius-lg);
    background: var(--color-bg-surface);
    /* Ensure bg matches wrapper */
    /* Smooth scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-body);
}

.modal-container::-webkit-scrollbar {
    width: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: var(--color-bg-body);
}

.modal-container::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 4px;
    border: 2px solid var(--color-bg-body);
}

.modal-backdrop.visible .modal-container {
    transform: translateY(0);
}

.modal-form-wrapper {
    margin-bottom: 0;
    border: 1px solid rgba(255, 92, 56, 0.3);
    /* Softer border */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    padding: 3rem;
    /* More breathing room */
    border-radius: var(--radius-lg);
}

/* Two-column layout for modal form */
@media (min-width: 768px) {
    .modal-container .webinar-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    /* .modal-container .checkbox-group,
    .modal-container .webinar-form button {
        grid-column: span 2;
    } */
}

.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-text-body);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal-btn:hover {
    color: var(--color-primary);
}