/* ==========================================================================
   digitall factory - Design System & CSS Stylesheet
   Color Palette derived from logo: Electric Cyan, Neon Violet, Sunset Orange
   ========================================================================== */

:root {
  /* Colors - Dark Theme (Default) */
  --bg-main: #0B0E17;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 35, 56, 0.85);
  --bg-nav: rgba(11, 14, 23, 0.85);
  
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dark: #FFFFFF;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(0, 210, 255, 0.3);

  /* Brand Colors from Logo */
  --cyan-primary: #00D2FF;
  --purple-primary: #9D4EDD;
  --orange-primary: #FF6B00;
  --magenta-primary: #E01A4F;

  /* Gradient Tokens */
  --logo-gradient: linear-gradient(135deg, #00D2FF 0%, #9D4EDD 50%, #FF6B00 100%);
  --logo-gradient-text: linear-gradient(135deg, #00E5FF 0%, #B840FF 50%, #FF7B00 100%);
  --glow-cyan: rgba(0, 210, 255, 0.25);
  --glow-purple: rgba(157, 78, 221, 0.25);
  --glow-orange: rgba(255, 107, 0, 0.25);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 30px rgba(0, 210, 255, 0.15);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-main: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #FFFFFF;
  --bg-nav: rgba(255, 255, 255, 0.92);

  --text-main: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-dark: #0F172A;
  --border-color: rgba(15, 23, 42, 0.1);
  --border-highlight: rgba(0, 210, 255, 0.4);

  --glow-cyan: rgba(0, 210, 255, 0.12);
  --glow-purple: rgba(157, 78, 221, 0.12);
  --glow-orange: rgba(255, 107, 0, 0.12);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] body {
  color: #0F172A;
}

[data-theme="light"] .hero-section {
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
}

[data-theme="light"] .hero-glow-1,
[data-theme="light"] .hero-glow-2 {
  opacity: 0.08;
}

[data-theme="light"] .hero-subtitle {
  color: #475569;
}

[data-theme="light"] .promo-banner {
  background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px);
}

[data-theme="light"] .nav-links a {
  color: #334155;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  color: #0F172A;
}

[data-theme="light"] .service-card,
[data-theme="light"] .tech-card,
[data-theme="light"] .step-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .tech-card:hover,
[data-theme="light"] .step-card:hover {
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .service-popular {
  border-color: rgba(0, 210, 255, 0.3);
}

[data-theme="light"] .hero-logo-showcase {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-stats {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .stat-divider {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .section {
  background: transparent;
}

[data-theme="light"] .estimator-box {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .option-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .option-card.selected {
  border-color: var(--cyan-primary);
  background: rgba(0, 210, 255, 0.05);
}

[data-theme="light"] .estimator-result-panel {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #F1F5F9;
}

[data-theme="light"] .estimator-result-panel * {
  color: #F1F5F9;
}

[data-theme="light"] .studio-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .studio-topbar {
  background: #F1F5F9;
}

[data-theme="light"] .preset-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: #334155;
}

[data-theme="light"] .prompt-input {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0F172A;
}

[data-theme="light"] .faq-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .faq-question {
  color: #0F172A;
}

[data-theme="light"] .contact-wrapper {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .contact-form {
  background: rgba(241, 245, 249, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form select,
[data-theme="light"] .contact-form textarea {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0F172A;
}

[data-theme="light"] .contact-form input::placeholder,
[data-theme="light"] .contact-form textarea::placeholder {
  color: #94A3B8;
}

[data-theme="light"] .footer {
  background: #0F172A;
  color: #CBD5E1;
}

[data-theme="light"] .footer .brand-name,
[data-theme="light"] .footer .footer-desc,
[data-theme="light"] .footer .f-col h4,
[data-theme="light"] .footer .f-col a,
[data-theme="light"] .footer .footer-bottom p,
[data-theme="light"] .footer .legal-links a {
  color: #CBD5E1;
}

[data-theme="light"] .footer .f-col a:hover,
[data-theme="light"] .footer .legal-links a:hover {
  color: var(--cyan-primary);
}

[data-theme="light"] .btn-secondary {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.15);
  color: #0F172A;
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(0, 210, 255, 0.06);
  border-color: var(--cyan-primary);
  color: #0F172A;
}

[data-theme="light"] .whatsapp-float {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .toast {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .custom-range::-webkit-slider-runnable-track {
  background: rgba(0, 0, 0, 0.1);
}

/* === PAGE LOADER === */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0B0E17;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

[data-theme="light"] .page-loader {
  background: #F8FAFC;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.loader-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.4)); }
}

.loader-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

.loader-bar {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

[data-theme="light"] .loader-bar {
  background: rgba(0, 0, 0, 0.08);
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--logo-gradient);
  border-radius: 3px;
  animation: loaderFill 1.2s ease-out forwards;
}

@keyframes loaderFill {
  0% { width: 0%; }
  60% { width: 80%; }
  100% { width: 100%; }
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Background Canvas */
#circuitCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

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

.txt-cyan { color: var(--cyan-primary); }
.txt-purple { color: var(--purple-primary); }
.txt-orange { color: var(--orange-primary); }
.txt-dark { color: var(--text-dark); }

.gradient-text {
  background: linear-gradient(270deg, #00E5FF, #B840FF, #FF7B00, #00E5FF);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Promo Banner */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: var(--logo-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
}

.promo-banner ~ .navbar {
  top: 40px;
}

.promo-banner ~ .navbar ~ .hero-section {
  padding-top: 12rem;
}

.promo-banner.hidden {
  display: none;
}

.promo-banner.hidden ~ .navbar {
  top: 0;
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.promo-icon {
  display: flex;
  animation: promoPulse 1.5s ease infinite;
}

@keyframes promoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.promo-code {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 1px;
}

.promo-close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.promo-close:hover {
  opacity: 1;
}

/* Typing Effect */
.typed-cursor {
  font-weight: 300;
  animation: blink 0.8s infinite;
}

.typed-cursor.hidden {
  display: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 3D Tilt on Service Cards */
.service-card[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 0.15s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

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

.faq-item.active {
  border-color: var(--cyan-primary);
  box-shadow: 0 4px 20px var(--glow-cyan);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--cyan-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

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

.faq-answer p {
  padding: 0 1.5rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, #00D2FF 0%, #9D4EDD 50%, #FF6B00 100%);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  color: #FFFFFF;
  box-shadow:
    0 4px 15px rgba(0, 210, 255, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 30px rgba(0, 210, 255, 0.4),
    0 4px 15px rgba(157, 78, 221, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow:
    0 2px 10px rgba(0, 210, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(157, 78, 221, 0.1), rgba(255, 107, 0, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.4);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 25px rgba(0, 210, 255, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 80%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: none;
  opacity: 0;
}

.btn-glow:hover::after {
  opacity: 1;
  animation: shimmer 0.8s ease forwards;
}

@keyframes shimmer {
  0% { left: -150%; }
  100% { left: 150%; }
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(0, 210, 255, 0.3);
  box-shadow: 0 0 15px var(--glow-cyan);
  transition: var(--transition);
}

.brand-logo:hover .logo-img {
  transform: rotate(5deg) scale(1.05);
  border-color: var(--orange-primary);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--logo-gradient);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 10rem 0 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--glow-orange) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 960px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-primary);
  box-shadow: 0 0 10px var(--cyan-primary);
  animation: pulseGlow 2s infinite;
}

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

.badge-tag {
  background: var(--logo-gradient);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
  color: #fff;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-subtitle strong {
  color: var(--text-main);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

/* Hero Showcase Card */
.hero-logo-showcase {
  position: relative;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.logo-card-glow {
  position: absolute;
  inset: -1px;
  background: var(--logo-gradient);
  border-radius: var(--radius-lg);
  filter: blur(15px);
  opacity: 0.5;
}

.logo-card-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow);
}

.hero-main-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--border-highlight);
  box-shadow: 0 0 25px var(--glow-purple);
}

.showcase-info {
  text-align: left;
}

.showcase-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.showcase-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.tag-ai {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
}

/* Hero Stats Bar */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--logo-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-icon-inline {
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* Section Shared Layouts */
.section {
  padding: 7rem 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--cyan-primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.service-card:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.service-popular {
  border-color: var(--purple-primary);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--logo-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.icon-cyan {
  background: rgba(0, 210, 255, 0.1);
  color: var(--cyan-primary);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.icon-purple {
  background: rgba(157, 78, 221, 0.1);
  color: var(--purple-primary);
  border: 1px solid rgba(157, 78, 221, 0.3);
}

.icon-orange {
  background: rgba(255, 107, 0, 0.1);
  color: var(--orange-primary);
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.service-features li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-main);
}

.service-features svg {
  color: var(--cyan-primary);
}

/* AI Studio Section */
.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
}

.studio-topbar {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.studio-title-bar {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-inline img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.studio-status {
  font-size: 0.8rem;
  color: #27C93F;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27C93F;
  box-shadow: 0 0 8px #27C93F;
}

.studio-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.input-label {
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: block;
}

.preset-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.preset-btn {
  text-align: left;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.preset-btn:hover, .preset-btn.active {
  background: rgba(0, 210, 255, 0.1);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}

.prompt-input-group {
  display: flex;
  gap: 0.6rem;
}

.prompt-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.prompt-input:focus {
  outline: none;
  border-color: var(--cyan-primary);
}

.studio-output-display {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.console-box {
  background: #06080F;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: monospace;
  font-size: 0.8rem;
  height: 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.line-info { color: #38BDF8; }
.line-success { color: #4ADE80; }
.line-warn { color: #FACC15; }

.preview-result-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.result-badge {
  background: var(--logo-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.result-tech {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.result-content h4 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.result-content ul {
  list-style: none;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Estimator Widget */
.estimator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(12px);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
}

.control-group {
  margin-bottom: 2.2rem;
}

.control-label {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: block;
}

.option-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.opt-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.opt-card:hover, .opt-card.active {
  background: rgba(0, 210, 255, 0.08);
  border-color: var(--cyan-primary);
  transform: translateY(-3px);
}

.opt-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.opt-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.opt-desc { font-size: 0.75rem; color: var(--text-muted); }

.custom-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.custom-cb {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.custom-cb input { display: none; }

.cb-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.custom-cb input:checked + .cb-box {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
}

.custom-cb input:checked + .cb-box::after {
  content: '✓';
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.estimator-result-panel {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.estimator-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.est-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.est-heading {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.price-currency { font-size: 1.8rem; font-weight: 800; color: var(--cyan-primary); }
.price-amount { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 900; background: var(--logo-gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.price-tax { font-size: 0.9rem; color: var(--text-muted); }

.timeline-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.est-breakdown {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-color);
  padding-top: 1rem;
}

.est-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Portfolio Section */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--logo-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--glow-purple);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-highlight);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 23, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.view-project-btn {
  padding: 0.7rem 1.4rem;
  background: var(--logo-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--glow-cyan);
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.p-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
}

.p-tag-cyan { color: var(--cyan-primary); background: rgba(0,210,255,0.1); }
.p-tag-purple { color: var(--purple-primary); background: rgba(157,78,221,0.1); }
.p-tag-orange { color: var(--orange-primary); background: rgba(255,107,0,0.1); }

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.portfolio-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Process Steps Timeline */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(12px);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.2;
  background: var(--logo-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Tech Stack Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.tech-card:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-primary);
}

.tech-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.tech-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.tech-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Contact & Smart Form Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 2px solid var(--cyan-primary);
}

.contact-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-text {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;

}

.detail-item svg {
  color: var(--cyan-primary);
}

.contact-form {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.form-heading {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

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

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-primary);
  background: rgba(255, 255, 255, 0.08);
}

.form-group select option {
  background: var(--bg-main);
  color: var(--text-main);
}

/* Footer */
.footer {
  background: #06080F;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand-digitall {
  color: #F1F5F9;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--glow-cyan);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.f-col h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.f-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
  transition: var(--transition);
}

.f-col a:hover {
  color: var(--cyan-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.fb-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

/* Modal Popup */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.modal-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.modal-body {
  padding: 2rem;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.modal-metrics {
  display: inline-block;
  background: var(--logo-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: -100px;
  right: 30px;
  background: var(--bg-card);
  border: 1px solid #27C93F;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 2000;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateY(-130px);
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #27C93F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.toast-body h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.toast-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

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

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* Media Queries for Mobile Responsiveness */
/* === TABLET (max 1024px) === */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .estimator-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .studio-body { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .logo-card-content { flex-direction: column; text-align: center; }
  .showcase-info { text-align: center; }
  .showcase-tags { justify-content: center; }
}

/* === MOBILE (max 768px) === */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 170px;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
    z-index: 99;
  }

  .nav-links.mobile-open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  /* Hide nav CTA on mobile - accessible via menu */
  .nav-actions .btn-primary { display: none; }

  /* Promo banner */
  .promo-banner { padding: 0.4rem 2.5rem 0.4rem 0.5rem; }
  .promo-content { font-size: 0.75rem; flex-wrap: wrap; gap: 0.2rem; justify-content: center; line-height: 1.4; }
  .promo-code { font-size: 0.72rem; padding: 0.15rem 0.4rem; }
  .promo-close { right: 0.2rem; font-size: 1.2rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
  .promo-banner ~ .navbar { top: 92px; }

  /* Navbar */
  .nav-container { padding: 0 1rem; }
  .logo-img { width: 44px; height: 44px; border-radius: 10px; }
  .brand-name { font-size: 1.1rem; }
  .brand-tagline { font-size: 0.68rem; letter-spacing: 1px; }
  .nav-links a { padding: 0.5rem 0; min-height: 44px; display: flex; align-items: center; }

  /* Hero */
  .hero-section { padding: 12rem 0 4rem; min-height: auto; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-buttons { flex-direction: column; gap: 0.8rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; box-sizing: border-box; }
  .hero-stats { flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
  .stat-divider { width: 100%; height: 1px; }
  .hero-logo-showcase { margin: 0 auto 3rem; }
  .logo-card-content { flex-direction: column; text-align: center; padding: 1.5rem; }
  .showcase-info { text-align: center; }
  .showcase-tags { justify-content: center; }
  .hero-main-logo { width: 80px; height: 80px; }

  /* Sections */
  .section { padding: 4rem 0; }
  .section-title { font-size: 1.8rem; }
  .section-description { font-size: 0.95rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 2rem 1.5rem; }

  /* Estimator */
  .option-cards { grid-template-columns: 1fr; }
  .estimator-box { padding: 1.5rem; box-sizing: border-box; max-width: 100%; }
  .estimator-result-panel { padding: 1.5rem; }
  .price-amount { font-size: 2.8rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; }

  /* Tech */
  .tech-grid { grid-template-columns: repeat(2, 1fr); }

  /* FAQ */
  .faq-question { font-size: 0.95rem; padding: 1.1rem 1.2rem; }
  .faq-answer p { padding: 0 1.2rem 1.2rem; font-size: 0.9rem; }

  /* Contact */
  .contact-wrapper { padding: 2rem; }
  .contact-title { font-size: 1.6rem; }
  .detail-item { min-height: 44px; padding: 0.5rem 0; }

  /* Studio */
  .studio-control-panel { max-width: 100%; overflow: hidden; box-sizing: border-box; }
  .studio-body { padding: 1.5rem; }
  .prompt-input-group { flex-direction: column; }

  /* Footer */
  .footer-container { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .f-col a { min-height: 44px; display: flex; align-items: center; }
  .fb-container { flex-direction: column; gap: 1rem; text-align: center; }
  .social-links { justify-content: center; }
  .legal-links { justify-content: center; flex-wrap: wrap; }
  .legal-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer { padding-bottom: 5rem; }

  /* WhatsApp float */
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; left: 20px; }
}

/* === SMALL MOBILE (max 480px) === */
@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .brand-name { font-size: 1.15rem; }
  .brand-tagline { font-size: 0.68rem; }
  .logo-img { width: 50px; height: 50px; }
  .section-title { font-size: 1.5rem; }
  .btn-lg { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
  .tech-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .tech-card { padding: 1rem; }
  .step-num { font-size: 2.2rem; }
  .estimator-box { padding: 1rem; }
  .contact-wrapper { padding: 1.5rem; }
  .contact-form { padding: 1.5rem; }
  .promo-content { font-size: 0.75rem; }
}

/* === LEGAL PAGES === */
.legal-page {
  padding: 8rem 0 4rem;
  min-height: 80vh;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.legal-section ul li {
  color: var(--text-secondary);
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  line-height: 1.7;
}

.legal-section ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--cyan-primary);
  font-weight: 700;
}

.legal-section a {
  color: var(--cyan-primary);
  text-decoration: none;
  transition: var(--transition);
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
}

.legal-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.legal-footer a {
  color: var(--cyan-primary);
  text-decoration: none;
}

.legal-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-page { padding: 6rem 0 3rem; }
  .legal-title { font-size: 1.8rem; }
  .legal-section h2 { font-size: 1.1rem; }
}
