/* ============================================================
   SHIVORAA — base.css  |  macOS Premium Theme
============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  background: #FFFFFF;
  color: #1D1D1F;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, button { appearance: none; -webkit-appearance: none; }
ul { list-style: none; }
::selection { background: #0071E3; color: #fff; }

/* ---------- TOKENS ---------- */
:root {
  /* Backgrounds */
  --bg:      #FFFFFF;
  --bg-alt:  #F2F2F7;
  --bg-alt2: #FAFAFA;

  /* Surfaces */
  --surface:  #FFFFFF;
  --surface2: #F2F2F7;
  --surface3: #E8E8ED;

  /* Text */
  --text:   #1D1D1F;
  --text2:  #6E6E73;
  --text3:  #86868B;
  --text4:  #AEAEB2;

  /* Apple Blue */
  --blue:   #0071E3;
  --blue-l: #409CFF;
  --blue-d: #0056B3;
  --blue-bg: rgba(0,113,227,0.08);

  /* System colors */
  --green:  #34C759;
  --red:    #FF3B30;
  --yellow: #FFD60A;

  /* Borders */
  --border:  rgba(0,0,0,0.1);
  --border2: rgba(0,0,0,0.06);
  --border3: rgba(0,0,0,0.04);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.07);
  --shadow-blue: 0 8px 30px rgba(0,113,227,0.28);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t:    0.22s var(--ease);
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 640px)  { .container { padding: 0 36px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 26px; border-radius: 980px;
  font-size: 0.875rem; font-weight: 600; line-height: 1;
  letter-spacing: 0.01em;
  transition: var(--t); border: none;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: var(--blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #0077ED;
  box-shadow: 0 10px 36px rgba(0,113,227,0.35);
  outline: none;
}
.btn-primary:active { background: var(--blue-d); box-shadow: var(--shadow-blue); }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--blue-bg); outline: none;
}
.btn-lg   { padding: 15px 32px; font-size: 0.95rem; }
.btn-full { width: 100%; border-radius: 12px; }

/* ---------- SECTIONS ---------- */
section { padding: 96px 0; }
@media (min-width: 768px)  { section { padding: 120px 0; } }
@media (min-width: 1024px) { section { padding: 140px 0; } }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 72px; }

.section-eyebrow {
  display: inline-flex; align-items: center;
  padding: 5px 14px;
  background: var(--blue-bg);
  border-radius: 980px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.04em;
  color: var(--text); margin-bottom: 16px;
}
.section-title-sm {
  font-size: clamp(1.75rem, 3.8vw, 2.7rem); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 20px;
}
.section-sub { font-size: 1.05rem; color: var(--text2); line-height: 1.75; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ---------- GRADIENT TEXT ---------- */
.hero-grad {
  background: linear-gradient(135deg, var(--blue), #34AADC, #5856D6);
  background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradFlow 5s linear infinite;
}
@keyframes gradFlow { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }