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

:root {
  --primary: #ef5734;
  --primary-dark: #d94420;
  --dark: #0f0f1a;
  --dark-card: #1a1a2e;
  --text: #1a1a2e;
  --text-light: #555;
  --text-muted: #888;
  --bg-light: #f8f9fc;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background: #fff;
}

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

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: relative;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  z-index: 100;
}

.navbar .logo span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-links .cta-nav {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-links .cta-nav::after { display: none; }
.nav-links .cta-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239,87,52,0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 100;
  padding: 4px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(15, 15, 26, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
}

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

.mobile-nav a {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav.open a:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

.mobile-nav a:hover { color: var(--primary); }

/* Hero */
.hero {
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef0ec;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 40px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.12;
  max-width: 780px;
  margin: 0 auto 20px;
  letter-spacing: -1.5px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary), #f7971e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 40px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(239,87,52,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #e0e0e0;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 32px; font-weight: 800; color: var(--primary); }
.hero-stats span { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* Sections */
.section { padding: 100px 0; }

.section-heading {
  text-align: center;
  margin-bottom: 64px;
}

.section-heading .section-label {
  display: inline-block;
  background: #fef0ec;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-heading h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-heading p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.service-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 44px 36px;
  border: 1px solid #eee;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #f7971e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: transparent;
}

.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.service-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; }

.icon-orange { background: #fef0ec; }
.icon-blue { background: #e8f4fd; }
.icon-green { background: #e8f9f0; }
.icon-purple { background: #f3e8ff; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.4s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  border-color: transparent;
}

.feature-item .fi-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: #fef0ec;
}

.feature-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Client logos */
.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.client-logos .cl-item {
  font-size: 14px;
  color: #aaa;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s;
  cursor: default;
}

.client-logos .cl-item:hover { color: var(--primary); }

/* Case Studies */
.case-section { padding: 100px 0; background: var(--bg-light); }

.case-card {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 64px;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: box-shadow 0.4s;
}

.case-card:hover { box-shadow: 0 16px 56px rgba(0,0,0,0.08); }

.case-card:last-child { margin-bottom: 0; }
.case-card.reverse { flex-direction: row-reverse; }

.case-card .case-img {
  flex: 0 0 360px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  position: relative;
}

.case-card .case-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
}

.case-card .case-content { flex: 1; }

.case-card .case-content .tag {
  display: inline-block;
  background: #fef0ec;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 40px;
  margin-bottom: 12px;
}

.case-card .case-content h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.case-card .case-content p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }

.case-card .case-content ul {
  list-style: none;
  padding: 0;
}

.case-card .case-content ul li {
  font-size: 14px;
  color: var(--text-light);
  padding: 4px 0;
  padding-left: 24px;
  position: relative;
}

.case-card .case-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-top: 12px;
  transition: gap 0.3s;
}

.case-link:hover { gap: 12px; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary), #f7971e);
  color: #fff;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -200px;
  right: -200px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  bottom: -150px;
  left: -100px;
}

.cta-section h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.cta-section p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 32px;
  position: relative;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 44px;
  border-radius: 40px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
  background: var(--dark);
  color: #fff;
  padding: 60px 0 24px;
}

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

.footer-brand .footer-logo { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.footer-brand .footer-logo span { color: var(--primary); }
.footer-brand p { font-size: 14px; color: #777; line-height: 1.7; max-width: 300px; }

.footer-col h5 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; color: #fff; }
.footer-col a {
  display: block;
  font-size: 14px;
  color: #777;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--primary); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  font-size: 14px;
  color: #555;
}

.footer-bottom a { color: #777; text-decoration: none; }
.footer-bottom a:hover { color: var(--primary); }

/* Scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 80px 0 60px; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .case-card { flex-direction: column !important; padding: 24px; }
  .case-card .case-img { flex: none; width: 100%; height: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 60px 0; }
  .section-heading { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
