/* =============================================
   MARTIAN DIGITAL — Global Styles
   Palette: Neon Blue · Black · White · Pastel Green
   No gradients.
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  /* Core Palette */
  --neon-blue:    #00d4ff;
  --pastel-green: #a8f5d0;
  --black:        #070707;
  --black-2:      #0d0d0d;
  --black-3:      #141414;
  --white:        #ffffff;
  --white-dim:    rgba(255,255,255,0.7);
  --white-muted:  rgba(255,255,255,0.35);
  --white-faint:  rgba(255,255,255,0.08);

  /* Backgrounds */
  --bg-primary:   #070707;
  --bg-secondary: #0d0d0d;
  --bg-card:      rgba(255,255,255,0.04);
  --bg-glass:     rgba(255,255,255,0.05);

  /* Borders */
  --border-glass:  rgba(255,255,255,0.09);
  --border-blue:   rgba(0,212,255,0.4);
  --border-green:  rgba(168,245,208,0.35);

  /* Text */
  --text-primary:   #ffffff;
  --text-secondary: rgba(255,255,255,0.62);
  --text-muted:     rgba(255,255,255,0.32);

  /* Shadows / Glows */
  --glow-blue:   0 0 36px rgba(0,212,255,0.25);
  --glow-green:  0 0 36px rgba(168,245,208,0.2);

  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-accent:  'Space Grotesk', sans-serif;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --nav-height: 110px;
  --transition: all 0.33s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── Scrollbar ── */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 3px; }

/* ── Color Utility Classes ── */
/* No gradients — just solid accent colors */
.text-blue  { color: var(--neon-blue); }
.text-green { color: var(--pastel-green); }
/* Legacy class names kept for compatibility — solid colors */
.text-gradient  { color: var(--neon-blue); }
.text-gradient-2{ color: var(--pastel-green); }

h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.15; }

/* ── Layout ── */
.container      { width: min(1200px,100%); margin-inline: auto; padding-inline: 24px; }
.section        { padding: 120px 0; }
.section-sm     { padding: 80px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--neon-blue);
  color: var(--black);
  box-shadow: 0 4px 28px rgba(0,212,255,0.3);
}
.btn-primary:hover {
  background: var(--pastel-green);
  color: var(--black);
  box-shadow: 0 8px 36px rgba(168,245,208,0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-glass);
}
.btn-outline:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--white);
  border: 1.5px solid var(--border-glass);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* ── Glass Card ── */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: var(--border-blue);
  box-shadow: var(--glow-blue);
  transform: translateY(-4px);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-blue);
  color: var(--neon-blue);
  background: rgba(0,212,255,0.08);
  font-family: var(--font-accent);
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}

/* ── Section Headings ── */
.section-label {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pastel-green);
  margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
}
.section-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
}

/* ── Divider ── */
.divider {
  width: 60px; height: 3px;
  background: var(--neon-blue);
  border-radius: 2px;
  margin-bottom: 24px;
}

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

/* ── Orbs ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.orb-blue  { background: rgba(0,212,255,0.12); }
.orb-green { background: rgba(168,245,208,0.1); }

/* ── Keyframes ── */
@keyframes float   { 0%,100%{transform:translateY(0)}   50%{transform:translateY(-18px)} }
@keyframes floatX  { 0%,100%{transform:translateX(0)}   50%{transform:translateX(14px)} }
@keyframes pulseGlow { 0%,100%{opacity:.4} 50%{opacity:1} }
@keyframes spin    { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes drawLine{ from{stroke-dashoffset:1000} to{stroke-dashoffset:0} }
@keyframes fadeUp  { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn  { from{opacity:0} to{opacity:1} }
@keyframes scaleIn { from{opacity:0;transform:scale(.92)} to{opacity:1;transform:scale(1)} }
@keyframes nodeGlow{ 0%,100%{r:3;opacity:.55} 50%{r:6;opacity:1} }
@keyframes orb-drift{
  0%,100%{transform:translate(0,0) scale(1)}
  33%    {transform:translate(40px,-30px) scale(1.1)}
  66%    {transform:translate(-30px,20px) scale(.95)}
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes scrollRight { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes wordSpin {
  0%  {transform:translateY(0%)}
  33% {transform:translateY(-33.333%)}
  66% {transform:translateY(-66.666%)}
  100%{transform:translateY(0%)}
}
@keyframes waveform{ 0%,100%{transform:scaleY(.3)} 50%{transform:scaleY(1)} }
@keyframes blobMorph{
  0%,100%{border-radius:60% 40% 70% 30%/50% 60% 40% 70%}
  50%    {border-radius:30% 70% 40% 60%/60% 30% 70% 40%}
}

/* ── Scroll Reveal ── */
.reveal       { opacity:0; transform:translateY(40px);  transition:opacity .7s ease,transform .7s ease; }
.reveal-left  { opacity:0; transform:translateX(-40px); transition:opacity .7s ease,transform .7s ease; }
.reveal-right { opacity:0; transform:translateX(40px);  transition:opacity .7s ease,transform .7s ease; }
.reveal.visible,.reveal-left.visible,.reveal-right.visible { opacity:1; transform:none; }

/* ── Navigation ── */
.navbar {
  position: fixed; top:0; left:0; right:0;
  height: var(--nav-height); z-index: 100;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(7,7,7,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em;
}
.nav-logo span { color: var(--neon-blue); }

.nav-logo-brand {
  display: flex;
  align-items: center;
  height: 100px;
}
.brand-logo {
  height: 100px;
  max-height: 100px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.logo-white-img { display: block; }
.logo-dark-img  { display: none; }

body.light-theme .logo-white-img { display: none; }
body.light-theme .logo-dark-img  { display: block; }



.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-family: var(--font-accent);
  font-size: .88rem; font-weight: 500;
  color: var(--text-secondary); letter-spacing: .02em;
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:2px;
  background: var(--neon-blue);
  border-radius:1px; transition:width .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after,.nav-links a.active::after { width:100%; }

.nav-actions { display:flex; align-items:center; gap:16px; }

.hamburger {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; padding:4px; background:none; border:none;
}
.hamburger span {
  display:block; width:24px; height:2px;
  background: var(--white); border-radius:1px; transition:var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position:fixed; top:var(--nav-height); left:0; right:0; bottom:0;
  background: rgba(7,7,7,.98);
  backdrop-filter: blur(20px);
  z-index:99; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:40px;
  transform:translateX(100%); transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform:translateX(0); }
.mobile-menu a {
  font-family:var(--font-display); font-size:2rem; font-weight:700;
  color:var(--text-secondary); transition:var(--transition);
}
.mobile-menu a:hover { color:var(--neon-blue); }

/* ── Footer ── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3,1fr);
  gap: 60px; margin-bottom: 60px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: .9rem; margin:16px 0 24px;
  max-width:280px; line-height:1.7;
}
.footer-socials { display:flex; gap:12px; }
.social-icon {
  width:40px; height:40px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display:flex; align-items:center; justify-content:center;
  transition:var(--transition); color:var(--text-secondary); cursor:pointer;
}
.social-icon:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  background: rgba(0,212,255,0.08);
  transform:translateY(-2px);
}
.footer-col h4 {
  font-family:var(--font-accent); font-size:.85rem;
  font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--white); margin-bottom:20px;
}
.footer-col ul { display:flex; flex-direction:column; gap:12px; }
.footer-col ul a {
  font-size:.88rem; color:var(--text-secondary); transition:var(--transition);
}
.footer-col ul a:hover { color:var(--neon-blue); }
.footer-bottom {
  border-top:1px solid var(--border-glass); padding-top:32px;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:16px;
}
.footer-bottom p { font-size:.82rem; color:var(--text-muted); }

/* ── Custom Cursor ── */
#cursor-dot {
  position:fixed; width:8px; height:8px;
  background:var(--neon-blue); border-radius:50%;
  pointer-events:none; z-index:9999;
  transform:translate(-50%,-50%);
  transition:width .2s,height .2s,background .2s;
}
#cursor-ring {
  position:fixed; width:32px; height:32px;
  border: 1.5px solid rgba(0,212,255,0.55);
  border-radius:50%; pointer-events:none; z-index:9998;
  transform:translate(-50%,-50%);
  transition:all .12s ease;
}

/* ── Light Theme Variables ── */
body.light-theme {
  --neon-blue:    #0077b6;
  --pastel-green: #059669;
  --black:        #ffffff;
  --black-2:      #f8fafc;
  --black-3:      #e2e8f0;
  --white:        #0a0e1a;
  --white-dim:    rgba(10,14,26,0.8);
  --white-muted:  rgba(10,14,26,0.5);
  --white-faint:  rgba(0,0,0,0.04);

  --bg-primary:   #f4f6fb;
  --bg-secondary: #ffffff;
  --bg-card:      rgba(255,255,255,0.9);
  --bg-glass:     rgba(255,255,255,0.85);

  --border-glass:  rgba(0,0,0,0.08);
  --border-blue:   rgba(0,119,182,0.35);
  --border-green:  rgba(5,150,105,0.35);

  --text-primary:   #0a0e1a;
  --text-secondary: rgba(10,14,26,0.72);
  --text-muted:     rgba(10,14,26,0.48);

  --glow-blue:   0 8px 30px rgba(0,119,182,0.12);
  --glow-green:  0 8px 30px rgba(5,150,105,0.12);
}

body.light-theme .navbar.scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--border-glass);
}
body.light-theme .mobile-menu {
  background: rgba(244,246,251,0.98);
}
body.light-theme .glass-card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
body.light-theme .btn-primary {
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(0,119,182,0.25);
}
body.light-theme .btn-primary:hover {
  color: #ffffff;
}

/* ── Theme Toggle Switch ── */
.theme-toggle-btn {
  background: var(--bg-glass);
  border: 1.5px solid var(--border-glass);
  border-radius: 100px;
  padding: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  outline: none;
  position: relative;
}
.theme-toggle-btn:hover {
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}
.toggle-track {
  width: 48px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  position: relative;
  transition: var(--transition);
}
.toggle-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-blue);
  color: var(--black);
  position: absolute;
  top: 3px;
  left: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}
.toggle-thumb svg {
  width: 11px;
  height: 11px;
}
.sun-icon { display: none; }
.moon-icon { display: block; }

/* Light Theme Switch state */
body.light-theme .toggle-track {
  background: rgba(0, 0, 0, 0.08);
}
body.light-theme .toggle-thumb {
  transform: translateX(24px);
  background: #f59e0b;
  color: #ffffff;
}
body.light-theme .sun-icon { display: block; }
body.light-theme .moon-icon { display: none; }

/* Mobile Menu Theme Switch container */
.mobile-theme-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ── Responsive ── */
@media (max-width:1024px){
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px){
  .nav-links,.nav-actions .btn { display:none; }
  .hamburger { display:flex; }
  .footer-grid { grid-template-columns:1fr; gap:40px; }
  .section { padding:80px 0; }
}
@media (max-width:480px){ .container { padding-inline:16px; } }

