/* ========================================
   fadiopgenorth.com — Main Stylesheet
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #14b8a6;
  --accent-hover: #0d9488;
  --border: #334155;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --max-width: 1140px;
  --radius: 8px;
  --transition: 0.2s ease;
  --border-subtle: #1e293b;
  --border-hover: #475569;
  --accent-dim: rgba(20, 184, 166, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; }

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

section {
  padding: 5rem 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-logo:hover { color: var(--accent); }

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Nav --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  padding: 2rem 1.5rem;
}

.mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav a {
  color: var(--text-secondary);
  font-size: 1.2rem;
  font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
}

/* --- Hero --- */
.hero {
  padding: 8rem 0 5rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar span {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition);
}

.card:hover {
  border-color: var(--accent);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card .status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.status-dev {
  background: rgba(20, 184, 166, 0.15);
  color: var(--accent);
}

.status-planned {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-secondary);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Lead Magnet / CTA Box --- */
.cta-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.cta-box h2, .cta-box h3 {
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* --- Forms --- */
.form-inline {
  display: flex;
  gap: 0.75rem;
  max-width: 450px;
  margin: 0 auto;
}

.form-inline input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-inline input[type="email"]::placeholder {
  color: var(--text-muted);
}

.form-inline button {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.form-inline button:hover {
  background: var(--accent-hover);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  font-style: italic;
  color: var(--text-secondary);
}

.testimonial-card .attribution {
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-primary);
}

.timeline-item:last-child::before {
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.3);
}

.timeline-item h4 {
  margin-bottom: 0.25rem;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.15);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Service List --- */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.service-item h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.service-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- What I Bring / Key Points --- */
.key-points {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.key-point h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.key-point p {
  color: var(--text-secondary);
}

/* --- Credentials --- */
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.credential-tag {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- Photo Placeholder --- */
.photo-placeholder {
  width: 200px;
  height: 240px;
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 2rem auto;
}

/* --- Blog --- */
.blog-post {
  max-width: 750px;
  margin: 0 auto;
}

.blog-post .post-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.blog-post h2 {
  margin-bottom: 0.5rem;
}

.blog-post p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
}

.blog-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

/* --- Book a Call --- */
.book-call {
  text-align: center;
  padding: 3rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 3rem;
}

.book-call h3 {
  margin-bottom: 0.5rem;
}

.book-call p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* --- Direct Contact --- */
.direct-contact {
  margin-top: 3rem;
  text-align: center;
}

.direct-contact p {
  color: var(--text-secondary);
}

.direct-contact a {
  color: var(--accent);
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

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

.footer-newsletter .form-inline {
  margin: 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* --- Vertical Label --- */
.vertical-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* --- Clickable Card Link --- */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link .card-action {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 0.75rem;
  margin-bottom: 0;
  transition: transform var(--transition);
}

.card-link:hover .card-action {
  transform: translateX(4px);
}

/* --- Static Card (no hover) --- */
.card-static:hover {
  border-color: var(--border);
  transform: none;
  box-shadow: none;
  background: var(--bg-secondary);
  cursor: default;
}

/* --- Early Access CTA --- */
.early-access-cta {
  background: var(--bg-secondary);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.early-access-cta h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.early-access-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}

.early-access-cta .form-inline {
  justify-content: center;
}

/* --- Legal Table --- */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.legal-table thead tr {
  border-bottom: 2px solid var(--border);
}

.legal-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.75rem;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  section { padding: 3.5rem 0; }

  .hero { padding: 6.5rem 0 3rem; }
  .hero p { font-size: 1rem; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-newsletter .form-inline {
    justify-content: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .form-inline {
    flex-direction: column;
  }

  .form-inline input[type="email"],
  .form-inline button {
    width: 100%;
  }

  .trust-bar {
    gap: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }

  .hero { padding: 6rem 0 2.5rem; }

  .container { padding: 0 1rem; }

  .cta-box { padding: 2rem 1.5rem; }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }
}
