/* ================================
   TSCG Technologies Website Styles
   Pure CSS | Premium aligned layout
================================ */

:root {
  --bg: #070604;
  --bg-2: #0e0b07;
  --surface: rgba(255, 247, 232, 0.065);
  --surface-2: rgba(255, 247, 232, 0.105);
  --surface-3: rgba(255, 247, 232, 0.035);
  --border: rgba(255, 240, 184, 0.14);
  --border-strong: rgba(245, 199, 107, 0.35);
  --text: #fff7e8;
  --muted: #cbbfa9;
  --muted-2: #8f826b;
  --gold: #f5c76b;
  --gold-light: #fff0b8;
  --bronze: #c48736;
  --brown: #7a4f20;
  --green: #25d366;
  --gradient: linear-gradient(135deg, #fff1bc 0%, #f5c76b 38%, #c48736 72%, #7a4f20 100%);
  --gradient-soft: linear-gradient(135deg, rgba(245, 199, 107, 0.18), rgba(196, 135, 54, 0.11), rgba(122, 79, 32, 0.14));
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 42px rgba(245, 199, 107, 0.14);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 199, 107, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(154, 106, 47, 0.13), transparent 31rem),
    radial-gradient(circle at 50% 96%, rgba(255, 240, 184, 0.055), transparent 34rem),
    linear-gradient(180deg, #070604 0%, #0d0a06 48%, #050403 100%);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 247, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 247, 232, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 84px 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-light), var(--bronze));
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 10vw, 5.4rem);
  font-weight: 900;
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

h2 {
  font-size: clamp(2rem, 5.2vw, 3.55rem);
  font-weight: 880;
}

h3 {
  font-size: 1.14rem;
  font-weight: 850;
}

p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  font-size: 1.05rem;
}

/* ================================
   Buttons and CTAs
================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 240, 184, 0.12);
  border-radius: 999px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--gradient);
  color: #120d06;
  box-shadow: 0 18px 46px rgba(197, 135, 54, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.btn-primary:hover {
  box-shadow: 0 24px 64px rgba(245, 199, 107, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.btn-secondary,
.btn-outline {
  background: rgba(255, 247, 232, 0.055);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: rgba(245, 199, 107, 0.48);
  background: linear-gradient(135deg, rgba(245, 199, 107, 0.14), rgba(122, 79, 32, 0.14));
  box-shadow: 0 18px 48px rgba(245, 199, 107, 0.1);
}

.btn-small {
  min-height: 42px;
  padding: 12px 16px;
  font-size: 0.92rem;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--gold);
  font-weight: 900;
}

.text-cta::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-cta:hover::after {
  transform: translateX(5px);
}

/* ================================
   Navbar
================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(7, 6, 4, 0.9);
  border-bottom: 1px solid rgba(255, 240, 184, 0.12);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(255, 240, 184, 0.36);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff0b8 0%, #e4b45a 52%, #8d5f29 100%);
  color: #100b04;
  font-weight: 950;
  box-shadow: 0 0 24px rgba(245, 199, 107, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nav-toggle {
  position: relative;
  z-index: 1100;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 247, 232, 0.055);
  color: var(--text);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding: 92px 24px 32px;
  background: rgba(7, 6, 4, 0.96);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  backdrop-filter: blur(22px);
}

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

.nav-menu a:not(.btn) {
  color: var(--muted);
  font-size: 1.35rem;
  font-weight: 760;
  transition: color 0.2s ease;
}

.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn).active {
  color: var(--gold-light);
}

/* ================================
   Hero
================================ */

.hero {
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding-top: calc(var(--header-height) + 48px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 247, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 247, 232, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
  animation: gridMove 18s linear infinite;
}

.hero-bg,
.blur-circle {
  pointer-events: none;
  position: absolute;
}

.blur-circle {
  width: 280px;
  height: 280px;
  border-radius: 999px;
  filter: blur(58px);
  opacity: 0.45;
  animation: floatSlow 9s ease-in-out infinite alternate;
}

.blur-one {
  top: 16%;
  left: -90px;
  background: rgba(245, 199, 107, 0.35);
}

.blur-two {
  right: -110px;
  top: 20%;
  background: rgba(122, 79, 32, 0.32);
  animation-delay: 1.2s;
}

.blur-three {
  right: 22%;
  bottom: 5%;
  background: rgba(255, 240, 184, 0.18);
  animation-delay: 2.1s;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 46px;
  align-items: center;
}

.hero-content {
  max-width: 780px;
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 22px;
  font-size: clamp(1.02rem, 3vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-actions .btn {
  min-width: 178px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 240, 184, 0.14);
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.048);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 780;
}

.hero-visual {
  position: relative;
  min-height: 410px;
  display: grid;
  align-items: center;
}

.device-card {
  position: relative;
  width: min(100%, 590px);
  margin-inline: auto;
  padding: 18px;
  border: 1px solid rgba(255, 240, 184, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 247, 232, 0.12), rgba(255, 247, 232, 0.035));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5), 0 0 42px rgba(245, 199, 107, 0.12);
  overflow: hidden;
}

.device-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 240, 184, 0.72), rgba(197, 135, 54, 0.34), rgba(255, 255, 255, 0.08));
  opacity: 0.5;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.device-card img {
  width: 100%;
  border-radius: 20px;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 220px;
  padding: 14px;
  border: 1px solid rgba(255, 240, 184, 0.16);
  border-radius: 18px;
  background: rgba(16, 12, 7, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  animation: floatCard 4.5s ease-in-out infinite alternate;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 0.92rem;
}

.floating-card small {
  color: var(--muted);
}

.mini-icon,
.service-icon,
.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(255, 240, 184, 0.15);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(245, 199, 107, 0.18), rgba(122, 79, 32, 0.14));
  color: var(--gold);
  font-size: 1.16rem;
  font-weight: 950;
}

.card-analytics {
  top: 2px;
  left: 0;
}

.card-social {
  right: 0;
  top: 50%;
  animation-delay: 0.7s;
}

.card-pages {
  left: 8%;
  bottom: 10px;
  animation-delay: 1.1s;
}

/* ================================
   Shared Cards and Grids
================================ */

.services-grid,
.feature-grid,
.portfolio-grid,
.pricing-grid,
.stats-grid,
.process-timeline,
.footer-grid {
  display: grid;
  gap: 18px;
}

.service-card,
.feature-card,
.portfolio-card,
.pricing-card,
.stat-card,
.process-step,
.testimonial-card,
.whatsapp-form,
.about-card,
.mission-card,
.testimonial-shell {
  border: 1px solid rgba(255, 240, 184, 0.12);
  background: linear-gradient(180deg, rgba(255, 247, 232, 0.074), rgba(255, 247, 232, 0.025));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.service-card,
.feature-card,
.portfolio-card,
.pricing-card,
.stat-card,
.process-step {
  border-radius: var(--radius-md);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.service-card:hover,
.feature-card:hover,
.pricing-card:hover,
.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 199, 107, 0.36);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.38), 0 0 38px rgba(245, 199, 107, 0.09);
}

.services,
.portfolio,
.testimonials {
  background: linear-gradient(180deg, rgba(255, 247, 232, 0.018), rgba(245, 199, 107, 0.035));
}

/* ================================
   Services
================================ */

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: 24px;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--bronze), var(--brown));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card p,
.feature-card p {
  margin-top: 12px;
}

.service-featured {
  background:
    radial-gradient(circle at top right, rgba(245, 199, 107, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(255, 247, 232, 0.11), rgba(255, 247, 232, 0.035));
  border-color: rgba(245, 199, 107, 0.34);
}

.service-featured::before {
  content: "Main Service";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 199, 107, 0.14);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card .text-cta {
  margin-top: auto;
  padding-top: 20px;
}

/* ================================
   Why / Stats
================================ */

.why {
  background: linear-gradient(180deg, rgba(255, 247, 232, 0.018), rgba(122, 79, 32, 0.04));
}

.why-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.why-content {
  max-width: 680px;
}

.why-content .btn {
  margin-top: 26px;
}

.feature-grid {
  align-items: stretch;
}

.feature-card {
  min-height: 212px;
  padding: 22px;
}

.stats-grid {
  margin-top: 42px;
}

.stat-card {
  min-height: 150px;
  padding: 24px 18px;
  text-align: center;
}

.stat-card strong {
  display: block;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 48%, #a46f2d 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(2rem, 8vw, 3.1rem);
  font-weight: 950;
  line-height: 1;
}

.stat-card p {
  max-width: 170px;
  margin: 10px auto 0;
  font-weight: 780;
  line-height: 1.4;
}

/* ================================
   Portfolio
================================ */

.portfolio .section-heading {
  margin-inline: auto;
  text-align: center;
}

.portfolio .section-heading .eyebrow {
  justify-content: center;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-tab {
  border: 1px solid rgba(255, 240, 184, 0.13);
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.055);
  color: var(--muted);
  padding: 10px 15px;
  font-weight: 850;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.filter-tab.active,
.filter-tab:hover {
  border-color: rgba(245, 199, 107, 0.48);
  background: linear-gradient(135deg, rgba(245, 199, 107, 0.14), rgba(122, 79, 32, 0.14));
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(245, 199, 107, 0.1);
}

.portfolio-grid {
  align-items: stretch;
}

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: 22px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0) scale(1);
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.08), rgba(255, 247, 232, 0.025)),
    radial-gradient(circle at 82% 12%, rgba(245, 199, 107, 0.08), transparent 14rem);
  transition: opacity 0.24s ease, transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  animation: portfolioFadeIn 0.34s ease both;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-light), var(--bronze), transparent);
  opacity: 0.58;
}

.portfolio-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245, 199, 107, 0.42);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.42), 0 0 34px rgba(245, 199, 107, 0.1);
}

.portfolio-card.hide {
  display: none;
}

.portfolio-card.is-hiding {
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  pointer-events: none;
}

.portfolio-glow {
  position: absolute;
  inset: auto -35% -50% 20%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 199, 107, 0.2), rgba(122, 79, 32, 0.08) 52%, transparent 70%);
  filter: blur(12px);
  opacity: 0.7;
  pointer-events: none;
}

.portfolio-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.portfolio-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255, 240, 184, 0.14);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 247, 232, 0.045);
}

.portfolio-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.portfolio-body h3 {
  font-size: 1.06rem;
  letter-spacing: -0.025em;
}

.portfolio-body p {
  margin-top: 10px;
  flex: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0;
  padding: 6px 10px;
  border: 1px solid rgba(245, 199, 107, 0.15);
  border-radius: 999px;
  background: rgba(245, 199, 107, 0.11);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1;
}

.portfolio-live-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 22px;
  border-color: rgba(245, 199, 107, 0.26);
  background: rgba(255, 247, 232, 0.045);
  color: var(--text);
}

.portfolio-live-btn:hover {
  border-color: rgba(245, 199, 107, 0.58);
  background: linear-gradient(135deg, rgba(245, 199, 107, 0.16), rgba(122, 79, 32, 0.14));
}

.portfolio-cta {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(245, 199, 107, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245, 199, 107, 0.12), rgba(122, 79, 32, 0.12));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.portfolio-cta p {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 850;
}

/* ================================
   About
================================ */

.about-grid {
  display: grid;
  gap: 38px;
  align-items: center;
}

.about-card {
  position: relative;
  padding: 16px;
  border-radius: var(--radius-lg);
}

.about-card img {
  width: 100%;
  border-radius: 22px;
}

.mission-card {
  position: relative;
  margin: -44px 16px 0;
  padding: 18px;
  border-radius: 18px;
}

.mission-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.mission-card p {
  color: var(--text);
  font-weight: 780;
}

.about-content {
  max-width: 650px;
}

.about-content p:not(.eyebrow) {
  margin-top: 16px;
}

.about-points {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.about-points span {
  color: var(--muted);
  font-weight: 780;
}

/* ================================
   Process
================================ */

.process-timeline {
  position: relative;
  align-items: stretch;
}

.process-step {
  position: relative;
  min-height: 218px;
  padding: 24px;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 48%, #a46f2d 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 950;
  font-size: 1.72rem;
  line-height: 1;
}

.process-step p {
  margin-top: 10px;
}

/* ================================
   Pricing
================================ */

.pricing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.currency-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 240, 184, 0.13);
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.055);
}

.currency-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.currency-toggle label {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.currency-toggle input:checked + label {
  background: linear-gradient(135deg, var(--gold-light), #e4b45a, #9a6a2f);
  color: #120d06;
}

.offer-timer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 240, 184, 0.13);
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.055);
}

.offer-timer span {
  color: var(--muted);
  font-size: 0.9rem;
}

.offer-timer strong {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  overflow: hidden;
}

.offer-card,
.popular-card {
  border-color: rgba(245, 199, 107, 0.34);
  box-shadow: var(--shadow-glow);
  background:
    radial-gradient(circle at top right, rgba(245, 199, 107, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(255, 247, 232, 0.105), rgba(255, 247, 232, 0.032));
}

.discount-badge,
.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), #e4b45a, #9a6a2f);
  color: #120d06;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-desc {
  min-height: 58px;
  margin-top: 12px;
  padding-right: 18px;
}

.price-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 22px 0;
}

.old-price {
  color: var(--muted-2);
  font-weight: 850;
  text-decoration: line-through;
}

.price {
  color: var(--text);
  font-size: 1.95rem;
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1;
}

.custom-price {
  font-size: 1.55rem;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.pricing-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 950;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* ================================
   Testimonials
================================ */

.testimonial-shell {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.testimonial-track {
  display: flex;
  transition: transform 0.42s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: clamp(24px, 6vw, 46px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.testimonial-card p {
  max-width: 960px;
  color: var(--text);
  font-size: clamp(1.12rem, 3.2vw, 1.56rem);
  font-weight: 760;
  line-height: 1.5;
}

.testimonial-card div {
  margin-top: 26px;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 22px 24px;
}

.testimonial-controls button,
.testimonial-dot {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 240, 184, 0.13);
  background: rgba(255, 247, 232, 0.055);
  color: var(--text);
}

.testimonial-controls button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-weight: 950;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  padding: 0;
}

.testimonial-dot.active {
  width: 28px;
  background: linear-gradient(135deg, var(--gold-light), #e4b45a, #9a6a2f);
  border-color: transparent;
}

/* ================================
   Contact
================================ */

.contact {
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 50%;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(245, 199, 107, 0.11);
  filter: blur(65px);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  gap: 34px;
  align-items: start;
}

.contact-content {
  max-width: 680px;
}

.contact-content p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 1.08rem;
}

.contact-info {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.contact-link {
  color: var(--gold);
  font-weight: 950;
}

.contact-info span {
  color: var(--muted);
}

.whatsapp-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-md);
}

.whatsapp-form h3 {
  margin-bottom: 6px;
}

.whatsapp-form label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.whatsapp-form input,
.whatsapp-form select,
.whatsapp-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 240, 184, 0.14);
  border-radius: 14px;
  background: rgba(7, 6, 4, 0.62);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-form textarea {
  resize: vertical;
}

.whatsapp-form input:focus,
.whatsapp-form select:focus,
.whatsapp-form textarea:focus {
  border-color: rgba(245, 199, 107, 0.55);
  box-shadow: 0 0 0 4px rgba(245, 199, 107, 0.1);
}

.whatsapp-form .btn {
  width: 100%;
  margin-top: 8px;
}

/* ================================
   Footer
================================ */

.site-footer {
  border-top: 1px solid rgba(255, 240, 184, 0.1);
  background: linear-gradient(180deg, #070604, #040302);
  padding: 48px 0 22px;
}

.footer-grid {
  gap: 30px;
}

.footer-logo {
  width: fit-content;
  margin-bottom: 14px;
}

.footer-grid h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-grid a:not(.logo),
.footer-whatsapp {
  display: table;
  margin-top: 9px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: grid !important;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 240, 184, 0.13);
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.055);
  color: var(--text) !important;
  font-weight: 950;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 240, 184, 0.1);
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  font-weight: 850;
}

/* ================================
   Floating WhatsApp
================================ */

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1001;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #0b0906;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.34);
  animation: pulseWhatsApp 1.9s ease-in-out infinite;
}

.floating-whatsapp span {
  font-size: 1.5rem;
  font-weight: 950;
}

/* ================================
   Reveal Animations
================================ */

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.reveal.visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 62px 62px; }
}

@keyframes floatSlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(22px, -18px, 0) scale(1.08); }
}

@keyframes floatCard {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

@keyframes pulseWhatsApp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.44), 0 16px 36px rgba(37, 211, 102, 0.34); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 16px 36px rgba(37, 211, 102, 0.34); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 16px 36px rgba(37, 211, 102, 0.34); }
}

@keyframes portfolioFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ================================
   Responsive Design
================================ */

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .logo span:last-child {
    font-size: 0.94rem;
  }

  .hero-actions .btn,
  .contact-content .btn {
    width: 100%;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 12px;
    animation: none;
  }

  .hero-visual {
    min-height: auto;
  }
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .services-grid,
  .feature-grid,
  .portfolio-grid,
  .pricing-grid,
  .stats-grid,
  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .portfolio-cta .btn {
    width: auto;
  }
}

@media (min-width: 760px) {
  .hero-actions .btn {
    min-width: 190px;
  }
}

@media (min-width: 900px) {
  :root {
    --header-height: 82px;
  }

  .section {
    padding: 108px 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 1.6vw, 24px);
    padding: 0;
    background: transparent;
    transform: none;
    backdrop-filter: none;
  }

  .nav-menu a:not(.btn) {
    font-size: 0.92rem;
    font-weight: 780;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
    gap: 56px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .device-card {
    transform: perspective(900px) rotateY(-5deg) rotateX(3deg);
  }

  .why-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.35fr 0.75fr 0.95fr 0.55fr;
  }
}

@media (min-width: 1120px) {
  .hero-content {
    padding-top: 16px;
  }

  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pricing-card.popular-card {
    transform: translateY(-10px);
  }

  .pricing-card.popular-card:hover {
    transform: translateY(-16px);
  }
}

@media (min-width: 1280px) {
  .container {
    width: min(100% - 64px, var(--container));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}

/* ================================
   Alignment Refinement Patch
   Keeps the premium colors, fixes vertical rhythm and layout balance
================================ */

.hero {
  min-height: auto;
  align-items: start;
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 88px;
}

.hero-grid {
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    min-height: min(920px, 100vh);
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 96px;
  }
}

@media (max-width: 639px) {
  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 56px);
  }

  .hero-grid {
    gap: 38px;
  }
}

/* Final desktop hero balance: cleaner headline wrapping and better visual alignment */
@media (min-width: 900px) {
  h1 {
    max-width: 820px;
    font-size: clamp(3.8rem, 6.3vw, 4.9rem);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
    gap: 50px;
  }

  .device-card {
    width: min(100%, 540px);
  }
}

/* ================================
   Revised Why + Pricing Sections
   Cleaner alignment, wider cards, less cramped text
================================ */

.why {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(245, 199, 107, 0.10), transparent 28rem),
    linear-gradient(180deg, rgba(255, 247, 232, 0.012), rgba(122, 79, 32, 0.035));
}

.why-panel {
  position: relative;
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 240, 184, 0.13);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.075), rgba(255, 247, 232, 0.025)),
    radial-gradient(circle at 88% 12%, rgba(245, 199, 107, 0.12), transparent 24rem);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.why-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 247, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 247, 232, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: linear-gradient(135deg, black, transparent 72%);
}

.why-header,
.why-feature-grid,
.stats-strip {
  position: relative;
  z-index: 1;
}

.why-header {
  max-width: 760px;
}

.why-header h2 {
  max-width: 740px;
  font-size: clamp(2.1rem, 5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.why-header p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.03rem;
}

.why-header .btn {
  margin-top: 28px;
}

.why .why-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.why .feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: start;
  min-height: 0;
  padding: 20px;
  border-color: rgba(255, 240, 184, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.07), rgba(255, 247, 232, 0.022));
}

.why .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.why .feature-card h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.why .feature-card p {
  grid-column: 2;
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stats-strip .stat-card {
  display: grid;
  min-height: 128px;
  place-items: center;
  padding: 22px 16px;
  border-color: rgba(255, 240, 184, 0.12);
  background: linear-gradient(180deg, rgba(255, 247, 232, 0.072), rgba(255, 247, 232, 0.024));
}

.stats-strip .stat-card strong {
  font-size: clamp(1.9rem, 5vw, 2.7rem);
}

.stats-strip .stat-card p {
  max-width: none;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(245, 199, 107, 0.11), transparent 26rem),
    linear-gradient(180deg, rgba(8, 6, 4, 0.2), rgba(255, 247, 232, 0.018));
}

.pricing-heading {
  max-width: 760px;
}

.pricing-toolbar {
  justify-content: center;
  gap: 14px;
  margin: 28px auto 34px;
}

.currency-toggle,
.offer-timer {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.pricing-modern-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  min-height: 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 26px;
}

.pricing-card-head {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.package-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 240, 184, 0.12);
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.055);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.discount-badge,
.popular-badge {
  position: static;
  flex: 0 0 auto;
  padding: 7px 11px;
  white-space: nowrap;
}

.pricing-card h3 {
  max-width: 620px;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.pricing-desc {
  min-height: 0;
  margin-top: 12px;
  padding-right: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.price-row {
  align-items: baseline;
  margin: 24px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 240, 184, 0.10);
}

.price {
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
}

.custom-price {
  font-size: clamp(1.65rem, 3.6vw, 2.15rem);
  letter-spacing: -0.055em;
}

.pricing-card ul {
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-card li {
  color: var(--muted);
  line-height: 1.45;
}

.pricing-card .btn {
  min-height: 52px;
  justify-content: center;
}

.offer-card,
.popular-card {
  background:
    radial-gradient(circle at top right, rgba(245, 199, 107, 0.14), transparent 22rem),
    linear-gradient(180deg, rgba(255, 247, 232, 0.095), rgba(255, 247, 232, 0.028));
}

@media (min-width: 640px) {
  .why .why-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pricing-modern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .why-panel {
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: center;
  }

  .why-header {
    align-self: center;
  }

  .why .why-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-toolbar {
    justify-content: space-between;
  }
}

@media (min-width: 1120px) {
  .pricing-grid,
  .pricing-modern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card.popular-card,
  .pricing-card.popular-card:hover {
    transform: none;
  }
}

@media (max-width: 639px) {
  .pricing-toolbar {
    align-items: stretch;
  }

  .currency-toggle,
  .offer-timer {
    width: 100%;
  }

  .offer-timer {
    justify-content: center;
    border-radius: 18px;
  }

  .why .feature-card p {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

.pricing-heading {
  margin-inline: auto;
  text-align: center;
}

.pricing-heading .eyebrow {
  justify-content: center;
}

@media (min-width: 900px) {
  .pricing-toolbar {
    justify-content: center;
  }
}
