/* chitrad.com — Opus Connect Network theme */

:root {
  --ink: #0B1B33;
  --body: #425466;
  --muted: #4A5A73;
  --surface: #F6F8FC;
  --line: #E6EBF2;
  --line-strong: #D5DCE6;
  --accent: #5B4CFF;
  --accent-soft: #EEECFF;
  --navy-2: #12264A;
  --navy-line: #2A3B57;
  --on-dark: #C3CCDA;
  --accent-on-dark: #A9A2FF;
  --success: #0F6B3E;  --success-bg: #E3F6EC;
  --warning: #B4410F;

  --gradient: linear-gradient(115deg, #1A1466 0%, #2B1FB8 22%, var(--accent) 42%, #C03ADB 62%, #FF5E7E 80%, #FFB347 100%);

  --font: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1200px;
  --gutter: 32px;
  --section-y: 120px;
  --radius-card: 16px;
  --radius-panel: 20px;
  --radius-cta: 24px;
  --shadow-float: 0 50px 100px -20px rgba(11,27,51,.35), 0 30px 60px -30px rgba(0,0,0,.4);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; }
a { color: var(--accent); text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark p { color: var(--on-dark); }

h1, .h1 { margin: 0; font-size: clamp(44px, 6vw, 80px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
h2, .h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
h3, .h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
p { line-height: 1.6; color: var(--body); }
.lead { font-size: 20px; line-height: 1.55; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--accent); margin: 0 0 12px; }
.section--dark .eyebrow { color: var(--accent-on-dark); }
.mono { font-family: var(--mono); }

/* Hero gradient band */
.hero { position: relative; overflow: hidden; padding-bottom: 96px; }
.hero-band, .hero-band::after {
  position: absolute; inset: -380px 0 auto 0; height: 1040px;
  transform: skewY(-10deg); transform-origin: 0 0; z-index: 0;
}
.hero-band { background: var(--gradient); background-size: 220% 220%; animation: band-flow 18s ease-in-out infinite; }
.hero-band::after { content: ""; inset: 0; transform: none; background: linear-gradient(90deg, rgba(11,10,60,.55), rgba(11,10,60,.25) 38%, transparent 60%); }
.hero > *:not(.hero-band) { position: relative; z-index: 1; }
.hero h1, .hero .lead { color: #fff; }
@keyframes band-flow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero-band { animation: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--font); border: 1px solid transparent; cursor: pointer; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }

/* Cards and grids */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.panel { border-radius: var(--radius-panel); padding: 40px; }
.panel--dark { background: var(--ink); color: #fff; }
.float { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-float); }
.badge-success { color: var(--success); background: var(--success-bg); font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.step { padding-top: 24px; border-top: 2px solid var(--line); }
.step:first-child { border-top-color: var(--accent); }
