/* ====================================
   HERO SECTION — Precision Optics Theme
   ==================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--background-dark);
    overflow: hidden;
    padding-top: 72px;
}

/* Dark gradient overlay */
.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(18, 62, 221, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(252, 179, 16, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--background-dark) 0%, var(--background-darker) 100%);
    z-index: 0;
}

/* Animated gold scan-line */
.hero-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    z-index: 1;
    animation: scanLine 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* Dot grid pattern overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
    pointer-events: none;
}

/* Crosshair reticle decoration */
.hero-reticle {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(252, 179, 16, 0.15);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero-reticle::before,
.hero-reticle::after {
    content: '';
    position: absolute;
    background: rgba(252, 179, 16, 0.15);
}

.hero-reticle::before {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
}

.hero-reticle::after {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

.hero-reticle-1 {
    top: 15%;
    right: 10%;
    opacity: 0.4;
}

.hero-reticle-2 {
    bottom: 20%;
    left: 8%;
    width: 80px;
    height: 80px;
    opacity: 0.25;
}

/* ====================================
   HERO CONTENT
   ==================================== */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    width: 100%;
}

.hero-content {
    max-width: 720px;
}

/* Full-cover hero background image */
.hero-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.25;
}

/* Viewfinder-framed image (reusable — about page, etc.) */
.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(252, 179, 16, 0.15);
}

/* Viewfinder corner brackets */
.hero-image-frame::before,
.hero-image-frame::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-color: var(--accent-color);
    border-style: solid;
    z-index: 2;
    opacity: 0.6;
    pointer-events: none;
}

.hero-image-frame::before {
    top: 12px;
    left: 12px;
    border-width: 2px 0 0 2px;
}

.hero-image-frame::after {
    bottom: 12px;
    right: 12px;
    border-width: 0 2px 2px 0;
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-lg);
    background: rgba(252, 179, 16, 0.1);
    border: 1px solid rgba(252, 179, 16, 0.25);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: var(--spacing-xl);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    line-height: 1.1;
    color: white;
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-color), #FFD666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-2xl);
    max-width: 560px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

/* ====================================
   HERO CTA BUTTONS
   ==================================== */
.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.8s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.cta-button.primary {
    background: var(--accent-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(252, 179, 16, 0.3);
}

.cta-button.primary:hover {
    background: var(--accent-hover);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(252, 179, 16, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-2px);
}

.cta-button i {
    font-size: 0.85rem;
    transition: transform var(--transition-fast);
}

.cta-button:hover i {
    transform: translateX(3px);
}

/* ====================================
   HERO STATS BAR
   ==================================== */
.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    animation: fadeInUp 0.6s ease 1s forwards;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: var(--tracking-mono);
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-on-dark-muted);
    letter-spacing: 0.02em;
}

/* ====================================
   PAGE HERO (Sub-pages — shorter)
   ==================================== */
.page-hero {
    position: relative;
    padding: calc(72px + var(--spacing-4xl)) 0 var(--spacing-3xl);
    background: var(--background-dark);
    overflow: hidden;
}

.page-hero .hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(18, 62, 221, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, var(--background-dark) 0%, var(--background-darker) 100%);
    z-index: 0;
}

.page-hero .hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.page-hero .hero-badge {
    animation: none;
    opacity: 1;
}

.page-hero .hero-title {
    font-size: 2.75rem;
    animation: none;
    opacity: 1;
}

.page-hero .hero-subtitle {
    animation: none;
    opacity: 1;
}

/* Video background cover for hero sections */
.hero-cover-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
}

/* ====================================
   SCROLL INDICATOR
   ==================================== */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-on-dark-muted);
    font-size: 0.75rem;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 0.6s ease 1.5s forwards;
}

.scroll-indicator-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.5;
    }
}
