/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Colors & Variables ===== */
:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --accent: #06b6d4;
  --bg-dark: #0f172a;
  --bg-light: #f8fafc;
  --text: #1a1a2e;
  --text-light: #64748b;
  --gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.logo {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo span { color: var(--text); -webkit-text-fill-color: var(--text); }
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 24px; }

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 19px;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
  transform: perspective(1000px) rotateY(-5deg);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid #cbd5e1;
}
.stat-item .number {
  font-size: 40px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .label { color: var(--text-light); font-size: 14px; }

/* ===== Sections ===== */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.section-header p { font-size: 18px; color: var(--text-light); }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  padding: 40px 32px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border-color: var(--primary);
}
.feature-icon {
  width: 64px; height: 64px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin-bottom: 24px;
}
.feature-card h3 { font-size: 22px; margin-bottom: 12px; font-weight: 700; }
.feature-card p { color: var(--text-light); }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.service-card {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}
.service-card img { width: 100%; height: 260px; object-fit: cover; }
.service-card-body { padding: 32px; }
.service-card h3 { font-size: 24px; margin-bottom: 12px; font-weight: 700; }
.service-card p { color: var(--text-light); margin-bottom: 20px; }
.service-card .learn-more {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .learn-more:hover { gap: 10px; transition: gap 0.2s; }

/* ===== About / Split ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-section img { border-radius: 16px; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15); }
.split-section h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.split-section p { font-size: 17px; color: var(--text-light); margin-bottom: 16px; }
.checklist { list-style: none; margin-top: 24px; }
.checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--text);
  font-weight: 500;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 22px; height: 22px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  top: 12px;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--bg-dark);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(79, 70, 229, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.3) 0%, transparent 50%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: 44px; margin-bottom: 16px; font-weight: 800; }
.cta-section p { font-size: 19px; color: #cbd5e1; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.testimonial .stars { color: #fbbf24; margin-bottom: 16px; font-size: 18px; }
.testimonial p { font-size: 16px; margin-bottom: 20px; color: var(--text); }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author .name { font-weight: 700; }
.testimonial-author .role { color: var(--text-light); font-size: 14px; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pricing-card {
  background: white;
  padding: 40px 32px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}
.pricing-card .badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.pricing-card h3 { font-size: 22px; margin-bottom: 12px; }
.pricing-card .price {
  font-size: 48px;
  font-weight: 800;
  margin: 16px 0;
}
.pricing-card .price small { font-size: 16px; color: var(--text-light); font-weight: 500; }
.pricing-card ul { list-style: none; margin: 24px 0; }
.pricing-card ul li {
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}
.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}
.pricing-card .btn { width: 100%; text-align: center; margin-top: 16px; }

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team-card {
  text-align: center;
  transition: all 0.3s ease;
}
.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}
.team-card:hover img { transform: scale(1.03); }
.team-card h4 { font-size: 18px; margin-bottom: 4px; }
.team-card .position { color: var(--primary); font-weight: 500; font-size: 14px; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.contact-info h3 { font-size: 28px; margin-bottom: 16px; }
.contact-info p { color: var(--text-light); margin-bottom: 32px; }
.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.info-item .icon {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}
.info-item h5 { font-size: 16px; margin-bottom: 4px; }
.info-item p { color: var(--text-light); margin: 0; font-size: 15px; }
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 { color: white; font-size: 16px; margin-bottom: 20px; }
.footer-col p { color: #94a3b8; margin-bottom: 16px; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #94a3b8; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.socials a:hover { background: var(--primary); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: 52px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.breadcrumbs { color: #cbd5e1; font-size: 15px; }
.breadcrumbs a { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid, .split-section, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid, .services-grid, .testimonials-grid, .pricing-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  .section-header h2, .split-section h2, .cta-section h2, .page-header h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; flex-direction: column; padding: 24px; border-bottom: 1px solid #e2e8f0; gap: 16px; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .pricing-card.featured { transform: none; }
  .form-row { grid-template-columns: 1fr; }
}
