/* ============================================================
   TEAMSHIFTS.PRO — Design System v1.0
   Premium dark-mode inspired by Linear, Stripe, Vercel
   ============================================================ */

/* ─── 1. CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --bg-0: #07070D;
  --bg-1: #0C0C15;
  --bg-2: #11111C;
  --bg-3: #16162A;
  --bg-4: #1D1D35;
  --red: #FF3951;
  --red-dark: #CC2D41;
  --violet: #7C5CFC;
  --violet-dark: #5E3FD4;
  --gradient: linear-gradient(135deg, #FF3951 0%, #7C5CFC 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(255,57,81,0.08) 0%, rgba(124,92,252,0.08) 100%);
  --text-0: #FFFFFF;
  --text-1: #E8E8F2;
  --text-2: #9898B8;
  --text-3: #55556A;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --font: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-card: 0 0 0 1px var(--border), 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 60px rgba(255,57,81,0.2), 0 0 120px rgba(124,92,252,0.1);
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ─── 2. RESET & BASE ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font-family: var(--font);
}

/* Text selection */
::selection {
  background: rgba(255, 57, 81, 0.3);
  color: var(--text-0);
}

::-moz-selection {
  background: rgba(124, 92, 252, 0.3);
  color: var(--text-0);
}

/* ─── 3. SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-0);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--violet);
}

/* ─── 4. TYPOGRAPHY ─────────────────────────────────────────── */
h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-0);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-0);
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text-0);
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-0);
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-2);
}

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

/* ─── 5. LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ─── 6. NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 7, 13, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  border-bottom-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar-logo {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

.navbar-logo .logo-sub {
  font-size: 0.65rem;
  color: var(--text-3);
  -webkit-text-fill-color: var(--text-3);
  display: block;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: 2px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar-links a {
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.navbar-links a:hover {
  color: var(--text-0);
  background: var(--bg-2);
}

.navbar-links a.active {
  color: var(--text-0);
  background: var(--bg-3);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
  box-shadow: var(--shadow-card);
}

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background var(--transition), color var(--transition);
}

.dropdown a:hover {
  background: var(--bg-3);
  color: var(--text-0);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-subtle);
  border-radius: 8px;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Navbar CTA */
.navbar-cta {
  background: var(--gradient);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 0 20px rgba(255,57,81,0.4);
  white-space: nowrap;
}

.navbar-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(255,57,81,0.55);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 32px;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  overflow-y: auto;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  color: var(--text-1);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--text-0);
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-1);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  transition: color var(--transition);
}

.close-menu:hover {
  color: var(--text-0);
}

/* ─── 7. HERO SECTION ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124,92,252,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255,57,81,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,92,252,0.1);
  border: 1px solid rgba(124,92,252,0.3);
  color: var(--violet);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--text-0);
}

.hero > .hero-content > p,
.hero p.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

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

.hero-stat strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}

.hero-stat span {
  display: block;
  font-size: 0.825rem;
  color: var(--text-3);
  margin-top: 6px;
  font-weight: 500;
}

/* ─── 8. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), opacity var(--transition), border-color var(--transition);
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 0 30px rgba(255,57,81,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(255,57,81,0.5);
}

.btn-secondary {
  background: var(--bg-3);
  color: var(--text-1);
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  background: var(--bg-4);
  border-color: rgba(255,255,255,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
}

.btn-ghost:hover {
  color: var(--text-0);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1DAE54;
  transform: translateY(-2px);
}

/* ─── 9. CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-subtle);
  border: 1px solid rgba(124,92,252,0.2);
  font-size: 1.4rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card-gradient {
  position: relative;
  overflow: hidden;
}

.card-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
  pointer-events: none;
}

.card-gradient:hover::before {
  opacity: 1;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
}

/* ─── 10. TRUST BAR / LOGO STRIP ────────────────────────────── */
.logos-strip {
  overflow: hidden;
  position: relative;
  padding: 32px 0;
}

.logos-strip::before,
.logos-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.logos-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-0), transparent);
}

.logos-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-0), transparent);
}

.logos-track {
  display: flex;
  gap: 64px;
  animation: scroll-logos 25s linear infinite;
  align-items: center;
  width: max-content;
}

.logos-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-item {
  height: 36px;
  opacity: 0.35;
  filter: grayscale(100%);
  transition: opacity var(--transition), filter var(--transition);
  display: flex;
  align-items: center;
}

.logo-item:hover {
  opacity: 0.7;
  filter: grayscale(0%);
}

.logo-item-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-3);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

/* ─── 11. PROCESS STEPS ─────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  width: 75%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
  pointer-events: none;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(255,57,81,0.3);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.7;
}

/* ─── 12. PROJECT CARDS ─────────────────────────────────────── */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
}

.project-screenshot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-screenshot {
  transform: scale(1.04);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.9) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-body {
  padding: 24px;
}

.project-tag {
  display: inline-block;
  background: var(--gradient-subtle);
  border: 1px solid rgba(124,92,252,0.2);
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 8px;
  line-height: 1.4;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 16px;
  transition: gap var(--transition), color var(--transition);
}

.project-link:hover {
  gap: 10px;
  color: var(--text-0);
}

/* ─── 13. TESTIMONIALS ──────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.stars {
  color: #FFB800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-1);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  color: var(--text-0);
  font-size: 0.9rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 2px;
}

/* ─── 14. CTA SECTION ───────────────────────────────────────── */
.cta-section {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.05;
  border-radius: inherit;
  pointer-events: none;
}

.cta-section h2 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.btn-cta-white {
  background: white;
  color: var(--red);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ─── 15. FORMS ─────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-0);
  font-size: 0.9rem;
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-3);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(124,92,252,0.6);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2355556A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ─── 16. BLOG CARDS ────────────────────────────────────────── */
.blog-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.blog-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.blog-body {
  padding: 24px;
}

.blog-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-0);
  line-height: 1.5;
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
  transition: color var(--transition);
}

.blog-title:hover {
  color: var(--violet);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}

.blog-meta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-3);
  align-items: center;
}

.blog-meta-sep {
  width: 3px;
  height: 3px;
  background: var(--text-3);
  border-radius: 50%;
}

/* ─── 17. PRICING CARDS ─────────────────────────────────────── */
.pricing-card {
  background: var(--bg-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--red);
}

.pricing-card.featured:hover {
  border-color: var(--red);
  box-shadow: 0 0 40px rgba(255,57,81,0.2);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.pricing-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-0);
  margin: 20px 0 8px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.pricing-features {
  list-style: none;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.pricing-features li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features li.disabled {
  opacity: 0.4;
}

.pricing-features li.disabled::before {
  content: '✕';
  color: var(--text-3);
}

/* ─── 18. FAQ ACCORDION ─────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.open {
  border-color: rgba(124,92,252,0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-0);
  padding: 20px 24px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--text-0);
}

.faq-icon {
  color: var(--text-3);
  font-size: 1.3rem;
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ─── 19. FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: none;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.social-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-0);
  background: var(--bg-4);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text-0);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--text-1);
}

/* ─── 20. PAGE HERO (internal pages) ───────────────────────── */
.page-hero {
  padding: 140px 0 72px;
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(124,92,252,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 20px;
  list-style: none;
}

.breadcrumb a {
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--text-0);
}

.breadcrumb-sep {
  color: var(--text-3);
  opacity: 0.5;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-0);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.75;
}

/* ─── 21. SECTION HEADER ────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-2);
}

/* ─── 22. ANIMATIONS & UTILITIES ───────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.mb-2  { margin-bottom: 16px; }
.mb-4  { margin-bottom: 32px; }
.mb-8  { margin-bottom: 64px; }
.mt-2  { margin-top: 16px; }
.mt-4  { margin-top: 32px; }
.mt-8  { margin-top: 64px; }

.gap-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 16px;
  width: 100%;
}

.gap-label::before,
.gap-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.highlight { color: var(--red); }

.badge {
  display: inline-block;
  background: var(--gradient-subtle);
  border: 1px solid rgba(124,92,252,0.2);
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.badge-red {
  background: rgba(255,57,81,0.08);
  border-color: rgba(255,57,81,0.2);
  color: var(--red);
}

.counter-value {
  display: inline-block;
}

/* Tag / chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* Notification animation */
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ─── 23. RESPONSIVE ────────────────────────────────────────── */

/* Tablet: max 1024px */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }
}

/* Mobile: max 768px */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar-links,
  .navbar-cta {
    display: none;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat strong {
    font-size: 1.8rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-section {
    padding: 48px 28px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

/* Small mobile: max 480px */
@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-sm {
    padding: 48px 0;
  }

  .card {
    padding: 24px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stats .hero-stat {
    min-width: 40%;
  }
}

/* ─── 24. EXTRA COMPONENTS ──────────────────────────────────── */

/* Stats bar */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
}

.stat-item {
  flex: 1;
  min-width: 150px;
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item span {
  font-size: 0.825rem;
  color: var(--text-3);
  font-weight: 500;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  width: fit-content;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: color var(--transition), background var(--transition);
}

.tab-btn.active {
  background: var(--bg-4);
  color: var(--text-0);
}

.tab-btn:hover:not(.active) {
  color: var(--text-1);
}

/* Avatar group */
.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-group .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-0);
  background: var(--gradient);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}

/* Toast / notification base */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-3);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--text-0);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  animation: slideUp 0.3s ease;
  max-width: 340px;
  box-shadow: var(--shadow-card);
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 25%, var(--bg-4) 50%, var(--bg-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  from { background-position: -200% 0; }
  to   { background-position: 200% 0; }
}

/* Code block */
.code-block {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.85rem;
  color: var(--text-1);
  overflow-x: auto;
  line-height: 1.8;
}

/* Progress bar */
.progress {
  height: 6px;
  background: var(--bg-4);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 0.6s ease;
}

/* Feature list */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

.feature-list li::before {
  content: '→';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  z-index: 998;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse 2s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}
