/* ═══════════════════════════════════════════════════════
   AXXSEL Technologies — Shared Design System v2.0
   Mobile-First · Production-Ready · Dark Luxury Tech
   Fonts: Syne (display) + DM Sans (body) + DM Mono (code)
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; }
a { -webkit-tap-highlight-color: transparent; }

/* ─── TOKENS ─── */
:root {
    --bg-deep:    #030712;
    --bg-dark:    #050e1f;
    --bg-card:    rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.06);
    --border:     rgba(255,255,255,0.08);
    --border-glow: rgba(0,212,255,0.35);
    --cyan:       #00D4FF;
    --cyan-dim:   rgba(0,212,255,0.12);
    --gold:       #F59E0B;
    --gold-dim:   rgba(245,158,11,0.12);
    --text-primary: #F0F6FF;
    --text-secondary: #8BA3C0;
    --text-muted:  #4A6080;
    --font-display: 'Syne', sans-serif;
    --font-body:   'DM Sans', sans-serif;
    --font-mono:   'DM Mono', monospace;
    --max-w: 1280px;
    --gutter: 64px;
    --radius-card: 18px;
    --nav-h: 84px;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ─── FOCUS ─── */
:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ─── NAV ─── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(3,7,18,0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s ease;
}
nav::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.25) 40%, rgba(0,212,255,0.25) 60%, transparent);
    opacity: 0; transition: opacity 0.4s;
}
nav.scrolled { background: rgba(3,7,18,0.95); border-bottom-color: rgba(0,212,255,0.15); }
nav.scrolled::after { opacity: 1; }

.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 var(--gutter); height: var(--nav-h);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
    position: relative; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0,212,255,0.35), 0 4px 16px rgba(0,0,0,0.4);
    transition: all 0.35s ease;
    flex-shrink: 0;
}
.logo-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}
.nav-logo:hover .logo-icon {
    box-shadow: 0 0 0 1px rgba(0,212,255,0.7), 0 0 24px rgba(0,212,255,0.4), 0 4px 20px rgba(0,0,0,0.4);
    transform: scale(1.05);
}
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name {
    font-family: var(--font-display); font-size: 20px; font-weight: 800;
    letter-spacing: -0.02em; color: var(--text-primary); line-height: 1; transition: color 0.3s;
}
.nav-logo:hover .logo-name { color: var(--cyan); }
.logo-sub {
    font-size: 8px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--cyan); margin-top: 3px; font-family: var(--font-mono); opacity: 0.85;
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
    text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.03em;
    color: var(--text-secondary); transition: color 0.25s; position: relative;
    padding: 4px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 1px; background: var(--cyan); transform: scaleX(0);
    transform-origin: left; transition: transform 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
    border-radius: 8px; background: var(--cyan); color: var(--bg-deep);
    font-family: var(--font-display); font-size: 13px; font-weight: 700;
    letter-spacing: 0.02em; text-decoration: none;
    transition: all 0.3s; white-space: nowrap;
    box-shadow: 0 0 20px rgba(0,212,255,0.3);
    min-height: 40px;
}
.nav-cta:hover { background: #fff; color: var(--bg-deep); box-shadow: 0 0 30px rgba(0,212,255,0.5); transform: translateY(-1px); }

/* ─── HAMBURGER ─── */
.hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 8px;
    min-width: 44px; min-height: 44px; align-items: center;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-secondary); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
    display: none; flex-direction: column; gap: 0;
    background: rgba(3,7,18,0.98); border-top: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.mobile-menu.open { max-height: 500px; padding-bottom: 16px; }
.mobile-menu a {
    padding: 15px 20px; border-bottom: 1px solid var(--border);
    color: var(--text-secondary); text-decoration: none;
    font-size: 16px; font-weight: 500; transition: color 0.2s;
    min-height: 52px; display: flex; align-items: center;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--cyan); background: rgba(0,212,255,0.04); }
.mobile-menu .nav-cta {
    margin: 12px 20px 0; border-radius: 8px; justify-content: center;
    border: none; min-height: 48px; font-size: 14px;
}

/* ─── PAGE HERO ─── */
.page-hero {
    position: relative; padding: 170px 0 110px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 70% at 65% 55%, rgba(0,212,255,0.06), transparent);
}
.page-hero::after {
    content: ''; position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,0.04) 0%, transparent 70%);
    top: -100px; right: -100px; pointer-events: none;
}
.page-hero-inner {
    position: relative; z-index: 2;
    max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
}
.page-hero-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 11px;
    font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--cyan); margin-bottom: 20px;
    padding: 6px 14px; border: 1px solid rgba(0,212,255,0.25);
    border-radius: 100px; background: rgba(0,212,255,0.06);
}
.page-hero-label::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
    animation: pulse 2s ease-in-out infinite; flex-shrink: 0;
}
.page-hero-title {
    font-family: var(--font-display); font-size: clamp(34px, 5.5vw, 68px);
    font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary);
    line-height: 1.05; max-width: 780px;
}
.page-hero-title .accent { color: var(--cyan); }
.page-hero-desc {
    font-size: clamp(15px, 2.5vw, 17px); color: var(--text-secondary); max-width: 580px;
    margin-top: 20px; line-height: 1.8;
}
.page-hero-line {
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
}

/* ─── COMMON ELEMENTS ─── */
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section-pad { padding: 100px 0; }

.section-label {
    display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.section-title {
    font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 46px);
    font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); line-height: 1.1;
}
.section-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.75; max-width: 560px; }

/* ─── CARDS ─── */
.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-card); padding: 32px;
    transition: all 0.4s ease; position: relative; overflow: hidden;
}
.card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}
.card:hover { border-color: rgba(0,212,255,0.3); background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,255,0.1); }

/* ─── BUTTONS ─── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 26px; border-radius: 10px;
    background: var(--cyan); color: var(--bg-deep);
    font-family: var(--font-display); font-size: 14px; font-weight: 700;
    letter-spacing: 0.02em; text-decoration: none;
    transition: all 0.3s; box-shadow: 0 0 30px rgba(0,212,255,0.35);
    min-height: 48px; white-space: nowrap;
}
.btn-primary:hover { background: #fff; box-shadow: 0 0 50px rgba(0,212,255,0.5); transform: translateY(-2px); }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 26px; border-radius: 10px;
    background: transparent; color: var(--text-primary);
    font-family: var(--font-display); font-size: 14px; font-weight: 600;
    letter-spacing: 0.02em; text-decoration: none;
    border: 1px solid var(--border); transition: all 0.3s;
    min-height: 48px; white-space: nowrap;
}
.btn-ghost:hover { border-color: rgba(0,212,255,0.4); background: var(--cyan-dim); color: var(--cyan); }

/* ─── ICON BOXES ─── */
.icon-box {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.icon-cyan { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2); }
.icon-gold { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); }
.icon-purple { background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2); }
.icon-green { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); }

/* ─── FORM INPUTS ─── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-muted); font-family: var(--font-mono);
}
.form-input, .form-select, .form-textarea {
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    border-radius: 10px; padding: 14px 18px;
    color: var(--text-primary); font-family: var(--font-body); font-size: 16px;
    transition: all 0.3s; outline: none; width: 100%;
    /* Prevent iOS zoom on focus */
    font-size: max(16px, 1rem);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: rgba(0,212,255,0.4); background: rgba(0,212,255,0.04);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-select option { background: var(--bg-dark); color: var(--text-primary); }

/* ─── TAGS ─── */
.tag {
    font-size: 11px; font-weight: 500; padding: 4px 10px;
    border-radius: 100px; background: rgba(255,255,255,0.04);
    border: 1px solid var(--border); color: var(--text-muted); font-family: var(--font-mono);
    display: inline-block;
}

/* ─── DIVIDER ─── */
.divider { height: 1px; background: var(--border); }

/* ─── FOOTER ─── */
footer {
    background: var(--bg-dark); border-top: 1px solid var(--border); padding: 40px 0;
    position: relative;
}
footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.2) 40%, rgba(0,212,255,0.2) 60%, transparent);
}
.footer-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; padding: 4px 0; }
.footer-links a:hover { color: var(--cyan); }

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 200;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.wa-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }

/* ─── SCROLL TO TOP ─── */
.scroll-top {
    position: fixed; bottom: 90px; right: 24px; z-index: 200;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(5,14,31,0.9); border: 1px solid rgba(0,212,255,0.35);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    color: var(--cyan); opacity: 0; pointer-events: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover {
    background: var(--cyan); color: var(--bg-deep);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,212,255,0.4);
}

/* ─── ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

/* ─── CTA BAND ─── */
.cta-band {
    background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(0,212,255,0.03) 50%, rgba(245,158,11,0.05) 100%);
    border: 1px solid rgba(0,212,255,0.2); border-radius: 28px;
    padding: 80px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.6), transparent);
}
.cta-band::after {
    content: ''; position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
    top: -100px; left: 50%; transform: translateX(-50%);
    pointer-events: none;
}
.cta-band-title {
    font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 50px);
    font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary);
    max-width: 720px; margin: 0 auto 18px; line-height: 1.1; position: relative; z-index: 1;
}
.cta-band-desc {
    font-size: 16px; color: var(--text-secondary); max-width: 500px;
    margin: 0 auto 44px; line-height: 1.75; position: relative; z-index: 1;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════ */

/* ─── TABLET LANDSCAPE (≤1024px) ─── */
@media (max-width: 1024px) {
    :root { --gutter: 32px; --nav-h: 76px; }
    .logo-icon { width: 44px; height: 44px; border-radius: 11px; }
    .logo-name { font-size: 19px; }
    .nav-links { gap: 28px; }
    .page-hero { padding: 150px 0 90px; }
    .cta-band { padding: 64px 48px; }
}

/* ─── TABLET PORTRAIT (≤768px) ─── */
@media (max-width: 768px) {
    :root { --gutter: 20px; --nav-h: 72px; }

    /* Nav */
    .nav-links, .nav-cta-wrap { display: none !important; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }

    /* Page hero */
    .page-hero { padding: 130px 0 72px; }
    .page-hero-title { font-size: clamp(30px, 7vw, 48px); }
    .page-hero-desc { font-size: 15px; }
    .page-hero-label { font-size: 10px; padding: 5px 12px; }

    /* Sections */
    .section-pad { padding: 72px 0; }
    .section-title { font-size: clamp(24px, 6vw, 36px); }

    /* CTA band */
    .cta-band { padding: 48px 24px; border-radius: 20px; }
    .cta-band-title { font-size: clamp(22px, 6vw, 32px); }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn-primary, .cta-actions .btn-ghost { width: 100%; justify-content: center; max-width: 320px; }

    /* Footer */
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }

    /* Buttons — full-width in stacked contexts */
    .page-hero-inner .btn-primary,
    .page-hero-inner .btn-ghost { padding: 12px 22px; font-size: 13px; }

    /* Floating buttons */
    .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .scroll-top { bottom: 82px; right: 20px; }
}

/* ─── MOBILE (≤480px) ─── */
@media (max-width: 480px) {
    :root { --gutter: 16px; --nav-h: 68px; }

    /* Logo */
    .logo-icon { width: 40px; height: 40px; border-radius: 10px; }
    .logo-name { font-size: 17px; }
    .logo-sub { font-size: 7px; letter-spacing: 0.15em; }

    /* Page hero */
    .page-hero { padding: 120px 0 60px; }
    .page-hero-title { font-size: clamp(28px, 8vw, 40px); line-height: 1.1; }
    .page-hero-desc { font-size: 14px; margin-top: 16px; }

    /* Hero buttons */
    .page-hero-inner .hero-btn-group,
    .page-hero-inner > div[style*="gap"] {
        flex-direction: column;
    }
    .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

    /* Sections */
    .section-pad { padding: 56px 0; }

    /* Cards */
    .card { padding: 24px; }

    /* CTA */
    .cta-band { padding: 36px 20px; border-radius: 16px; }

    /* Footer */
    .footer-copy { font-size: 12px; text-align: center; }
    .footer-links { gap: 16px; }
    .footer-links a { font-size: 12px; }

    /* Floating */
    .wa-float { bottom: 16px; right: 16px; width: 48px; height: 48px; }
    .scroll-top { bottom: 76px; right: 16px; width: 40px; height: 40px; }
}

/* ─── PRINT STYLES ─── */
@media print {
    nav, .wa-float, .scroll-top, canvas { display: none !important; }
    body { background: #fff; color: #000; }
    .page-hero { padding-top: 24px; }
    a { color: #000; text-decoration: underline; }
    .btn-primary, .btn-ghost { border: 1px solid #000; background: transparent; color: #000; box-shadow: none; }
}
