/* Modern Revenue Curriculum - Bold Dark Style */

/* CSS Variables */
:root {
    --neon-pink: #359d9e;
    --neon-blue: #3e80b4;
    --neon-green: #55c595;
    --neon-yellow: #44a89e;
    --neon-purple: #7ce495;
    --dark-900: #f5f3f5;
    --dark-800: #e8e6e8;
    --dark-700: #dbd9db;
    --dark-600: #cecccf;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body */
body {
    overflow-x: hidden;
    background-color: var(--dark-900);
    font-family: 'Segoe UI', 'Space Grotesk', sans-serif;
    color: #1f2937;
}

/* Headings - Outfit Semibold */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600; /* Semibold */
    letter-spacing: -0.02em;
    color: #111827;
}

/* Neon Text Effects - REMOVED FOR CLEAN CORPORATE STYLE */
.neon-text-pink {
    color: var(--neon-pink);
}

.neon-text-blue {
    color: var(--neon-blue);
}

.neon-text-green {
    color: var(--neon-green);
}

.neon-text-yellow {
    color: var(--neon-yellow);
}

.neon-text-purple {
    color: var(--neon-purple);
}

/* Glow Effects - REMOVED FOR CLEAN STYLE */
.glow-pink {
    border-color: var(--neon-pink);
}

.glow-blue {
    border-color: var(--neon-blue);
}

.glow-green {
    border-color: var(--neon-green);
}

/* Animated Grid Background */
.grid-bg {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-scroll 20s linear infinite;
}

@keyframes grid-scroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Floating Animations */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.animate-float {
    animation: float 20s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 20s ease-in-out infinite;
    animation-delay: 5s;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Button Ripple Effect */
button, a {
    position: relative;
    overflow: hidden;
}

button::after, a.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::after, a.button:hover::after {
    width: 400px;
    height: 400px;
}

/* Gradient Border Animation */
@keyframes gradient-rotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-border {
    background: linear-gradient(90deg, 
        var(--neon-pink), 
        var(--neon-purple), 
        var(--neon-blue),
        var(--neon-pink)
    );
    background-size: 200% 200%;
    animation: gradient-rotate 4s ease infinite;
}

/* Fade In Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Scroll Reveal */
.section-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-800);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-pink), var(--neon-purple));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-green));
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 0, 110, 0.3);
}

/* Selection */
::selection {
    background-color: var(--neon-pink);
    color: white;
}

::-moz-selection {
    background-color: var(--neon-pink);
    color: white;
}

/* Typography Enhancements */
/* Note: Main heading styles are defined earlier in the file */

.font-display {
    font-feature-settings: "liga" 1, "calt" 1;
}

/* Backdrop Filter Support */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
    nav {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

/* Hover Effects for Links */
a {
    transition: all 0.3s ease;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Print Styles */
@media print {
    nav, footer, #contact {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .neon-text-pink,
    .neon-text-blue,
    .neon-text-green,
    .neon-text-yellow {
        color: black !important;
        text-shadow: none !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Visible for Keyboard Navigation */
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
textarea:focus-visible {
    outline: 3px solid var(--neon-pink);
    outline-offset: 2px;
}

/* Notification Styles */
.notification {
    z-index: 9999;
}

/* Enhanced Text Gradients */
.text-gradient-pink {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Glitch Effect */
@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

.glitch-hover:hover {
    animation: glitch 0.3s ease-in-out;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Perspective for 3D Effects */
.perspective {
    perspective: 1000px;
}

.rotate-y:hover {
    transform: rotateY(10deg);
    transition: transform 0.3s ease;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
}

/* Border Glow Animation */
@keyframes border-glow {
    0%, 100% {
        border-color: var(--neon-pink);
        box-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
    }
    33% {
        border-color: var(--neon-blue);
        box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
    }
    66% {
        border-color: var(--neon-green);
        box-shadow: 0 0 10px rgba(0, 255, 159, 0.5);
    }
}

.animate-border-glow {
    animation: border-glow 3s ease-in-out infinite;
}

/* Skeleton Loading */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--dark-800) 0px,
        var(--dark-700) 40px,
        var(--dark-800) 80px
    );
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* Marquee Effect */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee {
    animation: marquee 20s linear infinite;
}

/* Gradient Text Animation */
@keyframes gradient-text {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient-text {
    background: linear-gradient(
        90deg,
        var(--neon-pink),
        var(--neon-purple),
        var(--neon-blue),
        var(--neon-green),
        var(--neon-pink)
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 3s ease infinite;
}
