/* ── GoStationery Shared Stylesheet ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0f4c81;
  --primary-light: #1a6fa8;
  --accent: #00b4d8;
  --accent2: #f97316;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #059669;
  --nav-h: 70px;
}

html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.6; overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem,6vw,4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,.6);
  display: flex; align-items: center;
  padding: 0 2.5rem;
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(15,76,129,.1); }

.nav-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; gap: 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg,var(--primary),var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px; color: #fff;
  box-shadow: 0 4px 12px rgba(15,76,129,.3);
  transition: transform .2s;
}
.logo:hover .logo-icon { transform: rotate(-6deg) scale(1.08); }
.logo-text { font-weight: 800; font-size: 1.15rem; color: var(--primary); }
.logo-text span { color: var(--accent); }

/* Dropdown nav */
.nav-menu { display: flex; align-items: center; list-style: none; margin-left: 2.5rem; gap: 0; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0 1rem; height: var(--nav-h);
  text-decoration: none; color: var(--muted);
  font-size: 0.875rem; font-weight: 500;
  white-space: nowrap;
  transition: color .2s;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--primary); }
.nav-link svg { transition: transform .2s; flex-shrink: 0; }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(var(--nav-h) - 2px); left: 0;
  background: #fff; border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  min-width: 220px; padding: 0.75rem;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s;
  z-index: 400;
}
.nav-item:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 0.65rem 0.85rem; border-radius: 10px;
  text-decoration: none; color: var(--text);
  font-size: 0.875rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.dropdown a:hover { background: #f0f7ff; color: var(--primary); }
.dropdown-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.di-blue { background: #dbeafe; }
.di-orange { background: #ffedd5; }
.di-green { background: #d1fae5; }
.di-purple { background: #ede9fe; }
.di-red { background: #fee2e2; }
.di-yellow { background: #fef9c3; }
.dropdown-desc { font-size: 0.75rem; color: var(--muted); display: block; font-weight: 400; margin-top: 1px; }
.dropdown-divider { height: 1px; background: var(--border); margin: 0.4rem 0; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.nav-cta {
  background: linear-gradient(135deg,var(--primary),var(--primary-light));
  color: #fff; padding: 0.5rem 1.25rem; border-radius: 9px;
  text-decoration: none; font-size: 0.85rem; font-weight: 700;
  border: none; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 14px rgba(15,76,129,.3);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15,76,129,.4); }

/* Mobile hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.hamburger span + span { margin-top: 5px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.8rem 2rem; border-radius: 12px;
  font-size: 0.925rem; font-weight: 700; font-family: inherit;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.btn:active { transform: scale(.97) !important; }
.btn-primary {
  background: linear-gradient(135deg,var(--primary),var(--primary-light));
  color: #fff; box-shadow: 0 6px 22px rgba(15,76,129,.35);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 30px rgba(15,76,129,.45); }
.btn-secondary {
  background: rgba(255,255,255,.92); color: var(--primary);
  border: 2px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.84rem; }

/* ── SECTION COMMON ── */
.section { padding: 6rem 2rem; }
.section-sm { padding: 4rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }
.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.6rem;
}
.section-title { margin-bottom: 0.9rem; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 580px; line-height: 1.75; }

/* ── CARDS ── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
  transition: box-shadow .3s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.card:hover { box-shadow: 0 16px 50px rgba(0,0,0,.1); transform: translateY(-5px); }

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(135deg,var(--primary),#1565a0,var(--accent));
  padding: 3rem 2rem;
}
.stats-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem;
}
.stat-item { text-align: center; color: #fff; }
.stat-num { font-size: 2.5rem; font-weight: 900; line-height: 1; display: block; }
.stat-unit { font-size: 1.5rem; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,.75); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-top: 0.4rem; }

/* ── TRUST BADGES ── */
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 1.5rem;
}
.trust-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.trust-card:hover { border-color: var(--accent); box-shadow: 0 8px 30px rgba(0,180,216,.15); transform: translateY(-4px); }
.trust-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.trust-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; }
.trust-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }

/* ── TESTIMONIALS ── */
.testimonials-track { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem;
  position: relative; overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 0.5rem; left: 1.5rem;
  font-size: 5rem; color: var(--accent); opacity: .15;
  font-family: Georgia, serif; line-height: 1;
}
.testimonial-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.1); transform: translateY(-4px); }
.testimonial-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 0.25rem 0.7rem;
  border-radius: 99px; margin-bottom: 1rem;
}
.tag-retail { background: #fef9c3; color: #854d0e; }
.tag-health { background: #dcfce7; color: #14532d; }
.tag-banking { background: #dbeafe; color: #1e3a8a; }
.tag-govt { background: #f3e8ff; color: #581c87; }
.tag-corporate { background: #ffedd5; color: #7c2d12; }
.tag-education { background: #f0fdf4; color: #166534; }
.testimonial-quote { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-meta { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.testimonial-name { font-size: 0.875rem; font-weight: 700; }
.testimonial-company { font-size: 0.78rem; color: var(--muted); }

/* ── INDUSTRY CARDS ── */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.25rem; }
.industry-card {
  border-radius: 18px; padding: 1.75rem 1.5rem;
  text-decoration: none; color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, border-color .3s;
  display: block;
}
.industry-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 16px 50px rgba(0,0,0,.1); border-color: var(--accent); }
.industry-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.industry-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.industry-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.industry-card .arrow { display: inline-flex; align-items: center; gap: 4px; font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-top: 0.85rem; transition: gap .2s; }
.industry-card:hover .arrow { gap: 8px; }

/* ── FOOTER ── */
footer {
  background: #071528; color: rgba(255,255,255,.6);
  padding: 5rem 2rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3.5rem;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.855rem; margin-top: 0.85rem; line-height: 1.75; max-width: 290px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 0.9rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-col h5 {
  color: #fff; font-size: 0.8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  color: rgba(255,255,255,.55); text-decoration: none;
  font-size: 0.855rem; transition: color .2s, padding-left .2s;
  display: block;
}
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
.heart { color: var(--accent2); display: inline-block; animation: hb 1.4s infinite; }
@keyframes hb { 0%,100%{transform:scale(1)} 50%{transform:scale(1.3)} }

/* ── DEMO MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,23,42,.65); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface); border-radius: 24px;
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,.3);
  transform: translateY(40px) scale(.96);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header {
  padding: 2rem 2rem 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.modal-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.modal-sub { font-size: 0.875rem; color: var(--muted); margin-top: 4px; }
.modal-close {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.modal-close:hover { background: #fee2e2; transform: rotate(90deg); }
.modal-body { padding: 1.75rem 2rem 2rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.4rem; }
.form-group input,.form-group select,.form-group textarea {
  width: 100%; padding: 0.72rem 1rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.9rem; font-family: inherit; color: var(--text);
  background: var(--bg); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,180,216,.12); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.modal-submit {
  width: 100%; padding: 0.9rem; border-radius: 12px;
  background: linear-gradient(135deg,var(--primary),var(--primary-light));
  color: #fff; border: none; font-size: 0.95rem; font-weight: 800;
  font-family: inherit; cursor: pointer; margin-top: 0.5rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 6px 20px rgba(15,76,129,.35);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.modal-submit:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 10px 28px rgba(15,76,129,.45); }
.modal-success { display: none; text-align: center; padding: 2rem; }
.modal-success.show { display: block; }
.success-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg,#d1fae5,#a7f3d0);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  margin: 0 auto 1.25rem; animation: sPop .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes sPop { from{transform:scale(0)} to{transform:scale(1)} }
.modal-success h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.modal-success p { color: var(--muted); font-size: 0.9rem; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.d1{transition-delay:.08s} .d2{transition-delay:.16s} .d3{transition-delay:.24s}
.d4{transition-delay:.32s} .d5{transition-delay:.40s} .d6{transition-delay:.48s}

@keyframes spin { to{transform:rotate(360deg)} }

/* ── RESPONSIVE ── */
@media(max-width:960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .nav-menu,.nav-actions .nav-cta { display: none; }
  .hamburger { display: flex; flex-direction: column; }
}
@media(max-width:640px) {
  .section { padding: 4rem 1.25rem; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  nav { padding: 0 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
}

/* ── PAGE-SPECIFIC HERO UTIL ── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 2rem 5rem;
  background: linear-gradient(160deg,#e8f4fd 0%,#f0faff 40%,#f8fafc 100%);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content:''; position:absolute; top:-200px; right:-200px;
  width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle,rgba(0,180,216,.12),transparent 70%);
  pointer-events:none;
}
.page-hero-inner { max-width:1200px; margin:0 auto; position:relative; z-index:1; }

/* ── HIGHLIGHT GRADIENT TEXT ── */
.text-gradient {
  background: linear-gradient(135deg,var(--primary) 20%,var(--accent) 80%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

/* ── FEATURE ROWS (product pages) ── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; margin-bottom: 5rem;
}
.feature-row.reverse { }
.feature-row:last-child { margin-bottom: 0; }
.feature-visual {
  border-radius: 24px; overflow: hidden;
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.feature-text .badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 99px; margin-bottom: 1rem;
}
.badge-blue { background:#dbeafe; color:#1d4ed8; }
.badge-orange { background:#ffedd5; color:#c2410c; }
.feature-text h2 { margin-bottom: 0.85rem; }
.feature-text p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.5rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; }
.check {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg,#d1fae5,#a7f3d0);
  color: #059669; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 900; flex-shrink: 0; margin-top: 1px;
}

@media(max-width:800px) {
  .feature-row { grid-template-columns:1fr; gap:2rem; }
  .feature-row.reverse .feature-visual { order:-1; }
}
