/* Terrain X Adventures — Global Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─────────────────────────────────── */
:root {
  --black:       #0A0A0A;
  --dark:        #111111;
  --card:        #181818;
  --card-hover:  #1F1F1F;
  --border:      #2A2A2A;
  --lime:        #AAFF00;
  --lime-dark:   #88CC00;
  --lime-glow:   rgba(170,255,0,0.12);
  --orange:      #FF6B00;
  --orange-dark: #CC5500;
  --white:       #FFFFFF;
  --grey:        #AAAAAA;
  --muted:       #555555;

  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-heading: 'Oswald', Arial, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-width:   1200px;
  --nav-height:  72px;
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  0.3s ease;
  --shadow:      0 4px 24px rgba(0,0,0,0.5);
  --shadow-lime: 0 0 28px rgba(170,255,0,0.18);
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--black); color: var(--white); font-family: var(--font-body); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Typography ────────────────────────────────── */
h1 { font-family: var(--font-display); font-size: clamp(3rem,8vw,6rem); line-height: 1; letter-spacing: 0.02em; }
h2 { font-family: var(--font-heading); font-size: clamp(1.8rem,4vw,3rem); font-weight: 700; line-height: 1.2; }
h3 { font-family: var(--font-heading); font-size: clamp(1.1rem,2.5vw,1.5rem); font-weight: 600; }
h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; }
p { color: var(--grey); line-height: 1.75; }

.text-lime    { color: var(--lime); }
.text-orange  { color: var(--orange); }
.text-white   { color: var(--white); }
.text-muted   { color: var(--grey); }
.text-center  { text-align: center; }

/* ─── Layout ────────────────────────────────────── */
.container   { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section     { padding: 80px 0; }
.section-sm  { padding: 48px 0; }
.section-lg  { padding: 120px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ─── Section Header ────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-block; color: var(--lime); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 12px;
  padding: 5px 14px; border: 1px solid var(--lime); border-radius: 100px;
  background: var(--lime-glow);
}
.section-header h2 { color: var(--white); margin-bottom: 14px; }
.section-header p  { max-width: 540px; margin: 0 auto; }
.divider-lime { width: 48px; height: 3px; background: var(--lime); margin: 18px auto 0; border-radius: 2px; }

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: var(--radius); transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { background: var(--lime-dark); box-shadow: var(--shadow-lime); transform: translateY(-2px); }
.btn-outline  { background: transparent; color: var(--lime); border: 2px solid var(--lime); }
.btn-outline:hover  { background: var(--lime); color: var(--black); transform: translateY(-2px); }
.btn-orange   { background: var(--orange); color: var(--white); }
.btn-orange:hover   { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost    { background: transparent; color: var(--white); border: 2px solid var(--border); }
.btn-ghost:hover    { border-color: var(--lime); color: var(--lime); }
.btn-sm  { padding: 9px 18px; font-size: 0.8rem; }
.btn-lg  { padding: 17px 34px; font-size: 1rem; }

/* ─── Badges ────────────────────────────────────── */
.badge { display: inline-block; padding: 4px 11px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.badge-lime   { background: var(--lime-glow); color: var(--lime); border: 1px solid var(--lime); }
.badge-orange { background: rgba(255,107,0,0.12); color: var(--orange); border: 1px solid var(--orange); }
.badge-white  { background: rgba(255,255,255,0.08); color: var(--grey); border: 1px solid var(--border); }

/* ─── Cards ─────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all var(--transition);
}
.card:hover { border-color: var(--lime); background: var(--card-hover); transform: translateY(-4px); box-shadow: var(--shadow-lime); }

/* ─── Navbar ────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(10,10,10,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); transition: all var(--transition);
}
.navbar.scrolled { background: rgba(10,10,10,0.98); border-bottom-color: rgba(170,255,0,0.4); }
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 44px; height: 44px; border-radius: 50%; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text .brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--white); letter-spacing: 0.06em; }
.nav-logo-text .brand span { color: var(--lime); }
.nav-logo-text .tagline { font-size: 0.58rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.16em; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-heading); font-size: 0.88rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey);
  padding: 8px 12px; border-radius: var(--radius); transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--lime); }
.nav-cta { margin-left: 12px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: rgba(10,10,10,0.98); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); padding: 24px;
  z-index: 999; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey);
  padding: 14px 0; border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--lime); }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ─── Hero ──────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--black);
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 65% 45%, rgba(170,255,0,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 85%, rgba(255,107,0,0.05) 0%, transparent 45%);
  z-index: 0;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px; opacity: 0.25; z-index: 0;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-width); margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px;
  width: 100%;
}
.hero-text .label {
  display: inline-block; color: var(--lime); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 20px;
  padding: 6px 16px; border: 1px solid var(--lime); border-radius: 100px;
  background: var(--lime-glow);
}
.hero-text h1 { color: var(--white); margin-bottom: 6px; }
.hero-text h1 .accent { color: var(--lime); }
.hero-text .subtitle { font-size: 1rem; color: var(--grey); margin: 18px 0 34px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stat .number { font-family: var(--font-display); font-size: 2.2rem; color: var(--lime); line-height: 1; }
.hero-stat .label-s { font-size: 0.7rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-logo-wrap {
  width: 320px; height: 320px; border-radius: 50%;
  border: 3px solid var(--lime);
  box-shadow: 0 0 60px rgba(170,255,0,0.2), 0 0 120px rgba(170,255,0,0.08);
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at center, #1A1A1A, #050505);
  overflow: hidden;
  animation: pulseGlow 3.5s ease-in-out infinite;
}
.hero-logo-wrap img { width: 100%; height: 100%; border-radius: 50%; }
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 60px rgba(170,255,0,0.2), 0 0 120px rgba(170,255,0,0.08); }
  50%      { box-shadow: 0 0 90px rgba(170,255,0,0.35), 0 0 180px rgba(170,255,0,0.15); }
}

/* ─── Ticker ────────────────────────────────────── */
.ticker { background: var(--lime); overflow: hidden; padding: 11px 0; }
.ticker-track {
  display: flex; width: max-content;
  animation: tickerScroll 22s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-family: var(--font-heading); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--black);
  padding: 0 28px; white-space: nowrap;
}
.ticker-sep { color: #000; opacity: 0.3; padding: 0 4px; font-size: 0.7rem; align-self: center; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── Feature Cards ─────────────────────────────── */
.feature-icon {
  width: 54px; height: 54px; border-radius: var(--radius);
  background: var(--lime-glow); border: 1px solid rgba(170,255,0,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.4rem;
}
.feature-card h3 { color: var(--white); margin-bottom: 10px; }

/* ─── Product Card ──────────────────────────────── */
.product-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition);
}
.product-card:hover { border-color: var(--lime); transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.5), var(--shadow-lime); }
.product-card-image {
  height: 240px; background: #101010;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
}
.product-card-body { padding: 24px; }
.product-card-body .product-name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.3; }
.product-card-body .product-desc { font-size: 0.855rem; color: var(--grey); line-height: 1.65; margin-bottom: 16px; }
.product-card-footer { padding: 14px 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.compat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

/* ─── Stats ─────────────────────────────────────── */
.stats-section { background: var(--dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-item { text-align: center; padding: 52px 24px; }
.stat-item .stat-num { font-family: var(--font-display); font-size: 3.8rem; color: var(--lime); line-height: 1; margin-bottom: 8px; }
.stat-item .stat-label { font-family: var(--font-heading); font-size: 0.8rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.12em; }

/* ─── CTA Banner ────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #0C1800 0%, #111 55%, #0A0A0A 100%);
  border: 1px solid var(--lime); border-radius: var(--radius-lg);
  padding: 72px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(170,255,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2  { color: var(--white); margin-bottom: 16px; }
.cta-banner p   { max-width: 500px; margin: 0 auto 32px; }
.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Page Hero ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(140deg, #0D1500 0%, var(--dark) 50%, var(--black) 100%);
  padding: 100px 0 64px; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px; opacity: 0.2;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .label { display: inline-block; color: var(--lime); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 14px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(3rem,7vw,5rem); color: var(--white); margin-bottom: 16px; }
.page-hero h1 span { color: var(--lime); }
.page-hero p { max-width: 560px; font-size: 1rem; }

/* ─── About ─────────────────────────────────────── */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.brand-badge-lg {
  width: 280px; height: 280px; border-radius: 50%;
  border: 3px solid var(--lime); box-shadow: var(--shadow-lime);
  margin: 0 auto; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, #1A1A1A, #0A0A0A); overflow: hidden;
}
.brand-badge-lg img { width: 100%; height: 100%; border-radius: 50%; }
.patent-block {
  background: var(--card); border: 1px solid var(--orange);
  border-radius: var(--radius-lg); padding: 26px 30px;
  margin-top: 32px; display: flex; gap: 18px; align-items: flex-start;
}
.patent-block h4 { font-family: var(--font-heading); font-weight: 700; color: var(--orange); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.patent-block p  { font-size: 0.855rem; margin: 0; }
.mission-vision  { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }
.mv-card .mv-icon { font-size: 2rem; margin-bottom: 14px; }
.mv-card h3 { color: var(--lime); margin-bottom: 12px; }
.mv-card p  { font-size: 0.875rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon { width: 46px; height: 46px; flex-shrink: 0; background: var(--lime-glow); border: 1px solid rgba(170,255,0,0.3); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.why-item h4 { color: var(--white); margin-bottom: 5px; }
.why-item p  { font-size: 0.855rem; margin: 0; }

/* ─── Products ──────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 32px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-image-area {
  background: #0F0F0F; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  min-height: 320px; display: flex; align-items: center; justify-content: center;
}
.product-specs li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 0.89rem; color: var(--grey);
}
.product-specs li::before { content: '✓'; color: var(--lime); font-weight: 700; flex-shrink: 0; }
.product-specs li:last-child { border-bottom: none; }
.compat-section { background: var(--dark); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.compat-section h3 { color: var(--lime); margin-bottom: 20px; }
.compat-table { width: 100%; border-collapse: collapse; }
.compat-table th { text-align: left; padding: 10px 14px; font-family: var(--font-heading); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); border-bottom: 1px solid var(--lime); }
.compat-table td { padding: 11px 14px; font-size: 0.855rem; color: var(--grey); border-bottom: 1px solid var(--border); }
.compat-table tr:last-child td { border-bottom: none; }
.compat-table tr:hover td { background: var(--card); color: var(--white); }
.check { color: var(--lime); font-weight: 700; }

/* ─── Contact ───────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.contact-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: all var(--transition); margin-bottom: 16px;
}
.contact-card:last-child { margin-bottom: 0; }
.contact-card:hover { border-color: var(--lime); }
.contact-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.contact-icon.green { background: rgba(0,200,80,0.1); border: 1px solid rgba(0,200,80,0.25); }
.contact-icon.pink  { background: rgba(200,0,100,0.1); border: 1px solid rgba(200,0,100,0.25); }
.contact-icon.lime  { background: var(--lime-glow); border: 1px solid rgba(170,255,0,0.3); }
.contact-icon.blue  { background: rgba(0,120,255,0.1); border: 1px solid rgba(0,120,255,0.25); }
.contact-card h4 { color: var(--white); margin-bottom: 4px; font-size: 0.95rem; }
.contact-card .val  { font-size: 0.95rem; font-weight: 600; color: var(--lime); margin-bottom: 3px; }
.contact-card .desc { font-size: 0.78rem; color: var(--muted); margin: 0; }

.contact-form-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.contact-form-wrap h3 { color: var(--white); margin-bottom: 6px; }
.contact-form-wrap > p { color: var(--grey); font-size: 0.875rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--dark); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 13px 15px; color: var(--white);
  font-size: 0.925rem; transition: border-color var(--transition); outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-glow); }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23AAAAAA' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-group select option { background: var(--dark); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 0.77rem; color: var(--muted); margin-top: 10px; }

/* ─── Footer ────────────────────────────────────── */
.footer { background: var(--dark); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .logo-wrap img { width: 42px; height: 42px; border-radius: 50%; }
.footer-brand .brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer-brand .brand-name span { color: var(--lime); }
.footer-brand p { font-size: 0.855rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: all var(--transition);
}
.social-link:hover { border-color: var(--lime); background: var(--lime-glow); transform: translateY(-2px); }
.footer-col h4 { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 0.855rem; color: var(--muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--lime); }
.footer-col .ci { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; font-size: 0.855rem; color: var(--muted); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }
.legal-links { display: flex; gap: 20px; }
.legal-links a { font-size: 0.78rem; color: var(--muted); transition: color var(--transition); }
.legal-links a:hover { color: var(--lime); }

/* ─── Custom Design Section ─────────────────────── */
.custom-design-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
  margin-top: 48px;
}
.custom-design-text p { font-size: 0.92rem; color: var(--grey); line-height: 1.8; margin-bottom: 20px; }
.custom-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.custom-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem; color: var(--grey); font-weight: 500;
}
.custom-features li span { color: var(--lime); font-size: 0.75rem; flex-shrink: 0; }

.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid var(--border);
  position: relative;
}
.process-step:last-child { border-bottom: none; }
.process-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 900;
  color: var(--lime); opacity: 0.2; line-height: 1; flex-shrink: 0; width: 56px; text-align: right;
  transition: opacity 0.3s;
}
.process-step:hover .process-num { opacity: 0.7; }
.process-step-body h4 { color: var(--white); font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.process-step-body p { font-size: 0.85rem; color: var(--grey); line-height: 1.7; margin: 0; }

.custom-enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 48px; }
.custom-info-badge { background: var(--card); border: 1px solid rgba(170,255,0,0.2); border-radius: var(--radius-lg); padding: 32px; }
.custom-info-badge .label { display: inline-block; margin-bottom: 12px; }
.custom-info-badge h3 { font-size: 1.6rem; margin-bottom: 16px; }
.custom-info-badge p { font-size: 0.88rem; color: var(--grey); line-height: 1.8; margin: 0; }

@media (max-width: 768px) {
  .custom-design-layout { grid-template-columns: 1fr; gap: 40px; }
  .custom-enquiry-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── Scroll Fade ───────────────────────────────── */
.fade-up { opacity: 0; transform: perspective(900px) translateY(36px) rotateX(10deg); transition: opacity 0.75s cubic-bezier(0.2,0,0,1), transform 0.75s cubic-bezier(0.2,0,0,1); }
.fade-up.visible { opacity: 1; transform: perspective(900px) translateY(0) rotateX(0deg); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { width: 240px; height: 240px; }
  .hero-text .subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .products-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn-group { flex-direction: column; align-items: center; }
}

/* ─── 3D Interactive Enhancements ───────────────── */

/* Custom cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: left, top;
}
.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--lime);
  top: 0; left: 0;
  box-shadow: 0 0 10px var(--lime), 0 0 20px rgba(170,255,0,0.4);
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(170,255,0,0.5);
  top: 0; left: 0;
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.4s;
  opacity: 0;
}
body:hover .cursor-ring { opacity: 1; }
.cursor-ring.hovered {
  width: 56px;
  height: 56px;
  border-color: var(--lime);
  background: rgba(170,255,0,0.04);
}

/* Hide system cursor on fine-pointer devices */
@media (pointer: fine) {
  body, a, button, .btn, input, textarea, select { cursor: none !important; }
}

/* Scanlines overlay */
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(0,0,0,0.045) 3px, rgba(0,0,0,0.045) 4px
  );
}

/* Three.js canvas in hero */
#terrain-canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  z-index: 0; display: block; opacity: 0.6;
}

/* Hero h1 glitch */
@keyframes heroGlitch {
  0%,87%,100% { text-shadow: none; transform: none; }
  88% { text-shadow: 3px 0 var(--lime), -3px 0 var(--orange); transform: skewX(-1.5deg); }
  89% { text-shadow: -2px 0 var(--lime), 2px 0 var(--orange); transform: skewX(1deg); }
  90% { text-shadow: none; transform: none; }
  91% { text-shadow: 1.5px 0 var(--lime), -1.5px 0 var(--orange); transform: skewX(-0.5deg); }
  92% { text-shadow: none; transform: none; }
}
.hero-text h1 { animation: heroGlitch 8s infinite; }

/* Logo 3D float (extends existing pulseGlow) */
@keyframes logoFloat3d {
  0%,100% { transform: translateY(0) rotateY(0deg) rotateX(0deg); }
  25%      { transform: translateY(-16px) rotateY(8deg) rotateX(3deg); }
  50%      { transform: translateY(-22px) rotateY(0deg) rotateX(-4deg); }
  75%      { transform: translateY(-10px) rotateY(-8deg) rotateX(2deg); }
}
.hero-logo-wrap {
  animation: pulseGlow 3.5s ease-in-out infinite, logoFloat3d 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

/* 3D card tilt + shine */
.card {
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(170,255,0,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

/* Button ripple */
.btn { overflow: hidden; position: relative; }
.ripple-wave {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transform: scale(0);
  animation: rippleOut 0.7s linear forwards;
  pointer-events: none;
}
@keyframes rippleOut { to { transform: scale(4); opacity: 0; } }

/* Button glow on hover */
.btn-primary:hover { box-shadow: 0 0 24px rgba(170,255,0,0.5), 0 4px 16px rgba(0,0,0,0.35) !important; }
.btn-outline:hover  { box-shadow: 0 0 18px rgba(170,255,0,0.2) !important; }

/* Hero stat pop */
.hero-stat { transition: transform 0.25s ease; }
.hero-stat:hover { transform: translateY(-6px) scale(1.08); }

/* Feature icon bounce */
.feature-icon { transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.feature-card:hover .feature-icon { transform: scale(1.28) rotateZ(12deg); }

/* Process step slide-right */
.process-step { transition: transform 0.25s ease, border-color 0.25s ease; }
.process-step:hover { transform: translateX(10px); border-color: rgba(170,255,0,0.4); }

/* Ticker pause + glow on hover */
.ticker:hover .ticker-item { color: rgba(0,0,0,0.6); }

/* Navbar scrolled depth */
.navbar.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.75), 0 0 0 1px rgba(170,255,0,0.06); }

/* Stat item hover */
.stat-item { transition: transform 0.25s ease; }
.stat-item:hover { transform: scale(1.04); }

/* Mobile: restore native cursor, simplify */
@media (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
  body, a, button, .btn, input, textarea, select { cursor: auto !important; }
  .hero-text h1 { animation: none; }
  .hero-logo-wrap { animation: pulseGlow 3.5s ease-in-out infinite; }
}
