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

:root {
  --purple: #9B7FF0;
  --purple-light: #B8A0FF;
  --purple-dark: #7C5CE8;
  --green: #2ECC40;
  --green-bright: #00E676;
  --text-dark: #F0F0F8;
  --text-mid: #A0A0C0;
  --text-light: #606080;
  --bg: #0f0f13;
  --bg-light: #16161e;
  --white: #1c1c26;
  --card-bg: rgba(28,28,38,0.95);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,15,19,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(155,127,240,0.12);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-logo svg { width: 22px; height: 22px; }

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--purple); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1.5px solid rgba(155,127,240,0.35);
  border-radius: 50px;
  background: transparent;
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-contact:hover { border-color: var(--purple); color: var(--purple); }

.btn-contact svg { width: 16px; height: 16px; }

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark); /* light bar on dark bg */
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu — hidden by default at all sizes */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: rgba(15,15,19,0.97);
  backdrop-filter: blur(14px);
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
  border-bottom: 1px solid rgba(124,92,232,0.1);
}

/* Only show when toggled AND on mobile */
@media (max-width: 768px) {
  .mobile-menu.open { display: flex; }
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
}

/* ===== HERO ===== */
#hero {
  text-align: center;
  padding: 64px 24px 0;
  max-width: 780px;
  margin: 0 auto;
}

#hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

#hero h1 .highlight {
  color: var(--purple);
  font-style: italic;
}

#hero .subtitle {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline {
  padding: 12px 28px;
  border: 1.5px solid rgba(155,127,240,0.35);
  border-radius: 50px;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover { border-color: var(--purple); color: var(--purple); }

.btn-green {
  padding: 12px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #2ECC40, #00E676);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(46,204,64,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-green:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(46,204,64,0.45); }

.btn-green svg { width: 18px; height: 18px; }

.hero-badges {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-mid);
}

.hero-badge svg { width: 14px; height: 14px; color: var(--purple); }

/* ===== LAPTOP MOCKUP ===== */
.laptop-section {
  margin-top: 48px;
  padding: 0 16px;
  display: flex;
  justify-content: center;
}

.laptop-outer {
  position: relative;
  background: linear-gradient(135deg, rgba(90,60,180,0.18), rgba(60,40,120,0.12));
  border-radius: 24px;
  padding: 32px 32px 16px;
  max-width: 820px;
  width: 100%;
  box-shadow: 0 2px 60px rgba(124,92,232,0.12);
}

/* dashed grid lines */
.laptop-outer::before,
.laptop-outer::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  border-top: 1.5px dashed rgba(155,127,240,0.15);
}
.laptop-outer::before { top: 28%; }
.laptop-outer::after { top: 55%; }

.laptop-mockup {
  width: 100%;
  border-radius: 14px;
  position: relative;
  z-index: 1;
}

/* Client logos strip */
.client-logos {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 16px 8px;
}

.client-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.55;
  filter: grayscale(1);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: opacity 0.2s, filter 0.2s;
}

.client-logo:hover { opacity: 1; filter: grayscale(0); }

.client-logo img { height: 80px; width: auto; max-width: 220px; object-fit: contain; }

/* ===== SECTION SHARED ===== */
section { padding: 80px 24px; }

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}

.section-label svg { width: 14px; height: 14px; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--text-mid);
  max-width: 480px;
}

/* ===== PORTFOLIO ===== */
#portfolio {
  background: transparent;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.portfolio-header { margin-bottom: 48px; }

.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.portfolio-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(155,127,240,0.12);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-item video {
  width: 100%;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
  max-height: 460px;
  object-fit: cover;
  background: #111;
}

.portfolio-item-info {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.portfolio-item-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.portfolio-item-info p {
  font-size: 0.85rem;
  color: var(--text-mid);
}

/* ===== PRICING ===== */
#pricing {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-header { margin-bottom: 48px; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: #1a1a26;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(155,127,240,0.18);
  position: relative;
}

.pricing-card.featured {
  background: var(--purple);
  color: white;
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  color: var(--purple);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.pricing-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

.pricing-card.featured .pricing-type { color: rgba(255,255,255,0.75); }

.pricing-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-card.featured .pricing-price { color: white; }

.pricing-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.pricing-card.featured .pricing-note { color: rgba(255,255,255,0.65); }

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

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

.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.9); }

.pricing-features li::before {
  content: '✓';
  font-weight: 700;
  color: var(--purple);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ===== FLOATING WHATSAPP FAB ===== */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, #25D366, #1DA851);
  color: white;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 36px rgba(37,211,102,0.55);
}

.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: inherit;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 480px) {
  .wa-fab span { display: none; }
  .wa-fab { padding: 16px; border-radius: 50%; bottom: 20px; right: 20px; }
}

.pricing-card.featured .pricing-features li::before { color: white; }

.btn-plan {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  border: 1.5px solid rgba(124,92,232,0.3);
  background: transparent;
  color: var(--purple);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-plan:hover { background: var(--purple); color: white; }

.pricing-card.featured .btn-plan {
  border-color: white;
  color: var(--purple);
  background: white;
}

.pricing-card.featured .btn-plan:hover {
  background: rgba(255,255,255,0.85);
}

/* ===== FAQ ===== */
#faq {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

#faq .section-label,
#faq .section-title { text-align: center; }

#faq .section-title { margin: 0 auto; }

.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.faq-item {
  background: #1a1a26;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(155,127,240,0.15);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover { box-shadow: var(--shadow-lg); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-question span {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(124,92,232,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  transition: transform 0.3s, background 0.2s;
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

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

.faq-answer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 24px 24px;
}

.faq-answer-inner p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  grid-column: 2;
}

/* single-column answers */
.faq-answer-inner.single p { grid-column: 1 / -1; }

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

/* ===== CTA ===== */
#cta {
  padding: 40px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-card {
  background: linear-gradient(135deg, #2a2060 0%, #3d2d8a 50%, #4a38a0 100%);
  border-radius: 20px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 60px rgba(60,30,130,0.35);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,160,255,0.08), transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(100,200,255,0.06), transparent 60%);
}

.cta-card h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: white;
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  background: linear-gradient(135deg, #25D366, #1DA851);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }

.btn-whatsapp svg { width: 20px; height: 20px; }

/* ===== TECH LOGOS STRIP ===== */
.tech-strip {
  background: #1a1a26;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 0;
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(155,127,240,0.12);
}

.tech-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: #252535;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.tech-logo:hover { transform: scale(1.12); }

.tech-logo img { width: 28px; height: 28px; object-fit: contain; }

/* ===== FOOTER ===== */
footer {
  padding: 48px 32px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-mid);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid rgba(155,127,240,0.25);
  background: #1a1a26;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
  transition: border-color 0.2s, color 0.2s;
  box-shadow: var(--shadow);
}

.footer-social-btn:hover { border-color: var(--purple); color: var(--purple); }

.footer-social-btn svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(155,127,240,0.12);
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer-credit a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 0 20px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  #hero { padding: 40px 16px 0; }

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

  .faq-answer-inner { grid-template-columns: 1fr; }
  .faq-answer-inner p { grid-column: 1; }

  .cta-card { padding: 44px 24px; }

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

  .laptop-outer { padding: 20px 16px 10px; }

  .tech-strip { gap: 6px; }

  .footer-socials { align-self: flex-end; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn-outline, .btn-green { justify-content: center; }
  .hero-badges { gap: 12px; }
}
