/* Core Summit — glass / purple-green theme */
:root {
  --bg-deep: #0f0b18;
  --bg-mid: #1a1428;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text: #ebe8f4;
  --text-muted: #a89fc4;
  --accent-purple: #9b7bff;
  --accent-green: #3dd6a0;
  --accent-purple-dim: rgba(155, 123, 255, 0.35);
  --accent-green-dim: rgba(61, 214, 160, 0.25);
  --danger: #ff6b8a;
  --success: #3dd6a0;
  --radius: 16px;
  --radius-sm: 10px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --header-h: 4.5rem;
  --max-w: 72rem;
  --shadow-glow: 0 0 60px rgba(124, 92, 255, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, var(--accent-purple-dim), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, var(--accent-green-dim), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(124, 92, 255, 0.12), transparent 60%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-purple);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

main {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 4rem;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #6b4fd4);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 92, 255, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--glass-border);
}

.btn-ghost:hover {
  color: var(--accent-green);
  border-color: var(--accent-green-dim);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0.5rem 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-bar {
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  box-shadow: 0 5px 0 var(--text), 0 -5px 0 var(--text);
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  padding: 0.45rem 0.9rem !important;
  background: rgba(61, 214, 160, 0.12);
  border: 1px solid rgba(61, 214, 160, 0.35);
  border-radius: var(--radius-sm);
  color: var(--accent-green) !important;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 1rem;
    background: var(--bg-mid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 3rem 1rem 2rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(15, 11, 24, 0.85);
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-address { grid-column: 1 / -1; }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.footer-tag, .footer-contact {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--accent-green); }

.footer-brand, .footer-address {
  padding: 1.25rem;
}

.footer-copy {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero variants */
.hero-home {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 0 4rem;
}

@media (min-width: 900px) {
  .hero-home {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 38ch;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.35), rgba(61, 214, 160, 0.2));
  mix-blend-mode: soft-light;
}

.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
  pointer-events: none;
}

.shape-blob--purple {
  width: 200px;
  height: 200px;
  background: var(--accent-purple);
  top: 10%;
  right: 5%;
}

.shape-blob--green {
  width: 160px;
  height: 160px;
  background: var(--accent-green);
  bottom: 15%;
  left: 0;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.05); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
  max-width: 42rem;
}

.section-header p {
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.service-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.service-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.testimonial {
  padding: 1.5rem;
}

.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quote-mark {
  color: var(--accent-purple);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.page-hero {
  padding: 2rem 0 2.5rem;
}

.page-hero--with-image {
  display: grid;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 768px) {
  .page-hero--with-image {
    grid-template-columns: 1fr 1fr;
  }
}

.page-hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 320px;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prose {
  max-width: 42rem;
}

.prose-wide {
  max-width: 52rem;
}

.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }

.meta-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.pricing-table th,
.pricing-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.pricing-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-note {
  padding: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Forms */
.form-panel {
  padding: 2rem;
  max-width: 36rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent-purple);
  outline-offset: 2px;
}

.form-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--danger);
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.form-status--success {
  background: rgba(61, 214, 160, 0.15);
  border: 1px solid rgba(61, 214, 160, 0.4);
  color: var(--success);
}

.form-status--error {
  background: rgba(255, 107, 138, 0.12);
  border: 1px solid rgba(255, 107, 138, 0.35);
  color: var(--danger);
}

.script-error {
  padding: 1rem;
  margin: 1rem;
  background: rgba(255, 107, 138, 0.15);
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  color: var(--danger);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 200;
  max-width: 28rem;
  margin-inline: auto;
  padding: 1.25rem 1.5rem;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner[hidden] {
  display: none !important;
}

/* Blog */
.blog-list article {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.blog-list h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.blog-list h2 a {
  color: var(--text);
  text-decoration: none;
}

.blog-list h2 a:hover {
  color: var(--accent-green);
}

.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  max-height: 400px;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.process-steps li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  margin-bottom: 1rem;
}

.process-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.5rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-green));
  border-radius: 50%;
  color: var(--bg-deep);
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.team-card img {
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1rem;
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 8rem);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.legal-content {
  padding: 2rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.cookies-table th,
.cookies-table td {
  padding: 0.65rem;
  border: 1px solid var(--glass-border);
  text-align: left;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
