/* ============================================
   ILF SYSTEM — Institutional Levels & Flow
   Site Institucional v2 — 14/02/2026
   ============================================ */
:root {
  --bg: #060810;
  --bg2: #0a0d14;
  --bg3: #0e1118;
  --card: #111620;
  --card2: #161c28;
  --brd: #1a2030;
  --brd2: #242e40;
  --txt: #c0c8d8;
  --txt2: #8090a8;
  --dim: #4a5568;
  --grn: #00e676;
  --grn2: #00c853;
  --grn-glow: rgba(0,230,118,.12);
  --grn-glow2: rgba(0,230,118,.06);
  --red: #ff4455;
  --blu: #448aff;
  --yel: #ffd740;
  --pur: #7c4dff;
  --cyn: #18ffff;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Outfit', sans-serif;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--txt); font-family: var(--sans); line-height: 1.7; overflow-x: hidden; }
a { color: var(--grn); text-decoration: none; transition: color .25s; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: rgba(0,230,118,.2); color: #fff; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--brd2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--grn); }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 14px 0; transition: all .35s; }
.nav.scrolled { background: rgba(6,8,16,.94); backdrop-filter: blur(20px); border-bottom: 1px solid var(--brd); padding: 8px 0; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 38px; width: auto; transition: transform .3s; }
.nav-logo:hover .nav-logo-img { transform: scale(1.04); }
.nav.scrolled .nav-logo-img { height: 32px; }
.nav-links { display: flex; gap: 36px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--txt2); text-decoration: none; transition: all .25s; position: relative; letter-spacing: .3px; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: var(--grn); }
.nav-link.active::after { content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px; background: var(--grn); border-radius: 1px; box-shadow: 0 0 8px var(--grn-glow); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--txt); margin: 6px 0; transition: all .3s; border-radius: 1px; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 30% 40%, rgba(0,230,118,.07) 0%, transparent 60%), radial-gradient(ellipse 50% 40% at 70% 60%, rgba(68,138,255,.04) 0%, transparent 50%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, transparent 70%, var(--bg) 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .035;
  background-image: linear-gradient(var(--grn) 1px, transparent 1px), linear-gradient(90deg, var(--grn) 1px, transparent 1px);
  background-size: 80px 80px; animation: gridDrift 25s linear infinite; }
@keyframes gridDrift { to { background-position: 80px 80px; } }
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.hero-particle { position: absolute; width: 2px; height: 2px; background: var(--grn); border-radius: 50%; opacity: 0; animation: particleFloat 6s ease-in-out infinite; }
.hero-particle:nth-child(1) { left: 15%; top: 30%; animation-delay: 0s; }
.hero-particle:nth-child(2) { left: 45%; top: 20%; animation-delay: 1.2s; }
.hero-particle:nth-child(3) { left: 75%; top: 50%; animation-delay: 2.4s; }
.hero-particle:nth-child(4) { left: 85%; top: 25%; animation-delay: 3.6s; }
.hero-particle:nth-child(5) { left: 25%; top: 65%; animation-delay: 4.8s; }
.hero-particle:nth-child(6) { left: 60%; top: 70%; animation-delay: 1s; }
@keyframes particleFloat { 0%,100% { opacity:0; transform:translateY(0) scale(1); } 50% { opacity:.6; transform:translateY(-40px) scale(2); } }

.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 160px 28px 100px; }
.hero-logo { height: 64px; width: auto; margin-bottom: 32px; animation: fadeInUp .8s ease both; filter: drop-shadow(0 4px 20px rgba(0,230,118,.15)); }
.hero-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 4px; color: var(--grn); text-transform: uppercase; margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid rgba(0,230,118,.2); border-radius: 5px;
  background: rgba(0,230,118,.04); animation: fadeInUp .8s ease .1s both; }
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grn); box-shadow: 0 0 8px var(--grn); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.4; } }
.hero-title { font-size: clamp(38px,5.5vw,68px); font-weight: 800; color: #fff; line-height: 1.08; margin-bottom: 24px; max-width: 750px; animation: fadeInUp .8s ease .2s both; }
.hero-title .accent { background: linear-gradient(135deg, var(--grn), var(--cyn)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: clamp(15px,1.8vw,19px); color: var(--txt2); max-width: 560px; line-height: 1.7; margin-bottom: 40px; animation: fadeInUp .8s ease .35s both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInUp .8s ease .5s both; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 7px; font-weight: 600; font-size: 14px;
  transition: all .3s; cursor: pointer; border: none; text-decoration: none; font-family: var(--sans); letter-spacing: .3px; }
.btn-primary { background: linear-gradient(135deg, var(--grn2), var(--grn)); color: #060810; box-shadow: 0 4px 20px rgba(0,230,118,.2); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,230,118,.35); color: #060810; }
.btn-outline { background: transparent; border: 1px solid var(--brd2); color: #fff; }
.btn-outline:hover { border-color: var(--grn); color: var(--grn); transform: translateY(-3px); }

/* ===== TICKER ===== */
.ticker { background: var(--card); border-top: 1px solid var(--brd); border-bottom: 1px solid var(--brd); overflow: hidden; padding: 11px 0; }
.ticker-inner { display: flex; gap: 48px; animation: tickerScroll 35s linear infinite; white-space: nowrap; }
.ticker-item { font-family: var(--mono); font-size: 11px; color: var(--dim); display: flex; align-items: center; gap: 6px; }
.ticker-item .g { color: var(--grn); } .ticker-item .sep { color: var(--brd2); }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
.section { padding: 100px 28px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--grn); text-transform: uppercase; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px; }
.section-tag::before { content: ''; width: 20px; height: 1px; background: var(--grn); }
.section-title { font-size: clamp(28px,4vw,46px); font-weight: 800; color: #fff; line-height: 1.12; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--txt2); max-width: 580px; line-height: 1.7; margin-bottom: 50px; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 16px; }
.feature-card { background: var(--card); border: 1px solid var(--brd); border-radius: 14px; padding: 32px; transition: all .35s; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent, var(--grn), transparent); opacity: 0; transition: opacity .35s; }
.feature-card:hover { border-color: var(--brd2); transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--grn-glow); border: 1px solid rgba(0,230,118,.1);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; color: var(--grn); }
.feature-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-text { font-size: 14px; color: var(--txt2); line-height: 1.75; }

/* ===== STATS ===== */
.stats-section { background: var(--card); border-top: 1px solid var(--brd); border-bottom: 1px solid var(--brd); position: relative; overflow: hidden; }
.stats-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(0,230,118,.04) 0%, transparent 60%); }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; padding: 60px 28px; position: relative; }
.stat-item { text-align: center; }
.stat-value { font-family: var(--mono); font-size: clamp(32px,4vw,50px); font-weight: 700; margin-bottom: 6px;
  background: linear-gradient(135deg, var(--grn), var(--cyn)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 1.5px; }

/* ===== SPLIT LAYOUT ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-visual { position: relative; }

/* ===== TERMINAL ===== */
.terminal { background: var(--bg2); border: 1px solid var(--brd); border-radius: 12px; overflow: hidden; font-family: var(--mono); font-size: 11.5px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.terminal-bar { padding: 10px 16px; background: var(--bg3); border-bottom: 1px solid var(--brd); display: flex; gap: 7px; align-items: center; }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.r { background: #ff5f57; } .terminal-dot.y { background: #febc2e; } .terminal-dot.g { background: #28c840; }
.terminal-label { font-family: var(--mono); font-size: 10px; color: var(--dim); margin-left: 10px; letter-spacing: .5px; }
.terminal-body { padding: 20px; line-height: 1.9; color: var(--dim); }
.terminal-body .grn { color: var(--grn); } .terminal-body .red { color: var(--red); }
.terminal-body .yel { color: var(--yel); } .terminal-body .blu { color: var(--blu); }
.terminal-body .wht { color: #fff; } .terminal-body .cyn { color: var(--cyn); }
.terminal-cursor { display: inline-block; width: 8px; height: 14px; background: var(--grn); animation: blink 1s step-end infinite; vertical-align: middle; margin-left: 2px; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* ===== PILLARS ===== */
.pillars { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 16px; }
.pillar { background: var(--card); border: 1px solid var(--brd); border-radius: 14px; padding: 30px; text-align: center; transition: all .35s; }
.pillar:hover { border-color: rgba(0,230,118,.25); transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.pillar-num { font-family: var(--mono); font-size: 40px; font-weight: 700; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--grn), var(--cyn)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.pillar-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.pillar-text { font-size: 13px; color: var(--txt2); line-height: 1.7; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 44px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, var(--grn), var(--brd)); }
.timeline-step { position: relative; margin-bottom: 36px; }
.timeline-step:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -44px; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--bg);
  border: 2px solid var(--grn); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--grn); box-shadow: 0 0 12px var(--grn-glow); }
.timeline-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.timeline-text { font-size: 14px; color: var(--txt2); line-height: 1.7; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 16px; }
.testimonial { background: var(--card); border: 1px solid var(--brd); border-radius: 14px; padding: 30px; position: relative; transition: all .3s; }
.testimonial:hover { border-color: var(--brd2); transform: translateY(-3px); }
.testimonial-quote { position: absolute; top: 16px; left: 22px; font-size: 52px; color: var(--grn); opacity: .15; font-family: Georgia,serif; line-height: 1; }
.testimonial-text { font-size: 14px; color: var(--txt); line-height: 1.75; margin-bottom: 18px; font-style: italic; padding-top: 16px; }
.testimonial-author { font-family: var(--mono); font-size: 11px; color: var(--grn); margin-bottom: 2px; }
.testimonial-role { font-size: 11px; color: var(--dim); }

/* ===== CTA ===== */
.cta-section { background: var(--card); border-top: 1px solid var(--brd); border-bottom: 1px solid var(--brd); text-align: center; padding: 80px 28px; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(0,230,118,.06) 0%, transparent 50%); }
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-size: clamp(24px,3.5vw,38px); font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-sub { font-size: 16px; color: var(--txt2); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 7px; font-family: var(--mono); }
.form-input, .form-textarea { width: 100%; padding: 13px 16px; background: var(--bg); border: 1px solid var(--brd); border-radius: 7px; color: #fff; font-size: 14px;
  font-family: var(--sans); transition: all .25s; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--grn); box-shadow: 0 0 0 3px var(--grn-glow); }
.form-textarea { min-height: 140px; resize: vertical; }

/* ===== FOOTER ===== */
.footer { background: var(--bg2); border-top: 1px solid var(--brd); padding: 60px 28px 30px; position: relative; }
.footer-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 400px; height: 1px; background: linear-gradient(90deg, transparent, var(--grn), transparent); opacity: .4; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo-img { height: 36px; width: auto; margin-bottom: 14px; opacity: .8; }
.footer-desc { font-size: 13px; color: var(--dim); line-height: 1.65; }
.footer-col h4 { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 16px; font-family: var(--mono); }
.footer-col a, .footer-col span { display: block; font-size: 13px; color: var(--txt2); margin-bottom: 9px; text-decoration: none; }
.footer-col a:hover { color: var(--grn); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--brd); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom small { font-size: 11px; color: var(--dim); }
.footer-disclaimer { max-width: 480px; text-align: right; line-height: 1.5; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay:.1s; } .reveal-d2 { transition-delay:.2s; }
.reveal-d3 { transition-delay:.3s; } .reveal-d4 { transition-delay:.4s; }

/* ===== RESPONSIVE ===== */
@media(max-width:960px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media(max-width:640px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(6,8,16,.97); backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px 28px; gap: 18px; border-bottom: 1px solid var(--brd); }
  .nav-links.open { display: flex; }
  .hero-content { padding: 120px 20px 60px; }
  .section { padding: 60px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; max-width: 100%; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
