/* Elegant, Premium & Professional Theme */

/* Typography Overrides */
body, h1, h2, h3, h4, h5, h6, p, a, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

h1, h2 {
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    text-wrap: balance; /* Prevent widows */
    color: #1a202c !important; /* Midnight blue / dark slate */
}

p.lead {
    color: #4a5568 !important;
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Backgrounds & Whitespace */
body {
    background-color: #f8fafc !important; /* Pearl White */
    color: #2d3748 !important;
}

/* NEW HERO SECTION STYLING */
.hero-section {
    background: #ffffff !important;
    animation: none !important; /* Remove aurora */
    border-bottom: 1px solid #e2e8f0;
    padding: 120px 0 80px 0 !important;
}

/* Abstract Red Geometric Accent for Right Side */
.hero-accent-shape {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229,62,62,0.08) 0%, rgba(229,62,62,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Elegant Rolodex Text Animation */
.rolodex-container {
    font-size: 1.25rem;
}

.rolodex-track {
    animation: rolodexScroll 10s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

.rolodex-word {
    height: 1.5rem;
    line-height: 1.5rem;
    color: #e53e3e;
}

@keyframes rolodexScroll {
    0%, 15% { transform: translateY(0); }
    20%, 35% { transform: translateY(-1.5rem); }
    40%, 55% { transform: translateY(-3.0rem); }
    60%, 75% { transform: translateY(-4.5rem); }
    80%, 95% { transform: translateY(-6.0rem); }
    100% { transform: translateY(0); }
}

/* Refined Glassmorphism (Premium Frosted Glass) */
.glass-panel, .icon-item, .bento-item, .horizontal-panel {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
}

.glass-panel:hover, .icon-item:hover, .bento-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04) !important;
}

/* Icons & Accents */
.squircle-icon, .icon-item i {
    color: #e53e3e !important; /* Crimson Red */
    background: rgba(229, 62, 62, 0.1) !important;
    border-radius: 12px !important;
}

/* Buttons */
.btn-primary {
    background-color: #e53e3e !important;
    border-color: #e53e3e !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px rgba(229, 62, 62, 0.2) !important;
    transition: all 0.2s ease !important;
}

.btn-primary:hover {
    background-color: #c53030 !important;
    border-color: #c53030 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(229, 62, 62, 0.3) !important;
}

/* Clean up remnants of crazy UI */
* {
    cursor: auto !important; /* Restore normal cursor */
}

.custom-cursor, .cursor-follower {
    display: none !important;
}

/* Stats Counter formatting */
.stat-number {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    color: #e53e3e;
    font-weight: 800;
}

/* Scroll Indicator */
.scroll-indicator {
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.scroll-indicator:hover {
    opacity: 1;
}
.mouse-icon {
    width: 22px;
    height: 34px;
    border: 2px solid #a0aec0;
    border-radius: 12px;
    position: relative;
}
.wheel {
    width: 4px;
    height: 8px;
    background-color: #e53e3e;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}
@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}
