/* EN01: Brand Theme - Modern Dark Theme with Glowing Elements */

:root {
    /* Primary Colors */
    --color-dark-navy: #00091a;
    --color-electric-blue: #0316f2;
    --color-light-blue: #dfe1fb;
    --color-purple: #9ba4fc;
    --color-white: #ffffff;
    --color-dark-card: #0a1128;
    --color-glow-blue: #1e3a8a;
    --color-dark-blue: #0f172a;
    --color-purple-dark: #4c1d95;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0316f2 0%, #9ba4fc 50%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #00091a 0%, #0a1128 50%, #1e3a8a 100%);
    --gradient-glow: radial-gradient(circle, rgba(3, 22, 242, 0.3) 0%, transparent 70%);
    
    /* Shadows & Glows */
    --glow-blue: 0 0 20px rgba(3, 22, 242, 0.5), 0 0 40px rgba(3, 22, 242, 0.3);
    --glow-purple: 0 0 20px rgba(155, 164, 252, 0.5), 0 0 40px rgba(155, 164, 252, 0.3);
    --glow-card: 0 0 30px rgba(3, 22, 242, 0.2), 0 0 60px rgba(155, 164, 252, 0.1);
}

/* Glowing Card Component */
.glow-card {
    background: var(--color-dark-card);
    border: 1px solid rgba(3, 22, 242, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.glow-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-card);
    border-color: rgba(3, 22, 242, 0.6);
}

.glow-card:hover::before {
    opacity: 1;
}

/* Glowing Button Component */
.glow-button {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 22, 242, 0.4);
}

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

.glow-button:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-blue);
}

.glow-button:hover::before {
    width: 300px;
    height: 300px;
}

.glow-button:active {
    transform: scale(0.98);
}

/* Secondary Button */
.glow-button-secondary {
    background: transparent;
    color: var(--color-white);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: 2px solid var(--color-electric-blue);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glow-button-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.glow-button-secondary:hover {
    color: var(--color-white);
    border-color: var(--color-purple);
    box-shadow: var(--glow-purple);
}

.glow-button-secondary:hover::before {
    left: 0;
}

/* Curved Wave/Arc Graphic */
.curved-wave {
    position: absolute;
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    opacity: 0.2;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.curved-wave-top {
    top: -100px;
    left: 0;
}

.curved-wave-bottom {
    bottom: -100px;
    right: 0;
}

/* Statistics Card */
.stat-card {
    background: var(--color-dark-card);
    border: 1px solid rgba(3, 22, 242, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(3, 22, 242, 0.5);
    box-shadow: var(--glow-card);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-blue);
    position: relative;
    z-index: 1;
}

.stat-card-value {
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.stat-card-label {
    color: var(--color-light-blue);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glowing Border */
.glow-border {
    border: 1px solid rgba(3, 22, 242, 0.3);
    box-shadow: 0 0 20px rgba(3, 22, 242, 0.2);
}

.glow-border:hover {
    border-color: rgba(3, 22, 242, 0.6);
    box-shadow: var(--glow-blue);
}

/* Background Pattern - Removed animation for performance */
.starfield-bg {
    background: var(--color-dark-navy);
    position: relative;
    overflow: hidden;
}

/* Wireframe Sphere (for future use) */
.wireframe-sphere {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid rgba(3, 22, 242, 0.3);
    position: relative;
    background: radial-gradient(circle at 30% 30%, rgba(3, 22, 242, 0.2), transparent);
    box-shadow: var(--glow-blue);
}

/* Form Input Styling */
.glow-input {
    background: var(--color-dark-card);
    border: 1px solid rgba(3, 22, 242, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.glow-input:focus {
    outline: none;
    border-color: var(--color-electric-blue);
    box-shadow: 0 0 20px rgba(3, 22, 242, 0.3);
    background: rgba(3, 22, 242, 0.05);
}

.glow-input::placeholder {
    color: var(--color-light-blue);
    opacity: 0.5;
}

/* Navigation */
.glow-nav {
    background: rgba(0, 9, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(3, 22, 242, 0.2);
}

.glow-nav-link {
    color: var(--color-white);
    transition: all 0.3s ease;
    position: relative;
}

.glow-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.glow-nav-link:hover {
    color: var(--color-light-blue);
}

.glow-nav-link:hover::after,
.glow-nav-link.active::after {
    width: 100%;
}

/* Page Load Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
