/*
 Theme Name: Astra Child - einvoice.now
 Theme URI: https://einvoice.now
 Description: Astra child theme for einvoice.now landing page.
 Author: Wouter / ChatGPT
 Template: astra
 Version: 1.0.0
 Text Domain: astra-einvoice-now-child
*/

/* ===========================================
   EINVOICE.NOW - WordPress Custom CSS
   =========================================== */

/* FONTS - Add to your theme or use Google Fonts plugin */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* CSS VARIABLES */
:root {
  /* Colors */
  --color-primary: #1a365d;          /* Deep Navy */
  --color-primary-light: #2d4a73;
  --color-accent: #2b9b8a;           /* Electric Teal */
  --color-accent-light: #3ab89f;
  --color-background: #faf9f7;       /* Warm White */
  --color-card: #ffffff;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;

  /* Shadows */
  --shadow-soft: 0 4px 20px -2px rgba(26, 54, 93, 0.08);
  --shadow-card: 0 8px 40px -8px rgba(26, 54, 93, 0.12);
  --shadow-elevated: 0 20px 60px -15px rgba(26, 54, 93, 0.18);

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1200px;
}

/* BASE STYLES */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-background);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-accent {
  background: var(--color-accent);
  color: white;
  border: none;
}

.btn-accent:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn-large {
  padding: 18px 36px;
  font-size: 17px;
}

/* SECTION LABELS */
.section-label {
  display: block;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-intro {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 48px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

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

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--color-text);
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(135deg, #1a365d 0%, #2d4a73 50%, #3d5a80 100%);
  padding: 120px 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  color: white;
  margin-bottom: 24px;
}

.hero-section .highlight {
  color: var(--color-accent);
}

.eyebrow {
  display: inline-block;
  background: rgba(43, 155, 138, 0.2);
  color: var(--color-accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 20px;
  max-width: 700px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.trust-indicators {
  display: flex;
  gap: 32px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  flex-wrap: wrap;
}

/* BENEFITS SECTION */
.benefits-section {
  padding: var(--section-padding);
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.benefit-card {
  padding: 32px;
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--color-text-muted);
  font-size: 15px;
}

/* NETWORKS SECTION */
.networks-section {
  padding: var(--section-padding);
  text-align: center;
}

.networks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  text-align: left;
}

.network-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.network-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.network-card h3 {
  margin-bottom: 16px;
}

.network-card h4 {
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 16px 0 8px;
}

.network-card ul {
  margin: 0;
  padding-left: 20px;
}

.network-card li {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.network-card a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.network-card a:hover {
  text-decoration: underline;
}

.section-cta {
  margin-top: 64px;
}

/* FAQ SECTION */
.faq-section {
  padding: var(--section-padding);
  background: #f3f4f6;
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  color: var(--color-text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  font-size: 24px;
  color: var(--color-accent);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 16px;
  color: var(--color-text-muted);
}

.faq-cta {
  margin-top: 48px;
}

.faq-cta a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

/* NEWS SECTION */
.news-section {
  padding: var(--section-padding);
  text-align: center;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  text-align: left;
}

.news-column h3,
.blog-column h3 {
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.news-item {
  margin-bottom: 32px;
}

.news-category,
.blog-category {
  display: inline-block;
  background: rgba(43, 155, 138, 0.1);
  color: var(--color-accent);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 12px;
}

.news-item time {
  font-size: 13px;
  color: var(--color-text-muted);
}

.news-item h4 {
  margin: 8px 0;
  transition: color 0.2s;
}

.news-item:hover h4 {
  color: var(--color-accent);
}

.news-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.news-item a,
.view-all {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.blog-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}

.blog-card h4 {
  margin: 12px 0 8px;
}

.blog-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.newsletter-cta {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 48px;
  margin-top: 64px;
  box-shadow: var(--shadow-card);
}

.newsletter-cta h3 {
  margin-bottom: 12px;
}

.newsletter-cta p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, #1a365d 0%, #2d4a73 50%, #3d5a80 100%);
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* FOOTER */
.site-footer {
  background: var(--color-primary);
  color: white;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin: 16px 0;
}

.social-links a {
  color: rgba(255,255,255,0.6);
  margin-right: 16px;
  text-decoration: none;
}

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

.footer-column h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-bottom a {
  color: var(--color-accent);
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .nav-menu { display: none; }

  .hero-section { padding: 80px 0; min-height: auto; }

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

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

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

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

  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
