/* ==========================================================================
   IBACTP® ULTRA-PREMIUM MODERN DESIGN SYSTEM (AWWWARDS / STRIPE STYLE)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  
  --brand-navy-950: #030712;
  --brand-navy-900: #081028;
  --brand-navy-800: #0e1c42;
  --brand-navy-700: #152960;
  
  --primary-blue: #0284c7;
  --primary-indigo: #2563eb;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-card: rgba(226, 232, 240, 0.9);
  --border-focus: rgba(37, 99, 235, 0.4);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

body {
  font-family: var(--font-body) !important;
  background-color: var(--bg-main) !important;
  color: var(--text-secondary) !important;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   HERO SECTION: ULTRA-MODERN OBSIDIAN & INDIGO GLOW
   -------------------------------------------------------------------------- */
.perfect-hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.16) 0%, transparent 40%),
              radial-gradient(circle at 15% 85%, rgba(37, 99, 235, 0.2) 0%, transparent 45%),
              linear-gradient(145deg, #030712 0%, #081028 45%, #0e1c42 100%);
  color: #ffffff;
  padding: 68px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.perfect-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .hero-layout { grid-template-columns: 1fr; gap: 36px; }
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #38bdf8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

.hero-pill-tag .ping-dot {
  width: 8px;
  height: 8px;
  background: #22d3ee;
  border-radius: 50%;
  box-shadow: 0 0 10px #22d3ee;
}

.hero-h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 20px;
}

.hero-h1 .gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, #60a5fa 80%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-text {
  font-size: 17px;
  line-height: 1.68;
  color: #94a3b8;
  margin: 0 0 28px;
  max-width: 600px;
}

.hero-stat-row {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-box {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-display);
}

.hero-stat-lbl {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 0 0 40px rgba(37, 99, 235, 0.2);
  background: #090f20;
}

.hero-visual-frame img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-visual-frame:hover img {
  transform: scale(1.02);
}

.hero-visual-glass-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 16px 20px;
  background: rgba(8, 16, 40, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Buttons */
.btn-electric {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-electric:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.55);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #38bdf8;
}

/* --------------------------------------------------------------------------
   STICKY SUB-NAVIGATION WITH FROSTED GLASS
   -------------------------------------------------------------------------- */
.perfect-subnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  padding: 12px 0;
}

.subnav-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-pills {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.subnav-link:hover, .subnav-link.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* --------------------------------------------------------------------------
   BENTO CONTAINER & CARD SYSTEM
   -------------------------------------------------------------------------- */
.perfect-container {
  max-width: 1240px;
  margin: 48px auto 96px;
  padding: 0 24px;
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.bento-card:hover {
  box-shadow: var(--shadow-xl);
}

.bento-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-indigo);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.bento-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.bento-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* 2-Column & 3-Column Bento Grids */
.bento-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .bento-grid-2 { grid-template-columns: 1fr; }
}

.bento-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.bento-subcard {
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: all 0.2s ease;
}

.bento-subcard:hover {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.bento-subcard.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  border-color: #bfdbfe;
  border-top: 3px solid var(--primary-indigo);
}

.bento-subcard-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bento-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--primary-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.bento-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.bento-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  background: #dbeafe;
  color: var(--primary-indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   NUMBERED STEP CARDS (AWWWARDS TIMELINE)
   -------------------------------------------------------------------------- */
.step-node-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border-left: 6px solid var(--primary-indigo);
  transition: all 0.25s ease;
}

.step-node-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.step-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-indigo);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.step-node-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

/* Domain Badge Grid */
.domain-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.domain-item-box {
  background: #f8fafc;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.domain-item-box:hover {
  background: #ffffff;
  border-color: var(--primary-indigo);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

/* Section Image Banner */
.visual-banner-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 36px 0;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  background: #090f20;
}

.visual-banner-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.visual-banner-card figcaption {
  background: #ffffff;
  padding: 12px 24px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-card);
  font-style: italic;
}

/* CTA Card */
.perfect-cta-card {
  background: linear-gradient(135deg, #030712 0%, #081028 50%, #1e40af 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #ffffff;
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  box-shadow: 0 25px 50px -12px rgba(30, 64, 175, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 860px) {
  .perfect-cta-card { flex-direction: column; text-align: center; }
}
