/* Variables */
:root {
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-primary: #38bdf8;
  --accent-secondary: #c084fc;
  --gradient-main: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  --font-main: "Manrope", sans-serif;
  --font-heading: "Playfair Display", serif;
  --container-width: 1200px;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.btn--primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn--outline:hover {
  background: var(--accent-primary);
  color: var(--bg-dark);
}

.btn--small {
  padding: 10px 24px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--small:hover {
  background: white;
  color: var(--bg-dark);
}

.btn--glow {
  background: var(--bg-darker);
  border: 1px solid var(--accent-secondary);
  color: var(--accent-secondary);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.3);
}

.btn--glow:hover {
  background: var(--accent-secondary);
  color: white;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.6);
}

.btn--submit {
  width: 100%;
  background: var(--gradient-main);
  color: white;
  font-size: 16px;
  margin-top: 10px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  background: linear-gradient(to right, white, var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__list {
  display: flex;
  gap: 30px;
}

.nav__link {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: white;
}

.nav__link--highlight {
  color: var(--accent-primary);
}

.header__controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  position: absolute;
  transition: var(--transition);
}

.burger span:nth-child(1) {
  top: 0;
}
.burger span:nth-child(2) {
  top: 9px;
}
.burger span:nth-child(3) {
  bottom: 0;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-darker);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__title {
  font-family: var(--font-heading);
  font-size: 20px;
}

.mobile-menu__close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  gap: 20px;
}

.mobile-link {
  font-size: 24px;
  font-family: var(--font-heading);
  color: var(--text-muted);
}

.mobile-link:hover,
.mobile-link.highlight {
  color: var(--accent-primary);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(56, 189, 248, 0.1) 0%,
    rgba(15, 23, 42, 0) 50%
  );
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
  color: var(--accent-secondary);
  font-size: 14px;
  font-weight: 600;
}

.hero__badge i {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero__description {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 20px;
}

.hero__visual {
  position: relative;
}

.hero__img {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__card {
  position: absolute;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(8px);
  padding: 15px 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero__card i {
  color: var(--accent-primary);
}

.hero__card--1 {
  top: 40px;
  left: -40px;
}

.hero__card--2 {
  bottom: 40px;
  right: -20px;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--bg-darker);
}

.section--gradient {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.section-title {
  font-size: 42px;
  margin-bottom: 24px;
}

.section-text {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.image-box img {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row {
  display: flex;
  gap: 60px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-primary);
  font-family: var(--font-heading);
}

.stat-desc {
  color: var(--text-muted);
  font-size: 14px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-secondary);
}

.icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(192, 132, 252, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-muted);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 30px;
  margin-top: 60px;
}

.bento-item {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-item.main {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--bg-card) 0%,
    rgba(14, 165, 233, 0.1) 100%
  );
}

.bento-item h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

.bento-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
  margin-top: 15px;
}

.bento-item p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.link-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-primary);
  font-weight: 600;
  transition: var(--transition);
}

.link-arrow:hover {
  gap: 15px;
  color: white;
}

.subtitle {
  font-size: 18px;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

/* CTA */
.cta-banner {
  background: var(--gradient-main);
  border-radius: 24px;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-content {
  max-width: 600px;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-content p {
  opacity: 0.9;
  margin-bottom: 10px;
}

/* FAQ */
.section--dark-alt {
  background: #0b1121;
}

.faq-wrapper {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  padding: 20px 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  font-weight: 600;
}

.faq-trigger i {
  transition: transform 0.3s;
}

.faq-item.active .faq-trigger i {
  transform: rotate(180deg);
}

.faq-item.active .faq-trigger {
  color: var(--accent-primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-content p {
  padding-bottom: 20px;
  color: var(--text-muted);
}

/* Form */
.section--form {
  background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070&auto=format&fit=crop")
    no-repeat center center/cover;
  position: relative;
}

.section--form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
}

.form-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 50px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.form-text {
  text-align: center;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.form-group input {
  width: 100%;
  padding: 14px;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: var(--font-main);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.error-msg {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
}

.checkbox-group label {
  font-size: 12px;
  line-height: 1.4;
}

.checkbox-group a {
  color: var(--accent-primary);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  display: block;
}

.footer__col h4 {
  margin-bottom: 24px;
  color: white;
}

.footer__col a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.footer__col a:hover {
  color: var(--accent-primary);
}

.footer__col p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 350px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.cookie-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Media Queries */
@media (max-width: 1024px) {
  .desktop-nav,
  .header__controls a {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero__container {
    grid-template-columns: 1fr;
  }
  .hero__content {
    text-align: center;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__visual {
    margin-top: 50px;
  }
  .hero__card--1 {
    left: 0;
  }
  .hero__card--2 {
    right: 0;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .hero__title {
    font-size: 36px;
  }
  .footer__container {
    grid-template-columns: 1fr;
  }
  .cookie-popup {
    left: 20px;
    right: 20px;
    width: auto;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  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;
}

.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;
  }
}
