/* ==========================================================================
   AZAADESIGNS ID — BASE.CSS
   CSS Variables · Reset · Typography · Utility · Buttons
   ========================================================================== */

/* ── CSS VARIABLES ──────────────────────────────────────────────────────── */
:root {
    /* Brand Colors */
    --primary:        #0052CC;
    --primary-light:  #1a6fe0;
    --bg-base:        #070C18;
    --surface:        #0D1527;
    --surface-2:      #111d35;
    --text-main:      #FFFFFF;
    --text-muted:     #A0ABC0;
    --text-soft:      #7a8ba0;
    --neon-glow:      #38BDF8;
    --neon-dark:      #0ea5e9;
    --accent-gold:    #F59E0B;
    --accent-green:   #10B981;
    --accent-red:     #EF4444;

    /* Glassmorphism */
    --glass-border-1: rgba(56, 189, 248, 0.20);
    --glass-border-2: rgba(255, 255, 255, 0.08);
    --glass-border-3: rgba(255, 255, 255, 0.04);
    --glass-bg:       rgba(13, 21, 39, 0.70);
    --glass-bg-light: rgba(17, 29, 53, 0.60);

    /* Typography */
    --font-main: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --section-pad: 90px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition:      all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

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

/* ── CONTAINER ──────────────────────────────────────────────────────────── */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ── 3D CANVAS BACKGROUND ───────────────────────────────────────────────── */
#webgl-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* All content above canvas */
nav, main, footer, .announcement-bar, .modal-overlay, .fab-wa, .mobile-menu {
    position: relative;
    z-index: 1;
}

/* ── UTILITY ────────────────────────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--neon-glow), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hidden { display: none !important; }
.w-100  { width: 100%; }

/* ── SECTION HEADER (shared across sections) ────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--neon-glow);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── TILT CARDS (shared base) ────────────────────────────────────────────── */
.tilt-card {
    background: var(--surface);
    border: 1px solid var(--glass-border-2);
    border-radius: 18px;
    padding: 28px;
    transform-style: preserve-3d;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tilt-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-glow), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tilt-card:hover {
    border-color: var(--glass-border-1);
    box-shadow: 0 8px 32px rgba(0, 82, 204, 0.2);
}

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

.tilt-card .badge,
.tilt-card h3,
.tilt-card .btn-glow {
    transform: translateZ(30px);
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-main);
    padding: 11px 26px;
    border: none;
    border-radius: 10px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 82, 204, 0.4), 0 4px 12px rgba(0,0,0,0.3);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-glow:hover {
    background: linear-gradient(135deg, var(--neon-dark), var(--neon-glow));
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.5), 0 4px 20px rgba(0,0,0,0.4);
    transform: translateY(-2px);
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    color: var(--text-main);
    padding: 11px 26px;
    border: 1px solid var(--glass-border-1);
    border-radius: 10px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-glass:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: var(--neon-glow);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
    border-radius: 8px;
}

.btn-danger {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--accent-red);
}
