* { -webkit-font-smoothing: antialiased; }

body {
    background-color: #f8fafc;
    color: #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}

/* Dot grid background */
.dot-grid {
    background-image: radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Gradient text */
.grad-text {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-text-subtle {
    background: linear-gradient(135deg, #1d4ed8 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow orb */
.orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.85;
}

/* CTA primary */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.btn-primary:hover {
    background: #1e293b;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
    transform: translateY(-1px);
}

/* CTA secondary */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(15, 23, 42, 0.6);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    transition: all 0.2s ease;
}
.btn-ghost:hover {
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.25);
    background: rgba(15, 23, 42, 0.04);
}

/* Card */
.card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.015);
    transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transform: translateY(-2px);
}

/* Pill badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.6);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Section label */
.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.4);
}

/* Input */
.inp {
    width: 100%;
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    font-size: 13px;
    color: #0f172a;
    transition: all 0.15s;
}
.inp::placeholder { color: rgba(15, 23, 42, 0.35); }
.inp:focus {
    outline: none;
    border-color: rgba(15, 23, 42, 0.2);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.06);
}

/* Divider line */
.divider { border-color: rgba(15, 23, 42, 0.06); }

/* Pulse dot */
@keyframes pulse-dot { 0%,100%{opacity:1;} 50%{opacity:0.35;} }
.pulse { animation: pulse-dot 2s ease-in-out infinite; }

/* Float */
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }
.float { animation: float 5s ease-in-out infinite; }
.float-2 { animation: float 5s ease-in-out 1.8s infinite; }

/* Terminal cursor blink */
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }
.cursor { animation: blink 1s step-end infinite; }

/* Fade in up */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fadeUp 0.7s ease-out forwards; }
.fade-up-2 { animation: fadeUp 0.7s 0.15s ease-out both; }
.fade-up-3 { animation: fadeUp 0.7s 0.3s ease-out both; }

/* Progress bar fill */
@keyframes fill { from{width:0} to{width:var(--w)} }
.fill-bar { animation: fill 2s ease-out 0.6s both; }

select option { background: #ffffff; color: #0f172a; }

/* Dark Terminal Overrides */
.terminal-card {
    background: #0b0f19 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
}
.terminal-card:hover {
    background: #0e1422 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
.terminal-card .divider {
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.terminal-card .text-white\/20 {
    color: rgba(255, 255, 255, 0.25) !important;
}
.terminal-card .text-white\/30 {
    color: rgba(255, 255, 255, 0.45) !important;
}
.terminal-card .text-white\/25 {
    color: rgba(255, 255, 255, 0.35) !important;
}
.terminal-card .bg-emerald-500\/\[0\.07\] {
    background: rgba(16, 185, 129, 0.08) !important;
}

/* Particles Container styling */
.main-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
