/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--body-color);
    padding-top: 5rem;
}

/* Giant watermark "RAMEST" text in background */
.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--title-font);
    font-size: clamp(12rem, 28vw, 26rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(233, 63, 46, 0.13);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    animation: watermarkPulse 8s ease-in-out infinite alternate;
}

@keyframes watermarkPulse {
    0%   { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1;   transform: translate(-50%, -50%) scale(1.03); }
}

/* Orbital rings */
.hero-orb-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    pointer-events: none;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    border: 1px solid rgba(233, 63, 46, 0.18);
    animation: orbRotate 18s linear infinite;
}

.hero-orb-2 {
    width: 700px;
    height: 700px;
    border: 1px solid rgba(233, 63, 46, 0.1);
    animation: orbRotate 28s linear infinite reverse;
}

.hero-orb-3 {
    width: 900px;
    height: 900px;
    border: 1px solid rgba(233, 63, 46, 0.06);
    animation: orbRotate 40s linear infinite;
}

/* Dot on orb-1 */
.hero-orb-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--first-color);
    box-shadow: 0 0 12px 4px rgba(233, 63, 46, 0.5);
}

@keyframes orbRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Glow blobs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 63, 46, 0.14) 0%, transparent 70%);
    top: 15%;
    left: 5%;
    animation: glowDrift 12s ease-in-out infinite alternate;
}

.hero-glow-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 100, 40, 0.1) 0%, transparent 70%);
    bottom: 5%;
    right: 5%;
    animation: glowDrift 16s ease-in-out infinite alternate-reverse;
}

@keyframes glowDrift {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(40px, -40px); }
}

/* Hero content — perfectly centered */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    padding-inline: 1.5rem;
    padding-block: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(233, 63, 46, 0.35);
    background-color: rgba(233, 63, 46, 0.08);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--first-color);
    margin-bottom: 2rem;
    animation: fadeSlideUp 0.8s ease both;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--first-color);
    box-shadow: 0 0 8px 2px rgba(233, 63, 46, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 8px 2px rgba(233, 63, 46, 0.6); }
    50%       { box-shadow: 0 0 16px 6px rgba(233, 63, 46, 0.3); }
}

.hero-title {
    font-family: var(--title-font);
    font-size: clamp(2.8rem, 6.5vw, 5.5rem);
    line-height: 1.05;
    color: var(--title-color);
    margin-bottom: 1.75rem;
    animation: fadeSlideUp 0.8s 0.15s ease both;
}

.hero-title-accent {
    color: var(--first-color);
    display: block;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-color);
    max-width: 640px;
    margin-bottom: 3rem;
    line-height: 1.75;
    animation: fadeSlideUp 0.8s 0.3s ease both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.8s 0.45s ease both;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--first-color);
    color: #fff;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 30px rgba(233, 63, 46, 0.35);
}

.hero-btn-primary:hover {
    background-color: var(--first-color-alt);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(233, 63, 46, 0.45);
}

.hero-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background-color 0.3s;
}

.hero-btn-primary:hover .hero-btn-icon {
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--title-color);
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: border-color 0.3s, color 0.3s, transform 0.3s;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.04);
}

.hero-btn-secondary:hover {
    border-color: var(--first-color);
    color: var(--first-color);
    transform: translateY(-3px);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    animation: fadeSlideUp 1s 0.8s ease both;
}

.hero-scroll-hint span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-color);
    opacity: 0.5;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--first-color), transparent);
    animation: scrollLineDrop 2s ease-in-out infinite;
}

@keyframes scrollLineDrop {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ==================== STATS BAND ==================== */
.stats-band {
    padding: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--container-color);
}

[data-theme="dark"] .stats-band {
    background-color: rgba(255, 255, 255, 0.02);
}

.stats-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-item {
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.stat-num {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--first-color), #ff7a30);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
}

.stat-sep {
    width: 1px;
    height: 50px;
    background-color: var(--border-color);
    flex-shrink: 0;
}

/* ==================== SECTION EYEBROW ==================== */
.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--first-color);
    margin-bottom: 1rem;
}

/* ==================== FADE SLIDE UP ANIMATION ==================== */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-watermark {
        font-size: clamp(5rem, 38vw, 10rem);
    }

    .hero-orb-container {
        width: 380px;
        height: 380px;
    }

    .hero-orb-1 { width: 220px; height: 220px; }
    .hero-orb-2 { width: 310px; height: 310px; }
    .hero-orb-3 { width: 400px; height: 400px; }

    .stat-sep { display: none; }
    .stats-band-inner { justify-content: center; gap: 2rem; }
}
