/* ===== DESIGN TOKENS ===== */
:root {
  /* Brand Colors extracted from IKE logo */
  --ike-navy: #1a2d5a;
  --ike-blue: #2980b9;
  --ike-sky: #3daee0;
  --ike-orange: #e67e22;
  --ike-red: #c0392b;
  --ike-teal: #1abc9c;

  /* Neutral Palette */
  --bg-dark: #0b0f1a;
  --bg-section: #101726;
  --bg-card: #162032;
  --bg-card-hover: #1c2a42;
  --text-primary: #edf2f7;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.06);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--ike-blue), var(--ike-teal));
  --gradient-warm: linear-gradient(135deg, var(--ike-orange), var(--ike-red));
  --gradient-hero: linear-gradient(175deg, #0b0f1a 0%, #12203a 40%, #0b1628 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.5);
  --shadow-glow-blue: 0 0 40px rgba(41,128,185,0.15);
  --shadow-glow-orange: 0 0 40px rgba(230,126,34,0.15);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.25s var(--ease-out);
  --transition-med: 0.5s var(--ease-out);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

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

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

/* ===== UTILITY ===== */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ike-sky);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

/* ===== ANIMATED BACKGROUND BLOBS ===== */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-blobs .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: blobFloat 20s ease-in-out infinite alternate;
}

.bg-blobs .blob:nth-child(1) {
  width: 500px; height: 500px;
  background: var(--ike-blue);
  top: -10%; left: -5%;
}

.bg-blobs .blob:nth-child(2) {
  width: 400px; height: 400px;
  background: var(--ike-orange);
  top: 40%; right: -8%;
  animation-delay: -7s;
}

.bg-blobs .blob:nth-child(3) {
  width: 350px; height: 350px;
  background: var(--ike-teal);
  bottom: -5%; left: 30%;
  animation-delay: -14s;
}

@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.15); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-med);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav {
  display: flex;
  gap: 36px;
}

.navbar-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition-fast);
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

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

.navbar-cta {
  padding: 10px 24px;
  border-radius: 8px;
  background: var(--gradient-brand);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

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

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

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

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--bg-dark), transparent);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeSlideUp 1s var(--ease-out);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(41, 128, 185, 0.12);
  border: 1px solid rgba(41, 128, 185, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ike-sky);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

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

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

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--ike-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(41, 128, 185, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  animation: fadeSlideUp 1s var(--ease-out) 0.3s both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, var(--ike-blue), transparent, var(--ike-orange));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Decorative floating stats */
.hero-stat {
  position: absolute;
  padding: 16px 24px;
  border-radius: 14px;
  background: rgba(22, 32, 50, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  z-index: 5;
  animation: float 6s ease-in-out infinite;
}

.hero-stat:nth-child(2) {
  top: -20px;
  right: -30px;
  animation-delay: -2s;
}

.hero-stat:nth-child(3) {
  bottom: 30px;
  left: -30px;
  animation-delay: -4s;
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

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

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(11,15,26,0.6));
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text .section-title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--gradient-glass);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.highlight-item:hover {
  background: rgba(255,255,255,0.06);
  transform: translateX(4px);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.highlight-icon.blue { background: rgba(41,128,185,0.15); color: var(--ike-sky); }
.highlight-icon.orange { background: rgba(230,126,34,0.15); color: var(--ike-orange); }
.highlight-icon.teal { background: rgba(26,188,156,0.15); color: var(--ike-teal); }
.highlight-icon.red { background: rgba(192,57,43,0.15); color: var(--ike-red); }

.highlight-item span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

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

.services-header .section-subtitle {
  margin: 0 auto;
}

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

.service-card {
  padding: 40px 32px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-med);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-med);
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  background: rgba(41,128,185,0.1);
  color: var(--ike-sky);
}

.service-card:nth-child(2) .service-icon { background: rgba(230,126,34,0.1); color: var(--ike-orange); }
.service-card:nth-child(3) .service-icon { background: rgba(26,188,156,0.1); color: var(--ike-teal); }
.service-card:nth-child(4) .service-icon { background: rgba(192,57,43,0.1); color: var(--ike-red); }
.service-card:nth-child(5) .service-icon { background: rgba(41,128,185,0.1); color: var(--ike-blue); }
.service-card:nth-child(6) .service-icon { background: rgba(230,126,34,0.1); color: var(--ike-orange); }

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== STATS COUNTER ===== */
.stats {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

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

.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-radius: 18px;
  background: var(--gradient-glass);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.stat-item:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
}

.stat-item .number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-item:nth-child(2) .number {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-item:nth-child(3) .number {
  background: linear-gradient(135deg, var(--ike-teal), var(--ike-sky));
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-item .label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== VALUES / WHY CHOOSE US ===== */
.values {
  position: relative;
  z-index: 1;
  padding: var(--section-padding);
  background: var(--bg-section);
}

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

.values-header .section-subtitle {
  margin: 0 auto;
}

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

.value-card {
  padding: 36px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: var(--transition-med);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-blue);
  border-color: rgba(41,128,185,0.2);
}

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

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.cta-wrapper {
  padding: 70px 60px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--ike-navy), #1e3a6e);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(41, 128, 185, 0.12);
  filter: blur(80px);
}

.cta-wrapper::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.1);
  filter: blur(80px);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 36px;
}

.cta .btn-primary {
  font-size: 1rem;
  padding: 16px 40px;
}

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

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

.footer-brand img {
  height: 44px;
  margin-bottom: 16px;
}

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

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--ike-sky);
  transform: translateX(4px);
}

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

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

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

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

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

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .hero-stat:nth-child(2) { right: 10px; }
  .hero-stat:nth-child(3) { left: 10px; }

  .about .container { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-cta { display: none; }
  .nav-toggle { display: flex; }

  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

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

  .cta-wrapper { padding: 50px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-stat { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
