/* =========================================================
   iogga Co — Stylesheet
   ========================================================= */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --accent: #f59e0b;
  --dark: #0f0f1a;
  --dark-2: #1a1a2e;
  --dark-3: #252540;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
  --transition: 0.25s ease;
  --max-w: 1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea, select, button { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section Shared ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Gradient Text ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}
.btn-secondary {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  background: var(--card-hover);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ================================================
   NAV
   ================================================ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-header.scrolled {
  background: rgba(15, 15, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 108px;
  width: auto;
  /* Invert the dark logo for the dark background */
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}
.nav-links .nav-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 60px;
}
.hero-content { flex: 1; min-width: 0; }
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
}
.hero-title {
  font-size: clamp(1.666rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Phone mockup */
.hero-visual {
  flex: 0 0 360px;
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-blob {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.phone-mockup {
  width: 220px;
  height: 420px;
  background: var(--dark-2);
  border: 2px solid var(--border);
  border-radius: 36px;
  padding: 16px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(99,102,241,0.15);
  position: relative;
  z-index: 1;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.phone-screen {
  background: var(--dark-3);
  border-radius: 28px;
  height: 100%;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.app-bar {
  height: 14px;
  background: linear-gradient(90deg, var(--primary) 0%, #8b5cf6 100%);
  border-radius: 8px;
}
.app-card {
  height: 80px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px;
  flex-shrink: 0;
}
.app-card--sm { height: 52px; }
.app-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.app-icon {
  flex: 1;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}


/* ================================================
   SERVICES
   ================================================ */
.services {
  padding: 100px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { border-color: rgba(99,102,241,0.35); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-card--featured {
  border-color: rgba(99,102,241,0.35);
  background: rgba(99,102,241,0.07);
}
.service-card--featured::before { opacity: 1; }
.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-light);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-light);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ================================================
   PROCESS
   ================================================ */
.process {
  padding: 100px 0;
  background: var(--dark-2);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}
.step-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.step-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.process-connector {
  width: 60px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(99,102,241,0.2));
  margin-top: 24px;
  border-radius: 2px;
}


/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials {
  padding: 100px 0;
  background: var(--dark-2);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-4px); }
.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--av-color, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================================================
   CONTACT
   ================================================ */
.contact {
  padding: 100px 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 18px; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-info > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.contact-details svg {
  width: 20px;
  height: 20px;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group:last-of-type { margin-bottom: 24px; }
label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.optional { color: var(--text-muted); font-weight: 400; }
input, textarea, select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
select option { background: var(--dark-2); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
input.error, textarea.error, select.error { border-color: #ef4444; }
textarea { resize: vertical; min-height: 120px; }
.field-error {
  font-size: 0.78rem;
  color: #f87171;
  min-height: 16px;
}
.btn-icon { width: 18px; height: 18px; }
.form-success {
  display: none;
  align-items: center;
  gap: 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 20px;
}
.form-success.visible { display: flex; }
.form-success svg { width: 28px; height: 28px; color: #10b981; flex-shrink: 0; }
.form-success strong { display: block; color: #fff; margin-bottom: 4px; }
.form-success p { font-size: 0.875rem; color: var(--text-muted); }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.65;
  max-width: 280px;
}
.footer-links-group h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links-group a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.825rem;
  color: var(--text-muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: #fff; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 110px; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-visual { flex: none; width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(15, 15, 26, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }
  .nav-links .nav-cta {
    margin: 8px 24px 0;
    text-align: center;
    border-radius: var(--radius-sm);
  }
  .nav-toggle { display: flex; }
  .nav-header { position: relative; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; align-items: center; }
  .process-connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--primary), rgba(99,102,241,0.2)); margin: 0; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}
