/* ============================================================
   hero.css — HERO SECTION
   ============================================================ */

.hero {
  background: var(--hero-bg);
  padding: 70px 28px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Radial glow behind heading */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse at 50% 35%, rgba(79,70,229,0.13) 0%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-content.reveal > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-content.reveal > *:nth-child(1) { transition-delay: 0.1s; }
.hero-content.reveal > *:nth-child(2) { transition-delay: 0.2s; }
.hero-content.reveal > *:nth-child(3) { transition-delay: 0.3s; }
.hero-content.reveal > *:nth-child(4) { transition-delay: 0.4s; }
.hero-content.reveal > *:nth-child(5) { transition-delay: 0.5s; }
.hero-content.reveal > *:nth-child(6) { transition-delay: 0.6s; }

.hero-kicker   { margin-bottom: 24px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  position: relative;
}
.dot {
  width: 9px;
  height: 9px;
  background: #2A4D88;
  border-radius: 70%;
  animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}
.kicker-text {
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.kicker-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #ffffff6a;   /* match hero background */
  transform: translateX(0%);
  animation: revealFromDot 1.2s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: 0.4s;
}

@keyframes revealFromDot {
  to {
    transform: translateX(100%);
  }
}


/*.hero-heading  { margin-bottom: 22px; }*/

.hero-heading {
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg,#000000,#7000a1,#000000,#7000a1,#000000,#7000a1,#000000,#7000a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text2 {
    background: linear-gradient(#000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.light-word {
    font-weight: 700;
    color: #47566b; /* soft light gray-blue */
}

.line1 {
    font-size: 70%;
    font-style: bold;
    font-family: 'General Sans', sans-serif;
    color: #0e28ff;
    
}

.line2 {
    font-size: 100%;
    font-style: bold;
    font-family: 'General Sans', sans-serif;
    color: #000000;
    animation-delay: 1.2s;
}

.hero-sub      { max-width: 580px; margin: 0 auto 36px; }

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-p:hover {
  box-shadow: 0 14px 30px rgba(79,70,229,0.35);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  color: var(--subtle);
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-meta .sep {
  width: 3px;
  height: 3px;
  background: var(--subtle);
  border-radius: 50%;
}

.hero-meta span:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* Domain pills */
.domain-pills {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.dpill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--sh-sm);
  transition: all 0.2s;
}
.dpill {
  transition: all 0.3s ease;
}

.dpill:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(42, 77, 136, 0.08);
  color: var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Initial hidden state */
.dpill {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When visible */
.dpill.show {
  opacity: 1;
  transform: translateX(0);
}

/* Left to Right Reveal */
.dpill {
  opacity: 0;
  transform: translateX(-30px);
  /* animation: pillSlideIn 0.7s cubic-bezier(0.16,1,0.3,1) forwards; */
}

.dpill:nth-child(1) { animation-delay: 0.3s; }
.dpill:nth-child(2) { animation-delay: 0.45s; }
.dpill:nth-child(3) { animation-delay: 0.6s; }
.dpill:nth-child(4) { animation-delay: 0.75s; }
.dpill:nth-child(5) { animation-delay: 0.9s; }

@keyframes pillSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.dpill span {
  transition: transform 0.3s ease;
}

.dpill:hover span {
  transform: translateY(-2px) scale(1.1);
}





/* ── Hero image (replaces browser mockup) ── */
.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 420px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 -6px 60px rgba(79,70,229,0.11), 0 0 0 1px var(--border);
  background: var(--surface);
}
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  vertical-align: middle;
}

/* ── Browser mockup frame (legacy) ── */
.hero-frame-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* Floating cards around hero image */
.hero-floater {
  position: absolute;
  z-index: 10;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--sh-lg);
  animation: float 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  /* animation: float 8s ease-in-out infinite; */
}

.hf-a { top: 24px; left: 16px; animation-duration: 9s; }
.hf-b { top: 80px; right: 16px; animation-duration: 11s; }
.hf-c { bottom: 80px; left: 16px; animation-duration: 10s; }
.hf-d { bottom: 43px; right: 16px; animation-duration: 12s; }

@keyframes float {
  0%   { transform: translate(0px, 0px); }
  25%  { transform: translate(2px, -10px); }
  50%  { transform: translate(0px, -14px); }
  75%  { transform: translate(-2px, -8px); }
  100% { transform: translate(0px, 0px); }
}


@media (max-width: 900px) {
  .hero-floater { padding: 10px 12px; gap: 8px; font-size: 13px; }
  .hf-a { left: 8px; }
  .hf-b { right: 8px; }
  .hf-c { left: 8px; bottom: 60px; }
  .hf-d { right: 8px; bottom: 16px; }
}

.hf-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hf-label { font-size: 11px; color: var(--subtle); margin-bottom: 1px; }
.hf-value { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--ink); }

/* Browser chrome */
.browser-frame {
  background: var(--surface);
  border-radius: 16px 16px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: 0 -6px 60px rgba(79,70,229,0.11), 0 0 0 1px var(--border);
  overflow: hidden;
}
.bf-bar {
  background: #F9FAFB;
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.bf-dot  { width: 11px; height: 11px; border-radius: 50%; }
.bf-addr {
  flex: 1;
  margin: 0 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 14px;
  font-size: 11px;
  color: var(--subtle);
  text-align: center;
}

/* ── Mini ERP dashboard inside browser ── */
.bf-body         { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.erp-dash        { display: flex; gap: 14px; }

.erp-sidebar {
  width: 160px;
  flex-shrink: 0;
  background: var(--ink);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.erp-sidebar-logo {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.erp-sidebar-logo span { color: #a5b4fc; }

.erp-nav-item {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 7px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
}
.erp-nav-item.active {
  background: var(--accent);
  color: #fff;
}

.erp-main { flex: 1; display: flex; flex-direction: column; gap: 12px; }

/* KPI row */
.erp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.erp-kpi {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.kpi-label { font-size: 10px; color: var(--subtle); font-weight: 500; margin-bottom: 3px; }
.kpi-value { font-family: var(--font-body); font-size: 20px; font-weight: 800; color: var(--ink); }
.kpi-delta { font-size: 10px; font-weight: 600; margin-top: 2px; }
.kpi-delta.up { color: #059669; }
.kpi-delta.dn { color: #DC2626; }

/* Chart + table row */
.erp-mid { display: grid; grid-template-columns: 5fr 3fr; gap: 12px; }

.erp-chart {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.chart-title { font-size: 11px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.chart-bars  { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.chart-bar   { flex: 1; border-radius: 4px 4px 0 0; transition: height 0.9s cubic-bezier(.16,1,.3,1); }

.erp-table {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.table-title { font-size: 11px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.table-row:last-child { border: none; }
.table-name  { font-size: 11px; color: var(--ink); font-weight: 500; }
.badge       { font-size: 10px; padding: 2px 8px; border-radius: 100px; font-weight: 600; }
.badge-green { background: #dcfce7; color: #059669; }
.badge-blue  { background: #eff6ff; color: #2563eb; }
.badge-amber { background: #fff7ed; color: #ea580c; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { padding: 110px 20px 0; }
  .hero-floater { display: none; }
  .erp-sidebar   { display: none; }
  .erp-kpis      { grid-template-columns: 1fr 1fr; }
  .erp-mid       { grid-template-columns: 1fr; }
}






@media (max-width:768px){
  .hero-floater{
    display:none;
  }
}

.testimonial-text {
    font-style: italic;
    font-weight: 600;
}

.pricing-section {
    padding: 80px 0;
    text-align: center;
}

.pricing-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    background: #ccc;
    border-radius: 34px;
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

    .slider:before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 3px;
        top: 3px;
        background: white;
        border-radius: 50%;
        transition: 0.3s;
    }

input:checked + .slider {
    background: #6c63ff;
}

    input:checked + .slider:before {
        transform: translateX(26px);
    }

.pricing-section {
    padding: 30px 0 30px;
    text-align: center;
}

    .pricing-section .container {
        max-width: 1100px;
        margin: auto;
    }

.pricing-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Domain Switch */
.domain-switch {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.domain-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f8f8f8;
    cursor: pointer;
}

    .domain-btn.active {
        background: #6c63ff;
        color: #fff;
        border-color: #6c63ff;
    }

/* Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    padding: 35px 30px;
    border: 1px solid #eee;
    border-radius: 12px;
    text-align: left;
    background: #fff;
}

    .pricing-card.highlight {
        border: 2px solid #6c63ff;
    }

.price-text {
    margin: 15px 0 20px;
    color: #555;
}

.pricing-card ul {
    margin-bottom: 20px;
}

.plan-btn {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background: #6c63ff;
    color: #fff;
    text-decoration: none;
}

.pricing-note {
    margin-top: 40px;
    font-size: 14px;
    color: #777;
}

.version-switch {
    display: flex;
    gap: 10px;
    margin: 15px 0 20px;
}

.version-btn {
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 13px;
}

    .version-btn.active {
        background: #6c63ff;
        color: #fff;
        border-color: #6c63ff;
    }