:root {
  --neon: #00d4ff;
  --neon-soft: #7dd3fc;
  --bg: #f8f9f6;
  --surface: #ffffff;
  --text: #1f2520;
  --text-muted: #5a605b;
  --accent: #a5b4fc;
  --radius: 20px;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  --gap: 2.25rem;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 17.5px;
  font-weight: 400;
}

a {
  color: var(--neon);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #00a8cc;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  color: #111;
}

h1 { font-size: 3.8rem; letter-spacing: -0.04em; }
h2 { font-size: 2.35rem; }
h3 { font-size: 1.55rem; }

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 249, 246, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e5e7e4;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #111;
}

.logo span {
  color: var(--neon);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(to right, var(--neon), #00a8cc);
  transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-links a:hover:after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--text);
}

/* Hero - Centered Minimalist */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(180deg, #f8f9f6 0%, #f1f2ef 100%);
}

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

.hero h1 {
  margin-bottom: 1.8rem;
  font-size: 4.4rem;
}

.hero p {
  font-size: 1.28rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.8rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 2.1rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  border: 2px solid var(--neon);
  background: transparent;
  color: var(--neon);
}

.btn:hover {
  background: var(--neon);
  color: white;
  border-color: var(--neon);
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: #00a8cc;
  border-color: #00a8cc;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3.25rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2.5px;
  background: var(--neon);
  border-radius: 2px;
}

/* Intro - narrow column */
.intro {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.12rem;
  color: var(--text-muted);
}

.intro p {
  margin-bottom: 1.75rem;
}

/* Articles Grid - Asymmetric feel */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.1rem 2.1rem 1.85rem;
  box-shadow: var(--shadow);
  border: 1px solid #e8eae6;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), 
              box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 212, 255, 0.08);
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(var(--neon), #7dd3fc);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  background: #e0f7ff;
  color: #007a99;
  letter-spacing: 0.5px;
}

.read-time {
  font-size: 0.8rem;
  color: #888;
}

.card-body h3 {
  font-size: 1.42rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #111;
}

.excerpt {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.read-btn {
  align-self: flex-start;
  font-weight: 600;
  color: var(--neon);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  transition: gap 0.2s ease;
}

.read-btn:hover {
  gap: 0.7rem;
}

/* Modal - Unique reading experience */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(248, 249, 246, 0.96);
  z-index: 200;
  overflow-y: auto;
  padding: 3rem 1.5rem;
}

.modal.active {
  display: block;
}

.modal-content {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.12);
  overflow: hidden;
  border: 1px solid #e5e7e4;
}

.modal-header {
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid #f0f1ee;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-header .close {
  font-size: 2.2rem;
  line-height: 1;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-header .close:hover {
  color: var(--neon);
}

.modal-body {
  padding: 2.5rem 2.5rem 3.5rem;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.modal-body h2 {
  color: #111;
  margin-bottom: 1.5rem;
  font-size: 2.1rem;
}

/* Contact */
.contact-wrapper {
  max-width: 620px;
  margin: 5rem auto;
  background: white;
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--shadow);
  border: 1px solid #e8eae6;
}

.contact-wrapper h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-wrapper .lead {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.8rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.55rem;
  color: #444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.05rem 1.3rem;
  border: 1.5px solid #d1d5d0;
  border-radius: 14px;
  font-size: 1.05rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fdfdfc;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
  outline: none;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

/* Thank you */
.thankyou {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

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

.thankyou-content h1 {
  font-size: 3.6rem;
  color: var(--neon);
  margin-bottom: 1.2rem;
}

.thankyou-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  background: #111;
  color: #ccc;
  padding: 4.5rem 0 2.5rem;
  margin-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  color: #aaa;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

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

.footer-bottom {
  max-width: 780px;
  margin: 3.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero h1 {
    font-size: 3.1rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
}