/* ============================================================
   ICON TECHNOLOGIES — Design System
   ============================================================ */
:root {
  --bg: #08080a; --surface: #111113; --surface-2: #19191d;
  --border: #222228; --border-light: #2a2a32;
  --text: #e8e8ed; --text-2: #8b8b9a; --text-3: #56566a;
  --accent: #d4a012; --accent-light: #f0c040; --accent-dark: #a07800;
  --white: #f5f5f7;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1); --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration: 0.6s;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 80px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ---- Layout ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 48px; } }
.section { padding: 120px 0; }
@media (max-width: 767px) { .section { padding: 80px 0; } }

/* ---- Preloader ---- */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: flex; align-items: center; justify-content: center; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__icon { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; animation: pulse-load 1.2s var(--ease) infinite; }
@keyframes pulse-load { 0%, 100% { opacity: 0.3; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1); } }

/* ---- Navigation ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: all 0.4s var(--ease); }
.nav.scrolled { background: rgba(8,8,10,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 12px 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .nav__inner { padding: 0 40px; } }
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-icon { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }
.nav__logo-text { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; color: var(--white); }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link { font-size: 13px; font-weight: 500; letter-spacing: 0.03em; color: var(--text-2); transition: color 0.3s; }
.nav__link:hover { color: var(--white); }
.nav__link--cta { color: var(--bg); background: var(--accent); padding: 8px 20px; font-weight: 600; transition: background 0.3s, transform 0.2s; }
.nav__link--cta:hover { background: var(--accent-light); color: var(--bg); transform: translateY(-1px); }
.nav__toggle { display: none; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; }
.nav__toggle span { display: block; width: 100%; height: 1.5px; background: var(--white); transition: all 0.3s var(--ease); transform-origin: center; }
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

@media (max-width: 767px) {
  .nav__toggle { display: flex; }
  .nav__links { position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; gap: 40px; opacity: 0; visibility: hidden; transition: all 0.4s var(--ease); }
  .nav__links.open { opacity: 1; visibility: visible; }
  .nav__link { font-size: 24px; }
  .nav__link--cta { font-size: 16px; }
}

/* ---- Hero ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding: 0 0 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: hero-drift 25s ease-in-out infinite alternate; }
@keyframes hero-drift { 0% { transform: scale(1) translate(0, 0); } 50% { transform: scale(1.06) translate(-0.5%, -0.5%); } 100% { transform: scale(1.03) translate(0.3%, -0.3%); } }
.hero__overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, var(--bg) 0%, rgba(8,8,10,0.6) 40%, rgba(8,8,10,0.3) 100%); }
.hero__content { position: relative; z-index: 3; max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
@media (min-width: 768px) { .hero__content { padding: 0 40px; } }
.hero__label { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; opacity: 0; animation: fade-up 0.8s var(--ease) 0.5s forwards; }
.hero__title { font-family: var(--font-display); font-size: clamp(36px, 7vw, 72px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--white); margin-bottom: 24px; opacity: 0; animation: fade-up 0.8s var(--ease) 0.7s forwards; }
.hero__title em { font-style: normal; color: var(--accent); opacity: 0; animation: neon-flicker 2.5s var(--ease) 1.2s forwards; text-shadow: none; }
@keyframes neon-flicker {
  0% { opacity: 0; text-shadow: none; }
  4% { opacity: 1; text-shadow: 0 0 10px rgba(212,160,18,0.6), 0 0 30px rgba(212,160,18,0.3); }
  8% { opacity: 0.2; text-shadow: none; }
  12% { opacity: 1; text-shadow: 0 0 10px rgba(212,160,18,0.6), 0 0 30px rgba(212,160,18,0.3); }
  16% { opacity: 0.1; text-shadow: none; }
  22% { opacity: 1; text-shadow: 0 0 10px rgba(212,160,18,0.6), 0 0 40px rgba(212,160,18,0.3); }
  26% { opacity: 0.8; text-shadow: 0 0 5px rgba(212,160,18,0.3); }
  32% { opacity: 1; text-shadow: 0 0 10px rgba(212,160,18,0.6), 0 0 40px rgba(212,160,18,0.3), 0 0 80px rgba(212,160,18,0.15); }
  100% { opacity: 1; text-shadow: 0 0 10px rgba(212,160,18,0.4), 0 0 40px rgba(212,160,18,0.2), 0 0 80px rgba(212,160,18,0.1); }
}
.hero__sub { font-size: 16px; line-height: 1.7; color: var(--text-2); max-width: 520px; margin-bottom: 40px; opacity: 0; animation: fade-up 0.8s var(--ease) 0.9s forwards; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fade-up 0.8s var(--ease) 1.1s forwards; }
.hero__scroll { position: absolute; bottom: 40px; right: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 3; opacity: 0; animation: fade-up 0.8s var(--ease) 1.4s forwards; }
.hero__scroll span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); writing-mode: vertical-rl; }
.hero__scroll-line { width: 1px; height: 60px; background: var(--border); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--accent); animation: scroll-line 2s var(--ease) infinite; }
@keyframes scroll-line { 0% { top: -100%; } 100% { top: 100%; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 767px) { .hero { align-items: center; padding: 120px 0 60px; } .hero__scroll { display: none; } .hero__bg-img { object-position: center 20%; } .hero__title { font-size: 32px; } .hero__sub { font-size: 14px; } .hero__actions { flex-direction: column; } .hero__actions .btn { width: 100%; text-align: center; justify-content: center; } }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; padding: 14px 32px; transition: all 0.3s var(--ease); white-space: nowrap; }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn--outline { border: 1px solid var(--border-light); color: var(--text); }
.btn--outline:hover { border-color: var(--text-2); color: var(--white); }
.btn--full { width: 100%; }

/* ---- Section Headers ---- */
.section__label { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.section__label--center { text-align: center; }
.section__title { font-family: var(--font-display); font-size: clamp(28px, 4.5vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--white); }
.section__header { margin-bottom: 64px; }

/* ---- About ---- */
.about__grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 768px) { .about__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.about__text { font-size: 15px; line-height: 1.8; color: var(--text-2); margin-top: 24px; }
.about__text:first-of-type { margin-top: 32px; }
.about__stats { display: grid; grid-template-columns: 1fr; gap: 0; }
.stat { padding: 32px 0; border-bottom: 1px solid var(--border); }
.stat:first-child { border-top: 1px solid var(--border); }
.stat__number { font-family: var(--font-display); font-size: 48px; font-weight: 700; color: var(--white); letter-spacing: -0.03em; }
.stat__suffix { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--accent); }
.stat__label { display: block; font-size: 13px; color: var(--text-3); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; }

/* ---- Services ---- */
.services { background: var(--surface); }
.services__grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: 1fr 1fr 1fr; } }
.service { padding: 40px 32px; border: 1px solid var(--border); margin-top: -1px; margin-left: -1px; transition: background 0.4s var(--ease); }
.service:hover { background: var(--surface-2); }
.service__index { font-family: var(--font-display); font-size: 12px; color: var(--text-3); letter-spacing: 0.1em; margin-bottom: 24px; }
.service__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--white); margin-bottom: 16px; }
.service:hover .service__title { color: var(--accent); }
.service__desc { font-size: 14px; line-height: 1.7; color: var(--text-2); }

/* ---- Work / Portfolio ---- */
.work__filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.work__filter { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 20px; border: 1px solid var(--border); color: var(--text-3); transition: all 0.3s; }
.work__filter.active, .work__filter:hover { border-color: var(--accent); color: var(--accent); background: rgba(212,160,18,0.06); }
.work__grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 768px) { .work__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .work__grid { grid-template-columns: 1fr 1fr 1fr; } }
.work__item { position: relative; overflow: hidden; cursor: pointer; }
.work__item.hidden { display: none; }
.work__img-wrap { position: relative; padding-top: 75%; overflow: hidden; background: var(--surface); }
.work__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work__item:hover .work__img { transform: scale(1.05); }
.work__info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(to top, rgba(8,8,10,0.9) 0%, transparent 100%); transform: translateY(8px); opacity: 0; transition: all 0.4s var(--ease); }
.work__item:hover .work__info { transform: translateY(0); opacity: 1; }
.work__cat { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.work__title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--white); margin-top: 4px; }

/* ---- Clients ---- */
.clients { padding: 80px 0; overflow: hidden; }
.clients__marquee { margin-top: 32px; overflow: hidden; }
.clients__track { display: flex; gap: 48px; animation: marquee 30s linear infinite; white-space: nowrap; width: max-content; }
.clients__name { font-family: var(--font-display); font-size: clamp(18px, 3vw, 28px); font-weight: 600; color: var(--text-3); letter-spacing: -0.01em; }
.clients__sep { color: var(--accent); font-size: 12px; display: flex; align-items: center; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---- Process ---- */
.process__grid { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: none; }
@media (min-width: 768px) { .process__grid { grid-template-columns: repeat(4, 1fr); } }
.process__step { padding: 40px 24px; border-top: 1px solid var(--border); position: relative; }
@media (min-width: 768px) { .process__step { border-top: none; border-left: 1px solid var(--border); } .process__step:first-child { border-left: none; } }
.process__step::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.8s var(--ease); }
@media (min-width: 768px) { .process__step::before { height: 0; width: 2px; transition: height 0.8s var(--ease); } }
.process__step.in-view::before { width: 100%; }
@media (min-width: 768px) { .process__step.in-view::before { height: 100%; width: 2px; } }
.process__num { font-family: var(--font-display); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; display: block; margin-bottom: 20px; }
.process__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.process__desc { font-size: 14px; line-height: 1.7; color: var(--text-2); }

/* ---- Testimonials ---- */
.testimonials { background: var(--surface); }
.testimonials__slider { position: relative; max-width: 700px; }
.testimonial { display: none; }
.testimonial.active { display: block; animation: fade-in 0.5s var(--ease); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.testimonial__quote { font-family: var(--font-display); font-size: clamp(18px, 2.5vw, 24px); font-weight: 400; line-height: 1.6; color: var(--text); position: relative; padding-left: 24px; border-left: 2px solid var(--accent); }
.testimonial__author { margin-top: 32px; padding-left: 24px; }
.testimonial__name { font-size: 14px; font-weight: 600; color: var(--white); display: block; }
.testimonial__company { font-size: 13px; color: var(--text-3); }
.testimonials__nav { display: flex; gap: 8px; margin-top: 40px; padding-left: 24px; }
.testimonials__dot { width: 32px; height: 2px; background: var(--border-light); transition: all 0.3s; }
.testimonials__dot.active { background: var(--accent); width: 48px; }

/* ---- Contact ---- */
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 768px) { .contact__grid { grid-template-columns: 1.2fr 1fr; gap: 80px; } }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }
.form__group { margin-bottom: 20px; }
.form__label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 8px; }
.form__input { width: 100%; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: 14px; padding: 14px 16px; transition: border-color 0.3s; outline: none; appearance: none; -webkit-appearance: none; }
.form__input:focus { border-color: var(--accent); }
.form__input::placeholder { color: var(--text-3); }
.form__select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2356566a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form__textarea { resize: vertical; min-height: 100px; }
.contact__info { display: flex; flex-direction: column; gap: 32px; }
.contact__heading { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.contact__block p, .contact__link { font-size: 15px; color: var(--text-2); line-height: 1.7; }
.contact__link { transition: color 0.3s; }
.contact__link:hover { color: var(--accent); }
.contact__socials { display: flex; gap: 16px; }
.contact__social { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--text-2); transition: all 0.3s; }
.contact__social svg { width: 18px; height: 18px; }
.contact__social:hover { border-color: var(--accent); color: var(--accent); }
.contact__map { overflow: hidden; border: 1px solid var(--border); }

/* ---- Footer ---- */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 80px; } }
.footer__logo { width: 32px; height: 32px; object-fit: contain; border-radius: 4px; margin-bottom: 16px; }
.footer__tagline { font-size: 14px; line-height: 1.7; color: var(--text-3); max-width: 300px; }
.footer__heading { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
.footer__link { display: block; font-size: 14px; color: var(--text-2); padding: 4px 0; transition: color 0.3s; }
.footer__link:hover { color: var(--white); }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-3); }

/* ---- WhatsApp ---- */
.whatsapp { position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 900; box-shadow: 0 4px 20px rgba(37,211,102,0.3); transition: transform 0.3s var(--ease); opacity: 0; visibility: hidden; }
.whatsapp.visible { opacity: 1; visibility: visible; }
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 24px; height: 24px; fill: #fff; }

/* ---- Back to Top ---- */
.btt { position: fixed; bottom: 24px; right: 88px; width: 40px; height: 40px; background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; z-index: 900; opacity: 0; visibility: hidden; transition: all 0.3s var(--ease); }
.btt.visible { opacity: 1; visibility: visible; }
.btt:hover { border-color: var(--accent); }
.btt svg { width: 16px; height: 16px; color: var(--text-2); }

/* ---- Leadership ---- */
.leadership__card { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 48px; }
@media (max-width: 767px) { .leadership__card { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; gap: 32px; } .leadership__img-wrap { width: 220px; } .leadership__bio p { font-size: 14px; } }
.leadership__img-wrap { position: relative; width: 280px; aspect-ratio: 3/4; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 2px solid var(--border-light); }
.leadership__img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,10,0.6) 0%, transparent 40%); pointer-events: none; }
.leadership__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leadership__role { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }
.leadership__name { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--white); margin: 8px 0 4px; letter-spacing: -0.02em; }
.leadership__edu { font-size: 13px; color: var(--text-3); letter-spacing: 0.04em; margin-bottom: 24px; }
.leadership__bio p { font-size: 15px; line-height: 1.75; color: var(--text-2); margin-bottom: 16px; }
.leadership__bio p:last-child { margin-bottom: 0; }
.leadership__linkedin { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 10px 20px; border: 1px solid var(--border-light); color: var(--text-2); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; transition: all 0.3s var(--ease); border-radius: 6px; }
.leadership__linkedin:hover { border-color: #0a66c2; color: #0a66c2; }
.leadership__linkedin svg { flex-shrink: 0; }

/* ---- Reveal Animation ---- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
