/*
Theme Name: Students in Germany
Author: Codex
Description: Modern, bold landing page theme for students in Germany.
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #0b132b;
  --ink-soft: #1d2742;
  --blue: #4da3ff;
  --sand: #f6e9d7;
  --coral: #ff6b6b;
  --card: #ffffff;
  --muted: #6b7280;
  --border: rgba(12, 18, 43, 0.08);
  --radius: 12px;
  --shadow: 0 18px 45px rgba(12, 18, 43, 0.08);
  --shadow-soft: 0 8px 22px rgba(12, 18, 43, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(180deg, #fdfbf7 0%, #f6f8fb 45%, #fdfbf7 100%);
}

a {
  text-decoration: none;
  color: var(--blue);
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-branding a {
  color: var(--ink);
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}

.site-nav a {
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: var(--ink);
  background: rgba(77, 163, 255, 0.12);
}

.menu-toggle {
  display: none;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 22px;
}

.hero {
  position: relative;
  padding: 120px 22px 80px;
  min-height: 70vh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 19, 43, 0.62), rgba(11, 19, 43, 0.42)), url('https://images.unsplash.com/photo-1515187029135-18ee286d815b?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(11, 19, 43, 0.55), rgba(11, 19, 43, 0.38));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(3px);
}

.hero-left {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #f2f7ff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  margin: 14px 0 18px;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 18px;
  color: #f5f7ff;
  max-width: 620px;
  margin: 0 0 26px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(12, 18, 43, 0.2);
  box-shadow: var(--shadow-soft);
}

.hero-right {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 18px;
  padding: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 520px;
  margin: 0 auto;
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(11, 19, 43, 0.35));
}

.hero-right-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.hero-figure {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat strong {
  font-size: 18px;
}

.stat small {
  color: rgba(255, 255, 255, 0.8);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  width: fit-content;
}

.section {
  margin-top: 12px;
}

.section.alt {
  background: var(--sand);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.section p.lead {
  margin: 0 0 26px;
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  width: 100%;
}

.news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 0 18px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
  width: 100%;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(12, 18, 43, 0.16);
}

.news-thumb {
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--border);
  background: #f7f7f7;
}

.news-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.news-body {
  display: grid;
  gap: 8px;
  padding: 0 16px;
}

.news-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.news-card h3 {
  margin: 0;
  font-size: 19px;
}

.news-card p {
  margin: 0;
  color: var(--ink-soft);
}

.news-card .btn {
  width: 100%;
  justify-content: center;
  padding: 10px 12px;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(77, 163, 255, 0.14);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card-thumb {
  overflow: hidden;
  border-radius: 10px;
  margin: -6px -6px 14px;
  border: 1px solid var(--border);
}

.card-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(12, 18, 43, 0.16);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.card a {
  font-weight: 700;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(77, 163, 255, 0.14);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0;
}

.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e4edff;
  font-size: 14px;
  justify-content: center;
}

.checklist-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: center;
}

.checklist-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.checklist-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.checklist-steps {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.checklist-steps h2 {
  margin: 0;
  font-size: 24px;
}

.step-list {
  display: grid;
  gap: 12px;
}

.step-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f9fafb;
}

.step-row .num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(77, 163, 255, 0.16);
  color: var(--ink);
  font-weight: 700;
}

.step-row .muted {
  color: var(--muted);
  font-size: 14px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.step .num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(77, 163, 255, 0.16);
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
}

.quote {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.quote-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
}

.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.quote .name {
  font-weight: 700;
}

.cta-band {
  background: linear-gradient(135deg, #0b132b, #1b2546);
  color: #fff;
  border-radius: 16px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-band h3 {
  margin: 0 0 8px;
  font-size: 26px;
  font-family: 'Space Grotesk', sans-serif;
}

.cta-band p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  background: #0b132b;
  color: rgba(255, 255, 255, 0.82);
  padding: 40px 22px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.footer h4 {
  margin: 0 0 10px;
  color: #fff;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  max-width: 1180px;
  margin: 18px auto 0;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-nav ul {
    position: absolute;
    right: 22px;
    top: 64px;
    flex-direction: column;
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .site-nav.open ul {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: relative;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 56px 18px 40px;
  }

  .hero-inner {
    gap: 22px;
  }

  .hero-right {
    order: -1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
