/* Template 3 - Deep Ocean / Layered Cards */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:wght@400;500;600;700&display=swap");

:root {
  --color-deep-blue: #0a1628;
  --color-navy: #152238;
  --color-slate: #1e3a5f;
  --color-cyan: #06b6d4;
  --color-teal: #14b8a6;
  --color-white: #ffffff;
  --color-light-blue: #e0f2fe;
  --color-muted: #94a3b8;
  
  --bg-primary: var(--color-deep-blue);
  --bg-secondary: var(--color-navy);
  --bg-card: var(--color-slate);
  --text-primary: var(--color-white);
  --text-secondary: var(--color-light-blue);
  --text-muted: var(--color-muted);
  --accent: var(--color-cyan);
  --accent-secondary: var(--color-teal);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "DM Sans", sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header - Split Layout with Accent Line */
.site-header {
  background: var(--bg-secondary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.site-logo a {
  font-family: "Fraunces", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.site-logo a::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

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

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: transparent;
}

.site-nav a:hover {
  color: var(--text-primary);
  background: rgba(6, 182, 212, 0.15);
}

/* Hero Section - Card Style with Glow */
.section.head {
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.section.head::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.section.head h1 {
  font-family: "Fraunces", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.section.head h1 span {
  color: var(--accent);
}

.section.head p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

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

.section header h2 {
  font-family: "Fraunces", serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: inline-block;
  position: relative;
}

.section header h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius: 2px;
}

.section header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 1rem auto 0;
}

/* Footer - Layered Card Design */
.footer {
  background: var(--bg-secondary);
  padding: 0;
  margin-top: 5rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary), var(--accent));
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding: 4rem 0 2rem;
  align-items: start;
}

.footer-about {
  max-width: 400px;
}

.footer-tagline {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-links {
  justify-self: end;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.footer-links a:hover::before {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.15s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

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

main {
  flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
}
