/* ═══════════════════════════════════════════════════════════════
   LEANOTUMS PROJECTS — SHARED STYLESHEET
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #5F9EA0;
  --teal-light:  #7DBFC1;
  --teal-dim:    #2B6B6D;
  --deep:        #002F31;
  --bg:          #080c0c;
  --bg2:         #0c1212;
  --bg3:         #121919;
  --bg4:         #182020;
  --border:      rgba(95,158,160,0.2);
  --text:        #EDF4F4;
  --text-dim:    #8AACAD;
  --text-faint:  #3D6667;
  --ff-display:  'Bebas Neue', sans-serif;
  --ff-head:     'Rajdhani', sans-serif;
  --ff-body:     'DM Sans', sans-serif;
  --glow:        0 0 30px rgba(95,158,160,0.4), 0 0 80px rgba(95,158,160,0.15);
  --glow-sm:     0 0 14px rgba(95,158,160,0.45);
  --ease-out:    cubic-bezier(0.16,1,0.3,1);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--ff-body); font-size: 16px; line-height: 1.65; overflow-x: hidden; cursor: none; }
::selection { background: var(--teal); color: var(--deep); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Cursor */
#cursor-dot, #cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99999; border-radius: 50%; transform: translate(-50%,-50%); transition: opacity 0.3s; }
#cursor-dot { width: 8px; height: 8px; background: var(--teal); box-shadow: var(--glow-sm); }
#cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(95,158,160,0.5); transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s; }
body.cursor-hover #cursor-ring { width: 60px; height: 60px; background: rgba(95,158,160,0.06); border-color: var(--teal); }

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

/* Noise */
body::before { content: ''; position: fixed; inset: 0; z-index: 9998; pointer-events: none; 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='1'/%3E%3C/svg%3E"); opacity: 0.022; }

/* Progress */
#scroll-progress { position: fixed; top: 0; left: 0; z-index: 9000; height: 2px; width: 0%; background: linear-gradient(90deg, var(--teal), var(--teal-light)); transition: width 0.1s linear; box-shadow: var(--glow-sm); }

/* NAV */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 8000; padding: 20px 48px; display: flex; align-items: center; justify-content: space-between; transition: background 0.4s, padding 0.4s; }
#navbar.scrolled { padding: 12px 48px; background: rgba(8,12,12,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-logo { font-family: var(--ff-display); font-size: 28px; letter-spacing: 3px; color: var(--text); }
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-family: var(--ff-head); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); position: relative; padding-bottom: 4px; transition: color 0.3s; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--teal); transition: width 0.3s var(--ease-out); }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { font-family: var(--ff-head); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 10px 24px; border: 1px solid var(--teal); color: var(--teal); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.nav-cta:hover { background: var(--teal); color: var(--deep); box-shadow: var(--glow); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 28px; height: 2px; background: var(--text); transition: transform 0.4s, opacity 0.4s, background 0.3s; }
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--teal); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--teal); }
#mobile-menu { position: fixed; inset: 0; z-index: 7000; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; transform: translateX(100%); transition: transform 0.5s var(--ease-out); }
#mobile-menu.open { transform: translateX(0); }
#mobile-menu a { font-family: var(--ff-display); font-size: clamp(36px,8vw,64px); letter-spacing: 4px; color: var(--text-dim); transition: color 0.3s; }
#mobile-menu a:hover { color: var(--teal); }
#mobile-menu .menu-contact { margin-top: 20px; font-family: var(--ff-head); font-size: 14px; letter-spacing: 2px; color: var(--text-faint); text-transform: uppercase; }

/* PAGE HERO BANNER */
.page-hero { position: relative; height: 320px; display: flex; align-items: flex-end; padding-bottom: 56px; overflow: hidden; margin-top: 0; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.3) grayscale(20%); transform: scale(1.05); animation: heroKen 20s linear infinite alternate; }
@keyframes heroKen { from { transform: scale(1.0); } to { transform: scale(1.08); } }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,12,12,0.85) 0%, rgba(8,12,12,0.5) 100%); }
.page-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(95,158,160,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(95,158,160,0.05) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-tag { font-family: var(--ff-head); font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.page-hero-tag::before { content: ''; width: 32px; height: 1px; background: var(--teal); }
.page-hero h1 { font-family: var(--ff-display); font-size: clamp(48px,7vw,96px); letter-spacing: 3px; line-height: 1; color: var(--text); }
.page-hero h1 span { color: var(--teal); }
.breadcrumb-bar { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.breadcrumb-bar a { font-family: var(--ff-head); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-faint); transition: color 0.3s; }
.breadcrumb-bar a:hover { color: var(--teal); }
.breadcrumb-bar span { color: var(--text-faint); font-size: 10px; }

/* SECTION COMMONS */
section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section-label { font-family: var(--ff-head); font-size: 11px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-label::before { content: ''; width: 32px; height: 1px; background: var(--teal); }
.section-title { font-family: var(--ff-display); font-size: clamp(40px,6vw,72px); line-height: 1; letter-spacing: 2px; color: var(--text); margin-bottom: 20px; }
.section-title .stroke { -webkit-text-stroke: 1px var(--teal); color: transparent; }
.section-desc { font-size: 16px; color: var(--text-dim); max-width: 520px; line-height: 1.7; }

/* Reveals */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* BUTTONS */
.btn-primary { font-family: var(--ff-head); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; padding: 16px 40px; background: var(--teal); color: var(--deep); border: none; cursor: pointer; position: relative; overflow: hidden; transition: box-shadow 0.3s, transform 0.2s; clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px)); display: inline-block; }
.btn-primary:hover { box-shadow: var(--glow); transform: translateY(-2px); color: var(--deep); }
.btn-outline { font-family: var(--ff-head); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; padding: 15px 36px; background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.2); cursor: pointer; transition: border-color 0.3s, color 0.3s; display: inline-block; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* STATS */
.stats-strip { padding: 80px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.stats-strip::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(95,158,160,0.07) 0%, transparent 70%); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.stat-card { padding: 48px 32px; text-align: center; background: var(--bg3); border: 1px solid var(--border); position: relative; overflow: hidden; transition: border-color 0.3s, background 0.3s; }
.stat-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.stat-card:hover { border-color: rgba(95,158,160,0.4); background: rgba(95,158,160,0.03); }
.stat-card:hover::after { transform: scaleX(1); }
.stat-number { font-family: var(--ff-display); font-size: clamp(56px,6vw,80px); color: var(--teal); line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.stat-number .plus { font-size: 0.5em; }
.stat-label { font-family: var(--ff-head); font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); margin-top: 8px; }
.stat-icon { font-size: 32px; color: rgba(95,158,160,0.12); position: absolute; top: 16px; right: 16px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 56px; }
.faq-item { background: var(--bg3); border: 1px solid var(--border); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(95,158,160,0.4); }
.faq-question { width: 100%; padding: 24px 28px; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
.faq-question span { font-family: var(--ff-head); font-size: 16px; font-weight: 600; color: var(--text); transition: color 0.3s; }
.faq-item.open .faq-question span { color: var(--teal); }
.faq-icon { width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--teal); font-size: 12px; transition: transform 0.3s, background 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--teal); color: var(--deep); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out); }
.faq-answer-inner { padding: 0 28px 24px; font-size: 14px; color: var(--text-dim); line-height: 1.7; }

/* CTA BAND */
.cta-band { padding: 80px 0; background: var(--teal); position: relative; overflow: hidden; }
.cta-band::before { content: 'BUILD'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-family: var(--ff-display); font-size: clamp(120px,18vw,240px); color: rgba(0,47,49,0.1); line-height: 1; pointer-events: none; user-select: none; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text .section-label { color: rgba(0,47,49,0.6); }
.cta-text .section-label::before { background: rgba(0,47,49,0.5); }
.cta-text h2 { font-family: var(--ff-display); font-size: clamp(36px,5vw,64px); color: var(--deep); letter-spacing: 2px; line-height: 1.1; }
.btn-dark { font-family: var(--ff-head); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; padding: 18px 44px; background: var(--deep); color: var(--teal); border: 2px solid var(--deep); cursor: pointer; transition: background 0.3s, color 0.3s; white-space: nowrap; display: inline-block; }
.btn-dark:hover { background: transparent; color: var(--deep); }

/* TICKER */
.ticker-wrap { background: var(--teal); overflow: hidden; padding: 10px 0; white-space: nowrap; }
.ticker-track { display: inline-block; animation: ticker 30s linear infinite; }
.ticker-track span { font-family: var(--ff-head); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--deep); padding: 0 40px; }
.ticker-track span::before { content: '◆'; margin-right: 40px; opacity: 0.4; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* FOOTER */
#footer { background: #030505; border-top: 1px solid var(--border); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.8fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--border); }
.footer-brand .nav-logo { font-size: 32px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-faint); line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text-faint); transition: border-color 0.3s, color 0.3s; }
.footer-social a:hover { border-color: var(--teal); color: var(--teal); }
.footer-col h4 { font-family: var(--ff-head); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--text); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--text-faint); margin-bottom: 12px; line-height: 1.5; transition: color 0.3s; }
.footer-col a:hover { color: var(--teal); }
.footer-col i { color: var(--teal); margin-right: 8px; font-size: 12px; }
.footer-newsletter input { width: 100%; padding: 12px 16px; background: var(--bg3); border: 1px solid var(--border); color: var(--text); font-family: var(--ff-body); font-size: 14px; outline: none; margin-bottom: 8px; transition: border-color 0.3s; }
.footer-newsletter input:focus { border-color: var(--teal); }
.footer-newsletter button { width: 100%; padding: 12px; background: var(--teal); color: var(--deep); border: none; cursor: pointer; font-family: var(--ff-head); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; transition: background 0.3s; }
.footer-newsletter button:hover { background: var(--teal-light); }
.footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 12px; color: var(--text-faint); letter-spacing: 1px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 12px; color: var(--text-faint); letter-spacing: 1px; transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--teal); }

/* BACK TO TOP */
#back-top { position: fixed; bottom: 32px; right: 32px; z-index: 5000; width: 44px; height: 44px; background: var(--teal); color: var(--deep); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; opacity: 0; transform: translateY(20px); transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s; clip-path: polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px)); }
#back-top.show { opacity: 1; transform: translateY(0); }
#back-top:hover { box-shadow: var(--glow); }

/* MOBILE */
@media (max-width: 900px) {
  #navbar { padding: 16px 24px; }
  #navbar.scrolled { padding: 12px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-inner { flex-direction: column; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #back-top { bottom: 20px; right: 20px; }
  .page-hero { height: 240px; padding-bottom: 36px; }
}
