/* BALAJI ENTERPRISES – Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');
:root {
  --brand: #4f46e5; /* indigo */
  --brand-dark: #3730a3;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --ring: rgba(79,70,229,.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.gradient-text {
  background: linear-gradient(90deg, #06b6d4, #4f46e5, #9333ea);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

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

/* Header */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(2,6,23,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: 0.5px; color: var(--text);
}
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: grid; place-items: center; color: #fff; font-weight: 900;
  box-shadow: var(--shadow);
}
.nav-links { display: flex; gap: 18px; align-items: center; transition: .25s ease; }
.menu-toggle { display:none; border: 1px solid #e5e7eb; background:#fff; padding:10px 12px; border-radius:10px; }
.menu-toggle:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 10px; border: 1px solid transparent; font-weight: 600;
}
.btn-primary { background: linear-gradient(90deg, #4f46e5, #06b6d4); color: #fff; box-shadow: var(--shadow); background-size: 200% 100%; }
.btn-primary:hover { background-position: 100% 0; }
.btn-outline { border-color: #e5e7eb; color: var(--text); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 96px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 500px at 85% -120px, rgba(79,70,229,0.20), transparent),
              linear-gradient(180deg, rgba(79,70,229,0.06), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; margin: 0 0 16px; }
.hero p.lead { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); margin: 0 0 24px; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge { background: #eef2ff; color: var(--brand-dark); padding: 6px 10px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.hero .media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.shape-bottom { display:block; width:100%; height:70px; margin-top: 40px; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 32px; margin: 0 0 8px; }
.section-lead { color: var(--muted); margin: 0 0 28px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  background: rgba(255,255,255,0.9);
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card h3 { margin: 8px 0 6px; font-size: 18px; }
.card p { color: var(--muted); font-size: 15px; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(2,6,23,.10); border-color: #e2e8f0; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Footer */
footer {
  background: var(--bg-alt); border-top: 1px solid #e5e7eb; padding: 40px 0; color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 28px; }
.footer-brand { font-weight: 800; color: var(--text); }
.meta { font-size: 14px; }
.footer-links { display: grid; gap: 8px; }

/* Forms */
form .field { display: grid; gap: 6px; margin-bottom: 14px; }
label { font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; font-size: 16px; width: 100%;
}
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
textarea { min-height: 120px; resize: vertical; }
.checks { display: grid; gap: 8px; margin: 8px 0 12px; }
.check { display: flex; align-items: start; gap: 10px; font-size: 14px; color: var(--muted); }
.help { color: var(--muted); font-size: 13px; }
.note { background: #ecfeff; border: 1px solid #a5f3fc; color: #0e7490; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.alert { border-radius: 10px; padding: 10px 12px; font-weight: 600; display: none; }
.alert.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.floating-whatsapp {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap:10px;
  background: #22c55e; color:#fff; border-radius: 999px; padding: 10px 14px; box-shadow: var(--shadow);
}
.floating-whatsapp svg { width: 18px; height: 18px; fill: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .features, .footer-grid { grid-template-columns: 1fr; }
  .menu-toggle { display:inline-flex; align-items:center; gap:8px; }
  .nav { position: relative; }
  .nav-links {
    position: absolute; left: 4%; right: 4%; top: 64px;
    display: grid; gap: 10px; background:#fff; padding: 12px; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
}
