/* ===================================================
   AROWANA — Dark Cinematic Single-Page Site
   =================================================== */

:root {
  --bg:        #07070b;
  --bg-soft:   #0e0e16;
  --bg-card:   #14141f;
  --line:      rgba(255,255,255,0.08);
  --text:      #efe7da;
  --text-dim:  #a89b88;
  --accent:       #c87d4a;   /* copper — the action accent */
  --accent-2:     #bda88a;   /* warm sand-bronze — secondary tone */
  --accent-glow:  rgba(200,125,74,0.5);
  --accent-light: #e0a06a;   /* lighter copper for gradients */
  --radius:    18px;
  --maxw:      1180px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.15; font-weight: 700; }

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

section { position: relative; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Sora', sans-serif;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 10px 30px -8px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -8px var(--accent-glow); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent-2); }

/* ===================================================
   TOP MENU
   =================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(7,7,11,0.82);
  backdrop-filter: blur(14px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-mark { color: var(--accent-2); transform: rotate(0deg); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: color .2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent-2);
  transition: width .25s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
/* active section — set by scrollspy / on click */
.nav-links a.active { color: var(--text); }
.nav-links a:not(.nav-cta).active::after { width: 100%; background: var(--accent); }
.nav-cta {
  border: 1px solid var(--line);
  padding: 9px 20px;
  border-radius: 100px;
  color: var(--text) !important;
}
.nav-cta.active { background: var(--accent); border-color: var(--accent); }
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: .3s; border-radius: 2px; }

/* ===================================================
   1. HERO / HEADER — animated CSS background
   =================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
/* layered background */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, #241a12 0%, #100c09 58%, #07070b 100%);
}
/* slow-rotating copper/cream conic glow */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 170vmax; height: 170vmax;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(200,125,74,0.16) 55deg,
    transparent 130deg,
    rgba(239,231,218,0.10) 215deg,
    transparent 310deg);
  animation: spinGlow 40s linear infinite;
}
@keyframes spinGlow { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* drifting tech grid — copper lines that pulse */
.grid-layer {
  position: absolute; inset: -50%;
  background-image:
    linear-gradient(rgba(200,125,74,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,125,74,0.15) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(58deg);
  transform-origin: 50% 100%;
  animation: gridMove 14s linear infinite, gridPulse 6s ease-in-out infinite;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 0 56px; } }
@keyframes gridPulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* floating copper/cream orbs that drift and pulse */
.orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.orb-1 { width: 440px; height: 440px; background: #c87d4a; opacity: 0.32; top: -90px; left: -110px; animation: float1 18s ease-in-out infinite, pulse 10s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; background: #9a5e34; opacity: 0.34; bottom: -130px; right: -90px; animation: float2 22s ease-in-out infinite, pulse 13s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; background: #efe7da; opacity: 0.12; top: 38%; left: 56%; animation: float1 26s ease-in-out infinite reverse, pulse 16s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(70px,46px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-56px,-44px); } }
@keyframes pulse  { 0%,100% { filter: blur(80px) brightness(1); } 50% { filter: blur(62px) brightness(1.4); } }

/* drifting particles — copper + cream sparks rising through the header */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  bottom: -40px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c87d4a;
  box-shadow: 0 0 10px rgba(200,125,74,0.7), 0 0 22px rgba(200,125,74,0.35);
  opacity: 0;
  will-change: transform, opacity;
  animation: particleRise linear infinite, particleTwinkle ease-in-out infinite;
}
/* cream variant — softer, dust-like */
.particle.p3, .particle.p7, .particle.p11, .particle.p15, .particle.p18 {
  background: #efe7da;
  box-shadow: 0 0 8px rgba(239,231,218,0.6), 0 0 18px rgba(239,231,218,0.3);
}
/* lighter copper / sand-bronze variant */
.particle.p2, .particle.p6, .particle.p10, .particle.p14 {
  background: #e0a06a;
  box-shadow: 0 0 10px rgba(224,160,106,0.65), 0 0 20px rgba(224,160,106,0.3);
}
/* place each particle along the width with its own size, duration, delay, drift */
.particle.p1  { left: 4%;  width: 5px;  height: 5px;  animation-duration: 16s, 4.5s; animation-delay: 0s,    0s;    --drift: 30px; }
.particle.p2  { left: 9%;  width: 7px;  height: 7px;  animation-duration: 22s, 6s;   animation-delay: -3s,   -1s;   --drift: -40px; }
.particle.p3  { left: 14%; width: 3px;  height: 3px;  animation-duration: 19s, 5s;   animation-delay: -7s,   -2s;   --drift: 22px; }
.particle.p4  { left: 19%; width: 6px;  height: 6px;  animation-duration: 24s, 5.5s; animation-delay: -11s,  -3s;   --drift: -28px; }
.particle.p5  { left: 24%; width: 4px;  height: 4px;  animation-duration: 17s, 4s;   animation-delay: -2s,   -0.5s; --drift: 36px; }
.particle.p6  { left: 30%; width: 8px;  height: 8px;  animation-duration: 26s, 6.5s; animation-delay: -14s,  -2.5s; --drift: -34px; }
.particle.p7  { left: 36%; width: 3px;  height: 3px;  animation-duration: 18s, 4.8s; animation-delay: -5s,   -1.5s; --drift: 26px; }
.particle.p8  { left: 42%; width: 6px;  height: 6px;  animation-duration: 21s, 5.2s; animation-delay: -9s,   -3.5s; --drift: -32px; }
.particle.p9  { left: 48%; width: 5px;  height: 5px;  animation-duration: 23s, 6s;   animation-delay: -13s,  -1s;   --drift: 42px; }
.particle.p10 { left: 54%; width: 7px;  height: 7px;  animation-duration: 19s, 4.5s; animation-delay: -4s,   -2s;   --drift: -24px; }
.particle.p11 { left: 60%; width: 3px;  height: 3px;  animation-duration: 25s, 5.5s; animation-delay: -16s,  -0.8s; --drift: 30px; }
.particle.p12 { left: 66%; width: 6px;  height: 6px;  animation-duration: 20s, 4.2s; animation-delay: -6s,   -2.8s; --drift: -38px; }
.particle.p13 { left: 72%; width: 4px;  height: 4px;  animation-duration: 22s, 5.6s; animation-delay: -10s,  -1.2s; --drift: 28px; }
.particle.p14 { left: 78%; width: 7px;  height: 7px;  animation-duration: 17s, 4.8s; animation-delay: -1s,   -3s;   --drift: -30px; }
.particle.p15 { left: 84%; width: 3px;  height: 3px;  animation-duration: 24s, 6.2s; animation-delay: -12s,  -0.4s; --drift: 36px; }
.particle.p16 { left: 89%; width: 6px;  height: 6px;  animation-duration: 18s, 4.5s; animation-delay: -8s,   -2.2s; --drift: -26px; }
.particle.p17 { left: 94%; width: 5px;  height: 5px;  animation-duration: 21s, 5s;   animation-delay: -15s,  -1.6s; --drift: 32px; }
.particle.p18 { left: 98%; width: 3px;  height: 3px;  animation-duration: 26s, 6.4s; animation-delay: -3.5s, -2.4s; --drift: -22px; }

@keyframes particleRise {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(var(--drift, 0), calc(-100vh - 80px)); }
}
@keyframes particleTwinkle {
  0%, 100% { opacity: 0; }
  15%      { opacity: 0.9; }
  50%      { opacity: 0.55; }
  85%      { opacity: 0.8; }
}

@media (prefers-reduced-motion: reduce) {
  .particle { animation: none; opacity: 0; }
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 26px;
  font-weight: 600;
  animation: fadePulse 4.5s ease-in-out infinite;
}
@keyframes fadePulse { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }

.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  color: #f1f2f5;
  text-shadow: 0 2px 34px rgba(0,0,0,0.6);
}
/* flowing copper shimmer with a cream glint across the highlighted word */
.hero-title .accent {
  background: linear-gradient(110deg,
    #9a5e34 0%, #c87d4a 30%, #e0a06a 55%, #efe7da 80%, #c87d4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 38px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* keep the header primary button flat (no glow) */
.hero .btn-primary { box-shadow: none; }
.hero .btn-primary:hover { box-shadow: none; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(200,125,74,0.45);
  border-radius: 14px;
  z-index: 2;
  animation: cuePulse 2.4s ease-in-out infinite;
}
@keyframes cuePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,125,74,0); }
  50%     { box-shadow: 0 0 18px 2px rgba(200,125,74,0.32); }
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; margin-left: -3px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(16px); opacity: 0; } }

/* ===================================================
   SHARED SECTION LAYOUT
   =================================================== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 120px 40px; }
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-intro { color: var(--text-dim); font-size: 1.05rem; }

/* ===================================================
   2. TEAM — carousel slider
   =================================================== */
.team { text-align: left; }

.carousel { position: relative; }

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.carousel-track {
  display: flex;
  transition: transform .65s cubic-bezier(.65,0,.2,1);
}
.member-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 470px;
  background: var(--bg-card);
}
.member-photo { position: relative; overflow: hidden; }
.member-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.member-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 60px;
}
.member-count {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 18px;
}
.member-info h3 { font-size: clamp(2rem, 4vw, 2.8rem); }
.member-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 6px 0 22px;
}
.member-bio { color: var(--text-dim); font-size: 1.02rem; max-width: 480px; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(14,14,22,0.88);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .2s ease;
  z-index: 4;
}
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); }
.carousel-btn:active { transform: translateY(-50%) scale(0.92); }
.carousel-btn.prev { left: -26px; }
.carousel-btn.next { right: -26px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.carousel-dot {
  width: 38px; height: 5px;
  border-radius: 4px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.14);
  cursor: pointer;
  transition: background .3s ease;
}
.carousel-dot.active { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ===================================================
   WHY THE NAME "AROWANA"
   =================================================== */
.why-name { text-align: left; }
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.why-text h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.why-lead {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 18px;
}
.why-body { color: var(--text-dim); margin-bottom: 16px; }
.why-traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.trait-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .3s ease, border-color .3s ease;
}
.trait-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.trait-mark {
  display: inline-block;
  font-size: 1.7rem;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.trait-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.trait-card p { color: var(--text-dim); font-size: 0.92rem; }

/* ===================================================
   3. ROADMAP & HISTORY — timeline
   =================================================== */
.roadmap { text-align: left; }
.timeline { position: relative; padding-left: 8px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2));
}
.timeline-item {
  position: relative;
  padding-left: 46px;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent-2);
  box-shadow: 0 0 0 5px rgba(200,125,74,0.16);
}
.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  transition: transform .3s ease, border-color .3s ease;
}
.timeline-card:hover { transform: translateX(8px); border-color: var(--accent); }
.timeline-year {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
}
.timeline-card h3 { font-size: 1.3rem; margin: 8px 0 8px; }
.timeline-card p { color: var(--text-dim); }

/* ===================================================
   4 & 5. SOFTWARE SECTIONS
   =================================================== */
.software {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: left;
}
.software-right .software-text { order: 2; }
.software-text h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 8px; }
.software-tagline { color: var(--text); font-size: 1.15rem; font-weight: 500; margin-bottom: 16px; }
.software-desc { color: var(--text-dim); margin-bottom: 22px; }
.software-features { list-style: none; margin-bottom: 30px; }
.software-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-dim);
}
.software-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

/* App Store / Google Play download buttons */
.store-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.1;
  padding: 10px 22px;
  text-align: left;
}
.store-btn .store-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 3px;
}
.store-btn .store-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* fake product mockups */
.software-visual { display: flex; justify-content: center; }
.mockup {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9);
  transition: transform .4s ease;
}
.mockup:hover { transform: translateY(-8px); }
.mockup-bar {
  display: flex; gap: 7px;
  padding: 13px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.mockup-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2c2c3c; }
.mockup-bar span:first-child { background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }
.mockup-body { padding: 24px; }

/* Aurora mockup */
.mk-row { display: flex; gap: 10px; margin-bottom: 18px; }
.mk-chip { width: 70px; height: 26px; border-radius: 8px; background: rgba(255,255,255,0.07); }
.mk-chip.alt { background: var(--accent); width: 90px; }
.mk-block { height: 120px; border-radius: 12px; background: linear-gradient(135deg, rgba(200,125,74,0.34), rgba(189,168,138,0.22)); margin-bottom: 18px; }
.mk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-grid div { height: 70px; border-radius: 10px; background: rgba(255,255,255,0.06); }

/* Nexus mockup */
.mk-stat-row { display: flex; gap: 12px; margin-bottom: 22px; }
.mk-stat { flex: 1; height: 56px; border-radius: 10px; background: rgba(255,255,255,0.06); border-left: 3px solid var(--accent-2); }
.mk-chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.mk-chart div {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(to top, var(--accent), var(--accent-2));
  animation: barGrow 1.2s ease both;
}
@keyframes barGrow { from { transform: scaleY(0); transform-origin: bottom; } }

.software-gallery { width: 100%; max-width: 440px; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumb {
  flex: 1; height: 70px;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: transform .3s ease;
}
.thumb:hover { transform: translateY(-5px); }
.thumb-1 { background: linear-gradient(135deg, #c87d4a, #e0a06a); }
.thumb-2 { background: linear-gradient(135deg, #bda88a, #8f7d62); }
.thumb-3 { background: linear-gradient(135deg, #c87d4a, #bda88a); }

/* ===================================================
   6. FOOTER
   =================================================== */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 80px 40px 32px;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { color: var(--text-dim); margin-top: 16px; max-width: 280px; }
.logo-footer { margin-bottom: 0; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; }
.footer-col a, .footer-addr {
  display: block;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-addr { margin-top: 6px; }
.footer-bottom {
  max-width: var(--maxw);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.86rem;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 600;
  transition: .25s ease;
}
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

/* ===================================================
   SCROLL REVEAL
   =================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .navbar { padding: 16px 22px; }
  .navbar.scrolled { padding: 12px 22px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 75%;
    max-width: 320px;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: rgba(10,10,18,0.97);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .4s ease;
  }
  .nav-links.open { transform: translateX(0); }

  .section { padding: 80px 22px; }

  .member-slide { grid-template-columns: 1fr; min-height: 0; }
  .member-photo { height: 280px; }
  .member-info { padding: 34px 28px 40px; }
  .carousel-btn { width: 46px; height: 46px; font-size: 1.4rem; }
  .carousel-btn.prev { left: 8px; }
  .carousel-btn.next { right: 8px; }

  .why-grid { grid-template-columns: 1fr; gap: 36px; }

  .software { grid-template-columns: 1fr; gap: 36px; }
  .software-right .software-text { order: 0; }
  .software-visual { order: -1; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
