:root {
  --bg: #0f172a;
  --bg-soft: #1e293b;
  --accent: #10b981; /* Soft emerald */
  --accent-soft: #d1fae5;
  --accent-glow: rgba(16, 185, 129, 0.4);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --card-bg: rgba(30, 41, 59, 0.7);
  --border-soft: rgba(148, 163, 184, 0.1);
  --shadow-soft: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-main: "Heebo", "Inter", system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--bg);
  background-image: radial-gradient(
      circle at 10% 10%,
      rgba(16, 185, 129, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(56, 189, 248, 0.08) 0%,
      transparent 40%
    );
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  line-height: 1.2;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #059669);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.logo-text h1 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

nav.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent);
  color: #022c22;
  box-shadow: 0 4px 14px -2px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #34d399;
  box-shadow: 0 6px 20px -4px var(--accent-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-soft);
}

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

.btn-whatsapp {
  background-color: #25d366;
  color: white;
}
.btn-whatsapp:hover {
  background-color: #20bd5a;
}

/* Sections */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.subtitle {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.text-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Hero */
.hero {
  padding-top: 4rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.badge {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

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

.card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(16, 185, 129, 0.2);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Reviews Section */
.review-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-stars {
  color: #fbbf24; /* Amber-400 */
  letter-spacing: 0.1rem;
}

.review-text {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-main);
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-soft), var(--bg));
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.2rem;
}

.author-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Articles Section */
.article-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-content {
  flex: 1;
}

.article-tag {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* Contact Form */
.grid-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  background: var(--bg-soft);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

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

/* Footer */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 4rem 2rem;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid,
  .grid-contact {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .nav-inner {
    padding: 1rem;
  }

  nav.main-nav {
    display: none; /* simple hide for now, could add hamburger */
  }
}
