/* ============================================================
   Pinnacle India Solution — Company Website
   All type software, APKs, digital & outdoor advertising
   ============================================================ */

:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --brand: #7c3aed;
  --brand-2: #f59e0b;
  --brand-3: #d946ef;
  --brand-grad: linear-gradient(135deg, #7c3aed 0%, #d946ef 55%, #f59e0b 110%);
  --primary-dark: #5b21b6;
  --green: #25d366;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 45px -18px rgba(15, 23, 42, .28);
  --shadow-sm: 0 8px 22px -12px rgba(15, 23, 42, .22);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1140px, 92%); margin-inline: auto; }

::selection { background: #7c3aed; color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700;
  padding: .8rem 1.6rem; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand-grad); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: 0 22px 45px -16px rgba(124, 58, 237, .55); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-wa { background: var(--green); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-wa:hover { background: #1ebe5d; }
.btn-white { background: var(--white); color: var(--primary-dark); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost-dark { border-color: rgba(15,23,42,.2); color: var(--primary-dark); }
.btn-ghost-dark:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #cbd5e1; font-size: .83rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.topbar a { color: var(--brand-2); font-weight: 700; }
.topbar strong { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,23,42,.08);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(15,23,42,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand .brand-mark {
  width: 46px; height: 46px; border-radius: 14px;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); letter-spacing: .2px; }
.brand-text small { color: var(--ink-soft); font-weight: 600; font-size: .72rem; letter-spacing: .4px; }
.nav { display: flex; gap: 1.6rem; }
.nav a { font-weight: 600; color: var(--ink-soft); font-size: .93rem; position: relative; padding: .25rem 0; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--brand); }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--brand-grad); transition: width .25s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); padding: 6.5rem 0 2.5rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 12s ease-in-out infinite; }
.blob-1 { width: 460px; height: 460px; background: #7c3aed; top: -160px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: #d946ef; bottom: -120px; left: -100px; animation-delay: -4s; }
.blob-3 { width: 240px; height: 240px; background: #f59e0b; top: 30%; left: 45%; opacity: .3; animation-delay: -8s; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-24px); } }
.hero-inner { position: relative; display: grid; place-items: center; text-align: center; }
.badge {
  display: inline-block; padding: .45rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  font-size: .82rem; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
  color: #e2e8f0; margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.12;
  max-width: 850px;
}
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 720px; margin: 1.2rem auto 0; color: #cbd5e1; font-size: 1.08rem; }
.hero-actions { margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 2rem; display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; color: #94a3b8; font-size: .9rem; font-weight: 600; }
.hero-trust span { padding: .3rem .8rem; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.05); }
.hero-stats { position: relative; margin-top: 4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.4rem 1rem; backdrop-filter: blur(4px); }
.stat b { display: block; font-family: var(--font-head); font-size: 1.8rem; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: #cbd5e1; font-size: .9rem; font-weight: 600; }

/* ---------- Banner showcase ---------- */
.banner-showcase { margin-top: 3rem; }
.banner-showcase img {
  display: block; width: 100%; height: auto;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.45);
  border: 1px solid rgba(15,23,42,.06);
}

/* ---------- Marquee ---------- */
.marquee { background: var(--brand-grad); color: #fff; overflow: hidden; padding: .8rem 0; }
.marquee-track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 700; letter-spacing: 1.5px; font-size: .95rem; white-space: nowrap; }
.marquee i { font-style: normal; font-size: .6rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; font-weight: 700; color: var(--brand); }
.section-head h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; margin: .6rem 0; line-height: 1.2; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.about-card { background: var(--bg); border: 1px solid rgba(15,23,42,.08); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.about-icon { font-size: 2rem; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #f3e8ff, #fef3c7); }
.about-card h3 { font-family: var(--font-head); margin: 1rem 0 .5rem; font-size: 1.15rem; }
.about-card p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card {
  background: var(--white); border: 1px solid rgba(15,23,42,.08); border-radius: var(--radius);
  padding: 2rem; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.service-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--brand-grad); opacity: 0; transition: opacity .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--bg-alt); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1.1rem; }
.service-card:nth-child(odd) .service-icon { background: #f3e8ff; }
.service-card:nth-child(even) .service-icon { background: #fef3c7; }
.service-card h3 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: .5rem; }
.service-card p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Marketing ---------- */
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.market-card {
  background: var(--bg); border-radius: var(--radius); padding: 2rem;
  border: 1px solid rgba(15,23,42,.08); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.market-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.market-card::after { content: ''; position: absolute; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.16), transparent 70%); bottom: -40px; right: -40px; }
.market-icon { width: 58px; height: 58px; border-radius: 16px; font-size: 1.6rem; display: grid; place-items: center; margin-bottom: 1.1rem; background: linear-gradient(135deg, #ede9fe, #fee2e2); }
.market-card h3 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: .5rem; }
.market-card p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Outdoor ---------- */
.outdoor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.outdoor-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 2rem; position: relative; overflow: hidden; transition: transform .25s; }
.outdoor-card::after { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.5), transparent 70%); top: -40px; right: -40px; }
.outdoor-card:hover { transform: translateY(-6px); }
.outdoor-icon { font-size: 2rem; }
.outdoor-card h3 { font-family: var(--font-head); margin: .9rem 0 .5rem; font-size: 1.12rem; }
.outdoor-card p { color: #cbd5e1; font-size: .94rem; }

/* ---------- Product card images ---------- */
.card-img {
  display: block; width: calc(100% + 4rem); height: 168px; object-fit: cover;
  margin: -2rem -2rem 1.5rem;
  border-radius: calc(var(--radius) - 3px) calc(var(--radius) - 3px) 0 0;
  transition: transform .35s ease;
}
.service-card:hover .card-img,
.market-card:hover .card-img,
.outdoor-card:hover .card-img { transform: scale(1.03); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.process-step { text-align: center; padding: 2rem 1.4rem; position: relative; }
.step-num {
  width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 18px;
  background: var(--brand-grad); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; box-shadow: var(--shadow-sm);
}
.process-step h3 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: .4rem; }
.process-step p { color: var(--ink-soft); font-size: .92rem; }
.process-step + .process-step::before { content: '→'; position: absolute; left: -1rem; top: 45%; font-size: 1.6rem; color: var(--brand); opacity: .5; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.quote-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(15,23,42,.06); }
.quote-card::before { content: '“'; font-size: 3.4rem; line-height: 1; font-family: Georgia, serif; color: var(--brand); display: block; height: .6em; }
.quote-card blockquote { font-size: .98rem; color: var(--ink); font-style: italic; }
.quote-card figcaption { margin-top: 1.2rem; display: flex; flex-direction: column; }
.quote-card figcaption b { font-family: var(--font-head); }
.quote-card figcaption span { color: var(--ink-soft); font-size: .82rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-grad); color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.4rem 0; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; }
.cta-inner p { margin-top: .4rem; opacity: .92; }
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: .9rem; }
.faq-item { background: var(--white); border: 1px solid rgba(15,23,42,.08); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.4rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(124,58,237,.04); }
.faq-item p { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); font-size: .95rem; }
.faq-item p a { color: var(--brand); font-weight: 600; }
.faq-mark { color: var(--brand); font-size: 1.2rem; font-weight: 700; transition: transform .25s; }
.faq-item[open] .faq-mark { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid rgba(15,23,42,.06); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.contact-card { text-align: center; background: var(--white); border: 1px solid rgba(15,23,42,.08); border-radius: var(--radius); padding: 2.4rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform .25s; }
.contact-card:hover { transform: translateY(-6px); }
.contact-icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--brand-grad); display: grid; place-items: center; font-size: 1.5rem; color: white; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-family: var(--font-head); margin-bottom: .4rem; }
.contact-card a { color: var(--brand); font-weight: 700; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .muted { color: var(--ink-soft); font-size: .85rem; margin-top: .3rem; }
.contact-cta { margin-top: 3rem; text-align: center; background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-sm); }
.contact-cta p { max-width: 640px; margin: 0 auto 1.4rem; color: var(--ink-soft); font-size: 1.05rem; }
.contact-cta .cta-buttons { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e1; }
.site-footer .brand-text b { color: var(--white); }
.site-footer .brand-text small { color: #94a3b8; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2rem; }
.brand-footer { margin-bottom: 1rem; }
.footer-about { font-size: .92rem; color: #94a3b8; max-width: 340px; }
.site-footer h4 { font-family: var(--font-head); color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer ul a { color: #94a3b8; transition: color .2s; }
.site-footer ul a:hover { color: var(--brand-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0; text-align: center; font-size: .85rem; color: #64748b; }

/* ---------- Floating ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: white; font-size: 1.7rem;
  display: grid; place-items: center;
  box-shadow: 0 10px 25px -8px rgba(37, 211, 102, .7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.back-top {
  position: fixed; right: 22px; bottom: 94px; z-index: 59;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 1.1rem;
  box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); background: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 80vw); background: var(--white);
    flex-direction: column; gap: .4rem; padding: 6rem 2rem 2rem;
    box-shadow: -20px 0 40px rgba(15,23,42,.2); transform: translateX(100%);
    transition: transform .3s; z-index: 55; overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1.1rem; padding: .7rem 0; border-bottom: 1px solid rgba(15,23,42,.06); }
  .nav-toggle { display: flex; z-index: 56; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .services-grid, .market-grid, .outdoor-grid, .about-grid, .contact-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step + .process-step::before { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .services-grid, .market-grid, .outdoor-grid, .about-grid, .contact-grid, .quote-grid, .process-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar a { display: none; }
  .hero { padding: 4.5rem 0 2rem; }
  .btn-lg { padding: .85rem 1.4rem; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}