/* ========================================
   JIVAHA.AI - Main Stylesheet
   Modern Glassmorphism Design System
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* ========================================
   CSS VARIABLES / DESIGN TOKENS
   ======================================== */
:root {
  /* Primary Colors */
  --primary-orange: #2563EB;
  --primary-orange-hover: #1D4FD8;
  --primary-orange-light: #DBEAFE;

  /* Blue aliases (same as primary, used by hero components) */
  --primary-blue: #2563EB;
  --primary-blue-hover: #1D4FD8;
  --primary-blue-light: #DBEAFE;
  --primary-blue-badge-text: #1E40AF;

  /* Secondary Colors */
  --dark-blue: #1E3A5F;
  --dark-blue-light: #2D4A6F;
  --navy: #0F172A;

  /* Accent Colors */
  --cyan: #06B6D4;
  --cyan-light: #67E8F9;
  --teal: #14B8A6;
  --green: #22C55E;
  --green-light: #86EFAC;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-bg-light: rgba(255, 255, 255, 0.25);
  --glass-bg-lighter: rgba(255, 255, 255, 0.4);
  --glass-bg-dark: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-border-light: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --glass-shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

button {
  cursor: pointer;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  color: var(--gray-600);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-lg {
  padding: 7rem 0;
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.gap-6 { gap: 3rem; }

/* Grid Utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Text Utilities */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-500); }
.text-orange { color: var(--primary-orange); }

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.nav-logo img {
  height: 40px;
}

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

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover {
  color: var(--white);
}

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

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

.nav-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.nav-link:hover svg {
  transform: rotate(180deg);
}

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

.nav-login {
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.nav-login:hover {
  color: var(--primary-orange);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--primary-orange);
  color: white;
  box-shadow:
    0 4px 15px rgba(37, 99, 235, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--primary-orange-hover);
  box-shadow:
    0 8px 25px rgba(37, 99, 235, 0.5),
    0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gray-900);
  border: 2px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.125rem;
}

/* ========================================
   GLASSMORPHISM CARDS
   ======================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-8px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

.glass-card-light:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

.glass-card-light.active,
.glass-card-light:focus {
  border-color: var(--primary-orange);
  box-shadow:
    0 12px 40px rgba(37, 99, 235, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

.glass-card-dark {
  background: rgba(30, 58, 95, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

.hero-bg {
  background: linear-gradient(-45deg,
    #0F172A,
    #1E3A5F,
    #0F172A,
    #06B6D4,
    #1E3A5F
  );
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

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

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

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

.hero-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 500;
}

.hero-demo-btn .play-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: var(--transition-base);
}

.hero-demo-btn:hover .play-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hero-image {
  position: relative;
  margin-top: 2rem;
}

.hero-image-frame {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.hero-image img {
  border-radius: 16px;
  width: 100%;
}

/* Light Streak Effect */
.light-streak {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(6, 182, 212, 0.1) 20%,
    rgba(6, 182, 212, 0.8) 50%,
    rgba(6, 182, 212, 0.1) 80%,
    transparent 100%
  );
  filter: blur(1px);
  animation: streakMove 4s ease-in-out infinite;
}

.light-streak::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 20px;
  top: -9px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(6, 182, 212, 0.05) 20%,
    rgba(6, 182, 212, 0.2) 50%,
    rgba(6, 182, 212, 0.05) 80%,
    transparent 100%
  );
  filter: blur(10px);
}

@keyframes streakMove {
  0%, 100% { opacity: 0.5; transform: translateX(-5%); }
  50% { opacity: 1; transform: translateX(5%); }
}

.light-streak-1 { top: 20%; animation-delay: 0s; }
.light-streak-2 { top: 40%; animation-delay: 1s; }
.light-streak-3 { top: 60%; animation-delay: 2s; }
.light-streak-4 { top: 80%; animation-delay: 3s; }

/* Glowing Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}

.glow-orb-cyan {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
}

.glow-orb-blue {
  background: radial-gradient(circle, rgba(30, 58, 95, 0.5) 0%, transparent 70%);
}

.glow-orb-orange {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

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

.step-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 24px;
  background: var(--gray-50);
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  border-radius: 20px;
}

.step-number-cyan {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
}

.step-number-orange {
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-hover) 100%);
}

.step-number-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
}

.step-card h3 {
  color: var(--gray-900);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.step-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  position: relative;
  overflow: hidden;
}

.services-bg {
  background: linear-gradient(180deg,
    #E8F4F8 0%,
    #D4EDF4 30%,
    #C8E8F0 50%,
    #D4EDF4 70%,
    #E8F4F8 100%
  );
}

.services-bg::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 200px;
  top: 40%;
  left: -25%;
  background: linear-gradient(90deg,
    transparent,
    rgba(6, 182, 212, 0.15),
    rgba(6, 182, 212, 0.3),
    rgba(6, 182, 212, 0.15),
    transparent
  );
  filter: blur(40px);
  transform: rotate(-3deg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.service-card {
  padding: 2.5rem;
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-base);
}

.icon-circle svg {
  width: 32px;
  height: 32px;
  color: var(--primary-orange);
}

.service-card:hover .icon-circle {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.service-card .subtitle {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

.service-value {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  font-weight: 600;
  color: var(--primary-orange);
  font-size: 0.875rem;
}

/* ========================================
   INDUSTRIES SECTION
   ======================================== */
.industries {
  background: var(--white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.industry-card {
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  transition: var(--transition-smooth);
  background: var(--white);
}

.industry-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.industry-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}

.industry-card h3 {
  color: var(--gray-900);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.industry-card p {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.industry-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 0.875rem;
}

.industry-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.industry-link:hover svg {
  transform: translateX(4px);
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

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

.portfolio-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition-smooth);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
  height: 240px;
  overflow: hidden;
}

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

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

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  color: var(--gray-900);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ========================================
   INTEGRATIONS SECTION
   ======================================== */
.integrations {
  background: var(--white);
  padding: 4rem 0;
}

.integrations-header {
  text-align: center;
  margin-bottom: 3rem;
}

.integrations-header h2 {
  font-size: 1.75rem;
  color: var(--gray-900);
}

.integrations-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.integration-logo {
  opacity: 0.6;
  transition: var(--transition-base);
  filter: grayscale(100%);
}

.integration-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.integration-logo img {
  height: 40px;
  width: auto;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
  background: var(--gray-50);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-900);
  transition: var(--transition-base);
}

.faq-question:hover {
  color: var(--primary-orange);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
  position: relative;
  overflow: hidden;
}

.cta-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
}

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

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.cta-feature svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info {
  padding: 2.5rem;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--gray-200);
}

.contact-info h3 {
  color: var(--gray-900);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-orange);
}

.contact-item-content h4 {
  color: var(--gray-900);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item-content p {
  color: var(--gray-600);
  font-size: 0.875rem;
}

.response-time {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 0.875rem;
}

.contact-form-container {
  padding: 2.5rem;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--gray-200);
}

.contact-form-container h3 {
  color: var(--gray-900);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.875rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition-base);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-column h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: var(--transition-base);
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  transition: var(--transition-base);
}

.social-link:hover {
  background: var(--primary-orange);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

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

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

.floating {
  animation: float 3s ease-in-out infinite;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets and below */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: span 3;
    max-width: 100%;
    margin-bottom: 1rem;
  }
}

/* Large phones */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .hero-content {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

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

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

  .form-group.full-width {
    grid-column: span 1;
  }

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

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

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .btn {
    width: 100%;
    justify-content: center;
  }

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

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

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

  .footer-brand {
    grid-column: span 1;
  }

  .integrations-logos {
    gap: 1.5rem;
  }
}

/* Mobile Navigation */
.nav-menu-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.nav-menu-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-menu-mobile .nav-link {
  font-size: 1.5rem;
}

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}
