/* ============================================================
   hitender.in — Static Production Stylesheet (High Performance)
   ============================================================ */

/* ── Base Tokens & Root Theme Variables ── */
:root {
    --color-midnight-blue: #F8FAFC;
    --color-secondary: #0F172A;
    --color-on-surface: #1E293B;
    --color-on-surface-variant: #334155;
    --color-surface-container: #FFFFFF;
    --color-surface-container-low: #F1F5F9;
    --color-surface-container-highest: #E2E8F0;
    --color-surface-container-high: #E2E8F0;
    --color-surface-container-lowest: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.08);
    --thought-flow: linear-gradient(90deg, #6366F1, #EC4899, #DFFF00);
    --hero-glow: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
}

html.dark {
    --color-midnight-blue: #0A0F1A;
    --color-secondary: #FFFFFF;
    --color-on-surface: #f1f5f9;
    --color-on-surface-variant: #cbd5e1;
    --color-surface-container: #172030;
    --color-surface-container-low: #121c2c;
    --color-surface-container-highest: #2c3547;
    --color-surface-container-high: #212a3b;
    --color-surface-container-lowest: #050e1e;
    --glass-bg: rgba(28, 37, 54, 0.65);
    --glass-border: rgba(255, 255, 255, 0.12);
    --hero-glow: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, rgba(10, 15, 26, 0) 70%);
}

/* ── Typography & Global Elements ── */
body {
    background-color: var(--color-midnight-blue);
    color: var(--color-on-surface);
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.font-display { font-family: 'Sora', sans-serif; }
.font-mono, pre, code { font-family: 'JetBrains Mono', monospace !important; }

/* ── Accessibility & Focus States (WCAG 2.2) ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #DFFF00 !important;
    outline-offset: 2px !important;
    border-radius: 4px;
}

/* ── Glassmorphism & UI Components ── */
.glass-card, .glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.glow-lime {
    box-shadow: 0 0 20px rgba(223, 255, 0, 0.15);
}

.thought-border {
    border: 1px solid transparent;
    background: linear-gradient(var(--color-surface-container), var(--color-surface-container)) padding-box, var(--thought-flow) border-box;
    transition: background-color 0.3s ease;
}

@keyframes pulse-lime {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

.pulse-dot {
    animation: pulse-lime 2s infinite ease-in-out;
}

.hero-gradient {
    background: var(--hero-glow);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

/* ── Service Cards Inverted Hover Effects ── */
.srv-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
}
.srv-card:hover {
    background: #dfff00 !important;
    transform: translateY(-8px) scale(1.02) !important;
    border-color: #dfff00 !important;
    box-shadow: 0 30px 60px rgba(223, 255, 0, 0.25) !important;
}
.srv-card:hover h3,
.srv-card:hover p,
.srv-card:hover span,
.srv-card:hover div {
    color: #0b0f19 !important;
}

/* ── Shimmer & Animations ── */
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.btn-shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* ── Scroll Reveal ── */
section, .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
section.in-view, .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
