:root {
  --pc-primary: #2563eb;
  --pc-primary-light: #3b82f6;
  --pc-accent: #22c55e;
  --pc-cyan: #38bdf8;
  --pc-purple: #8b5cf6;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.3);
}

[data-theme="dark"] {
  --bg-body: #020617;
  --bg-section: #0b1120;
  --bg-section-alt: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-solid: #0f172a;
  --text-heading: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.15);
  --border-strong: rgba(148, 163, 184, 0.25);
  --nav-bg: rgba(2, 6, 23, 0.85);
  --input-bg: rgba(15, 23, 42, 0.8);
  --input-border: rgba(148, 163, 184, 0.3);
  --footer-bg: #020617;
}

[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-section: #ffffff;
  --bg-section-alt: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-solid: #ffffff;
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.2);
  --border-strong: rgba(148, 163, 184, 0.35);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --input-bg: #ffffff;
  --input-border: rgba(148, 163, 184, 0.4);
  --footer-bg: #0f172a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--pc-primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--pc-primary);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(37, 99, 235, 0.3);
  color: var(--text-heading);
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-strong);
  border-top-color: var(--pc-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Buttons */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pc-primary) 0%, var(--pc-cyan) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
  color: #fff;
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pc-primary), var(--pc-cyan));
  opacity: 0;
  filter: blur(12px);
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-glow:hover::after {
  opacity: 0.5;
}

.btn-outline-light {
  border: 1.5px solid var(--border-strong);
  background: transparent;
  color: var(--text-heading);
}

.btn-outline-light:hover {
  background: var(--bg-card);
  border-color: var(--pc-primary);
  color: var(--pc-primary);
}

.btn-light {
  background: #fff;
  color: #0f172a;
}

.btn-light:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.btn-theme {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-heading);
  padding: 0;
}

.btn-theme:hover {
  background: var(--bg-section-alt);
  transform: rotate(15deg);
}

/* Navbar */
.navbar {
  padding: 0.75rem 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
}

.navbar-brand img {
  height: 44px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-toggler {
  border: 1px solid var(--border-strong);
  color: var(--text-heading);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="light"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--pc-primary), var(--pc-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-card-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }
  .nav-link:hover {
    background: var(--bg-section-alt);
  }
  .nav-link::after {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 45%);
  z-index: 0;
  animation: gradientPulse 8s ease-in-out infinite alternate;
}

@keyframes gradientPulse {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.3);
  animation: float 15s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-30px) translateX(20px); opacity: 0.6; }
  50% { transform: translateY(20px) translateX(-20px); opacity: 0.4; }
  75% { transform: translateY(-10px) translateX(30px); opacity: 0.5; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--pc-cyan);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--pc-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-highlight {
  background: linear-gradient(120deg, var(--pc-primary), var(--pc-cyan), var(--pc-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-heading);
  font-family: var(--font-heading);
}

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

/* Hero Card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.hero-card-header h2 {
  font-size: 1.25rem;
  margin: 0;
}

.hero-card-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-card-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-features {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.hero-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pc-cyan);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-feature h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.hero-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-card-footer {
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}

.hero-scroll a {
  color: var(--text-muted);
  font-size: 1.5rem;
}

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

/* Clients */
.clients {
  background: var(--bg-section);
  border-color: var(--border) !important;
}

.clients-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.clients-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.client-name {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: var(--transition);
}

.client-name:hover {
  opacity: 1;
  color: var(--pc-cyan);
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-section-alt);
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--pc-primary-light);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 42rem;
}

.section-text {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-header {
  margin-bottom: 3.5rem;
}

.text-gradient {
  background: linear-gradient(120deg, var(--pc-primary), var(--pc-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* About */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.about-card-title {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-list i {
  color: var(--pc-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

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

.stat-box-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-heading);
  font-family: var(--font-heading);
  line-height: 1;
}

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

/* Services */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pc-primary), var(--pc-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(56, 189, 248, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--pc-cyan);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, var(--pc-primary), var(--pc-cyan));
  color: #fff;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

.service-card ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.service-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.service-card li i {
  color: var(--pc-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Diferenciais */
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  background: var(--bg-card);
  transition: var(--transition);
}

.tag-chip:hover {
  border-color: var(--pc-primary);
  color: var(--pc-primary);
  transform: translateY(-2px);
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  transition: var(--transition);
}

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

.diff-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(56, 189, 248, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pc-primary-light);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.diff-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.diff-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Portfolio */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.portfolio-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-section-alt);
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.portfolio-card-body {
  padding: 1.5rem;
}

.portfolio-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pc-cyan);
  margin-bottom: 0.5rem;
}

.portfolio-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.portfolio-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Portfolio Mobile Carousel */
.portfolio-mobile {
  display: block;
}

.portfolio-carousel {
  position: relative;
  overflow: hidden;
}

.portfolio-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-carousel-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

.portfolio-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.portfolio-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.portfolio-carousel-btn:hover {
  background: var(--pc-primary);
  border-color: var(--pc-primary);
  color: #fff;
}

.portfolio-carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.portfolio-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-carousel-dot.active {
  background: var(--pc-primary);
  width: 24px;
  border-radius: 999px;
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}

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

.testimonial-stars {
  color: #facc15;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.testimonial-text {
  color: var(--text-body);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pc-primary), var(--pc-cyan));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.testimonial-author strong {
  display: block;
  color: var(--text-heading);
  font-size: 0.95rem;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--pc-primary), var(--pc-purple));
  border-radius: var(--radius);
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.cta-card h2 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta-card p {
  opacity: 0.9;
  margin: 0;
}

/* Contact */
.contact-info {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pc-primary-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  color: var(--text-heading);
  font-size: 0.9rem;
}

.contact-info-item a,
.contact-info-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-info-item a:hover {
  color: var(--pc-primary-light);
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.form-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-heading);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  background: var(--input-bg);
  border-color: var(--pc-primary);
  color: var(--text-heading);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-select option {
  background: var(--bg-card-solid);
  color: var(--text-heading);
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.captcha-input {
  max-width: 100px;
}

.form-message {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--pc-accent);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: #e2e8f0;
  padding: 4rem 0 1.5rem;
}

.footer a {
  color: #e2e8f0;
}

.footer a:hover {
  color: var(--pc-cyan);
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-text {
  color: #94a3b8;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--pc-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-policy {
  color: #94a3b8 !important;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pc-primary), var(--pc-cyan));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 1000;
}

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

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

/* Animations - only when JS is ready */
.js-ready [data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-ready [data-animate="fade-right"] {
  transform: translateX(-40px);
}

.js-ready [data-animate="fade-left"] {
  transform: translateX(40px);
}

.js-ready [data-animate].animated {
  opacity: 1;
  transform: translate(0);
}

/* Light theme specific */
[data-theme="light"] .hero-gradient {
  background: 
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 45%);
}

[data-theme="light"] .hero-card,
[data-theme="light"] .service-card,
[data-theme="light"] .diff-card,
[data-theme="light"] .portfolio-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .about-card,
[data-theme="light"] .stat-box,
[data-theme="light"] .contact-card {
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .portfolio-card-overlay {
  background: rgba(15, 23, 42, 0.75);
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 7rem;
  }
  .hero-title {
    font-size: clamp(2.25rem, 6vw, 3rem);
  }
  .hero-card {
    transform: none;
    margin-top: 2rem;
  }
  .section {
    padding: 4rem 0;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-links {
    margin: 1rem 0;
  }
  .cta-card {
    text-align: center;
    padding: 2rem;
  }
  .cta-card .text-lg-end {
    text-align: center !important;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding-top: 6.5rem;
    min-height: auto;
    padding-bottom: 4rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-actions .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    gap: 1.25rem;
    flex-direction: column;
  }
  .hero-stat {
    font-size: 1.5rem;
  }
  .hero-scroll {
    display: none;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .contact-card {
    padding: 1.5rem;
  }
  .captcha-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .clients-track {
    gap: 1rem 1.5rem;
  }
  .client-name {
    font-size: 0.8rem;
  }
  .portfolio-card-body {
    padding: 1.25rem;
  }
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
