/* ===========================
   kianbotsoft.com — Global CSS
   Dark navy/slate + blue accent
   =========================== */

:root {
  --navy-950: #020b18;
  --navy-900: #0a1628;
  --navy-800: #0f2040;
  --navy-700: #152a52;
  --slate-700: #1e2d45;
  --slate-600: #253550;
  --slate-500: #334466;
  --slate-400: #4a5c7a;
  --slate-300: #6b7fa0;
  --slate-200: #9aaec8;
  --slate-100: #c8d8ee;
  --blue-600:  #2563eb;
  --blue-500:  #3b82f6;
  --blue-400:  #60a5fa;
  --blue-300:  #93c5fd;
  --cyan-400:  #22d3ee;
  --white:     #f0f6ff;
  --text-dim:  #8ba4c8;
  --border:    rgba(59, 130, 246, 0.15);
  --card-bg:   rgba(15, 32, 64, 0.7);
  --green-400: #4ade80;
  --amber-400: #fbbf24;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--navy-950);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--blue-400); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-300); }

/* ─── NAVIGATION ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 11, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-brand .logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--slate-200);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-500);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--slate-200);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--slate-700);
  color: var(--white);
  border-color: var(--blue-500);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--slate-200);
  padding: 0.6rem 1rem;
}

.btn-ghost:hover { color: var(--white); }

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 5rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue-400);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 8px var(--green-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--slate-200);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── SECTIONS ─── */
.section {
  padding: 5rem 2rem;
}

.section-alt {
  background: rgba(15, 32, 64, 0.3);
}

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

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-400);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  color: var(--slate-200);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ─── CARDS / GRID ─── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.2s;
}

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

.pricing-card.featured {
  border-color: var(--blue-500);
  background: rgba(37, 99, 235, 0.08);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-600);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
}

.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-400);
  margin-bottom: 0.3rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

.plan-price sup {
  font-size: 1rem;
  font-weight: 600;
  vertical-align: super;
  color: var(--slate-200);
}

.plan-price .period {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
}

.plan-db {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-300);
  margin: 0.8rem 0;
}

.plan-storage {
  font-size: 0.85rem;
  color: var(--slate-200);
  margin-bottom: 1.2rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 1.8rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--slate-100);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features .check {
  color: var(--green-400);
  font-size: 0.9rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.plan-features .x {
  color: var(--slate-400);
  font-size: 0.9rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ─── TRUST STRIP ─── */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 32, 64, 0.4);
  padding: 1.8rem 2rem;
}

.trust-items {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-200);
  font-weight: 500;
}

.trust-item .icon { font-size: 1rem; }

/* ─── CONTACT FORM ─── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-200);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(15, 32, 64, 0.7);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option { background: var(--navy-900); }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 12px;
  color: var(--green-400);
}

.form-error {
  display: none;
  text-align: center;
  padding: 1rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  color: #f87171;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* ─── SPEC TABLE ─── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.spec-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid var(--border);
}

.spec-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--slate-100);
}

.spec-table tr:last-child td { border-bottom: none; }

.spec-table td:first-child { color: var(--text-dim); font-size: 0.85rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-green { background: rgba(74, 222, 128, 0.12); color: var(--green-400); border: 1px solid rgba(74, 222, 128, 0.2); }
.badge-blue  { background: rgba(59, 130, 246, 0.12); color: var(--blue-400);  border: 1px solid rgba(59, 130, 246, 0.2); }
.badge-amber { background: rgba(251, 191, 36, 0.12); color: var(--amber-400); border: 1px solid rgba(251, 191, 36, 0.2); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37,99,235,0.12) 0%, transparent 70%);
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.page-hero p { color: var(--text-dim); margin-top: 0.75rem; font-size: 1rem; }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero-stats { gap: 1.5rem; }
}

.footer-brand p { color: var(--text-dim); font-size: 0.85rem; margin-top: 0.75rem; line-height: 1.7; }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-300);
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col ul li a { color: var(--text-dim); font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── UPTIME INDICATOR ─── */
.uptime-bars {
  display: flex;
  gap: 3px;
}

.uptime-bar {
  width: 8px;
  height: 28px;
  border-radius: 3px;
  background: var(--green-400);
  opacity: 0.8;
}

.uptime-bar.partial { background: var(--amber-400); }
.uptime-bar.down { background: #ef4444; }

/* ─── DASHBOARD PLACEHOLDER ─── */
.dashboard-placeholder {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  border: 2px dashed var(--border);
  border-radius: 20px;
  color: var(--text-dim);
}

.dashboard-placeholder .icon { font-size: 3rem; }

/* ─── MISC ─── */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.text-center { text-align: center; }
.text-dim { color: var(--text-dim); }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.highlight { color: var(--blue-400); }
