@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --bg: #E0E5EC;
  --fg: #3D4852;
  --muted: #6B7280;
  --accent: #6C63FF;
  --accent-light: #8B84FF;
  --accent-secondary: #38B2AC;
  --placeholder: #A0AEC0;

  --shadow-light: rgba(255, 255, 255, 0.5);
  --shadow-dark: rgb(163, 177, 198, 0.6);

  --neu-extruded: 9px 9px 16px rgb(163,177,198,0.6), -9px -9px 16px rgba(255,255,255,0.5);
  --neu-extruded-hover: 12px 12px 20px rgb(163,177,198,0.7), -12px -12px 20px rgba(255,255,255,0.6);
  --neu-extruded-sm: 5px 5px 10px rgb(163,177,198,0.6), -5px -5px 10px rgba(255,255,255,0.5);
  --neu-inset: inset 6px 6px 10px rgb(163,177,198,0.6), inset -6px -6px 10px rgba(255,255,255,0.5);
  --neu-inset-deep: inset 10px 10px 20px rgb(163,177,198,0.7), inset -10px -10px 20px rgba(255,255,255,0.6);
  --neu-inset-sm: inset 3px 3px 6px rgb(163,177,198,0.6), inset -3px -3px 6px rgba(255,255,255,0.5);

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: 'Space Mono', monospace; }

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 16px;
  padding: 0.875rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
  box-shadow: var(--neu-extruded-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.9375rem;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--neu-extruded);
  background: var(--accent-light);
}
.btn-primary:active {
  transform: translateY(0.5px);
  box-shadow: var(--neu-inset-sm);
}

.btn-secondary {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 16px;
  padding: 0.875rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
  box-shadow: var(--neu-extruded-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.9375rem;
}
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--neu-extruded);
}
.btn-secondary:active {
  transform: translateY(0.5px);
  box-shadow: var(--neu-inset-sm);
}

/* Section Label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  box-shadow: var(--neu-extruded-sm);
  background: var(--bg);
}
.section-label-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--accent);
  animation: pulse 2s infinite;
}
.section-label-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
}

/* Cards */
.card {
  background: var(--bg);
  border: none;
  border-radius: 32px;
  padding: 2rem;
  transition: all 0.3s ease-out;
  box-shadow: var(--neu-extruded);
  position: relative;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--neu-extruded-hover);
}

/* Icon Wells */
.icon-well {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-inset-deep);
  flex-shrink: 0;
}
.icon-well-sm {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-inset-deep);
  flex-shrink: 0;
}

/* Inputs */
.form-input {
  width: 100%;
  height: 3.25rem;
  padding: 0 1.25rem;
  border: none;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--neu-inset-deep);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--fg);
  transition: all 0.3s ease-out;
}
.form-input:focus {
  outline: none;
  box-shadow: var(--neu-inset-deep), 0 0 0 2px var(--accent);
}
.form-input::placeholder {
  color: var(--placeholder);
}
textarea.form-input {
  height: auto;
  min-height: 8rem;
  padding: 1rem 1.25rem;
  resize: vertical;
  border-radius: 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(224, 229, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s ease-out;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--fg);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg);
  border: none;
  border-radius: 12px;
  padding: 0.5rem 0.625rem;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fg);
  box-shadow: var(--neu-extruded-sm);
  transition: all 0.3s ease-out;
}
.lang-toggle:hover {
  box-shadow: var(--neu-extruded);
}
.lang-toggle .active-lang {
  background: var(--accent);
  color: white;
  padding: 0.125rem 0.5rem;
  border-radius: 6px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: var(--bg);
  border: none;
  border-radius: 12px;
  box-shadow: var(--neu-extruded-sm);
  transition: all 0.3s ease-out;
}
@media (min-width: 768px) {
  .hamburger { display: none; }
}
.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: all 0.3s ease-out;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 40;
  padding: 6rem 1.5rem 2rem;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-menu a {
  text-decoration: none;
  color: var(--fg);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 20px;
  transition: all 0.3s ease-out;
  box-shadow: var(--neu-extruded-sm);
}
.mobile-menu a:hover {
  box-shadow: var(--neu-inset);
}

/* Footer */
.footer {
  background: #3D4852;
  color: #fff;
  border-radius: 32px 32px 0 0;
  margin: 0 1rem;
}
.footer-grid {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: #fff;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease-out;
}
.footer-col a:hover {
  color: var(--accent-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

/* Animations */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .section-label-dot { animation: none; }
}

/* Page sections */
.page-hero {
  padding: 8rem 1.5rem 3rem;
  max-width: 80rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .page-hero { padding: 10rem 1.5rem 4rem; }
}

.section {
  padding: 3rem 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .section { padding: 5rem 1.5rem; }
}
@media (min-width: 1024px) {
  .section { padding: 6rem 1.5rem; }
}

.section-full {
  padding: 3rem 1.5rem;
}
@media (min-width: 768px) {
  .section-full { padding: 5rem 1.5rem; }
}

/* Map */
.map-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--neu-extruded);
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}
@media (min-width: 768px) {
  .map-container iframe { height: 450px; }
}

/* CTA */
.cta-card {
  border-radius: 32px;
  background: linear-gradient(135deg, var(--accent) 0%, #8B84FF 50%, var(--accent-secondary) 100%);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 12px 12px 24px rgb(163,177,198,0.6), -12px -12px 24px rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.cta-card .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 6px 6px 12px rgba(163,177,198,0.4), -4px -4px 10px rgba(255,255,255,0.5);
}
.cta-card .btn-primary:hover {
  background: #f5f5f5;
  box-shadow: 8px 8px 16px rgba(163,177,198,0.5), -6px -6px 14px rgba(255,255,255,0.6);
  transform: translateY(-2px);
}
.cta-card .btn-primary svg {
  color: var(--accent);
}


/* Gradient text (accent only, sparingly) */
.gradient-text {
  color: var(--accent);
}
