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

:root {
  --color-navy:       #0B1F3A;
  --color-navy-light: #112748;
  --color-amber:      #F26722;
  --color-amber-dark: #CA4B0B;
  --color-white:      #FFFFFF;
  --color-off-white:  #F8F9FA;
  --color-text-dark:  #1A1A2E;
  --color-text-muted: #6B7280;
  --color-border:     rgba(242, 103, 34, 0.2);
  
  --spacing-base: 8px;
  --section-padding: 100px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

html {
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--color-white);
  background-color: transparent;
  line-height: 1.6;
  overflow-x: hidden;
}

#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Accessibility */
*:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 4px;
}

/* Typography Utilities */
.section-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--color-amber);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: calc(var(--spacing-base) * 2);
  display: block;
}

.section-heading {
  font-size: 2.5rem;
  margin-bottom: calc(var(--spacing-base) * 6);
  color: inherit;
}

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

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-base) * 3);
}

.section {
  padding: var(--section-padding) 0;
}

.section--dark {
  background-color: transparent;
  color: var(--color-white);
}

.section--light {
  background-color: transparent;
  color: var(--color-white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--spacing-base) * 1.5) calc(var(--spacing-base) * 3);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn--primary {
  background-color: var(--color-amber);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-amber-dark);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
}

.btn--whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  border-radius: 50px;
}

.btn--whatsapp:hover {
  background-color: #1EBE5D;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: calc(var(--spacing-base) * 3) 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: var(--color-navy);
  padding: calc(var(--spacing-base) * 2) 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.navbar__logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
}

.navbar__logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.navbar__logo span {
  color: var(--color-amber);
}

.navbar__links {
  display: flex;
  gap: calc(var(--spacing-base) * 4);
  align-items: center;
}

.navbar__link {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1rem;
}

.navbar__link:hover {
  color: var(--color-amber);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.navbar__toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
  animation: shipDrift 20s ease-in-out infinite alternate;
}

@keyframes shipDrift {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.4); /* Dark overlay */
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1200px;
  padding: 0 calc(var(--spacing-base) * 2);
}

.hero__title {
  font-size: clamp(4rem, 11vw, 12rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: calc(var(--spacing-base) * 3);
}

.hero__title span {
  display: block;
  color: var(--color-amber);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 400;
  margin-bottom: calc(var(--spacing-base) * 5);
  color: rgba(255, 255, 255, 0.8);
}

.hero__actions {
  display: flex;
  gap: calc(var(--spacing-base) * 2);
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 10;
}

.hero__scroll svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-15px); }
  60% { transform: translateX(-50%) translateY(-7px); }
}

/* Trust Bar */
.trust-bar {
  background-color: var(--color-navy-light);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: calc(var(--spacing-base) * 4) 0;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--spacing-base) * 2);
}

.trust-bar__item {
  text-align: center;
  position: relative;
}

.trust-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.trust-bar__number {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--color-amber);
  margin-bottom: calc(var(--spacing-base));
}

.trust-bar__text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* About Section */
.about__grid {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: calc(var(--spacing-base) * 8);
  align-items: center;
}

.about__text p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: calc(var(--spacing-base) * 4);
}

.about__link {
  color: var(--color-amber);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--spacing-base));
}

.about__link:hover {
  color: var(--color-amber-dark);
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--spacing-base) * 2);
}

.about__feature-card {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: calc(var(--spacing-base) * 4) calc(var(--spacing-base) * 3);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about__feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about__feature-card svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--color-amber);
  stroke-width: 1.5;
  margin-bottom: calc(var(--spacing-base) * 2);
}

.about__feature-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/* What We Do */
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--spacing-base) * 4);
}

.service-card {
  background-color: #112748;
  padding: calc(var(--spacing-base) * 6);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-left: 4px solid transparent;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-left-color: var(--color-amber);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(242, 103, 34, 0.05) 0%, transparent 100%);
  transition: width 0.3s ease;
  z-index: 0;
}

.service-card:hover::before {
  width: 100%;
}

.service-card__content {
  position: relative;
  z-index: 1;
}

.service-card svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--color-amber);
  stroke-width: 1.5;
  margin-bottom: calc(var(--spacing-base) * 3);
}

.service-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: calc(var(--spacing-base) * 2);
  color: #FFFFFF;
  display: block;
}

.service-card__desc {
  color: rgba(255, 255, 255, 0.75);
}

/* Portfolio */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing-base) * 4);
}

.portfolio-card {
  perspective: 1000px;
  background: transparent;
  padding: 0;
  border: none;
  min-height: 280px;
}

.portfolio-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.portfolio-card:hover .portfolio-card__inner {
  transform: rotateY(180deg);
}

.portfolio-card__front,
.portfolio-card__back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center;
  background-color: rgba(11, 31, 58, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: calc(var(--spacing-base) * 4);
  border-radius: 8px;
  border-top: 4px solid transparent;
  overflow: hidden;
}

/* Glassmorphic Overlay */
.portfolio-card__front::before,
.portfolio-card__back::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 31, 58, 0.7);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1;
}

.portfolio-card__back::before {
  background-color: rgba(11, 31, 58, 0.85); /* Slightly darker on the back */
}

/* Elevate content above overlay */
.portfolio-card__front > *,
.portfolio-card__back > * {
  position: relative;
  z-index: 2;
}

.portfolio-card__front {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.3s ease;
}

.portfolio-card:hover .portfolio-card__front {
  border-top-color: var(--color-amber);
}

.portfolio-card__back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-top-color: var(--color-amber);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-card svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.5;
  margin-bottom: calc(var(--spacing-base) * 3);
  transition: stroke 0.3s ease, filter 0.3s ease;
}

.portfolio-card:hover svg {
  stroke: var(--color-amber);
  filter: drop-shadow(0 0 8px rgba(242, 103, 34, 0.5));
}

.portfolio-card__title {
  font-size: 1.25rem;
  margin-bottom: calc(var(--spacing-base) * 2);
  color: var(--color-white);
}

.portfolio-card__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-bottom: calc(var(--spacing-base) * 3);
  min-height: 60px;
}

.portfolio-card__link {
  color: var(--color-amber);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.portfolio-card__link:hover {
  text-decoration: underline;
}

/* Animated Parallax Vessel */
.parallax-vessel {
  height: 60vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0;
}

.parallax-vessel__image {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
}

/* Why Choose Us */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--spacing-base) * 4);
}

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

.feature-item svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: var(--color-amber);
  stroke-width: 1.5;
  margin-bottom: calc(var(--spacing-base) * 3);
}

.feature-item__title {
  font-size: 1.125rem;
  margin-bottom: calc(var(--spacing-base) * 2);
}

.feature-item__desc {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--spacing-base) * 8);
}

.contact__info-list {
  margin-top: calc(var(--spacing-base) * 4);
  margin-bottom: calc(var(--spacing-base) * 4);
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--spacing-base) * 2);
  margin-bottom: calc(var(--spacing-base) * 3);
}

.contact__info-item svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--color-amber);
  stroke-width: 1.5;
  flex-shrink: 0;
}

.contact__info-text {
  color: rgba(255, 255, 255, 0.8);
}

.contact__info-text strong {
  display: block;
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: calc(var(--spacing-base) * 0.5);
}

.contact__form-container {
  background-color: var(--color-navy-light);
  padding: calc(var(--spacing-base) * 5);
  border-radius: 8px;
}

.form-group {
  margin-bottom: calc(var(--spacing-base) * 3);
}

.form-label {
  display: block;
  margin-bottom: calc(var(--spacing-base));
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: calc(var(--spacing-base) * 1.5);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--color-white);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-amber);
  background-color: rgba(255, 255, 255, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

select.form-control option {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.form-submit {
  width: 100%;
}

.form-success {
  display: none;
  background-color: rgba(37, 211, 102, 0.1);
  border: 1px solid #25D366;
  color: #25D366;
  padding: calc(var(--spacing-base) * 2);
  border-radius: 4px;
  margin-top: calc(var(--spacing-base) * 3);
  text-align: center;
  font-weight: 500;
}

.form-success.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Footer */
.footer {
  background-color: #051020;
  color: rgba(255, 255, 255, 0.6);
  padding: calc(var(--spacing-base) * 8) 0 calc(var(--spacing-base) * 4);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: calc(var(--spacing-base) * 4);
  margin-bottom: calc(var(--spacing-base) * 6);
  align-items: center;
}

.footer__logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: calc(var(--spacing-base));
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer__logo span {
  color: var(--color-amber);
}

.footer__nav {
  display: flex;
  gap: calc(var(--spacing-base) * 3);
  justify-content: center;
}

.footer__nav a {
  white-space: nowrap;
}

.footer__nav a:hover {
  color: var(--color-amber);
}

.footer__social {
  display: flex;
  gap: calc(var(--spacing-base) * 2);
  justify-content: flex-end;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background-color: var(--color-amber);
  color: var(--color-white);
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__huge-text {
  font-size: 14vw;
  font-weight: 900;
  line-height: 0.85;
  text-align: center;
  margin-top: calc(var(--spacing-base) * 10);
  margin-bottom: calc(var(--spacing-base) * 4);
  text-transform: uppercase;
  background: linear-gradient(to bottom, #FFFFFF, rgba(255, 255, 255, 0.05));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

@media (max-width: 768px) {
  .footer__huge-text {
    font-size: 16vw;
  }
}

.footer__bottom {
  text-align: center;
  padding-top: calc(var(--spacing-base) * 4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }
  
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-base) * 6);
  }
  
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .navbar__toggle {
    display: flex;
  }
  
  .navbar__links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-navy);
    flex-direction: column;
    padding: calc(var(--spacing-base) * 4);
    gap: calc(var(--spacing-base) * 3);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .navbar__links.active {
    transform: translateY(0);
  }
  
  .navbar.scrolled .navbar__links {
    top: 60px;
  }
  
  .hero__title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  
  .hero__actions {
    flex-direction: column;
  }
  
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-base) * 4);
  }
  
  .trust-bar__item:nth-child(2)::after {
    display: none;
  }
  
  .trust-bar__item::after {
    height: 100%;
    top: 0;
  }
  
  .services__grid,
  .portfolio__grid,
  .features__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: calc(var(--spacing-base) * 4);
  }
  
  .footer__nav {
    flex-direction: column;
    gap: calc(var(--spacing-base) * 2);
  }
  
  .footer__social {
    justify-content: center;
  }
}

/* AI Chat Assistant */
.ai-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
}

.ai-chat__toggle {
  width: 60px;
  height: 60px;
  background: var(--color-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(242, 103, 34, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-chat__toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(242, 103, 34, 0.6);
}

.ai-chat__window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ai-chat__window.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.ai-chat__header {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat__avatar {
  width: 32px;
  height: 32px;
  background: radial-gradient(circle at center, var(--color-amber) 0%, #000 100%);
  border-radius: 50%;
  animation: pulse-avatar 2s infinite alternate;
}

@keyframes pulse-avatar {
  0% { box-shadow: 0 0 5px var(--color-amber); }
  100% { box-shadow: 0 0 15px var(--color-amber); }
}

.ai-chat__title {
  flex-grow: 1;
  margin-left: 12px;
  font-weight: 600;
  color: white;
}

.ai-chat__close {
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.ai-chat__close:hover {
  color: white;
}

.ai-chat__body {
  height: 300px;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overscroll-behavior-y: contain;
}

.ai-chat__body::-webkit-scrollbar {
  width: 6px;
}

.ai-chat__body::-webkit-scrollbar-track {
  background: transparent;
}

.ai-chat__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.ai-chat__body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.ai-message {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.5;
  align-self: flex-start;
  max-width: 85%;
  flex-shrink: 0;
}

.user-message {
  background: var(--color-amber);
  padding: 12px 16px;
  border-radius: 12px;
  border-bottom-right-radius: 4px;
  color: white;
  font-size: 0.9rem;
  line-height: 1.5;
  align-self: flex-end;
  max-width: 85%;
  flex-shrink: 0;
}

.ai-message, .user-message {
  animation: messageEnter 0.3s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes messageEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.ai-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.ai-chip:hover {
  background: rgba(242, 103, 34, 0.2);
  border-color: var(--color-amber);
  color: white;
}

.ai-chat__input-area {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 12px;
}

.ai-chat__input-area input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 10px 16px;
  color: white;
  outline: none;
  font-size: 0.9rem;
}

.ai-chat__input-area input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.ai-chat__input-area button {
  background: var(--color-amber);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ai-chat__input-area button:hover {
  transform: scale(1.1);
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
  flex-shrink: 0;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242, 103, 34, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.custom-cursor-follower.hovering {
  width: 60px;
  height: 60px;
  background-color: rgba(242, 103, 34, 0.1);
  border-color: rgba(242, 103, 34, 0.8);
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor, .custom-cursor-follower {
    display: none;
  }
  * {
    cursor: auto !important;
  }
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-navy);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.preloader__logo {
  height: 80px;
  width: auto;
  opacity: 1;
  filter: drop-shadow(0 0 15px rgba(242, 103, 34, 0.4));
}

.preloader__progress {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-orange);
  letter-spacing: 3px;
  font-family: 'Inter', sans-serif;
}
