/* ===== VARIABLES ===== */
:root {
  --primary: #0a1628;
  --primary-light: #1a2744;
  --blue: #1e3a8a;
  --blue-mid: #2563eb;
  --cyan: #06f5d0;
  --cyan-light: #67ffea;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --purple: #7C5CFC;
  --pink: #EC4899;
  --orange: #F97316;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font);
  color: var(--white);
  background: var(--primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  background-color: rgba(255, 255, 255, 0.03);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--cyan);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 245, 208, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn-nav {
  background: var(--cyan);
  color: var(--primary);
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-nav:hover {
  background: var(--cyan-light);
  transform: translateY(-1px);
}

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

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

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

.navbar-logo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  transition: var(--transition);
}

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

.logo-info {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.logo-text .accent {
  color: var(--cyan);
}

.logo-tagline {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.navbar.scrolled .logo-tagline {
  font-size: 0.55rem;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.8);
}

.navbar-links a:hover {
  color: var(--cyan);
}

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

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2744 30%, #1e3a8a 60%, #2563eb 100%);
  z-index: 0;
}

.wave-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 200px at 20% 80%, rgba(6, 245, 208, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 800px 300px at 80% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  opacity: 1;
}

.wave-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, transparent 350deg, rgba(6, 245, 208, 0.03) 360deg);
  background-size: 60px 60px;
}

.wave-pattern::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2306f5d0' fill-opacity='0.05' d='M0,160L48,170.7C96,181,192,203,288,186.7C384,171,480,117,576,117.3C672,117,768,171,864,181.3C960,192,1056,160,1152,144C1248,128,1344,128,1392,128L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent);
  top: -100px;
  right: -100px;
  animation: floatOrb 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 245, 208, 0.2), transparent);
  bottom: -50px;
  left: -100px;
  animation: floatOrb 10s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(6, 245, 208, 0.1);
  border: 1px solid rgba(6, 245, 208, 0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--cyan);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.text-cyan {
  color: var(--cyan);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ===== SECTION COMMON ===== */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.tag-dark {
  color: var(--blue-mid);
}

section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto 48px;
}

.text-dark {
  color: var(--gray-800) !important;
}

.text-dark-sub {
  color: var(--gray-600) !important;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--primary);
  text-align: center;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: left;
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 245, 208, 0.2);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 245, 208, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--cyan);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ===== WHY US ===== */
.why-us {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #1a2744 100%);
  z-index: 0;
}

.why-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-left .section-tag {
  color: var(--cyan-light);
  opacity: 0.8;
}

.why-left h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.why-left p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 28px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.check-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 245, 208, 0.15);
  border-radius: 50%;
  color: var(--cyan);
}

.why-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(6, 245, 208, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.why-image:hover img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(6, 245, 208, 0.1);
}

/* ===== PROCESS ===== */
.process {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
}

.process-card {
  text-align: left;
}

.process-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.process-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== USE CASES ===== */
.use-cases {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.use-cases-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  z-index: 0;
}

.use-cases .container {
  position: relative;
  z-index: 1;
}

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

.case-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: left;
  transition: var(--transition);
}

.case-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 245, 208, 0.2);
  transform: translateY(-4px);
}

.case-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 245, 208, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--cyan);
}

.case-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.case-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-result {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(6, 245, 208, 0.12);
  color: var(--cyan);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== CONTACT / FORM ===== */
.contact {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #1a2744 100%);
  z-index: 0;
}

.contact-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  padding-top: 20px;
}

.contact-info .section-tag {
  color: var(--cyan-light);
  opacity: 0.8;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 245, 208, 0.12);
  border-radius: 50%;
  color: var(--cyan);
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.contact-details a,
.contact-details span {
  font-size: 0.95rem;
  color: var(--white);
}

.contact-details a:hover {
  color: var(--cyan);
}

/* Form */
.contact-form-wrapper {
  position: relative;
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 28px;
  text-align: center;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(6, 245, 208, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
}

/* Form success state */
.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 16px;
  color: var(--cyan);
}

.form-success.show {
  display: flex;
  animation: fadeScale 0.4s ease;
}

.form-success h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.form-success p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  opacity: 0;
  transform: scale(0) translateY(20px);
}

.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

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

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: waPulse 2s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--white);
  color: var(--gray-800);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--white);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

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

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

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-tagline {
  font-size: 0.8rem !important;
  margin-top: 4px;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

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

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ===== FRAMER ANIMATIONS ===== */

/* Base hidden state for all animated elements */
[data-animate] {
  opacity: 0;
  will-change: transform, opacity, filter;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Fade up */
[data-animate="fade-up"] {
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fade down */
[data-animate="fade-down"] {
  transform: translateY(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fade left */
[data-animate="fade-left"] {
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fade right */
[data-animate="fade-right"] {
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scale up */
[data-animate="scale-up"] {
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Blur in */
[data-animate="blur-in"] {
  filter: blur(12px);
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clip reveal (text) */
[data-animate="clip-up"] {
  clip-path: inset(100% 0 0 0);
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Visible state for ALL types */
[data-animate].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
  clip-path: inset(0 0 0 0);
}

/* Stagger children delays */
[data-stagger] > [data-animate]:nth-child(1) { transition-delay: 0s; }
[data-stagger] > [data-animate]:nth-child(2) { transition-delay: 0.08s; }
[data-stagger] > [data-animate]:nth-child(3) { transition-delay: 0.16s; }
[data-stagger] > [data-animate]:nth-child(4) { transition-delay: 0.24s; }
[data-stagger] > [data-animate]:nth-child(5) { transition-delay: 0.32s; }
[data-stagger] > [data-animate]:nth-child(6) { transition-delay: 0.40s; }

/* Magnetic hover on buttons */
.btn {
  transition: var(--transition), box-shadow 0.4s ease;
}

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

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Card tilt hover */
.service-card,
.case-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, background 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(6, 245, 208, 0.06);
}

/* Glow line on card hover */
.service-card::before,
.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card,
.case-card {
  position: relative;
  overflow: hidden;
}

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

/* Smooth text gradient shimmer on hero */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.text-cyan {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-light), var(--cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

/* Section tag animated underline */
.section-tag {
  position: relative;
  padding-bottom: 8px;
}

.section-tag::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible .section-tag::after,
.section-tag.is-visible::after {
  width: 40px;
}

/* Stats number glow */
.stat-value {
  text-shadow: 0 0 20px rgba(6, 245, 208, 0.3);
}

/* Process number hover */
.process-number {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover .process-number {
  transform: scale(1.15);
}

/* Smooth page loader */
body {
  opacity: 0;
  animation: pageLoad 0.6s ease forwards;
}

@keyframes pageLoad {
  to { opacity: 1; }
}

/* Parallax-ready images */
.why-image img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-image:hover img {
  transform: scale(1.03);
}

/* Navbar link underline animation */
.navbar-links li:not(:last-child) a {
  position: relative;
}

.navbar-links li:not(:last-child) a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--cyan);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-links li:not(:last-child) a:hover::after {
  width: 100%;
}

/* Check icon stagger animation */
.why-list li {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.why-list li .check-icon {
  transition: transform 0.3s ease, background 0.3s ease;
}

.why-list li:hover .check-icon {
  transform: scale(1.15);
  background: rgba(6, 245, 208, 0.25);
}

/* Form field focus animation */
.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-1px);
}

/* Smooth scroll indicator */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

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

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

@media (max-width: 768px) {
  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: var(--transition);
    z-index: 999;
  }

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

  .navbar-toggle {
    display: flex;
    z-index: 1001;
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px;
  }

  .logo-tagline {
    display: none;
  }

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

  .why-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-image img {
    max-width: 360px;
  }

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

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

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

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 28px 20px;
  }

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

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .hero-badge {
    font-size: 0.7rem;
  }
}
