:root {
  --bg-color: #070b16;
  --surface-color: #0f172a;
  --card-bg: rgba(13, 21, 39, 0.92);
  --neon-green: #00ff66;
  --neon-green-dark: #00c853;
  --cyan-border: #00d2ff;
  --cyan-glow: #0088ff;
  --text-white: #ffffff;
  --text-gray: #94a3b8;
  --whatsapp-green: #25d366;
  --insta-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-white);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 16px;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 210, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 102, 0.08) 0%, transparent 40%);
}

.app-container {
  width: 100%;
  max-width: 520px;
  background: radial-gradient(circle at top, #0f1b2e 0%, var(--bg-color) 100%);
  border-radius: 24px;
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 136, 255, 0.15);
  overflow: hidden;
  padding-bottom: 24px;
  transition: max-width 0.3s ease;
}

/* Hero Section with Safety Side Margins */
.hero-section {
  padding: 28px 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(7, 11, 22, 0.5) 100%);
  box-sizing: border-box;
}

/* Centered Logo Group: STRICT HORIZONTAL ROW, ALIGNED CENTER */
.logo-group-centered {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
  padding: 0 16px;
  white-space: nowrap;
  box-sizing: border-box;
}

.logo-img {
  height: 120px;
  max-width: 55%;
  object-fit: contain;
}

.logo-text-droid {
  font-size: clamp(36px, 8vw, 60px);
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: 2px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* Content Row: CENTERED HORIZONTALLY, WITH AMPLE SAFETY SIDE MARGINS */
.hero-content-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4vw, 75px);
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.hero-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}

.headline-main {
  font-size: clamp(14px, 3.8vw, 18px);
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 6px;
}

.neon-badge {
  display: inline-block;
  background: #003816;
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
  border-radius: 12px;
  padding: 6px 14px;
  margin-bottom: 8px;
  max-width: 100%;
}

.neon-badge h2 {
  color: var(--neon-green);
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 900;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.headline-sub {
  font-size: clamp(10px, 2.8vw, 12px);
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-white);
}

/* Header Proposal Button */
.header-cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #003816 0%, #005e26 100%);
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
  border-radius: 12px;
  padding: 8px 16px;
  margin-top: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
}

.header-cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 22px rgba(0, 255, 102, 0.6);
}

.header-cta-phone {
  font-size: clamp(14px, 4vw, 20px);
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  line-height: 1.1;
  white-space: nowrap;
}

.header-cta-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(10px, 2.8vw, 12px);
  font-weight: 900;
  color: var(--neon-green);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.mascote-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascote-img {
  height: clamp(140px, 30vw, 200px);
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(0, 210, 255, 0.6));
}

/* Services Section */
.services-section {
  padding: 16px 20px;
}

.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.title-bar {
  width: 4px;
  height: 22px;
  background: var(--neon-green);
  border-radius: 2px;
  margin-right: 10px;
}

.section-title h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-white);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  background: var(--card-bg);
  border: 1.5px solid var(--cyan-border);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 22px rgba(0, 210, 255, 0.35);
}

.icon-box {
  width: 80px;
  height: 80px;
  background: #1e293b;
  border: 1px solid rgba(0, 136, 255, 0.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px auto;
}

.service-card h4 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--text-white);
  margin-bottom: 4px;
}

.service-card p.subtitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--neon-green);
  margin-bottom: 12px;
}

.details-btn {
  font-size: 11px;
  color: var(--cyan-border);
  font-weight: 600;
}

.features-list {
  display: none;
  background: #0f172a;
  border-radius: 12px;
  padding: 14px;
  margin-top: 14px;
  text-align: left;
}

.features-list.show {
  display: block;
}

.features-list ul {
  list-style: none;
}

.features-list li {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.features-list li::before {
  content: '•';
  color: var(--neon-green);
  font-size: 18px;
  margin-right: 8px;
}

/* Pricing & Simulator Layout Wrapper */
.main-offer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 20px;
}

/* Pricing Section */
.pricing-section {
  padding: 0;
}

.pricing-card {
  background: var(--card-bg);
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  height: 100%;
}

.price-title {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.price-badge {
  background: linear-gradient(180deg, #003816 0%, #005e26 100%);
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
  border-radius: 16px;
  padding: 12px 0;
  margin-bottom: 12px;
}

.old-price {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 2px;
}

.price-badge h2 {
  font-size: 38px;
  font-weight: 900;
  color: var(--neon-green);
}

.discount-banner, .discount-banner-sim {
  background: #003816;
  border: 1.5px dashed var(--neon-green);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  text-align: center;
}

.discount-title, .discount-title-sim {
  display: block;
  font-size: 28px; /* Doubled */
  font-weight: 900;
  color: var(--neon-green);
  letter-spacing: 1px;
}

.discount-sub, .discount-sub-sim {
  font-size: 20px; /* Doubled */
  font-weight: 700;
  color: var(--text-white);
  margin-top: 4px;
  line-height: 1.3;
}

.installments-badge {
  background: var(--neon-green);
  color: #070b16;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.checklist {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  background: #0f1b2e;
  border: 1px solid rgba(0, 136, 255, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-white);
}

.check-icon {
  width: 24px;
  height: 24px;
  background: var(--neon-green);
  color: #070b16;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Mascote Placa Image Container */
.mascote-placa-container {
  margin-top: 16px;
  padding: 12px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascote-placa-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.3));
}

/* Simulator Section — DOUBLED FONT SIZES ACCORDING TO REQUEST */
.simulator-section {
  padding: 0;
}

.simulator-card {
  background: var(--card-bg);
  border: 1.5px solid var(--cyan-border);
  border-radius: 20px;
  padding: 20px;
  height: 100%;
}

.simulator-card .section-title h3 {
  font-size: 32px; /* Doubled */
}

.simulator-card > p {
  font-size: 22px !important; /* Doubled */
  margin-bottom: 16px;
  line-height: 1.4;
}

.pkg-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.pkg-item {
  background: var(--surface-color);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pkg-item.active {
  background: #0f2618;
  border-color: var(--neon-green);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}

.pkg-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pkg-header input[type="radio"] {
  accent-color: var(--neon-green);
  margin-top: 4px;
  width: 20px;
  height: 20px;
}

.pkg-info strong {
  display: block;
  font-size: 24px; /* Doubled */
  color: var(--text-white);
  margin-bottom: 4px;
  line-height: 1.3;
}

.pkg-info p {
  font-size: 20px; /* Doubled */
  color: var(--text-gray);
  line-height: 1.3;
}

.pkg-screens {
  display: none;
  background: #070b16;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 20px; /* Doubled */
  color: var(--cyan-border);
  line-height: 1.4;
}

.pkg-item.active .pkg-screens {
  display: block;
}

.quote-note {
  background: #1e293b;
  border-radius: 12px;
  padding: 14px;
  font-size: 20px; /* Doubled */
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
}

.estimate-box {
  background: #0f172a;
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  margin-bottom: 16px;
}

.estimate-box span {
  font-size: 20px !important; /* Doubled */
}

.estimate-box div {
  font-size: 24px !important; /* Doubled */
}

.estimate-box h3 {
  font-size: 52px; /* Doubled */
  font-weight: 900;
  color: var(--neon-green);
  margin: 8px 0;
}

.pix-installment-badge {
  background: linear-gradient(90deg, #003816 0%, #005e26 100%);
  border: 1.5px solid var(--neon-green);
  color: var(--neon-green);
  font-size: 22px; /* Doubled */
  font-weight: 900;
  text-align: center;
  padding: 16px 12px;
  border-radius: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
  line-height: 1.3;
}

.cta-whatsapp-btn {
  display: block;
  width: 100%;
  background: var(--whatsapp-green);
  color: white;
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  padding: 14px 10px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s;
}

.cta-whatsapp-btn:hover {
  transform: scale(1.02);
}

/* Portfolio Section: Stacked 100% Width Cards One Below the Other */
.portfolio-section {
  padding: 24px 20px;
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  margin-top: 12px;
  width: 100%;
}

.portfolio-grid {
  display: flex;
  flex-direction: column; /* Stacked one below the other on ALL screens */
  gap: 24px;
  width: 100%;
}

.portfolio-card {
  background: var(--card-bg);
  border: 1.5px solid var(--cyan-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.4);
}

/* Portfolio Card Header: STRICTLY NO TEXT WRAP */
.portfolio-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 8px;
  width: 100%;
}

.portfolio-card-header h4 {
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 900;
  color: var(--text-white);
  white-space: nowrap;
  margin: 0;
}

.status-badge {
  font-size: clamp(9px, 2.2vw, 11px);
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-badge.ready {
  background: #003816;
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
}

.status-badge.dev {
  background: #382d00;
  border: 1px solid #ffc107;
  color: #ffc107;
}

/* Horizontal Landscape Image Frame filling maximum card space */
.portfolio-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: top center;
  background-color: #070b16;
  border-radius: 14px;
  border: 1px solid rgba(0, 210, 255, 0.35);
  margin-bottom: 16px;
  display: block;
}

/* Portfolio Description: DOUBLED FONT SIZE */
.portfolio-desc {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.5;
  margin-bottom: 16px;
}

.portfolio-link-btn {
  display: block;
  width: 100%;
  background: var(--surface-color);
  border: 1.5px solid var(--cyan-border);
  color: var(--cyan-border);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.portfolio-link-btn:hover {
  background: rgba(0, 210, 255, 0.15);
  transform: scale(1.01);
}

/* Footer Section */
.footer-section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.instagram-btn {
  background: var(--card-bg);
  border: 1.5px solid #dc2743;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(220, 39, 67, 0.2);
}

.footer-copy {
  font-size: 11px;
  color: var(--text-gray);
  margin-top: 8px;
  line-height: 1.6;
  text-align: center;
}

/* Footer Copyright Mobile 3-line Breakdown */
@media screen and (max-width: 767px) {
  .footer-copy span.footer-line1,
  .footer-copy span.footer-line2,
  .footer-copy span.footer-line3 {
    display: block;
  }

  .footer-copy span.footer-sep {
    display: none;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES (Tablets, Laptops, Desktops)
   ========================================================================== */

/* Tablet & Medium Screens (min-width: 768px) */
@media screen and (min-width: 768px) {
  body {
    padding: 30px;
  }

  .app-container {
    max-width: 880px;
    border-radius: 28px;
  }

  .hero-section {
    padding: 36px 30px;
  }

  .hero-content-row {
    gap: 75px;
  }

  .logo-img {
    height: 180px;
  }

  .logo-text-droid {
    font-size: 84px;
  }

  .header-cta-phone {
    font-size: 24px;
  }

  .header-cta-sub {
    font-size: 14px;
  }

  .mascote-img {
    height: 260px;
  }

  .mascote-placa-img {
    max-height: 320px;
  }

  .headline-main {
    font-size: 26px;
  }

  .neon-badge h2 {
    font-size: 28px;
  }

  .headline-sub {
    font-size: 16px;
  }

  /* Services Grid: 3 columns on tablet */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* Main Offer Wrapper: 2 columns for Pricing and Simulator */
  .main-offer-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 20px;
  }

  /* Portfolio Grid: Stacked 100% width cards */
  .portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .footer-actions {
    flex-direction: row;
    gap: 16px;
  }

  .footer-actions > * {
    flex: 1;
  }
}

/* Large Desktop Screens (min-width: 1024px) */
@media screen and (min-width: 1024px) {
  body {
    padding: 40px;
  }

  .app-container {
    max-width: 1120px;
    border-radius: 32px;
  }

  .hero-section {
    padding: 40px 40px;
  }

  .hero-content-row {
    gap: 80px;
  }

  .logo-img {
    height: 220px;
  }

  .logo-text-droid {
    font-size: 105px;
  }

  .header-cta-phone {
    font-size: 26px;
  }

  .header-cta-sub {
    font-size: 15px;
  }

  .mascote-img {
    height: 320px;
  }

  .mascote-placa-img {
    max-height: 360px;
  }

  .headline-main {
    font-size: 30px;
  }

  .neon-badge h2 {
    font-size: 32px;
  }

  .services-section {
    padding: 24px 30px;
  }

  .services-grid {
    gap: 24px;
  }

  .main-offer-wrapper {
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    padding: 12px 30px;
  }

  .portfolio-section {
    padding: 30px 40px;
  }

  .footer-section {
    padding: 24px 30px;
  }
}
