/* EazyAI Solutions – Styles */

:root {
  --bg-0: #070b1a;
  --bg-1: #0b1020;
  --bg-2: #111735;
  --primary: #6b8cff; /* soft indigo */
  --accent: #a86bff; /* purple */
  --teal: #2ee5a8;
  --text: #e6eaf6;
  --muted: #98a0b3;
  --card: #121a3a;
  --card-2: #141a3f;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -20%, rgba(168,107,255,0.35), transparent 60%),
              radial-gradient(1000px 600px at 10% 20%, rgba(107,140,255,0.35), transparent 60%),
              linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

img, svg { display: block; }
a { color: var(--text); text-decoration: none; }

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(7,11,26,0.9), rgba(7,11,26,0.7));
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; }
.brand-mark { filter: drop-shadow(0 6px 16px rgba(168,107,255,0.4)); }
.brand-text { font-size: clamp(20px, 2.6vw, 30px) !important; font-weight: 800; }
.brand-text strong { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--text); }

.btn { border: 1px solid var(--border); color: var(--text); background: transparent; padding: 10px 16px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; transition: all .25s ease; }
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.25); }
.btn-sm { padding: 8px 12px; border-radius: 10px; }
.btn-lg { padding: 14px 20px; font-weight: 700; border-radius: 14px; }
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--accent)); border: none; box-shadow: 0 10px 30px rgba(107,140,255,0.3); color: #ffffff; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:visited { color: #ffffff; }
.nav-links a.btn-primary { color: #ffffff; }
.nav-links a.btn-primary:hover, .nav-links a.btn-primary:focus, .nav-links a.btn-primary:visited { color: #ffffff; }
.btn-ghost { background: rgba(255,255,255,0.02); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); align-items: center; justify-content: center; gap: 5px; flex-direction: column; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); display: block; }

/* Hero */
.section { position: relative; }
.hero {
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(transparent 95%, rgba(255,255,255,0.05) 95%), linear-gradient(90deg, transparent 95%, rgba(255,255,255,0.05) 95%); background-size: 40px 40px; opacity: 0.25; mix-blend-mode: overlay; }
.orb { position: absolute; filter: blur(40px); opacity: 0.6; animation: float 12s ease-in-out infinite; }
.orb-1 { width: 420px; height: 420px; background: radial-gradient(circle at 30% 30%, rgba(168,107,255,0.8), transparent 60%); top: -80px; right: -80px; }
.orb-2 { width: 520px; height: 520px; background: radial-gradient(circle at 60% 60%, rgba(107,140,255,0.75), transparent 60%); bottom: -120px; left: -120px; animation-delay: 2s; }
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-18px) } }

.hero-content { position: relative; z-index: 1; padding: 80px 0; text-align: center; }
.headline { font-size: clamp(32px, 6vw, 64px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.02em; }
.gradient-text { background: linear-gradient(90deg, #e9ecff, #bcd1ff, #e8d6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subhead { margin: 0 auto; max-width: 780px; color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); }
.hero-cta { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-highlights { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; max-width: 980px; margin-left: auto; margin-right: auto; }
.highlight { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 16px; padding: 16px; text-align: left; box-shadow: var(--shadow); }
.highlight h4 { margin: 8px 0 6px; font-size: 16px; }
.highlight p { margin: 0; color: var(--muted); line-height: 1.6; }
.hi-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--primary); background: rgba(107,140,255,0.08); border: 1px solid rgba(107,140,255,0.25); }

/* Sections */
.section-padded { padding: 80px 0; }
.section-title { font-size: clamp(24px, 3.6vw, 36px); margin: 0 0 10px; }
.section-lead { color: var(--muted); max-width: 760px; margin: 0 auto 28px; }
.center { text-align: center; }

/* Reusable section background (mirrors hero) */
.section .section-bg { position: absolute; inset: 0; pointer-events: none; }
.section .orb-s1 { position: absolute; width: 360px; height: 360px; background: radial-gradient(circle at 20% 30%, rgba(168,107,255,0.6), transparent 60%); top: -60px; left: -80px; filter: blur(38px); animation: float 14s ease-in-out infinite; }
.section .orb-s2 { position: absolute; width: 420px; height: 420px; background: radial-gradient(circle at 70% 70%, rgba(107,140,255,0.55), transparent 60%); bottom: -100px; right: -100px; filter: blur(42px); animation: float 16s ease-in-out infinite; }

/* About */
.grid.two-col { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; }
.align-center { align-items: center; }
.about-card { position: relative; aspect-ratio: 4/3; border-radius: 18px; background: radial-gradient(120% 120% at 80% 0%, rgba(107,140,255,0.35), transparent 60%), linear-gradient(180deg, #0e1738, #0a0f26); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); }
.about-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.about-matrix { position: absolute; inset: 0; background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.06), transparent 35%); mix-blend-mode: overlay; animation: matrix 8s linear infinite; opacity: .35; }
@keyframes matrix { 0%{ transform: translateY(0) } 100%{ transform: translateY(-30%) } }
.pulse { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(46,229,168,0.5), transparent 70%); filter: blur(18px); top: 20%; left: 15%; animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ transform: scale(1); opacity: .6 } 50%{ transform: scale(1.15); opacity: .9 } }
/* removed .about-cta label per request */

/* (rolled back) removed enhanced About copy styles */
.about-points { list-style: none; padding-left: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.about-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); line-height: 1.7; }
.ap-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(46,229,168,0.1); color: var(--teal); border: 1px solid rgba(46,229,168,0.25); font-weight: 800; font-size: 12px; margin-top: 2px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
.service-card { background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); transition: transform .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.25); }
.service-card .icon { width: 42px; height: 42px; color: var(--teal); background: rgba(46,229,168,0.08); border: 1px solid rgba(46,229,168,0.25); display: grid; place-items: center; border-radius: 12px; margin-bottom: 10px; }
.service-card h3 { margin: 6px 0 6px; font-size: 18px; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.6; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 18px; }
.why-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); transition: transform .25s ease; }
.why-card:hover { transform: translateY(-3px); }
.why-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--primary); background: rgba(107,140,255,0.08); border: 1px solid rgba(107,140,255,0.25); border-radius: 12px; margin-bottom: 10px; }

/* Contact */
.contact-form { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); max-width: 860px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-weight: 600; color: var(--text); }
.form-field input, .form-field textarea {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #8e96ab; }
.form-field input:focus, .form-field textarea:focus { border-color: rgba(107,140,255,0.6); box-shadow: 0 0 0 3px rgba(107,140,255,0.15); }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.error { color: #ff9b9b; font-size: 12px; min-height: 16px; }
.form-status { color: var(--teal); font-weight: 600; min-height: 20px; }

/* Footer */
.footer { margin-top: 40px; border-top: 1px solid var(--border); padding: 22px 0; background: rgba(0,0,0,0.25); position: relative; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand-footer { font-weight: 800; }
.footer-copy { color: var(--muted); margin-top: 6px; }
.socials { display: flex; gap: 12px; }
.socials a { color: var(--muted); border: 1px solid var(--border); padding: 8px 10px; border-radius: 10px; }
.socials a:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
.to-top { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); color: var(--text); cursor: pointer; }

/* Reveal on scroll */
.reveal-on-scroll { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .grid.two-col { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 64px; right: 4vw; background: rgba(19,25,55,0.98); border: 1px solid var(--border); border-radius: 14px; padding: 12px; flex-direction: column; width: 220px; box-shadow: var(--shadow); }
  .nav-links a { padding: 10px 8px; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open { display: flex; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  /* Encourage nicer line breaks on small screens */
  .mobile-break { display: inline; }
}


