/* ═══════════════════════════════════════════════
   AXIS DIGITAL — Global Stylesheet
   Palette: Deep black + Electric Mint + Hot Coral
   Fonts: Bebas Neue (display) + DM Sans (body)
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ─── Variables ─── */
:root {
  --bg:          #080a0f;
  --bg2:         #0b0d14;
  --surface:     #0e1117;
  --surface2:    #141720;
  --border:      rgba(255,255,255,0.07);
  --accent:      #00f0a0;
  --accent-dim:  #00b374;
  --accent2:     #ff3d6b;
  --accent3:     #3d9bff;
  --text:        #e8ecf1;
  --text-muted:  #6b7a8d;
  --text-dim:    #3d4555;
  --font-display:'Bebas Neue', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --radius:      2px;
  --transition:  0.25s ease;
  --shadow-accent: 0 0 40px rgba(0,240,160,0.15);
  --max-w:       1380px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; }
ul, ol { list-style: none; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 2px; }

/* ─── Selection ─── */
::selection { background: var(--accent); color: var(--bg); }

/* ─── Typography helpers ─── */
.font-display { font-family: var(--font-display); }
.text-accent  { color: var(--accent); }
.text-accent2 { color: var(--accent2); }
.text-muted   { color: var(--text-muted); }

/* ─── Section Label ─── */
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--accent);
}

/* ─── Section Title ─── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95; letter-spacing: 2px;
  color: var(--text); margin-bottom: 16px;
}
.section-title .hi { color: var(--accent); }
.section-title .h2 { color: var(--accent2); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 32px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: var(--bg);
  clip-path: polygon(10px 0%, 100% 0%, calc(100%-10px) 100%, 0% 100%);
}
.btn-primary:hover {
  background: #00ffb3;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-accent2 {
  background: var(--accent2); color: #fff;
  clip-path: polygon(10px 0%, 100% 0%, calc(100%-10px) 100%, 0% 100%);
}
.btn-accent2:hover { background: #ff5a80; transform: translateY(-2px); }

/* ─── Card base ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 32px;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0,240,160,0.2); }
.card:hover::before { transform: scaleX(1); }

/* ─── Grid helpers ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── Container ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.section { padding: 100px 0; }

/* ─── Divider ─── */
.divider {
  width: 100%; height: 1px;
  background: var(--border);
  margin: 0;
}

/* ─── Tag / Badge ─── */
.tag {
  display: inline-block;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); background: rgba(0,240,160,0.08);
  border: 1px solid rgba(0,240,160,0.2);
  padding: 4px 12px;
}
.tag-coral {
  color: var(--accent2); background: rgba(255,61,107,0.08);
  border-color: rgba(255,61,107,0.2);
}
.tag-blue {
  color: var(--accent3); background: rgba(61,155,255,0.08);
  border-color: rgba(61,155,255,0.2);
}

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

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { transform: translateX(-20px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.anim-fadeup   { animation: fadeUp 0.7s ease forwards; }
.anim-fadein   { animation: fadeIn 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }
.delay-6 { animation-delay: 0.6s; opacity: 0; }
.delay-7 { animation-delay: 0.8s; opacity: 0; }
.delay-8 { animation-delay: 1.0s; opacity: 0; }

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-title { font-size: 44px; }
}
