/* ---------- Base ---------- */
body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: #f5f7fb;
  color: #222;
}

/* ---------- Brand Colors ---------- */
:root {
  --twd-primary: #0f8bb9;
  --twd-primary-soft: #32c0ff;
  --twd-dark: #061525;
}

/* ---------- Navbar ---------- */
.twd-navbar {
  backdrop-filter: blur(16px);
}

.twd-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--twd-primary), var(--twd-primary-soft));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* ---------- Buttons ---------- */
.btn-twd-primary {
  background: linear-gradient(135deg, var(--twd-primary), var(--twd-primary-soft));
  border: none;
  color: #fff;
  box-shadow: 0 10px 30px rgba(15, 139, 185, 0.4);
}

.btn-twd-primary:hover {
  background: linear-gradient(135deg, #0b6c90, #28a7e0);
}

/* ---------- Hero ---------- */
.twd-hero {
  background: radial-gradient(circle at top left, #34c8ff 0, #0676a2 30%, #041423 75%);
  color: #fff;
  padding: 3rem 0 3.5rem;
}

@media (min-width: 992px) {
  .twd-hero {
    padding: 4rem 0 5rem;
  }
}

.twd-highlight {
  color: var(--twd-primary-soft);
}

.twd-hero-device {
  background: #fff;
  border-radius: 28px;
  padding: 1.5rem;
}

.twd-hero-stats {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
}

.twd-stat-card {
  background: #f7fbff;
  border-radius: 16px;
  padding: 0.9rem;
  text-align: center;
}

/* ---------- Feature Cards ---------- */
.twd-feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1.3rem;
  box-shadow: 0 10px 30px rgba(10, 30, 60, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.twd-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(10, 30, 60, 0.12);
}

.twd-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(15, 139, 185, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--twd-primary);
  margin-bottom: 0.75rem;
}

.twd-spec-card {
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.twd-spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.twd-product-img-card img {
  transition: transform 0.3s ease;
}

.twd-product-img-card:hover img {
  transform: scale(1.05);
}

/* Animations */
.animate-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}

.animate-fade {
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

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

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

/* ---------- Comparison Table ---------- */
.twd-compare-wrapper {
  background: #fff;
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 12px 36px rgba(10, 25, 60, 0.08);
}

.twd-compare-table thead {
  background: #f4fbff;
}

.twd-compare-table th,
.twd-compare-table td {
  font-size: 0.92rem;
}

/* ---------- Infinity Plan ---------- */
.twd-infinity-plan {
  background: linear-gradient(120deg, #0f8bb9, #0b4a77 55%, #02101f 100%);
}

.twd-pricing-pill {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------- Testimonials ---------- */
.twd-review-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1.3rem;
  box-shadow: 0 10px 30px rgba(10, 25, 60, 0.07);
}

.twd-review-avatar {
  width: 52px;
  height: 52px;
  object-fit: cover;
}

/* ---------- Footer ---------- */
.twd-footer {
  background: #050f1c;
  color: #e3edf7;
}

.twd-footer-link {
  color: #c5d3e4;
  text-decoration: none;
}

.twd-footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.twd-social-circle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
}

/* ---------- WhatsApp Button ---------- */
.twd-whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  z-index: 999;
}

/* ---------- Modal ---------- */
.twd-modal {
  border-radius: 20px;
  overflow: hidden;
}

.twd-modal-banner {
  background-image: url("");
  background-size: cover;
  background-position: center;
  position: relative;
}

.twd-modal-overlay {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(6, 20, 35, 0.92), rgba(15, 139, 185, 0.7));
}

@media (max-width: 991px) {
  .twd-modal {
    border-radius: 14px;
  }
}

/* ---------- Small tweaks ---------- */
section {
  scroll-margin-top: 90px;
}

/* Products */
.twd-product-img-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.twd-product-img-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}
