/* Global Variables & Design Tokens */
:root {
    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.5);
    --secondary: #7000ff;
    --secondary-glow: rgba(112, 0, 255, 0.4);
    --bg-dark: #020205;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-light: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-dim: #a0a0b0;
    --grad-main: linear-gradient(135deg, var(--primary), var(--secondary));
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glow-1: 0 0 30px var(--primary), 0 0 50px var(--primary-glow);
    --glow-2: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 40px rgba(255, 255, 255, 0.5);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Heebo', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.gradient-text {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loader Styles */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
    text-align: center;
}

.logo-loader {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    direction: ltr;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulseLogo 2s infinite alternate;
}

@keyframes pulseLogo {
    0% { opacity: 0.7; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 20px var(--primary-glow)); }
}

.loader-bar {
    width: 240px;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 15px;
    position: relative;
    overflow: hidden;
}

.loader-bar .progress {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: var(--grad-main);
    box-shadow: 0 0 10px var(--primary-glow);
    animation: loading 2s infinite ease;
}

@keyframes loading {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

.loader-text {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--text-dim);
    text-transform: uppercase;
}

/* Navigation Styles */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: var(--transition);
}

#main-nav.scrolled {
    padding: 15px 0;
    background: rgba(2, 2, 5, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    direction: ltr;
    cursor: default;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1px;
    display: flex;
    align-items: baseline;
    gap: 5px;
    line-height: 1;
}

.logo-text span:first-child {
    color: var(--primary);
    font-weight: 300;
}

.g-design-text {
    font-size: 0.8em;
    font-weight: 800;
    letter-spacing: 1px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

/* SVG logo icon with subtle wobble */
.logo-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.6));
    transition: filter 0.4s ease;
    animation: wobbleLogo 6s ease-in-out infinite;
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 0 20px rgba(0, 242, 255, 1));
    animation-play-state: paused;
}

@keyframes wobbleLogo {
    0%, 100% { transform: rotate(0deg); }
    20%       { transform: rotate(6deg); }
    50%       { transform: rotate(-6deg); }
    80%       { transform: rotate(3deg); }
}

/* Loader logo */
.logo-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 30px;
}

.logo-loader .letter {
    display: inline-block;
    animation: bounceWave 1.6s infinite ease-in-out;
}

@keyframes bounceWave {
    0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 0px transparent); }
    50% { transform: translateY(-20px); filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.8)); }
}

.logo-icon-loader {
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.9));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--grad-main);
    border-radius: 2px;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-cta {
    background: var(--grad-main);
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px var(--secondary-glow);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--secondary-glow) !important;
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.parallax-bg {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translateY(0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2,2,5,0.4), var(--bg-dark));
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.glow-line-1 {
    display: inline-block;
    animation: glowBlueish 3s ease-in-out infinite alternate;
    will-change: text-shadow;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.glow-line-2 {
    display: inline-block;
    position: relative;
    /* Removed filter animation, handled by ::before now */
}

.glow-line-2::before {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background: none;
    text-shadow: var(--glow-2);
    z-index: -1;
    pointer-events: none;
    animation: glowWhiteish 3s ease-in-out infinite alternate;
    will-change: opacity;
}

/* White text gets a blueish glow - Starts at MAX, goes to MIN */
@keyframes glowBlueish {
    0% { text-shadow: var(--glow-1); }
    100% { text-shadow: 0 0 0px transparent; }
}

/* Blue/Gradient text gets a white glow - Starts at MIN, goes to MAX */
/* Animating opacity of the ::before pseudo-element is much smoother and bug-free */
@keyframes glowWhiteish {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Button Styles */
.btn {
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--grad-main);
    color: #fff;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Section Common Styles */
section {
    padding: 60px 0;
    scroll-margin-top: 100px;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--grad-main);
    border-radius: 2px;
}

/* Services Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 30px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 360px;
    text-align: center;
}

/* Spotlight Cone Beam Effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 40px; /* Originates from the icon center */
    left: 50%;
    width: 200%; /* Wider than card to allow expansion */
    height: 120%;
    background: linear-gradient(
        to bottom,
        rgba(0, 242, 255, 0.25) 0%,
        rgba(0, 242, 255, 0.05) 60%,
        transparent 100%
    );
    transform: translateX(-50%) scaleY(0);
    transform-origin: top;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    /* Create a triangle/cone shape */
    clip-path: polygon(48% 0%, 52% 0%, 100% 100%, 0% 100%);
}

.service-card:hover::before {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
}

/* Soft Halo Glow Around the Beam */
.service-card::after {
    content: '';
    position: absolute;
    top: 20px; /* Starts slightly above the icon */
    left: 50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(0, 242, 255, 0.15) 0%,
        rgba(112, 0, 255, 0.05) 40%,
        transparent 75%
    );
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

.service-card:hover::after {
    opacity: 1;
}

/* Dimmed and Blurred text by default */
.service-card h3, 
.service-card p, 
.service-list {
    opacity: 0.15;
    filter: blur(4px);
    transform: translateY(0);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 2;
}

/* Spotlight Illuminate Sequence */
.service-card:hover h3, 
.service-card:hover p, 
.service-card:hover .service-list {
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.service-card h3 {
    margin-top: 80px; /* Space for the icon */
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Spotlight Icon (The Source) */
.card-icon {
    font-size: 2.8rem;
    color: var(--primary);
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.4s ease;
    z-index: 3;
}

.service-card:hover .card-icon {
    color: #fff;
    text-shadow: 0 0 30px var(--primary), 
                 0 0 60px var(--primary-glow),
                 0 0 100px var(--primary-glow);
    transform: translateX(-50%) scale(1.15);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-dim);
    margin-bottom: 25px;
}

.service-list {
    list-style: none;
}

.service-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #fff;
}

.service-list i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* SaaS Showcase Styles */
.saas-section {
    background: linear-gradient(to bottom, var(--bg-dark), #0a0a1a, var(--bg-dark));
}

.saas-content-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.saas-image, .saas-text {
    flex: 1;
}

.mockup-container {
    position: relative;
}

.floating-mockup {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(-1deg); }
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
}

.saas-text .section-title span {
    color: var(--primary);
}

.saas-text p {
    margin: 30px 0;
    font-size: 1.1rem;
    color: var(--text-dim);
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.feature-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-info p {
    margin: 0;
    font-size: 0.9rem;
}

/* Stats Banner Styles */
.stats-banner {
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-number, .stat-suffix {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    direction: ltr; /* Ensures 24/6 renders correctly as LTR */
}

.stat-label {
    display: block;
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Contact Styles */
.contact-wrapper {
    display: flex;
    gap: 80px;
    align-items: center;
}

.contact-info, .contact-form-container {
    flex: 1;
}

.contact-details {
    margin: 40px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.detail-item i {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.glass-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    padding: 50px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 15px 20px;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300f2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
    background-size: 18px;
    padding-left: 50px;
    background-color: #050510 !important;
    color-scheme: dark; /* Force browser to use dark native dropdown */
}

.form-group select option {
    background-color: #020205;
    color: #fff;
    padding: 15px;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.full-width {
    width: 100%;
}

/* Footer Styles */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 20px;
    direction: ltr;
}

.footer-logo span {
    color: var(--primary);
}

footer p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-legal a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .saas-content-wrapper, .contact-wrapper { flex-direction: column; gap: 50px; align-items: stretch; }
    .contact-info { text-align: center; }
    .social-links { justify-content: center; }
    .contact-details { display: flex; flex-direction: column; align-items: center; }
    
    .nav-links { 
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background: rgba(2, 2, 5, 0.95);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-active {
        right: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .burger {
        display: block;
        cursor: pointer;
        z-index: 1000;
    }
    
    .burger div {
        width: 30px;
        height: 3px;
        background-color: #fff;
        margin: 6px;
        transition: var(--transition);
    }
    
    .toggle .line1 { transform: rotate(-45deg) translate(-6px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-6px, -6px); }
}

@media (max-width: 768px) {
    :root {
        --glow-1: 0 0 50px var(--primary), 0 0 80px var(--primary), 0 0 120px var(--primary-glow);
        --glow-2: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.8), 0 0 90px rgba(255, 255, 255, 0.5);
    }
    .hero-title { font-size: 2.8rem; line-height: 1.1; }
    .hero-title br { display: none; } /* Remove double spacing from block elements + br */
    .glow-line-1 { margin-bottom: 2px; }
    .glow-line-2 { margin-top: -5px; }
    .glow-line-1, .glow-line-2 { display: block; } /* Prevents text from forcing horizontal scroll */
    .hero-subtitle { font-size: 1rem; padding: 0 15px; margin-bottom: 25px; }
    .scroll-indicator { bottom: 15px; transform: translateX(-50%) scale(0.8); }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .form-row { flex-direction: column; gap: 0; }
    .hero-btns { flex-direction: column; padding: 0; gap: 15px; }
    section { padding: 40px 0; }
    .glass-form { padding: 30px; }
    .stat-number, .stat-suffix { font-size: 2.8rem; }
    .section-title { font-size: 2.5rem; }
    
    /* Mobile Card Illumination - Scroll Triggered */
    .service-card h3, .service-card p, .service-list {
        opacity: 0.15; filter: blur(4px); 
    }
    
    .service-card.scrolled-active h3, 
    .service-card.scrolled-active p, 
    .service-card.scrolled-active .service-list {
        opacity: 1; filter: blur(0); text-shadow: none;
    }

    .card-icon {
        color: var(--primary);
        text-shadow: none;
    }
    
    .service-card.scrolled-active .card-icon {
        color: #fff; text-shadow: 0 0 20px var(--primary);
        transform: translateX(-50%) scale(1.1);
    }
    
    .service-card::before {
        opacity: 0;
        transform: translateX(-50%) scaleY(0);
    }

    .service-card.scrolled-active::before {
        transform: translateX(-50%) scaleY(1); opacity: 0.6;
    }
    
    .service-card.scrolled-active::after { opacity: 0.8; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; }
    .stat-number, .stat-suffix { font-size: 2rem; }
    .stat-label { font-size: 0.75rem; letter-spacing: 0; }
    .glass-form { padding: 25px 15px; border-radius: 20px; }
    .form-group input, .form-group select, .form-group textarea { padding: 12px 15px; font-size: 0.95rem; }
    .contact-form-container .btn { width: 100%; }
    .nav-container { padding: 0 20px; }
    .service-card { padding: 20px 15px; min-height: 320px; }
    .service-card h3 { margin-top: 60px; font-size: 1.2rem; }
    .logo-loader { font-size: 2rem; letter-spacing: 4px; margin-left: -4px; }
    .loader-text { letter-spacing: 2px; }
}

/* Custom Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 5, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 60px;
    border-radius: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: scale(0.8) translateY(20px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px var(--primary-glow));
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.modal-card h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-card p {
    color: var(--text-dim);
    margin-bottom: 40px;
    font-size: 1.1rem;
}
