/* ==========================================================================
   CSS Custom Properties - LIGHT THEME (Extracted for Standalone Plugin)
   ========================================================================== */
:root {
    /* Primary Colors */
    --color-background: #FFFFFF;
    --color-surface: #FAFAFA;
    --color-surface-alt: #F5F5F5;

    /* Text Colors */
    --color-text-primary: #0A0A0A;
    --color-text-secondary: #333333;
    --color-text-muted: #666666;
    --color-text-light: #999999;

    /* Brand Colors */
    --color-accent: #00F0FF;
    --color-accent-dark: #00C8D6;
    --color-purple: #9D4EDD;
    --color-purple-light: #B57BED;
    --color-purple-dark: #7B2CBF;

    /* Utility Colors */
    --color-border: #E5E7EB;
    --color-border-dark: #D1D5DB;
    --color-white: #FFFFFF;
    --color-black: #0A0A0A;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;

    /* Typography */
    /* Note: Ideally fonts should be enqueued by the theme or plugin. 
       We assume 'Archivo Black' and 'Space Grotesk' are available or we use fallbacks. */
    --font-display: 'Archivo Black', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: 4rem;
    --text-7xl: 5rem;
    --text-8xl: 6rem;
    --text-9xl: 8rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 4px 20px rgba(209, 250, 49, 0.4);
    --shadow-purple: 0 4px 20px rgba(157, 78, 221, 0.3);
}

/* Base Styles needed if theme is not InkBoomer */
.hero-section * {
    box-sizing: border-box;
}

/* ==========================================================================
   Hero Section Animations
   ========================================================================== */

.hero-section {
    opacity: 0;
    animation: fadeIn var(--hero-anim-speed, 0.8s) ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp var(--hero-anim-speed, 0.8s) ease forwards;
    animation-delay: 0.4s;
}

.hero-description {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.6s;
}

.hero-actions {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.8s;
}

.hero-image {
    opacity: 0;
    transform: scale(0.95);
    animation: scaleIn var(--hero-anim-speed, 0.8s) ease forwards;
    animation-delay: 0.5s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Decorations Float */
.hero-decoration {
    animation: float 6s ease-in-out infinite;
}

.hero-decoration-2 {
    animation-delay: -3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(209, 250, 49, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(209, 250, 49, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(209, 250, 49, 0);
    }
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    /* Adjust based on header height, maybe dynamic later */
    background: var(--color-surface);
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 70vh;
        align-items: flex-start;
        /* Better for small content */
    }
}

.hero-slide {
    display: none;
    width: 100%;
    height: 100%;
    padding: var(--space-8) 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease-out forwards;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.hero-text {
    text-align: center;
    position: relative;
    z-index: 20;
    order: 2;
    /* Mobile default */
}

.hero-image {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    order: 1;
    /* Mobile default */
}

@media (min-width: 768px) {
    .hero-text {
        text-align: left;
    }
}

/* DESKTOP ALIGNMENT LOGIC */
@media (min-width: 1024px) {
    .hero-slide.slide-left .hero-content {
        grid-template-areas: "text image";
        grid-template-columns: 1fr 1fr;
    }

    .hero-slide.slide-left .hero-text {
        grid-area: text;
        text-align: left;
        order: 1;
    }

    .hero-slide.slide-left .hero-image {
        grid-area: image;
        order: 2;
        justify-self: end;
    }

    .hero-slide.slide-right .hero-content {
        grid-template-areas: "image text";
        grid-template-columns: 1fr 1fr;
    }

    .hero-slide.slide-right .hero-text {
        grid-area: text;
        text-align: right;
        order: 2;
        justify-self: end;
    }

    .hero-slide.slide-right .hero-image {
        grid-area: image;
        order: 1;
        justify-self: start;
    }

    .hero-slide.slide-right .hero-actions {
        justify-content: flex-end;
    }

    .hero-slide.slide-left .hero-actions {
        justify-content: flex-start;
    }
}

/* Typography styles */
.hero-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-black);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    font-weight: 900;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: var(--text-6xl);
    }
}

.hero-description {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

/* Button Styles (Replicated from theme for standalone) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-accent);
    /* Cyan/Electric Blue */
    color: var(--color-black);
    border: none;
}

.btn-primary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--text-lg);
}

.hero-actions {
    display: flex;
    justify-content: center;
    /* Mobile default */
}

/* Image Styles */
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: block;
}

/* Decoration */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.hero-decoration-1 {
    width: 100px;
    height: 100px;
    background: var(--color-accent);
    top: -20px;
    right: -20px;
}

.hero-decoration-2 {
    width: 80px;
    height: 80px;
    background: var(--color-purple);
    bottom: -20px;
    left: -20px;
    opacity: 0.5;
}

/* Navigation */
.slider-nav {
    position: absolute;
    bottom: var(--space-4);
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    z-index: 30;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
}

.slider-dot.active {
    background: var(--color-black);
    transform: scale(1.2);
}

.slider-prev,
.slider-next {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--color-black);
    color: white;
    border-color: var(--color-black);
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* Highlight span support */
.highlight {
    color: var(--color-purple);
}

/* MOBILE FIXES */
@media (max-width: 1023px) {
    .hero-text {
        text-align: center !important;
        padding: 0 !important;
    }

    .hero-actions {
        justify-content: center !important;
    }

    .hero-slide {
        padding-top: var(--space-12);
    }
}