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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #34D4B5;
  color: #0A1628;
}

/* ===== Geometric Shapes ===== */
.geo-shape {
  position: absolute;
  pointer-events: none;
}

.shape-circle-1 {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 212, 181, 0.08) 0%, transparent 70%);
  top: -80px;
  right: -100px;
  animation: float-slow 12s ease-in-out infinite;
}

.shape-circle-2 {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 212, 181, 0.06) 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-rect-1 {
  width: 120px;
  height: 120px;
  background: rgba(52, 212, 181, 0.05);
  border: 1px solid rgba(52, 212, 181, 0.12);
  border-radius: 20px;
  top: 25%;
  left: 3%;
  transform: rotate(45deg);
  animation: float-slow 10s ease-in-out infinite;
}

.shape-rect-2 {
  width: 80px;
  height: 80px;
  background: rgba(52, 212, 181, 0.04);
  border: 1px solid rgba(52, 212, 181, 0.1);
  border-radius: 14px;
  bottom: 20%;
  right: 8%;
  transform: rotate(20deg);
  animation: float-slow 8s ease-in-out infinite reverse;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(52, 212, 181, 0.04);
  top: 40%;
  right: 2%;
  animation: float-slow 14s ease-in-out infinite;
}

.shape-dots {
  width: 100px;
  height: 100px;
  top: 60%;
  left: 8%;
  background-image: radial-gradient(circle, rgba(52, 212, 181, 0.15) 1px, transparent 1px);
  background-size: 12px 12px;
  animation: float-slow 11s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
  50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

.shape-rect-1 { --rotation: 45deg; }
.shape-rect-2 { --rotation: 20deg; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #34D4B5;
  color: #0A1628;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #34D4B5;
}

.btn-primary:hover {
  background: #1FB89A;
  border-color: #1FB89A;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 212, 181, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #34D4B5;
  color: #34D4B5;
  transform: translateY(-2px);
}

/* ===== Navigation ===== */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #34D4B5;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #34D4B5 !important;
}

#navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-blur-xl;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Mobile Menu ===== */
.mobile-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-link:hover {
  color: #34D4B5;
  padding-left: 8px;
}

#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Service Cards ===== */
.service-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Condition Cards ===== */
.condition-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ===== Approach Steps ===== */
.approach-step {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ===== Trust Items ===== */
.trust-item {
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .condition-card,
  .approach-step,
  .trust-item {
    opacity: 0;
    transform: translateY(24px);
  }

  .service-card.revealed,
  .condition-card.revealed,
  .approach-step.revealed,
  .trust-item.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Focus styles ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #34D4B5;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== Select dropdown arrow ===== */
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding-right: 2.5rem;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 767px) {
  .geo-shape { display: none; }

  .shape-circle-1 {
    display: block;
    width: 200px;
    height: 200px;
    right: -50px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .shape-circle-1 { width: 300px; height: 300px; }
}
