/* AlucalPro — Industrial navy + orange accent */
:root {
  --bg: #0a1622;
  --bg-alt: #0D2B45;
  --bg-card: #123C69;
  --surface: #1a4a7a;
  --border: #2a5a8a;
  --text: #e8edf4;
  --text-muted: #a8b8cc;
  --primary: #0D2B45;
  --primary-deep: #123C69;
  --accent: #FF4500;
  --accent-hover: #FF5722;
  --accent-soft: rgba(255, 69, 0, 0.14);
  --aluminum: #c0c8d4;
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
ul { list-style: none; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 43, 69, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: #FF4500;
  color: #fff;
  box-shadow: 0 6px 22px rgba(255, 69, 0, 0.45), 0 0 0 1px rgba(255, 69, 0, 0.25);
}
.btn-primary:hover {
  background: #FF5722;
  color: #fff;
  box-shadow: 0 8px 28px rgba(255, 69, 0, 0.55), 0 0 0 1px rgba(255, 87, 34, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(255, 69, 0, 0.5);
}
.btn-lg.btn-primary:hover {
  box-shadow: 0 10px 32px rgba(255, 69, 0, 0.6);
}
.btn-block { width: 100%; }

/* Nav CTA stays solid orange */
.nav-links .btn-primary {
  background: #FF4500;
  box-shadow: 0 4px 16px rgba(255, 69, 0, 0.4);
}
.nav-links .btn-primary:hover { background: #FF5722; color: #fff; }

/* Form submit = clearly orange */
.form-card .btn-primary,
button.btn-primary[type="submit"] {
  background: #FF4500;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(255, 69, 0, 0.5);
}
.form-card .btn-primary:hover,
button.btn-primary[type="submit"]:hover {
  background: #FF5722;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  background:
    linear-gradient(160deg, #0f1419 0%, #152033 45%, #0f1419 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 69, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 69, 0, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  background: rgba(255, 69, 0, 0.16);
  border: 1px solid rgba(255, 69, 0, 0.55);
  border-radius: 999px;
  color: #FF4500;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 1px rgba(255, 69, 0, 0.12), 0 4px 14px rgba(255, 69, 0, 0.18);
}
.badge-ai,
.badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 69, 0, 0.18);
  border: 1.5px solid #FF4500;
  border-radius: 999px;
  color: #FF4500;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: 0 4px 16px rgba(255, 69, 0, 0.25);
}
.badge-ai { margin-left: 0.35rem; vertical-align: middle; }

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero h1 .highlight,
.highlight {
  color: #FF4500;
  font-weight: inherit;
}
.highlight-strong {
  color: #FF4500;
  text-shadow: 0 0 24px rgba(255, 69, 0, 0.35);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat {
  min-width: 6rem;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--aluminum);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 69, 0, 0.35);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 69, 0, 0.2), 0 8px 28px rgba(255, 69, 0, 0.12);
}

.hero-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.hero-card .sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Sections */
section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Problem / Solution cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover {
  border-color: rgba(255, 69, 0, 0.55);
  box-shadow: 0 8px 24px rgba(255, 69, 0, 0.15);
  transform: translateY(-2px);
}
.card.featured,
.pricing-card.featured,
.feature.featured {
  border-color: #FF4500;
  box-shadow: 0 0 0 1px rgba(255, 69, 0, 0.35), 0 12px 32px rgba(255, 69, 0, 0.2);
  position: relative;
}
.card.featured::before,
.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #FF4500, #FF5722);
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 8px;
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: #FF4500;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.4);
}

.feature h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.feature p { color: var(--text-muted); font-size: 0.9rem; }

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--bg-card);
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: var(--surface);
  font-weight: 600;
  color: var(--aluminum);
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:nth-child(3) { color: var(--success); font-weight: 600; }
.compare-table .neg { color: var(--danger); font-weight: 500; }

/* Social proof */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.proof-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.proof-card .quote {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.proof-card .author {
  font-weight: 600;
  font-size: 0.9rem;
}
.proof-card .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.placeholder-note {
  font-size: 0.75rem;
  color: var(--border);
  margin-top: 0.5rem;
}

/* CTA / Form section */
.cta-section {
  background:
    linear-gradient(135deg, #152033 0%, #1a2a40 50%, #0f1419 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.cta-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.cta-copy p { color: var(--text-muted); margin-bottom: 1.25rem; }
.cta-copy ul { margin-bottom: 1rem; }
.cta-copy li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.cta-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.form-card .form-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--aluminum);
}

.form-group input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group input.error {
  border-color: var(--danger);
}
.field-error {
  display: none;
  font-size: 0.75rem;
  color: var(--danger);
  margin-top: 0.25rem;
}
.field-error.visible { display: block; }

.form-msg {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.form-msg.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--success);
}
.form-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--danger);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.footer-brand .logo { display: inline-block; margin-bottom: 0.75rem; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 22rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  color: var(--aluminum);
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Blog */
.blog-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.blog-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.blog-hero p { color: var(--text-muted); }

.blog-list {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 0 4rem;
}

.blog-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}
.blog-item:hover { border-color: rgba(255, 69, 0, 0.55); box-shadow: 0 8px 24px rgba(255, 69, 0, 0.12); }

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.blog-item h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.blog-item h2 a {
  color: var(--text);
  text-decoration: none;
}
.blog-item h2 a:hover { color: var(--accent); }
.blog-item p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 4px;
}

/* Blog post article */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}
.article-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.article h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.article .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.article h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}
.article h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}
.article p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.article ul, .article ol {
  margin: 0 0 1.25rem 1.25rem;
  color: var(--text-muted);
}
.article li { margin-bottom: 0.4rem; list-style: disc; }
.article ol li { list-style: decimal; }
.article strong { color: var(--text); }
.article a { font-weight: 500; }

.article-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.article-cta h3 { margin-bottom: 0.5rem; }
.article-cta p { margin-bottom: 1.25rem; color: var(--text-muted); }

.keywords {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.keywords span {
  display: inline-block;
  margin: 0.2rem 0.3rem 0.2rem 0;
  color: var(--accent);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .blog-item { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}


/* Secondary / supporting feature */
.feature-secondary {
  opacity: 0.92;
  border-style: dashed;
}
.feature-secondary .feature-num {
  background: var(--surface);
  color: var(--text-muted);
}

/* Long CTA buttons wrap cleanly */
.btn-lg, .btn-block {
  white-space: normal;
  line-height: 1.35;
  text-align: center;
}
.hero-actions .btn-primary {
  max-width: 100%;
}
.form-card .btn-block {
  font-size: 0.95rem;
  padding: 0.95rem 1rem;
}


/* Orange brand accent utilities (AlucalPro TURUNCU #FF4500) */
.accent-orange { color: #FF4500; }
.bg-accent-soft { background: rgba(255, 69, 0, 0.14); }

/* Direct email CTA near early-access form */
.form-email, .cta-email { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.4; }
.form-email a, .cta-email a { color: #FF4500; font-weight: 600; text-decoration: underline; }
.form-email a:hover, .cta-email a:hover { opacity: 0.9; }

