/* Modern High-End Editorial Design */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg-color: #FAF9F7;
  --text-color: #1F1F1F;
  --text-light: #555555;
  --accent-color: #5A7D9A;
  --accent-hover: #486a88;
  --card-bg: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius-md: 8px;
  --radius-lg: 16px;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --max-width: 1000px;
  --transition-speed: 0.3s;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--text-color);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.25;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.5em;
  color: var(--text-light);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header - Glassmorphism */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.5rem 0;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  margin-bottom: 2rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.nav-link {
  font-size: 1rem;
  color: var(--text-color);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-color);
  transition: width var(--transition-speed);
}

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

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.hero p.lead {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 1rem auto 2rem;
  color: var(--text-light);
}

.btn {
  display: inline-block;
  background-color: var(--text-color);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--text-color);
}

/* Cards & Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

/* Split Section for Features */
.split-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin: 6rem 0;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-content {
  flex: 1;
}

.split-image {
  flex: 1;
}

.split-image img {
  width: 100%;
  box-shadow: var(--shadow-md);
}

/* Feature List (Bento-ish) */
.feature-box {
  background: #fff;
  padding: 1.5rem;
  border-left: 4px solid var(--accent-color);
  margin-bottom: 1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.feature-box.negative {
  border-left-color: #888;
  background: #f4f4f4;
}

/* Footer */
footer {
  margin-top: 6rem;
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger Animations */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .split-section {
    flex-direction: column;
  }

  .split-section.reverse {
    flex-direction: column;
  }

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

  .hero-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .btn-secondary {
    margin-left: 0;
  }
}