/* ============================================
   DEEP CORE TECH — Design System & Styles
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --color-bg-primary: #080b16;
  --color-bg-secondary: #0d1128;
  --color-bg-tertiary: #111638;
  --color-bg-card: rgba(15, 20, 50, 0.6);
  --color-bg-glass: rgba(15, 20, 55, 0.45);

  /* Gradient Palette matching logo */
  --gradient-brand: linear-gradient(135deg, #7b2ff2 0%, #4c6ef5 40%, #00d4ff 100%);
  --gradient-brand-hover: linear-gradient(135deg, #8b3ff2 0%, #5c7ef5 40%, #10e4ff 100%);
  --gradient-text: linear-gradient(90deg, #a855f7, #6366f1, #06b6d4);
  --gradient-glow: linear-gradient(135deg, rgba(123, 47, 242, 0.4), rgba(0, 212, 255, 0.4));
  --gradient-hero: linear-gradient(180deg, rgba(8, 11, 22, 0) 0%, rgba(8, 11, 22, 0.7) 50%, #080b16 100%);
  --gradient-section: linear-gradient(180deg, #080b16 0%, #0d1128 50%, #080b16 100%);

  /* Accent Colors */
  --accent-purple: #7b2ff2;
  --accent-blue: #4c6ef5;
  --accent-cyan: #00d4ff;
  --accent-purple-dim: rgba(123, 47, 242, 0.15);
  --accent-cyan-dim: rgba(0, 212, 255, 0.15);

  /* Text Colors */
  --text-primary: #f0f2ff;
  --text-secondary: #a0a8c8;
  --text-muted: #6b7399;
  --text-accent: #00d4ff;

  /* Borders */
  --border-glass: rgba(123, 47, 242, 0.2);
  --border-glow: rgba(0, 212, 255, 0.3);

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow-purple: 0 0 30px rgba(123, 47, 242, 0.25);
  --shadow-glow-cyan: 0 0 30px rgba(0, 212, 255, 0.2);
  --shadow-glow-brand: 0 0 40px rgba(123, 47, 242, 0.3), 0 0 80px rgba(0, 212, 255, 0.15);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-padding: 120px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

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

/* ---------- Animated Background Particles ---------- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(8, 11, 22, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-glass);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  border-radius: 6px;
  transition: transform var(--transition-smooth);
}

.navbar.scrolled .nav-logo img {
  height: 44px;
}

.nav-logo img:hover {
  transform: scale(1.05);
}

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

.nav-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 1px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

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

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--accent-purple-dim);
}

.nav-links a.active {
  color: var(--text-primary);
  background: var(--accent-purple-dim);
}

.nav-cta {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--color-bg-primary) !important;
  background: var(--gradient-brand) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: var(--shadow-glow-purple);
  transition: all var(--transition-smooth) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-brand) !important;
  background: var(--gradient-brand-hover) !important;
}

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

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.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 SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

/* Animated grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 47, 242, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 47, 242, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-logo {
  width: 180px;
  height: auto;
  margin: 0 auto 32px;
  border-radius: var(--radius-md);
  animation: logoFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(123, 47, 242, 0.4));
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 24px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-brand);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-glow-purple);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-brand);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--color-bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--accent-purple-dim);
  border-color: var(--accent-purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-purple);
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-purple), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

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

@keyframes scrollLine {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* ---------- ABOUT / IDENTITY SECTION ---------- */
.about-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding);
  background: var(--gradient-section);
}

.about-header {
  text-align: center;
  margin-bottom: 80px;
}

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

.identity-card {
  position: relative;
  background: var(--color-bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

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

.identity-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow-purple);
}

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

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--accent-purple-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 2rem;
  transition: all var(--transition-smooth);
}

.identity-card:hover .card-icon {
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow-purple);
  transform: scale(1.1);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- SERVICES SECTION ---------- */
.services-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding);
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
}

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

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
  group: true;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow-purple);
}

.service-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg-card) 0%, transparent 60%);
}

.service-body {
  padding: 32px 36px 40px;
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-purple-dim);
  color: var(--accent-cyan);
  border: 1px solid rgba(123, 47, 242, 0.15);
  transition: all var(--transition-fast);
}

.tag:hover {
  background: var(--accent-purple);
  color: #fff;
}

/* ---------- SHOWCASE / NUESTRO TRABAJO ---------- */
.showcase-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.showcase-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
}

.showcase-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow-purple);
}

.showcase-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.showcase-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.showcase-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(123, 47, 242, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(123, 47, 242, 0.4);
}

.showcase-info {
  padding: 24px 28px;
  border-top: 1px solid var(--border-glass);
}

.showcase-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.showcase-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- CLIENTS / NUESTROS CLIENTES ---------- */
.clients-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--color-bg-primary);
}

.clients-header {
  text-align: center;
  margin-bottom: 60px;
  width: 100%;
}

/* Container for the 6 clients */
.clients-image-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
  max-width: 900px;
  margin: 0 auto;
}

/* Individual uniform cards */
.client-card {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(123, 47, 242, 0.08);
  border: 1px solid rgba(123, 47, 242, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

@media (min-width: 769px) {
  .clients-image-wrapper .client-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 16px);
  }
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(123, 47, 242, 0.15);
  border-color: rgba(123, 47, 242, 0.3);
}

.client-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Perfect crop for Teresa Guasch logo */
.teresa-sprite {
  width: 100%;
  height: 100%;
  background-image: url('assets/clientes-logos2.jpg');
  background-position: 50% 93%;
  background-size: 260%;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .clients-image-wrapper { 
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.testimonial-card {
  flex: 1 1 320px;
  max-width: 420px;
  background: var(--color-bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

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

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple);
  box-shadow: 0 12px 40px rgba(123, 47, 242, 0.15);
}

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

.testimonial-quote {
  position: relative;
}

.quote-icon {
  position: absolute;
  top: -4px;
  left: -4px;
  color: var(--accent-purple);
}

.testimonial-quote p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  padding-left: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(123, 47, 242, 0.3);
}

.author-info h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 500;
  letter-spacing: 0.3px;
}

@media (max-width: 640px) {
  .testimonial-card {
    padding: 24px 20px 20px;
  }
}

/* ---------- VALUES / PHILOSOPHY DETAIL ---------- */
.values-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding);
  background: var(--gradient-section);
}

.values-header {
  text-align: center;
  margin-bottom: 80px;
}

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

.value-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
  text-align: center;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-cyan);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.value-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.value-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding);
  text-align: center;
}

.cta-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 60px;
  border-radius: var(--radius-xl);
  background: var(--color-bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-brand);
  border-radius: calc(var(--radius-xl) + 2px);
  z-index: -1;
  opacity: 0.15;
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 47, 242, 0.2), transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  z-index: 1;
  padding: 60px 0 30px;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--border-glass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  border-radius: 6px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

.footer-founders {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.footer-founders p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.5;
}

.footer-founders strong {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent-cyan);
  padding-left: 6px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-purple-dim);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
}

.footer-socials a:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-purple);
  border-color: transparent;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }

/* ---------- Glowing orbs decorations ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.3;
}

.orb-purple {
  background: var(--accent-purple);
}

.orb-cyan {
  background: var(--accent-cyan);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(8, 11, 22, 0.95);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    transition: right var(--transition-smooth);
    border-left: 1px solid var(--border-glass);
  }

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

  .nav-links a {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }

  .nav-toggle {
    display: flex;
  }

  .about-grid,
  .services-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-logo {
    width: 140px;
  }

  .cta-wrapper {
    padding: 50px 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 120px;
  }

  .identity-card {
    padding: 32px 24px;
  }

  .service-body {
    padding: 24px;
  }

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

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(123, 47, 242, 0.4);
  color: var(--text-primary);
}
