/* Luc Nam - Unique Ice-Blue Centered Minimalist + Asymmetric Grid */
/* Completely different from previous Nordic Sage blog style */

:root {
  --bg: #F8FAFC;
  --primary: #0EA5E9;
  --dark: #0C4A6E;
  --accent: #38BDF8;
  --text: #1E2937;
  --muted: #64748B;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --radius: 8px;
}

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

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

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

a:hover {
  color: #0284C8;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header - Minimal with animated underline */
header {
  position: sticky;
  top: 0;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

/* Hero - Split Screen */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 90px 0 70px;
  min-height: 580px;
}

.hero-content h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 22px;
}

.hero-content p {
  font-size: 18.5px;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 34px;
}

.hero-visual {
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  border-radius: 20px;
  height: 480px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(45deg, rgba(255,255,255,0.4) 25%, transparent 25%) -50px 0,
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.4) 75%) 0 0;
  background-size: 80px 80px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
  background: #0284C8;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.3);
}

/* Sections with generous spacing */
.section {
  padding: 90px 0;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  text-align: center;
}

/* About - Narrow centered */
.about-text {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
  color: #334155;
}

.about-text p {
  margin-bottom: 24px;
}

/* Articles - Asymmetric 2-col grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  margin-top: 50px;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.article-card:nth-child(2n) {
  padding-top: 48px; /* asymmetric heights */
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  border-color: #CBD5E1;
}

.article-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
}

.article-card h3 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--dark);
}

.article-excerpt {
  color: #475569;
  flex: 1;
  margin-bottom: 26px;
  font-size: 15.2px;
}

.read-more {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
}

.read-more:hover {
  gap: 10px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--card);
  max-width: 680px;
  width: 100%;
  border-radius: 16px;
  padding: 46px 40px;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.25);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
}

/* Contact */
.contact-wrapper {
  background: #F1F5F9;
  border-radius: 20px;
  padding: 70px 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 7px;
  font-size: 14.5px;
  color: #334155;
}

input, textarea {
  width: 100%;
  padding: 14px 17px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15.5px;
  font-family: inherit;
  background: white;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.submit-btn {
  background: var(--dark);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #1E3A5F;
}

/* Footer */
footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 65px 0 35px;
  font-size: 14px;
}

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

.footer-col h5 {
  color: white;
  margin-bottom: 16px;
  font-size: 14.5px;
}

.footer-col a {
  color: #94A3B8;
  display: block;
  margin-bottom: 7px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 55px;
  padding-top: 28px;
  border-top: 1px solid #334155;
  text-align: center;
  font-size: 12.5px;
  color: #64748B;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual {
    height: 360px;
    margin-top: 50px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
}