/* ═══════════════════════════════════════════════════════════════
   Sikaba Systems – Main CSS
   Fonts: Syne (headings) + DM Sans (body)
   Theme: Deep Navy + Teal + Gold
═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ───────────────────────────────────────────── */
:root {
  --navy:        #0b1929;
  --navy-light:  #122236;
  --navy-mid:    #1a3350;
  --teal:        #00b4d8;
  --teal-dark:   #0096b7;
  --gold:        #f5a623;
  --gold-light:  #ffc857;
  --white:       #ffffff;
  --off-white:   #f4f7fb;
  --gray-100:    #e8edf5;
  --gray-400:    #8a9ab5;
  --gray-600:    #4a5568;
  --text:        #1a2840;
  --text-muted:  #6b7c99;

  --font-heading: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(11,25,41,.08);
  --shadow:      0 8px 30px rgba(11,25,41,.12);
  --shadow-lg:   0 20px 60px rgba(11,25,41,.18);
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset / Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

img { max-width: 100%; }

/* ── Utility Classes ─────────────────────────────────────────── */
.text-accent   { color: var(--gold) !important; }
.text-teal     { color: var(--teal) !important; }
.bg-navy       { background: var(--navy) !important; }
.bg-navy-light { background: var(--navy-light) !important; }
.bg-off-white  { background: var(--off-white) !important; }

.font-heading  { font-family: var(--font-heading); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius);
  padding: .55rem 1.4rem;
  transition: all var(--transition);
  letter-spacing: .02em;
}

.btn-accent {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-accent:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,166,35,.4);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  border: 2px solid var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,180,216,.35);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.btn-lg { padding: .8rem 2rem; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.15rem; border-radius: var(--radius-lg); }

/* ── Navbar ──────────────────────────────────────────────────── */
#mainNav {
  background: rgba(11,25,41,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .75rem 0;
  transition: background var(--transition);
}

.navbar-brand { font-family: var(--font-heading); color: #fff !important; font-size: 1.25rem; }
.brand-icon { 
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  color: #fff; font-size: 1rem;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,.8) !important;
  font-weight: 500;
  padding: .45rem .75rem !important;
  border-radius: 8px;
  transition: all var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: #fff !important; background: rgba(255,255,255,.08); }

.dropdown-menu {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
}
.dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-size: .93rem; color: var(--text); }
.dropdown-item:hover { background: var(--off-white); color: var(--navy); }

/* ── Hero Section ────────────────────────────────────────────── */
.hero-section {
  background: var(--navy);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,180,216,.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(245,166,35,.12) 0%, transparent 55%);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(0,180,216,.15);
  border: 1px solid rgba(0,180,216,.35);
  color: var(--teal);
  font-size: .8rem; font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 50px;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--teal), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem;
}
.hero-stat { }
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 800;
  color: var(--gold);
  display: block; line-height: 1;
}
.hero-stat-label {
  font-size: .8rem; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .05em;
}

/* Hero visual card */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-dashboard-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-product-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  font-size: .82rem; font-weight: 500;
  padding: .4rem 1rem;
  border-radius: 50px;
  transition: all var(--transition);
}
.hero-product-pill:hover { background: rgba(255,255,255,.15); color: #fff; }
.hero-product-pill .pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
}

/* ── Section Styles ──────────────────────────────────────────── */
.section-badge {
  display: inline-block;
  background: rgba(0,180,216,.1);
  color: var(--teal);
  font-size: .75rem; font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 50px;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

section { padding: 5rem 0; }
section.py-sm { padding: 3rem 0; }

/* ── Product Cards ───────────────────────────────────────────── */
.product-card {
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, var(--teal));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.product-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card:hover::before { transform: scaleX(1); }

.product-card .product-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.product-card h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.product-card p  { font-size: .92rem; color: var(--text-muted); margin-bottom: 1.25rem; }

.product-card .badge-deployment {
  font-size: .72rem; font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 50px;
}

/* ── Pricing Cards ───────────────────────────────────────────── */
.pricing-card {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: #fff;
  transition: all var(--transition);
  height: 100%;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,180,216,.1);
}

.pricing-card .popular-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal);
  color: #fff; font-size: .75rem; font-weight: 700;
  padding: .3rem 1rem; border-radius: 50px;
  white-space: nowrap;
}

.pricing-card .plan-price {
  font-family: var(--font-heading);
  font-size: 2.5rem; font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.pricing-card .plan-currency { font-size: 1.2rem; vertical-align: top; margin-top: .4rem; display: inline-block; }
.pricing-card .plan-period { font-size: .85rem; color: var(--text-muted); font-weight: 400; }
.pricing-card .plan-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.pricing-card .plan-features li {
  padding: .45rem 0;
  font-size: .92rem;
  display: flex; align-items: flex-start; gap: .6rem;
  border-bottom: 1px solid var(--gray-100);
}
.pricing-card .plan-features li:last-child { border: none; }
.pricing-card .plan-features li i { color: var(--teal); margin-top: .15rem; flex-shrink: 0; }

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  height: 100%;
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--teal);
  opacity: .3;
  margin-bottom: .5rem;
}

.testimonial-card .stars { color: var(--gold); font-size: .9rem; margin-bottom: 1rem; }
.testimonial-card blockquote { font-size: .95rem; font-style: italic; color: var(--gray-600); margin-bottom: 1.25rem; }
.testimonial-card .author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(0,180,216,.2) 0%, transparent 60%);
}

/* ── Portal / Dashboard ──────────────────────────────────────── */
.portal-sidebar {
  background: var(--navy);
  min-height: 100vh;
  width: 210px;
  padding: 2rem 1rem;
  position: sticky;
  top: 0;
}

.portal-sidebar .nav-link {
  color: rgba(255,255,255,.65) !important;
  border-radius: 10px;
  padding: .65rem 1rem !important;
  font-weight: 500;
  transition: all var(--transition);
  display: flex; align-items: center; gap: .75rem;
}
.portal-sidebar .nav-link:hover,
.portal-sidebar .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.1);
}
.portal-sidebar .nav-link.active { background: rgba(0,180,216,.2); color: var(--teal) !important; }

.stat-card {
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-card .stat-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--navy); }
.stat-card .stat-label { font-size: .82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.stat-card .stat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }

/* ── Admin Dashboard ─────────────────────────────────────────── */
.admin-sidebar {
  background: var(--navy-light);
  min-height: 100vh; width: 240px; position: fixed; left: 0; top: 0;
  z-index: 1000; padding: 0;
  border-right: 1px solid rgba(255,255,255,.06);
}
.admin-content { margin-left: 240px; padding: 2rem; background: var(--off-white); min-height: 100vh; }

/* ── Blog ────────────────────────────────────────────────────── */
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  background: #fff;
  height: 100%;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card .blog-cover { height: 200px; background: linear-gradient(135deg, var(--navy), var(--teal)); }
.blog-card .blog-body { padding: 1.5rem; }
.blog-card h5 { font-size: 1.05rem; margin-bottom: .5rem; }
.blog-card .blog-meta { font-size: .8rem; color: var(--text-muted); }

/* ── Forms ───────────────────────────────────────────────────── */
.form-control, .form-select {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: .65rem 1rem;
  font-size: .95rem;
  transition: all var(--transition);
  color: var(--text);
}
.form-control:focus, .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,180,216,.12);
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

/* ── WhatsApp Float ──────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  color: #fff; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); background: #20bd5c; color: #fff; box-shadow: 0 6px 28px rgba(37,211,102,.5); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-brand { color: #fff; display: flex; align-items: center; }
.footer-heading { font-family: var(--font-heading); font-size: .85rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .6rem; font-size: .88rem; }
.footer-links a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 2.5rem 0 1.5rem; }
.social-link { color: rgba(255,255,255,.55); font-size: 1.15rem; transition: color var(--transition); }
.social-link:hover { color: var(--gold); }

/* ── Checkout / Invoice ───────────────────────────────────────── */
.checkout-summary {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  height: 100%;
}
.checkout-summary h5 { color: #fff; }
.checkout-summary .summary-line { display: flex; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.checkout-summary .summary-total { font-size: 1.4rem; font-family: var(--font-heading); color: var(--gold); }

/* ── Licence Key display ─────────────────────────────────────── */
.licence-box {
  background: var(--navy);
  border: 1.5px solid rgba(0,180,216,.3);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-family: monospace;
  font-size: .95rem;
  color: var(--teal);
  letter-spacing: .08em;
  word-break: break-all;
}

/* ── Animations ───────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section { min-height: 80vh; padding: 4rem 0 3rem; }
  .hero-stats { gap: 1.25rem; }
  .admin-content { margin-left: 0; }
  .admin-sidebar { display: none; }
  .portal-sidebar { width: 100%; min-height: auto; position: static; }
  section { padding: 3.5rem 0; }
}

/* ── Vue transition helpers ───────────────────────────────────── */
.v-enter-active, .v-leave-active { transition: opacity .3s ease, transform .3s ease; }
.v-enter-from { opacity: 0; transform: translateY(8px); }
.v-leave-to   { opacity: 0; transform: translateY(-8px); }
