/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-50: #eff6ff;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --transition: 0.2s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 1px 12px rgba(99, 102, 241, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-enet {
  background: linear-gradient(135deg, var(--blue-600), var(--indigo-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-ideas {
  color: var(--gray-400);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
  border-radius: 1px;
  transition: width 0.3s ease;
}

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

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

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(45, 212, 191, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 90% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--white) 0%, #f8faff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero h1 br + * {
  display: inline;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--blue-600), var(--violet-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--gray-500);
  max-width: 540px;
  margin-bottom: 36px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-700), var(--indigo-600));
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--indigo-500);
  color: var(--indigo-600);
  background: rgba(99, 102, 241, 0.04);
}

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

.section-alt {
  background: linear-gradient(180deg, #f8f9fe 0%, #f1f5ff 100%);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* Coloured accent bar under section titles */
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
  border-radius: 2px;
  margin-top: 12px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--indigo-600);
}

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

.service-card {
  background: var(--white);
  padding: 36px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.12);
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.2);
}

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

/* Each card gets its own icon colour */
.service-card:nth-child(1) .service-icon { color: var(--violet-500); }
.service-card:nth-child(2) .service-icon { color: var(--blue-500); }
.service-card:nth-child(3) .service-icon { color: var(--teal-500); }
.service-card:nth-child(4) .service-icon { color: var(--amber-500); }
.service-card:nth-child(5) .service-icon { color: var(--emerald-500); }
.service-card:nth-child(6) .service-icon { color: var(--rose-500); }

/* Coloured top bar per card on hover */
.service-card:nth-child(1)::before { background: linear-gradient(90deg, var(--violet-500), var(--indigo-500)); }
.service-card:nth-child(2)::before { background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }
.service-card:nth-child(3)::before { background: linear-gradient(90deg, var(--teal-500), var(--teal-400)); }
.service-card:nth-child(4)::before { background: linear-gradient(90deg, var(--amber-500), var(--amber-400)); }
.service-card:nth-child(5)::before { background: linear-gradient(90deg, var(--emerald-500), var(--emerald-400)); }
.service-card:nth-child(6)::before { background: linear-gradient(90deg, var(--rose-500), var(--rose-400)); }

.service-icon {
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Approach */
.approach-section {
  background: linear-gradient(135deg, var(--gray-900) 0%, #1e1b4b 100%);
  color: var(--white);
}

.approach-section .section-title {
  color: var(--white);
}

.approach-section .section-title::after {
  background: linear-gradient(90deg, var(--teal-400), var(--blue-400));
}

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

.approach-step {
  text-align: center;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* Each step gets its own gradient */
.approach-step:nth-child(1) .step-number {
  background: linear-gradient(135deg, var(--blue-500), var(--indigo-500));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.approach-step:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--violet-500), var(--indigo-500));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.approach-step:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--teal-500), var(--emerald-500));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}

.approach-step:nth-child(4) .step-number {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-400));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.approach-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.approach-section .approach-step h3 {
  color: var(--white);
}

.approach-section .approach-step p {
  color: rgba(255, 255, 255, 0.65);
}

.approach-step p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Contact */
.contact-section {
  background:
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #f8f9fe 0%, var(--white) 100%);
}

.contact-container {
  max-width: 640px;
}

.contact-intro {
  color: var(--gray-500);
  margin-bottom: 36px;
  margin-top: -24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.required {
  color: var(--violet-500);
}

.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

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

.btn-submit {
  align-self: flex-start;
  border: none;
  font-family: inherit;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.form-success {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-error {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, #1e1b4b 100%);
  color: var(--gray-400);
  padding: 64px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer .logo-enet {
  background: linear-gradient(135deg, var(--blue-400), var(--violet-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer .logo-ideas {
  color: var(--gray-500);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  text-decoration: none;
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color var(--transition);
}

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

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  width: 100%;
}

.footer-legal p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    display: flex;
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    padding: 120px 0 64px;
  }

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

  .hero-sub {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .approach-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

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

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