@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&display=swap');

:root {
  --primary: #00204A;      /* Midnight Blue */
  --accent: #FCD12A;       /* Yellow/Gold Accent */
  --accent-hover: #E5BE26; /* Darker Yellow Hover */
  --text-main: #333333;    /* Dark Gray for body */
  --text-light: #FFFFFF;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;     /* Very light gray */
  --border: #EAEAEA;
  
  --font-main: 'Montserrat', sans-serif;
  
  --radius: 5px;           /* Buttons */
  --radius-card: 10px;     /* Cards */
  --shadow-card: 0px 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0px 15px 35px rgba(0, 0, 0, 0.1);
  
  --max-w: 1200px;
}

/* Base Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1rem;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--text-light); }
h2 { font-size: clamp(2rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin-bottom: 1rem; color: var(--text-main); font-weight: 400; }
.lead { font-size: 1.15rem; color: var(--text-main); margin-bottom: 2rem; max-width: 800px; }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

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

.anim-fade-up {
  opacity: 0; /* Start hidden */
  animation: fadeInUp 1s ease forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background-color: var(--accent);
  color: #000000;
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}
.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}
.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary);
  transform: translateY(-2px);
}
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Header */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-badge {
  background-color: var(--primary);
  color: var(--accent);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 1.4rem;
}
.brand-copy strong {
  display: block;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}
.brand-copy span {
  font-size: 0.75rem;
  color: var(--text-main);
  font-weight: 600;
}
.header-links {
  display: flex;
  gap: 2.5rem;
}
.header-links a {
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.header-links a:hover { color: var(--accent); }
.lang-switch a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0.4rem 0.6rem;
  border-radius: 3px;
}
.lang-switch a.current {
  background-color: var(--accent);
  color: #000;
}

/* Sections */
.section { padding: 6rem 0; }
.section-light { background-color: var(--bg-light); }
.section-primary { background-color: var(--primary); color: var(--text-light); }
.section-primary h2, .section-primary p { color: var(--text-light); }
.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 8rem 0;
  background-color: var(--primary);
  color: var(--text-light);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: slowZoom 12s ease-in-out infinite alternate;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 32, 74, 0.88); /* Midnight blue overlay - made less transparent */
  z-index: 1;
}
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  align-items: center;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content .lead { color: var(--text-light); margin: 0 auto 2.5rem; }
.hero-content .cta-row { justify-content: center; }
.hero-image { display: none; } /* Hidden in this centered layout */

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.feature-card {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  /* Auto-animate */
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}
/* Stagger delays */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.3s; }
.feature-card:nth-child(3) { animation-delay: 0.5s; }

.feature-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

/* Timeline / Process */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.process-item {
  display: flex;
  gap: 2rem;
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}
.process-item:nth-child(1) { animation-delay: 0.2s; }
.process-item:nth-child(2) { animation-delay: 0.4s; }
.process-item:nth-child(3) { animation-delay: 0.6s; }
.process-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.process-number {
  background: var(--accent);
  color: #000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.process-content h3 { margin-bottom: 0.5rem; }

/* Footer */
.site-footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-grid h2 { color: var(--text-light); font-size: 1.8rem; }
.footer-grid p { color: rgba(255,255,255,0.8); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.footer-links a {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--text-light); }
.contact-list li { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-bottom: 0.8rem; }

/* Utility / Page Shell (Privacy, Terms) */
.page-shell { padding-top: 4rem; padding-bottom: 4rem; }
.page-intro { text-align: center; margin-bottom: 4rem; animation: fadeInUp 1s ease forwards; }
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}
.content-card {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.2s;
}
.content-card h2 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--primary); }
.legal-list { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.5rem; color: var(--text-main); line-height: 1.8; }
.legal-list li { margin-bottom: 0.8rem; }

.aside-stack { display: grid; gap: 2rem; align-content: start; }
.info-card, .deletion-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.4s;
}
.info-card h3, .deletion-card h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
.stat-line {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.stat-line:last-child { border-bottom: none; }

/* Forms */
form label { display: block; margin-bottom: 1.5rem; font-weight: 600; color: var(--primary); }
form input, form select, form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--bg-light);
  transition: border-color 0.3s;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
form textarea { resize: vertical; min-height: 120px; }
form button { margin-top: 1.5rem; }
.code-sample {
  background: #1e1e1e;
  color: var(--text-light);
  padding: 1.5rem;
  border-radius: var(--radius-card);
  font-family: monospace;
  font-size: 0.9rem;
  overflow-x: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .header-links { display: none; }
  .hero { padding: 5rem 0; }
  .feature-card { padding: 2rem; }
}
