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

:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4bd1;
  --primary-light: #a29bfe;
  --accent: #00cec9;
  --dark: #0a0a1a;
  --dark-2: #12122a;
  --dark-3: #1a1a3e;
  --gray: #8892b0;
  --gray-light: #ccd6f6;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #6c5ce7, #00cec9);
  --gradient-2: linear-gradient(135deg, #a29bfe, #6c5ce7);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== LIGHT THEME ========== */
[data-theme="light"] {
  --dark: #f5f7fb;
  --dark-2: #ffffff;
  --dark-3: #eef1f8;
  --gray: #5a6178;
  --gray-light: #2d3250;
  --white: #1a1a2e;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(245, 247, 251, 0.95);
}

[data-theme="light"] .service-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .contact-form,
[data-theme="light"] .tech-item {
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(180deg, rgba(108, 92, 231, 0.06) 0%, #ffffff 100%);
  border-color: var(--primary);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: var(--dark);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--gray-light);
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
  color: #9ca3af;
}

[data-theme="light"] .nav-links {
  background: var(--dark-2);
}

[data-theme="light"] .mockup-bar {
  background: var(--dark-3);
}

[data-theme="light"] .mockup-line {
  background: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .mockup-block {
  background: rgba(108, 92, 231, 0.1);
}

[data-theme="light"] .floating-badge {
  background: var(--dark-2);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-toggle span {
  background: var(--gray-light);
}

[data-theme="light"] .footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .contact-socials a {
  background: var(--dark);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .btn-outline {
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--gray-light);
}

[data-theme="light"] .btn-outline:hover {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.06);
}

[data-theme="light"] .step-number {
  background: var(--dark-2);
}

[data-theme="light"] .portfolio-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

[data-theme="light"] .portfolio-overlay h3,
[data-theme="light"] .portfolio-overlay p,
[data-theme="light"] .portfolio-tag {
  color: #fff;
}

[data-theme="light"] .shape { opacity: 0.08; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--gray-light);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

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

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  color: var(--white);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

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

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.1);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-nav {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
}

/* ========== SECTION HEADER ========== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(108, 92, 231, 0.15);
  color: var(--primary-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-header p {
  color: var(--gray);
  max-width: 550px;
  margin: 12px auto 0;
  font-size: 1.05rem;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition), background 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(108, 92, 231, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
  border-radius: 12px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.35);
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--dark);
  border-radius: 10px;
  transition: var(--transition);
}

.logo-letter {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.logo:hover .logo-mark {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(108, 92, 231, 0.5);
}

.logo:hover .logo-mark::before {
  opacity: 0;
}

.logo:hover .logo-letter {
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #6c5ce7, #00cec9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

[data-theme="light"] .logo-mark::before {
  background: var(--dark-2);
}

[data-theme="light"] .logo-name {
  color: var(--white);
}

[data-theme="light"] .logo-mark {
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links li a {
  padding: 8px 16px;
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
}

.nav-links li a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-light);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: rgba(108, 92, 231, 0.15);
  border-color: var(--primary);
  color: var(--primary-light);
  transform: rotate(20deg);
}

[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -50px;
  left: -100px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: #f093fb;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 92, 231, 0.15);
  color: var(--primary-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(108, 92, 231, 0.2);
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content > p {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 800;
}

.stat span {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ========== HERO VISUAL ========== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero-card-main {
  position: relative;
  z-index: 2;
}

.card-mockup {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 0;
  width: 320px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--dark-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-bar span:nth-child(1) { background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #ffbd2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }

.mockup-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-line {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
}

.w80 { width: 80%; }
.w60 { width: 60%; }
.w40 { width: 40%; }

.mockup-blocks {
  display: flex;
  gap: 12px;
}

.mockup-block {
  flex: 1;
  height: 60px;
  background: rgba(108, 92, 231, 0.15);
  border-radius: var(--radius-sm);
}

.hero-card-phone {
  position: absolute;
  right: -20px;
  bottom: -20px;
  z-index: 3;
}

.phone-mockup {
  width: 140px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: var(--dark-3);
  border-radius: 3px;
  margin: 12px auto 0;
}

.phone-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.mockup-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 206, 201, 0.2);
}

.floating-badge {
  position: absolute;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  animation: float 3s ease-in-out infinite;
  z-index: 4;
}

.badge-1 { top: 20px; right: 20px; animation-delay: 0s; }
.badge-1 i { color: #28c840; }
.badge-2 { top: 50%; left: -30px; animation-delay: 1s; }
.badge-2 i { color: #ffbd2e; }
.badge-3 { bottom: 30px; left: 20px; animation-delay: 2s; }
.badge-3 i { color: var(--primary-light); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== PERFORMANCE ========== */
.services,
.tech-stack,
.process,
.portfolio,
.pricing,
.testimonials,
.cta,
.contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ========== OFFER BADGES ========== */
.offer-badges-section {
  padding: 60px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.offer-badges-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.offer-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.offer-badge-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition), background 0.4s ease;
}

.offer-badge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.offer-badge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 92, 231, 0.2);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}

.offer-badge-card:hover::before {
  opacity: 1;
}

.offer-tag-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.35);
  transform: rotate(-10deg);
  transition: var(--transition);
}

.offer-badge-card:hover .offer-tag-icon {
  transform: rotate(0deg) scale(1.08);
}

.offer-badge-content h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.offer-badge-content p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

[data-theme="light"] .offer-badge-card {
  border-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .offer-badges-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== SERVICES ========== */
.services {
  padding: 100px 0;
  background: var(--dark);
}

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

.service-card {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition), background 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 92, 231, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.icon-web { background: rgba(108, 92, 231, 0.15); color: var(--primary-light); }
.icon-mobile { background: rgba(0, 206, 201, 0.15); color: var(--accent); }
.icon-support { background: rgba(240, 147, 251, 0.15); color: #f093fb; }
.icon-design { background: rgba(253, 121, 168, 0.15); color: #fd79a8; }
.icon-cloud { background: rgba(79, 172, 254, 0.15); color: #4facfe; }
.icon-security { background: rgba(40, 200, 64, 0.15); color: #28c840; }

.service-card h3 { margin-bottom: 12px; }

.service-card > p {
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.service-features {
  margin-bottom: 20px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.88rem;
  color: var(--gray);
}

.service-features li i {
  color: var(--accent);
  font-size: 0.75rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-ideal {
  font-size: 0.84rem;
  color: var(--primary-light);
  font-weight: 500;
  padding: 10px 0;
  margin-bottom: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .service-ideal {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.service-link:hover { gap: 12px; color: var(--white); }

/* ========== TECH STACK ========== */
.tech-stack {
  padding: 80px 0;
  background: var(--dark-2);
}

.tech-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 32px;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: var(--transition);
  min-width: 120px;
}

.tech-item i {
  font-size: 2rem;
  color: var(--primary-light);
}

.tech-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
}

.tech-item:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-item:hover i { color: var(--accent); }

/* ========== PROCESS ========== */
.process {
  padding: 100px 0;
  background: var(--dark);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
}

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

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-light);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: scale(1.1);
}

.step-content h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step-content p { color: var(--gray); font-size: 0.88rem; }

/* ========== PORTFOLIO ========== */
.portfolio {
  padding: 100px 0;
  background: var(--dark-2);
}

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

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-card:hover { transform: translateY(-8px); }

.portfolio-image {
  height: 360px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.portfolio-overlay {
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  width: 100%;
  position: absolute;
  bottom: 0;
}

.portfolio-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
}

.portfolio-overlay h3 { margin-bottom: 8px; }
.portfolio-overlay p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 12px; }

.portfolio-tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.portfolio-tech span {
  background: rgba(108, 92, 231, 0.3);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
}

/* ========== PRICING ========== */
.pricing {
  padding: 100px 0;
  background: var(--dark);
}

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

.pricing-card {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition), background 0.4s ease, border-color 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(108, 92, 231, 0.08) 0%, var(--dark-2) 100%);
  transform: scale(1.05);
}

.pricing-card.featured:hover { transform: scale(1.05) translateY(-6px); }

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-header { text-align: center; margin-bottom: 24px; }
.pricing-header h3 { margin-bottom: 4px; }
.pricing-header p { color: var(--gray); font-size: 0.9rem; }

.pricing-price {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-price .currency {
  font-size: 1.2rem;
  color: var(--gray);
  vertical-align: top;
  line-height: 1.8;
}

.pricing-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
}

.pricing-price .period {
  color: var(--gray);
  font-size: 0.9rem;
}

.pricing-features {
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-light);
}

.pricing-features li i { font-size: 0.8rem; }
.pricing-features li .fa-check { color: var(--accent); }
.pricing-features li .fa-xmark { color: rgba(255, 255, 255, 0.15); }
.pricing-features li.disabled { color: rgba(255, 255, 255, 0.2); }

.pricing-ideal {
  font-size: 0.85rem;
  color: var(--primary-light);
  padding: 14px 0;
  margin-bottom: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 500;
}

[data-theme="light"] .pricing-ideal {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.pricing-note {
  font-size: 0.82rem;
  color: var(--gray);
  background: rgba(108, 92, 231, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  line-height: 1.7;
  display: inline-block;
  width: 100%;
}

.pricing-note strong {
  color: var(--gray-light);
  font-size: 0.83rem;
  margin-right: 4px;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 100px 0;
  background: var(--dark-2);
}

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

.testimonial-card {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition), background 0.4s ease, border-color 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 92, 231, 0.2);
}

.testimonial-stars {
  margin-bottom: 16px;
  color: #ffbd2e;
  font-size: 0.9rem;
  display: flex;
  gap: 3px;
}

.testimonial-card > p {
  color: var(--gray);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.8;
}

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

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

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ========== CTA ========== */
.cta {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 { margin-bottom: 16px; }
.cta-content p { color: var(--gray); font-size: 1.1rem; margin-bottom: 32px; }

/* ========== CONTACT ========== */
.contact {
  padding: 100px 0;
  background: var(--dark-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(108, 92, 231, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-item p { color: var(--gray); font-size: 0.9rem; }

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.contact-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-socials a:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
}

.contact-form {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 36px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892b0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--dark-2);
  color: var(--white);
}

/* ========== FOOTER ========== */
.footer {
  padding: 60px 0 0;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links h4 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--gray);
  font-size: 0.88rem;
}

.footer-links ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ========== TOAST NOTIFICATION ========== */
.toast {
  position: fixed;
  top: 30px;
  right: -420px;
  width: 380px;
  max-width: 90vw;
  background: var(--dark-2);
  border: 1px solid rgba(40, 200, 64, 0.3);
  border-left: 4px solid #28c840;
  border-radius: var(--radius-sm);
  padding: 20px 20px 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  z-index: 3000;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
  right: 30px;
}

.toast-icon {
  font-size: 1.5rem;
  color: #28c840;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-content strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.toast-content p {
  color: var(--gray);
  font-size: 0.84rem;
  line-height: 1.5;
}

.toast-close {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
  transition: var(--transition);
}

.toast-close:hover {
  color: var(--white);
}

[data-theme="light"] .toast {
  border-color: rgba(40, 200, 64, 0.2);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
  .toast { width: calc(100vw - 32px); max-width: none; }
  .toast.show { right: 16px; }
}

/* ========== THEME MODAL ========== */
.theme-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.theme-overlay.active {
  opacity: 1;
  visibility: visible;
}

.theme-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px;
  z-index: 2001;
  width: 420px;
  max-width: 92vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.theme-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.theme-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.theme-modal-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
}

.theme-modal-header h3 i {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-modal-close:hover {
  background: rgba(255, 80, 80, 0.15);
  color: #ff5f57;
  border-color: rgba(255, 80, 80, 0.3);
}

.theme-modal-desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.theme-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.theme-option {
  background: var(--dark);
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: inherit;
}

.theme-option:hover {
  border-color: rgba(108, 92, 231, 0.3);
  transform: translateY(-2px);
}

.theme-option.selected {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.08);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.theme-preview {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.theme-preview-dark {
  background: #0a0a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-preview-light {
  background: #f5f7fb;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.tp-bar {
  display: flex;
  gap: 4px;
  padding: 8px 10px;
}

.tp-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.tp-bar span:nth-child(1) { background: #ff5f57; }
.tp-bar span:nth-child(2) { background: #ffbd2e; }
.tp-bar span:nth-child(3) { background: #28c840; }

.tp-body {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tp-line {
  height: 6px;
  border-radius: 3px;
}

.theme-preview-dark .tp-line { background: rgba(255, 255, 255, 0.08); }
.theme-preview-light .tp-line { background: rgba(0, 0, 0, 0.08); }

.tp-line.w60 { width: 60%; }
.tp-line.w40 { width: 40%; }

.tp-blocks {
  display: flex;
  gap: 6px;
}

.tp-block {
  flex: 1;
  height: 24px;
  border-radius: 5px;
}

.theme-preview-dark .tp-block { background: rgba(108, 92, 231, 0.2); }
.theme-preview-light .tp-block { background: rgba(108, 92, 231, 0.12); }

.theme-option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray);
  transition: var(--transition);
}

.theme-option.selected .theme-option-label {
  color: var(--primary-light);
}

.theme-option-label i {
  font-size: 1rem;
}

[data-theme="light"] .theme-modal {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

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

[data-theme="light"] .theme-option.selected {
  background: rgba(108, 92, 231, 0.06);
}

[data-theme="light"] .theme-modal-close {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-content > p { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline::before { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-badges-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-2);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 4px;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    align-items: stretch;
    overflow-y: auto;
  }

  .nav-links.active { right: 0; }

  .nav-links li a {
    display: block;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .services-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .offer-badges-grid { grid-template-columns: 1fr; }
  .offer-badge-card { padding: 24px 20px; gap: 16px; }
  .offer-tag-icon { width: 56px; height: 56px; font-size: 1.3rem; }
  .section-header { margin-bottom: 40px; }
  .hero { padding: 100px 0 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
  .portfolio-image { height: 280px; }
  .tech-grid { gap: 12px; }
  .tech-item { padding: 16px 20px; min-width: 100px; }
  .tech-item i { font-size: 1.5rem; }
  .contact-form { padding: 24px; }
  .theme-modal { padding: 28px; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero-badge { font-size: 0.78rem; padding: 6px 14px; }
  .hero-content > p { font-size: 0.95rem; }
  .service-card { padding: 24px 20px; }
  .pricing-card { padding: 28px 20px; }
  .pricing-price .amount { font-size: 2.2rem; }
  .testimonial-card { padding: 24px; }
  .offer-badge-card { flex-direction: column; text-align: center; }
  .offer-tag-icon { transform: rotate(0deg); }
  .theme-options { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nav-links { width: 100%; }
  .logo-tagline { display: none; }
  .logo-mark { width: 38px; height: 38px; border-radius: 10px; }
  .logo-mark::before { border-radius: 8px; }
  .logo-letter { font-size: 1.2rem; }
  .logo-name { font-size: 1.15rem; }
}
