/*
Theme Name: Morganext Site
*/

:root {
  --background: #ffffff;
  --foreground: #0f172a;
  --primary: #84cc16;
  --primary-foreground: #ffffff;
  --secondary: #fff7ed;
  --secondary-foreground: #c2410c;
  --accent: #fde047;
  --accent-foreground: #854d0e;
  --muted: #f8fafc;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 999px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
}

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

.container {
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
}

.main-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

nav { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--muted-foreground); font-weight: 500; font-size: 15px; }
.nav-link:hover { color: var(--foreground); }

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

.btn {
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  border: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 12px rgba(132, 204, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(132, 204, 22, 0.4);
}

.btn-secondary {
  background: #fff;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.hero-section {
  padding: 80px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(132, 204, 22, 0.1) 0%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(circle at 10% 60%, rgba(253, 224, 71, 0.1) 0%, rgba(255, 255, 255, 0) 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-pill {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: rgba(132, 204, 22, 0.1);
  padding: 8px 16px;
  border-radius: 99px;
  display: inline-block;
}

h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 24px 0;
  background: linear-gradient(135deg, #0f172a 60%, #84cc16 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle { font-size: 20px; font-weight: 500; color: var(--muted-foreground); display: block; }
.hero-desc { font-size: 18px; line-height: 1.6; color: var(--muted-foreground); max-width: 520px; }
.hero-cta { display: flex; gap: 16px; margin-top: 24px; }
.hero-badges { display: flex; gap: 16px; margin-top: 40px; color: var(--muted-foreground); font-size: 14px; }
.hero-badge-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-badge-item iconify-icon { color: var(--primary); }

.generated-image-container { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 48px -12px rgba(132, 204, 22, 0.15); }
.generated-image { width: 100%; height: 100%; object-fit: cover; }

.section { padding: 100px 0; }
.section-muted { background: var(--muted); }
.section-header { max-width: 600px; margin-bottom: 64px; }
.section-label { text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; color: var(--secondary-foreground); }
.section-title { font-size: 40px; margin: 16px 0 24px; line-height: 1.2; letter-spacing: -0.03em; }
.section-desc { font-size: 18px; line-height: 1.6; color: var(--muted-foreground); }
.section-desc-space { margin-bottom: 32px; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 24px; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(0,0,0,.05); border-color: var(--primary); }
.service-card--link { text-decoration: none; color: inherit; cursor: pointer; }
.service-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--secondary); color: var(--secondary-foreground); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; }
.service-icon--blue { background: #dbeafe; color: #2563eb; }
.service-icon--yellow { background: #fef9c3; color: #ca8a04; }
.service-icon--gray { background: #f3f4f6; color: #4b5563; }
.service-title { font-size: 24px; margin: 0; }
.service-text { color: var(--muted-foreground); line-height: 1.6; margin: 12px 0 0; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step-number { font-size: 48px; font-weight: 800; color: #e2e8f0; margin-bottom: 24px; }
.step-content h3 { margin: 0 0 12px; font-size: 20px; }
.step-content p { margin: 0; color: var(--muted-foreground); line-height: 1.6; }

.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.feature-list { display: flex; flex-direction: column; gap: 24px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-check { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.client-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.client-tag { padding: 12px 20px; border-radius: var(--radius-md); font-size: 15px; font-weight: 600; background: var(--muted); }

.about-contact { margin-top: 48px; padding: 32px; background: #f0fdf4; border-radius: var(--radius-lg); border: 1px solid #dcfce7; }
.about-contact__title { font-size: 18px; font-weight: 600; color: #166534; margin-bottom: 8px; }
.about-contact p { color: #15803d; margin: 0 0 16px; }
.about-contact a { color: #166534; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

.cta-container { margin-bottom: -140px; position: relative; z-index: 1; }
.cta-section { background: var(--foreground); color: #fff; border-radius: var(--radius-lg); padding: 80px; text-align: center; position: relative; overflow: hidden; }
.cta-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-bg-shape { position: absolute; top: 0; right: 0; width: 600px; height: 600px; background: radial-gradient(circle, rgba(132, 204, 22, 0.2) 0%, rgba(0, 0, 0, 0) 70%); transform: translate(30%, -30%); }
.cta-title { font-size: clamp(32px, 4vw, 48px); color: #fff; margin: 0 0 24px; }
.cta-text { font-size: 18px; color: #94a3b8; margin-bottom: 40px; }

footer { padding: 220px 0 40px; margin-top: 40px; background: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer-brand p { color: var(--muted-foreground); line-height: 1.6; max-width: 300px; }
.footer-col h4 { margin: 0 0 24px; }
.footer-links { display: flex; flex-direction: column; gap: 16px; }
.footer-link { color: var(--muted-foreground); }
.footer-link:hover { color: var(--foreground); }
.social-links { display: flex; gap: 16px; }
.footer-bottom { padding-top: 40px; border-top: 1px solid rgba(0,0,0,.05); display: flex; justify-content: space-between; color: var(--muted-foreground); font-size: 14px; }
.footer-legal { display: flex; gap: 24px; }

@media (max-width: 1080px) {
  nav, .header-actions { display: none; }
  .hero-grid, .split-section { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(1200px, 100% - 32px); }
  .section { padding: 64px 0; }
  .hero-badges { flex-direction: column; gap: 8px; }
  .hero-cta { flex-direction: column; }
  .process-steps, .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; gap: 20px; }
  .cta-section { padding: 48px 24px; }
}
