:root {
  --color-bg: #0b0914;
  --color-surface: #171228;
  --color-surface-light: #2d1b4e;
  --color-primary: #ff6b6b;
  --color-primary-hover: #ff5252;
  --color-accent: #fca311;
  --color-text: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-error: #ef4444;

  --font-heading: "Syne", sans-serif;
  --font-body: "Inter", sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --panel-width: 450px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}
.w-full {
  width: 100%;
}
.mt-20 {
  margin-top: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 24px;
  line-height: 1.2;
}

.layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.layout-grid.reverse .grid-visual {
  order: -1;
}
.grid-text p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.btn-coral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background-color: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: var(--transition);
  border: 2px solid var(--color-primary);
}
.btn-coral:hover {
  background-color: transparent;
  color: var(--color-primary);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
  transform: translateY(-2px);
}

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 9, 20, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}
.top-header.scrolled {
  padding: 10px 0;
  background: rgba(11, 9, 20, 0.95);
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
}
.brand svg {
  width: 32px;
  height: 32px;
}
.brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
}

.menu-trigger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}
.menu-trigger span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition);
}
.menu-trigger:hover span {
  background-color: var(--color-primary);
}

.side-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.side-panel-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.nav-side-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--panel-width);
  height: 100vh;
  background: var(--color-surface);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2000;
  padding: 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.nav-side-panel.open {
  transform: translateX(0);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.panel-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.close-panel {
  color: var(--color-text);
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.close-panel:hover {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(90deg);
}

.panel-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.panel-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 10px 0;
}
.panel-link svg {
  color: var(--color-primary);
  transition: var(--transition);
}
.panel-link:hover {
  color: var(--color-primary);
  padding-left: 10px;
}
.panel-action {
  margin-top: 40px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(11, 9, 20, 0.95) 0%,
    rgba(45, 27, 78, 0.85) 100%
  );
}
.hero-container {
  position: relative;
  z-index: 1;
}
.hero-content {
  max-width: 700px;
}
.tagline {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  border-radius: 30px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 30px;
  letter-spacing: -1px;
}
.hero-desc {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.intro-section {
  padding: 120px 0;
  background-color: var(--color-bg);
}
.blob-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: morph 8s ease-in-out infinite alternate;
}
@keyframes morph {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}
.huge-icon {
  width: 80px;
  height: 80px;
  color: var(--color-accent);
  margin-bottom: 24px;
}
.blob-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.blob-card p {
  color: var(--color-text-muted);
}

.bento-features {
  padding: 120px 0;
  background-color: var(--color-surface);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.bento-box {
  padding: 50px 40px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}
.bento-box:hover {
  transform: translateY(-10px);
}
.box-large {
  grid-column: span 3;
}
.box-medium {
  grid-column: span 1;
}
@media (min-width: 992px) {
  .box-large {
    grid-column: span 2;
  }
  .box-medium {
    grid-column: span 1;
  }
}
.box-purple {
  background: var(--color-surface-light);
}
.box-dark {
  background: var(--color-bg);
}
.box-coral {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.3);
}

.bento-box svg {
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  color: var(--color-accent);
}
.box-coral svg {
  color: var(--color-primary);
}
.bento-box h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 15px;
}
.bento-box p {
  color: var(--color-text-muted);
}

.process-section {
  padding: 120px 0;
  background-color: var(--color-bg);
}
.rounded-img {
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.income-section {
  padding: 120px 0;
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-surface) 100%
  );
}
.max-w-text {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.2rem;
  color: var(--color-text-muted);
}
.income-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.i-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 40px;
  border-radius: 24px;
  text-align: left;
  backdrop-filter: blur(10px);
}
.i-card svg {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin-bottom: 24px;
}
.i-card h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.i-card p {
  color: var(--color-text-muted);
}

.europe-section {
  padding: 120px 0;
  background-color: var(--color-surface);
}
.eu-badge {
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    var(--color-surface-light) 0%,
    var(--color-bg) 100%
  );
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 50px rgba(255, 107, 107, 0.2);
}
.eu-badge svg {
  width: 64px;
  height: 64px;
  color: var(--color-primary);
  margin-bottom: 15px;
}
.eu-badge span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.deep-dive {
  padding: 120px 0;
  background-color: var(--color-bg);
}
.dive-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px dashed var(--color-primary);
  padding: 80px 40px;
  border-radius: 32px;
}
.dive-box p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.faq-section {
  padding: 120px 0;
  background-color: var(--color-surface);
}
.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text);
  text-align: left;
}
.faq-question svg {
  color: var(--color-primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding-bottom: 30px;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.contact-section {
  padding: 120px 0;
  background-color: var(--color-bg);
}
.contact-info p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact-details li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-details svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.contact-details strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.contact-details span {
  color: var(--color-text-muted);
}

.contact-form-wrapper {
  background: var(--color-surface);
  padding: 50px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.input-block {
  margin-bottom: 24px;
  position: relative;
}
.input-block label:not(.chk-label) {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.modern-form input[type="text"],
.modern-form input[type="tel"],
.modern-form input[type="email"],
.modern-form input[type="number"] {
  width: 100%;
  padding: 18px 24px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}
.modern-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(0, 0, 0, 0.4);
}

.math-expr {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.checkbox-block {
  margin-top: 10px;
}
.chk-label {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  cursor: pointer;
}
.chk-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.custom-chk {
  position: relative;
  top: 4px;
  width: 22px;
  height: 22px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  flex-shrink: 0;
  transition: var(--transition);
}
.chk-label input:checked ~ .custom-chk {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.custom-chk:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.chk-label input:checked ~ .custom-chk:after {
  display: block;
}
.chk-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.form-link {
  color: var(--color-primary);
  text-decoration: underline;
}
.form-link:hover {
  color: #fff;
}

.error-text {
  display: none;
  color: var(--color-error);
  font-size: 0.85rem;
  margin-top: 8px;
  font-weight: 500;
}
.input-block.error input {
  border-color: var(--color-error);
}
.input-block.error .error-text {
  display: block;
}

.bottom-footer {
  background-color: var(--color-surface);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 20px;
  max-width: 300px;
}
.footer-nav h4,
.footer-legal h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--color-text);
}
.footer-nav ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav a,
.footer-legal a {
  color: var(--color-text-muted);
}
.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--color-primary);
}
.highlight-link a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}
.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  z-index: 9999;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.cookie-info svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.cookie-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.cookie-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.toast-alert {
  position: fixed;
  top: 100px;
  right: 30px;
  background: #10b981;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  transform: translateX(150%);
  transition: transform 0.4s ease;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}
.toast-alert.show {
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .layout-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .layout-grid.reverse .grid-visual {
    order: 0;
  }
  .grid-text {
    text-align: center;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .box-large,
  .box-medium {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-side-panel {
    width: 100vw;
    border-left: none;
    align-items: center;
    padding-top: 100px;
  }
  .panel-header {
    position: absolute;
    top: 20px;
    left: 24px;
    right: 24px;
    margin-bottom: 0;
  }
  .panel-menu {
    gap: 30px;
    text-align: center;
  }
  .panel-link {
    font-size: 2rem;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }
  .blob-card {
    padding: 40px 20px;
  }
  .bento-box {
    min-height: auto;
    padding: 40px 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-info {
    flex-direction: column;
    align-items: center;
  }
  .btn-coral {
    width: 100%;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 10px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
  display: flex;
  justify-content: center;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cp-email a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
