/* ==========================================================================
   ApexCloud - Simple Clean Stylesheet
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header & Navigation ───────────────────────────────── */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  color: var(--slate-900);
}

.logo-badge {
  background: var(--primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--slate-100);
}

.nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 600;
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--primary-hover) !important;
}

/* ── Hero Section ──────────────────────────────────────── */
.hero {
  padding: 70px 0 50px;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
}

.hero-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--slate-900);
  max-width: 760px;
  margin: 0 auto 16px;
}

.hero-title span {
  color: var(--primary);
}

.hero-desc {
  font-size: 18px;
  color: var(--slate-500);
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: white;
  color: var(--slate-700);
  border-color: var(--slate-300);
}

.btn-secondary:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
}

/* ── Sections & Grids ──────────────────────────────────── */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 16px;
  color: var(--slate-500);
}

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

.card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* ── Pricing Cards ─────────────────────────────────────── */
.pricing-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.pricing-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--slate-900);
  margin: 14px 0 8px;
}

.pricing-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-500);
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--slate-600);
}

/* ── Form Styles ───────────────────────────────────────── */
.form-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  padding: 36px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--slate-900);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  margin-top: auto;
  background: white;
  border-top: 1px solid var(--slate-200);
  padding: 36px 0;
  color: var(--slate-500);
  font-size: 14px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .header .container { flex-direction: column; height: auto; padding: 14px; gap: 10px; }
  .nav-links { flex-wrap: wrap; justify-content: center; }
}
