@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary: #06b6d4;
    --primary-dark: #0891b2;
    --primary-glow: rgba(6, 182, 212, 0.35);
    --secondary: #6366f1;
    --secondary-dark: #4f46e5;
    --secondary-glow: rgba(99, 102, 241, 0.35);
    --accent: #22d3ee;
    --success: #10b981;
    --info: #3b82f6;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-deep: #070b14;
    --bg-mid: #0f172a;
    --bg-elevated: #1e293b;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --surface-hover: rgba(255, 255, 255, 0.14);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(6, 182, 212, 0.25);
    --text-primary: #ffffff;
    --text-secondary: rgba(241, 245, 249, 0.75);
    --text-muted: rgba(241, 245, 249, 0.55);
    --text-dark: #0f172a;
    --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(99, 102, 241, 0.2) 50%, rgba(6, 182, 212, 0.08) 100%);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.28);
    --shadow-glow: 0 8px 32px var(--primary-glow);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    --font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    --nav-height: 72px;

    /* Bootstrap dark-theme overrides */
    --bs-body-color: var(--text-primary);
    --bs-dropdown-bg: #1e293b;
    --bs-dropdown-color: #ffffff;
    --bs-dropdown-link-color: rgba(241, 245, 249, 0.85);
    --bs-dropdown-link-hover-color: #22d3ee;
    --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.1);
    --bs-dropdown-link-active-color: #22d3ee;
    --bs-dropdown-link-active-bg: rgba(6, 182, 212, 0.15);
    --bs-dropdown-border-color: rgba(255, 255, 255, 0.08);
    --bs-dropdown-divider-bg: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: var(--font-family);
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 10%, rgba(99, 102, 241, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 90%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, #0c1222 100%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background: rgba(6, 182, 212, 0.35);
    color: #fff;
}

.container {
    width: min(1280px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-align: left;
    margin-bottom: 0.75rem;
}

.section-heading .gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    max-width: 640px;
    margin: 0;
    color: var(--text-secondary);
    text-align: left;
    font-size: 1.05rem;
}

.glass-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--surface-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--secondary-glow);
    filter: brightness(1.08);
}

.btn-gradient:hover::before {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--secondary-glow); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
