/* ============================================
   ADGO Media — Modern Blue & White Design
   ============================================ */

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(59, 130, 246, 0.4);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #030712; }
::-webkit-scrollbar-thumb { background: #1e3a5f; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2563eb; }

/* ---- Typography ---- */
.text-gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-white {
    background: linear-gradient(135deg, #e2e8f0, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ---- */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.25), 0 4px 15px rgba(37, 99, 235, 0.15);
}

.btn-primary:hover {
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.4), 0 8px 30px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 100%; }

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

/* ---- Glass card ---- */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

/* ---- Stat card ---- */
.stat-card {
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}
.stat-card:hover {
    background: rgba(59, 130, 246, 0.05);
}

/* ---- Labels ---- */
.label-blue {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---- Tags ---- */
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ---- Nav ---- */
.nav-link {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}
.nav-link:hover { color: #fff; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }

.navbar-scrolled {
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar-scrolled .nav-link { font-size: 0.8rem; }

/* ---- Hero ---- */
.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(59, 130, 246, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 80% 40%, rgba(96, 165, 250, 0.2) 50%, transparent 50%),
        radial-gradient(1px 1px at 30% 70%, rgba(59, 130, 246, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 60% 80%, rgba(147, 197, 253, 0.15) 50%, transparent 50%),
        radial-gradient(1px 1px at 90% 10%, rgba(59, 130, 246, 0.2) 50%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-20px); opacity: 0.7; }
}

/* Scroll line animation */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 48px; }
    50% { opacity: 1; height: 60px; }
}

/* ---- Section glows ---- */
.section-glow-left {
    position: absolute;
    top: 20%; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.section-glow-right {
    position: absolute;
    top: 10%; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- Forms ---- */
.input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}
.input-field::placeholder { color: #4b5563; }
.input-field:focus {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.select-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.select-field:focus {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}
.select-field option { background: #0a0f1e; color: #fff; }

/* ---- Simulator ---- */
.sim-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
}
.sim-option:hover {
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.03);
}
.sim-option:has(input:checked) {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.06);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.05);
}
.sim-option input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: #3b82f6;
    flex-shrink: 0;
}

.sim-result-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.03));
    border: 1px solid rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}
.sim-result-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

/* ---- Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animations */
#hero h1 {
    animation: heroFadeIn 1s ease forwards;
}
#hero p {
    animation: heroFadeIn 1s ease 0.3s forwards;
    opacity: 0;
}
#hero > div > div > .flex,
#hero > div > div > div:first-child {
    animation: heroFadeIn 1s ease 0.15s forwards;
    opacity: 0;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    #hero h1 { font-size: 2.75rem; }
    .section-glow-left, .section-glow-right { display: none; }
}
