/* ============================================================
   TRAPEZIUM MEDIA — main.css  (Live site match)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #07070f;
  --surface:   #0f0f1a;
  --card:      #16162a;
  --border:    rgba(255,255,255,.07);
  --accent:    #a855f7;
  --accent2:   #ec4899;
  --gold:      #f59e0b;
  --green:     #10b981;
  --text:      #e4e4f0;
  --muted:     #7777aa;
  --r:         14px;
  --ease:      .35s cubic-bezier(.4,0,.2,1);
  --max:       1240px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; font-size: 16px; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

.container { width: 92%; max-width: var(--max); margin-inline: auto; }
.section   { padding: 100px 0; }

.eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .85rem;
}
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head p { color: var(--muted); }

h1 { font-size: clamp(2.4rem,5.5vw,3.8rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.7rem,3.5vw,2.7rem); font-weight: 700; line-height: 1.2; margin-bottom: .9rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
h4 { font-size: .95rem; font-weight: 700; color: var(--accent); letter-spacing: .05em; text-transform: uppercase; }
h5 { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
p  { color: var(--muted); }

.grad { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 50px;
  font-size: .88rem; font-weight: 700; cursor: pointer;
  border: 2px solid transparent; transition: var(--ease);
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.btn.primary:hover { opacity: .85; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(168,85,247,.35); }
.btn.ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.full-width { width: 100%; justify-content: center; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ═══ HEADER ═══ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 15px 0;
  background: rgba(7,7,15,.8); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--ease);
}
.site-header.scrolled { padding: 10px 0; background: rgba(7,7,15,.97); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand-mark { display: flex; align-items: center; gap: .7rem; }
.brand-mark img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: .88rem; letter-spacing: .08em; color: #fff; }
.brand-text small  { font-size: .62rem; color: var(--accent); letter-spacing: .1em; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.menu { display: flex; gap: 1.6rem; }
.menu a { font-size: .82rem; font-weight: 600; color: var(--muted); transition: color var(--ease); }
.menu a:hover, .menu a.active { color: #fff; }
.nav-cta {
  padding: .5rem 1.3rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50px; font-size: .8rem; font-weight: 700; color: #fff;
  transition: var(--ease);
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--ease); }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding-top: 80px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 65% 35%, rgba(168,85,247,.18) 0%, transparent 65%),
              radial-gradient(ellipse 55% 45% at 10% 75%, rgba(236,72,153,.12) 0%, transparent 60%),
              var(--bg);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.orb-1 { width: 400px; height: 400px; background: rgba(168,85,247,.22); top: -80px; right: 10%; }
.orb-2 { width: 300px; height: 300px; background: rgba(236,72,153,.16); bottom: 0; left: 5%; }
.orb-3 { width: 250px; height: 250px; background: rgba(16,185,129,.1); top: 40%; left: 40%; }

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; padding: 60px 0 40px;
}
.hero-copy h1 { margin-bottom: 1.2rem; }
.hero-copy > p { font-size: 1.05rem; color: var(--muted); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2rem; }
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.hero-stat span   { font-size: .75rem; color: var(--muted); }

/* Phone mockup */
.hero-visuals { position: relative; display: flex; justify-content: center; }
.phone-mockup {
  width: 290px; border-radius: 30px;
  border: 2px solid rgba(168,85,247,.45);
  overflow: hidden; position: relative; z-index: 1;
  box-shadow: 0 0 80px rgba(168,85,247,.25), 0 30px 70px rgba(0,0,0,.6);
}
.phone-mockup .swiper-slide img { width: 100%; height: 430px; object-fit: cover; background: var(--card); }

.floating-card {
  position: absolute; background: var(--card);
  border: 1px solid var(--border); border-radius: 12px;
  padding: .6rem 1rem; display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; z-index: 2;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  animation: float 3s ease-in-out infinite;
}
.floating-card i { color: var(--accent); font-size: 1rem; }
.card-1 { top: 12%; left: -20px; animation-delay: 0s; }
.card-2 { top: 48%; right: -15px; animation-delay: 1s; }
.card-3 { bottom: 10%; left: -15px; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Counter row */
.counter-row {
  display: flex; justify-content: center; gap: 0;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.counter-item {
  flex: 1; text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--border);
}
.counter-item:last-child { border-right: none; }
.counter-item strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: .2rem; }
.counter-item span { font-size: .78rem; color: var(--muted); }

/* ═══ TRUST ═══ */
.trust { background: var(--surface); }
/* Ticker */
.ticker-wrap { overflow: hidden; margin-bottom: 60px; }
.ticker {
  display: flex; gap: 1.5rem;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker span {
  white-space: nowrap;
  padding: .45rem 1.1rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 50px; font-size: .8rem; color: var(--muted);
  flex-shrink: 0;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.clients-showcase {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.clients-copy h3 { font-size: 1.6rem; margin-bottom: .75rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tag-row span {
  padding: .3rem .85rem;
  background: rgba(168,85,247,.12);
  border: 1px solid rgba(168,85,247,.25);
  border-radius: 50px; font-size: .75rem; color: var(--accent);
}
.clients-img img {
  border-radius: var(--r); width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  border: 1px solid var(--border);
  object-fit: cover; max-height: 380px;
  background: var(--card);
}

/* ═══ SERVICES ═══ */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 1.25rem; }
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2rem;
  transition: var(--ease); cursor: default;
  display: flex; flex-direction: column;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(168,85,247,.15); }
.service-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(168,85,247,.2), rgba(236,72,153,.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--accent); margin-bottom: .9rem;
}
.service-card h3 { color: #fff; margin-bottom: .5rem; }
.service-card p  { font-size: .85rem; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1.2rem; font-size: .8rem; font-weight: 700;
  color: var(--accent); transition: gap var(--ease);
}
.service-link:hover { gap: .6rem; }

/* ═══ CASE STUDIES ═══ */
.case-studies { background: var(--surface); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 1.5rem; }
.case-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: var(--ease); }
.case-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.case-img { position: relative; }
.case-img img { width: 100%; height: 200px; object-fit: cover; background: var(--bg); }
.case-tag {
  position: absolute; top: 12px; left: 12px;
  padding: .3rem .8rem; border-radius: 50px;
  background: rgba(168,85,247,.85); font-size: .72rem; font-weight: 700; color: #fff;
}
.case-body { padding: 1.5rem; }
.case-body h3 { color: #fff; margin-bottom: .5rem; }
.case-body > p { font-size: .83rem; margin-bottom: 1.25rem; }
.case-stats { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.case-stats > div { display: flex; align-items: center; gap: .5rem; font-size: .82rem; }
.case-stats small { color: var(--muted); font-size: .72rem; margin-left: .25rem; }
.case-stats .before { color: var(--muted); text-decoration: line-through; }
.case-stats .after  { color: var(--green); font-weight: 700; }
.case-stats i       { color: var(--accent); font-size: .7rem; }
.case-growth { display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--green); }

/* ═══ PLATFORMS ═══ */
.platforms { background: var(--bg); }
.platform-ticker-wrap { overflow: hidden; }
.platform-ticker {
  display: flex; gap: 1rem;
  animation: ticker 25s linear infinite;
  width: max-content;
}
.platform-ticker span {
  display: flex; align-items: center; gap: .4rem;
  white-space: nowrap; padding: .55rem 1.1rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 50px; font-size: .82rem; color: var(--muted);
  flex-shrink: 0; transition: var(--ease);
}
.platform-ticker span:hover { border-color: var(--accent); color: #fff; }
.platform-ticker i { color: var(--accent); }

/* ═══ COMPARISON ═══ */
.comparison { background: var(--surface); }
.compare-grid { display: flex; align-items: stretch; gap: 2rem; max-width: 900px; margin: 0 auto; }
.compare-card { flex: 1; border-radius: var(--r); padding: 2rem; border: 1px solid var(--border); }
.compare-card.old { background: rgba(239,68,68,.05); border-color: rgba(239,68,68,.2); }
.compare-card.new { background: rgba(168,85,247,.08); border-color: rgba(168,85,247,.3); }
.compare-head { margin-bottom: 1.5rem; }
.compare-head h3 { font-size: 1.1rem; margin: .5rem 0 .25rem; }
.compare-head small { font-size: .75rem; color: var(--muted); }
.badge {
  display: inline-block; padding: .2rem .7rem;
  border-radius: 50px; font-size: .7rem; font-weight: 700;
}
.badge.bad  { background: rgba(239,68,68,.15); color: #f87171; border: 1px solid rgba(239,68,68,.3); }
.badge.good { background: rgba(168,85,247,.15); color: var(--accent); border: 1px solid rgba(168,85,247,.3); }
.compare-card ul { display: flex; flex-direction: column; gap: .7rem; }
.compare-card li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.compare-card.old li i { color: #f87171; }
.compare-card.new li { color: var(--text); }
.compare-card.new li i { color: var(--green); }
.compare-vs {
  display: flex; align-items: center; justify-content: center;
  width: 50px; flex-shrink: 0;
}
.compare-vs span {
  width: 44px; height: 44px;
  border-radius: 50%; background: var(--card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; color: var(--muted);
}

/* ═══ TESTIMONIALS ═══ */
.testimonials { background: var(--bg); }
.testimonials-wrap { max-width: 780px; margin: 0 auto; }
.testimonial-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 2.5rem; }
.quote-icon { font-size: 1.5rem; color: var(--accent); margin-bottom: 1rem; }
.testimonial-card p { font-size: .95rem; color: var(--text); line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .9rem; color: #fff; }
.testimonial-author span  { font-size: .75rem; color: var(--accent); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.5rem; }
.slider-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: .82rem; transition: var(--ease); }
.slider-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ═══ TEAM ═══ */
.team { background: var(--surface); }
.ceo-card {
  display: flex; gap: 2.5rem; align-items: center;
  background: var(--card); border: 1px solid rgba(168,85,247,.3);
  border-radius: var(--r); padding: 2.5rem; margin-bottom: 3rem;
}
.ceo-avatar {
  width: 110px; height: 110px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; font-weight: 800; color: #fff;
  box-shadow: 0 0 40px rgba(168,85,247,.35);
}
.ceo-info h2 { font-size: 2rem; margin-bottom: .75rem; }
.ceo-info p  { max-width: 620px; margin-bottom: 1rem; }
.ceo-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.ceo-tags span { padding: .3rem .85rem; background: rgba(168,85,247,.12); border: 1px solid rgba(168,85,247,.25); border-radius: 50px; font-size: .75rem; color: var(--accent); }
.team-section-label { margin: 2.5rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 1.5rem; text-align: center; transition: var(--ease); }
.team-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.team-avatar { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: #fff; margin: 0 auto 1rem; }
.team-card h5 { color: #fff; }
.team-card span { font-size: .75rem; color: var(--muted); }

/* ═══ CONTACT ═══ */
.contact { position: relative; background: var(--bg); overflow: hidden; }
.video-bg-wrap { position: absolute; inset: 0; z-index: 0; }
.video-bg-wrap::after { content: ''; position: absolute; inset: 0; background: rgba(7,7,15,.88); }
.video-bg-wrap video { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.contact .container { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-copy h2 { margin-bottom: 1rem; }
.contact-copy > p { margin-bottom: 1.5rem; }
.contact-points { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.5rem; }
.contact-points a { display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: var(--muted); transition: color var(--ease); }
.contact-points a:hover { color: var(--accent); }
.contact-points i { color: var(--accent); width: 16px; }
.contact-note { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.contact-note i { color: var(--green); }
.contact-form { display: flex; flex-direction: column; gap: .85rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: .85rem 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: .86rem;
  font-family: inherit; outline: none; transition: border-color var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form select option { background: var(--surface); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; }

/* ═══ FOOTER ═══ */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand-col .brand-mark { margin-bottom: 1rem; }
.footer-brand-col > p { font-size: .82rem; margin-bottom: 1.5rem; }
.footer-grid h4 { margin-bottom: 1rem; }
.footer-grid a, .footer-grid p { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .45rem; transition: color var(--ease); }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p i { color: var(--accent); margin-right: .35rem; }
.footer-cta { display: inline-flex !important; margin-top: 1rem; font-size: .8rem !important; }
.socials { display: flex; gap: .65rem; }
.socials a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: .88rem; color: var(--muted); transition: var(--ease);
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.25rem 0; text-align: center; }
.footer-bottom p { font-size: .75rem; color: var(--muted); }

/* ═══ SWIPER OVERRIDES ═══ */
.swiper-pagination-bullet { background: var(--muted); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--accent); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-grid, .clients-showcase, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { flex-direction: column; }
  .compare-vs { display: none; }
  .card-1, .card-2, .card-3 { display: none; }
}

@media (max-width: 768px) {
  .menu, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0;
    width: 75vw; max-width: 300px; height: 100vh;
    background: var(--surface); padding: 80px 1.5rem 2rem;
    gap: 1rem; z-index: 999;
    box-shadow: -8px 0 40px rgba(0,0,0,.6);
  }
  .main-nav.open .menu { display: flex; flex-direction: column; gap: 1rem; }
  .main-nav.open .nav-cta { display: inline-flex; }
  .hero-grid { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .phone-mockup { width: 240px; margin: 0 auto; }
  .counter-row { flex-wrap: wrap; }
  .counter-item { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  .ceo-card { flex-direction: column; text-align: center; }
  .ceo-tags { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero-stats { gap: 1rem; }
}

/* ═══ FOUNDER ═══ */
.founder { background: var(--surface); }
