/* ==========================================================================
   Tabsan — Global Stylesheet
   Theme: Deep Blue (#0A1A2F) + Electric Blue (#1E90FF)
   ========================================================================== */

:root {
  --deep-blue: #0A1A2F;
  --deep-blue-2: #0E2440;
  --deep-blue-3: #132C4E;
  --electric-blue: #1E90FF;
  --electric-blue-dark: #0E6FD1;
  --electric-blue-light: #5CACFF;
  --white: #FFFFFF;
  --off-white: #F4F8FC;
  --gray-100: #E7EDF4;
  --gray-300: #B9C6D6;
  --gray-500: #7D8CA0;
  --text-dark: #0D1B2A;
  --text-body: #33445A;
  --shadow-1: 0 10px 30px rgba(10, 26, 47, 0.12);
  --shadow-2: 0 4px 14px rgba(10, 26, 47, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --max-width: 1180px;
  --font-heading: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--deep-blue);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.35rem; }
p { margin-bottom: 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

.section-alt { background: var(--white); }

.section-dark {
  background: linear-gradient(160deg, var(--deep-blue), var(--deep-blue-2));
  color: var(--gray-100);
}

.section-dark h2, .section-dark h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--electric-blue);
  margin-bottom: 12px;
}

.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--text-body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--electric-blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.35);
}
.btn-primary:hover { background: var(--electric-blue-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--deep-blue);
  color: var(--deep-blue);
}
.btn-outline-dark:hover { background: var(--deep-blue); color: var(--white); transform: translateY(-2px); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10, 26, 47, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--gray-100);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(30, 144, 255, 0.15);
  color: var(--electric-blue-light);
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(30, 144, 255, 0.25), transparent 55%),
              linear-gradient(160deg, var(--deep-blue) 0%, var(--deep-blue-2) 60%, var(--deep-blue-3) 100%);
  color: var(--white);
  padding: 130px 0 110px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--electric-blue-light); }

.hero p.lead {
  font-size: 1.15rem;
  color: var(--gray-100);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art img { border-radius: var(--radius-lg); filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35)); }

.stat-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 70px;
  padding-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-strip div { text-align: center; }

.stat-strip strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--electric-blue-light);
}

.stat-strip span { font-size: 0.9rem; color: var(--gray-300); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--deep-blue), var(--deep-blue-3));
  color: var(--white);
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30,144,255,0.25), transparent 70%);
  top: -220px;
  right: -120px;
}

.page-hero h1 { color: var(--white); position: relative; }
.page-hero p { color: var(--gray-100); max-width: 620px; margin: 14px auto 0; position: relative; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--electric-blue-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}

/* ---------- Cards & Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--gray-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-1); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(30, 144, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--electric-blue);
}

.card .icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

/* ---------- Feature / Check Lists ---------- */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--text-body);
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--electric-blue) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><path d="M5 12l5 5L19 8"/></svg>') center/13px no-repeat;
}

/* ---------- Product Card Highlights (compact bullets inside cards) ---------- */
.card .highlights {
  margin: 16px 0 22px;
}

.card .highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 9px;
}

.card .highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric-blue);
}

.card .btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ---------- Tech Stack Badges ---------- */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tech-badges span {
  background: rgba(30, 144, 255, 0.1);
  color: var(--electric-blue-dark);
  border: 1px solid rgba(30, 144, 255, 0.25);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 600;
}

/* ---------- Product Pages ---------- */
.product-hero {
  background: linear-gradient(150deg, var(--deep-blue), var(--deep-blue-3));
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.product-hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,144,255,0.3), transparent 70%);
  bottom: -220px;
  left: -140px;
}

.product-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.product-tag {
  display: inline-block;
  background: rgba(30, 144, 255, 0.15);
  border: 1px solid rgba(30, 144, 255, 0.4);
  color: var(--electric-blue-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.product-hero h1 { color: var(--white); margin-bottom: 16px; }
.product-hero p.lead { color: var(--gray-100); font-size: 1.1rem; max-width: 560px; }
.product-hero-badge {
  width: 150px;
  height: 150px;
  border-radius: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-hero-badge img { width: 84px; height: 84px; }

/* Framed real product-screenshot images (hero + content sections) */
.product-hero-shot {
  width: 480px;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.product-hero-shot img { display: block; width: 100%; height: auto; }

.screenshot-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-1);
}
.screenshot-frame img { display: block; width: 100%; height: auto; }

.target-users {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.target-users .card { text-align: center; }

.cta-banner {
  background: linear-gradient(120deg, var(--electric-blue-dark), var(--electric-blue));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  margin: 0 24px;
  max-width: calc(var(--max-width) - 48px);
  margin: 0 auto;
  box-shadow: var(--shadow-1);
}

.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 28px; }

/* ---------- About Page ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.timeline {
  border-left: 3px solid var(--electric-blue);
  padding-left: 28px;
  margin-left: 8px;
}

.timeline-item { margin-bottom: 34px; position: relative; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--electric-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(30,144,255,0.2);
}

.timeline-item h3 { margin-bottom: 6px; }

/* ---------- Services Page ---------- */
.service-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--gray-100);
}

.service-row:last-child { border-bottom: none; }

.service-num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--electric-blue);
  font-size: 1.3rem;
}

.service-row h3 { margin-bottom: 8px; }

/* ---------- Contact Page ---------- */
.contact-info-card {
  background: var(--deep-blue);
  color: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.contact-info-card h3 { color: var(--white); margin-bottom: 18px; }

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(30, 144, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--electric-blue-light);
}

.contact-item strong { display: block; color: var(--white); font-size: 0.95rem; }
.contact-item span, .contact-item a { font-size: 0.9rem; color: var(--gray-300); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep-blue);
  color: var(--gray-300);
  padding: 70px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; color: var(--gray-300); max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.9rem; color: var(--gray-300); transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--electric-blue-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links { display: flex; gap: 12px; }

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.social-links a:hover { background: var(--electric-blue); }
.social-links a svg { width: 16px; height: 16px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .grid-3, .grid-4, .value-grid, .target-users { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .product-hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .product-hero-badge, .product-hero-shot { margin: 0 auto; }
  .product-hero p.lead { margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--deep-blue);
    padding: 20px 24px 28px;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-cta { margin-left: 0; margin-top: 10px; }
}

@media (max-width: 760px) {
  h1 { font-size: 2.2rem; }
  .hero h1 { font-size: 2.3rem; }
  section { padding: 60px 0; }
  .grid-3, .grid-4, .value-grid, .target-users { grid-template-columns: minmax(0, 1fr); }
  .cta-banner { padding: 36px 24px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
