/* EasyBilling Public Website Stylesheet
   Crafted following impeccable.style/slop design standards:
   - Zero AI-slop: No purple neon gradients, glowing orb backdrops, or glassmorphism blur.
   - High-contrast typography: WCAG AAA compliant body text, clear hierarchy.
   - Flat, solid surfaces with crisp 1px borders (no cardocalypse/container nesting).
   - Tabular numerals for financial and statistical accuracy.
*/

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Brand Color Palette: #181C31 (Navy) + #57EBB9 (Mint) */
  --navy-950: #0f1220;
  --navy-900: #181C31; /* Primary brand dark */
  --navy-800: #222744;
  --navy-700: #2c3358;
  --navy-600: #3a4374;
  --navy-50: #f1f4f9;

  --mint-500: #57EBB9; /* Primary brand mint */
  --mint-400: #7bf2c9;
  --mint-600: #3ad6a1;
  --mint-700: #12825d;
  --mint-50: rgba(87, 235, 185, 0.12);

  --slate-900: #181C31;
  --slate-800: #222744;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --emerald-900: #0f4632;
  --emerald-700: #12825d;
  --emerald-600: #10825f;
  --emerald-100: rgba(87, 235, 185, 0.2);
  --emerald-50: rgba(87, 235, 185, 0.08);

  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;

  --white: #ffffff;
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;

  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --container-max: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--slate-900);
  line-height: 1.6;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5 {
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

p {
  color: var(--slate-700);
  font-size: 1rem;
  line-height: 1.65;
}

p.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--slate-600);
}

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: var(--navy-800);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.section-alt {
  background-color: var(--slate-50);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-700);
  background: var(--navy-50);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid #bfdbfe;
  margin-bottom: 0.85rem;
}

.section-header p {
  margin-top: 0.85rem;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 150ms ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: #181C31;
  color: #57EBB9;
  border: 1px solid rgba(87, 235, 185, 0.45);
  box-shadow: 0 2px 6px rgba(24, 28, 49, 0.25);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #222744;
  border-color: #57EBB9;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(87, 235, 185, 0.25);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--slate-800);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-sm);
}

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

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

/* Badges */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-700);
  background-color: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

/* Navigation Bar */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: none; /* No artificial blur slop */
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--navy-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  border: 1px solid var(--navy-800);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-edition {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-700);
  font-weight: 700;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
}

.nav-links a:hover {
  color: var(--navy-700);
}

/* Hero Section */
.hero {
  padding: 5.5rem 0 4.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--slate-50) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero p.lead {
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--slate-600);
  font-weight: 600;
  flex-wrap: wrap;
}

.hero-guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Hero Preview Card (App Mockup) */
.hero-preview {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.preview-topbar {
  background: var(--slate-900);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-800);
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-700);
}

.preview-title {
  color: var(--slate-300);
  font-size: 0.76rem;
  font-weight: 600;
}

.preview-body {
  padding: 1.5rem;
}

.preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.preview-kpi {
  background: var(--slate-50);
  border: 1px solid var(--border-color);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
}

.preview-kpi-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-500);
}

.preview-kpi-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 0.2rem;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-top: 0.5rem;
}

.preview-table th {
  text-align: left;
  padding: 0.5rem 0.6rem;
  color: var(--slate-500);
  border-bottom: 1px solid var(--slate-200);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.preview-table td {
  padding: 0.6rem 0.6rem;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-800);
}

/* Feature Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 150ms ease;
}

.feature-box:hover {
  border-color: var(--slate-300);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: #181C31;
  color: #57EBB9;
  border: 1px solid rgba(87, 235, 185, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  font-size: 1.15rem;
  box-shadow: 0 2px 6px rgba(24, 28, 49, 0.15);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: #57EBB9;
  stroke-width: 2;
  fill: none;
}

.feature-box h3 {
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Architecture & Security */
.arch-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.arch-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.arch-card-header h3 {
  font-size: 1.2rem;
}

.arch-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.arch-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.arch-list svg {
  color: var(--emerald-600);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Downloads Section */
.download-section-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-800);
  margin: 2.75rem 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
}

.download-grid,
.download-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1120px;
  margin: 0 auto;
}

.download-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 780px;
  margin: 0 auto;
}

.download-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-card.highlight {
  border-color: #57EBB9;
  box-shadow: 0 0 0 2px rgba(87, 235, 185, 0.4), var(--shadow-md);
}

.download-card-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-700);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.download-zero-cli {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b684c;
  background: rgba(87, 235, 185, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin: 0.5rem auto 0;
  width: fit-content;
}

.os-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.download-card .version-meta {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
}

.download-specs {
  margin: 1.25rem 0;
  font-size: 0.82rem;
  color: var(--slate-600);
  text-align: left;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  padding: 1rem 0;
  flex: 1;
}

.download-specs li {
  display: flex;
  justify-content: space-between;
}

.download-specs li span:last-child {
  font-weight: 600;
  color: var(--slate-800);
}

.download-step-box {
  font-size: 0.78rem;
  color: var(--slate-700);
  text-align: left;
  background: var(--slate-50);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.download-step-box ol {
  margin: 0.35rem 0 0 1.15rem;
  padding: 0;
}

.download-step-box li {
  margin-bottom: 0.2rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  background-color: var(--slate-50);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.6;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}

/* Footer */
.site-footer {
  background-color: var(--slate-900);
  color: var(--slate-300);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.15rem;
}

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

.footer-col a {
  color: var(--slate-400);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--slate-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .download-grid,
  .download-grid-3,
  .download-grid-2 { grid-template-columns: 1fr; max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

