/* ========================================================
   SARKARI HITH - SARVAM.AI HIGH-TECH BASE STYLES
   Light surfaces, subtle accents, frosted glass
======================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  background-image:
    radial-gradient(900px 500px at 95% 5%, rgba(249, 115, 22, 0.08) 0%, transparent 70%),
    radial-gradient(700px 400px at 5% 25%, rgba(244, 63, 94, 0.06) 0%, transparent 60%),
    radial-gradient(800px 500px at 90% 65%, rgba(251, 146, 60, 0.06) 0%, transparent 70%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'tnum';
}

/* Headings: Sharp Geometric Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input,
select {
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
}

ul,
ol {
  list-style: none;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ========================================================
   TOP ANNOUNCEMENT & TICKER BAR (Frosted Acrylic)
======================================================== */
.top-announcement-bar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  border-top: 1px solid rgba(255, 69, 58, 0.35);
  letter-spacing: -0.01em;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 23, 42, 0.06);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e, 0 0 18px rgba(34, 197, 94, 0.4);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.ticker-wrapper {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-content {
  display: inline-block;
  animation: ticker 110s linear infinite;
}

.ticker-wrapper:hover .ticker-content {
  animation-play-state: paused;
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 2.5rem;
  color: #475569;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.ticker-item:hover {
  color: var(--text-primary);
  text-decoration: underline;
  text-shadow: 0 0 10px rgba(15, 23, 42, 0.4);
}

.ticker-item-separator {
  margin-left: 2.5rem;
  opacity: 0.25;
}

/* ========================================================
   SITE HEADER - SARVAM.AI FLOATING GLASS
======================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

/* Brand Wordmark */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-frame {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 69, 58, 0.3), 0 0 0 1px rgba(15, 23, 42, 0.15);
  background: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand:hover .brand-logo-frame {
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(255, 69, 58, 0.45), 0 0 0 1px rgba(255, 69, 58, 0.5);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-emblem {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff453a 0%, #881318 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  box-shadow: 0 0 20px rgba(255, 69, 58, 0.4), inset 0 1px 0 rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(15, 23, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  line-height: 1.15;
}

.brand-title span {
  background: var(--sarvam-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Center Navigation Menu (Floating Glass Pills) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
}

.nav-item:hover {
  color: var(--text-primary);
  background-color: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.1);
}

.nav-item.is-active {
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(255, 69, 58, 0.14);
  border-color: rgba(255, 69, 58, 0.35);
  box-shadow: 0 0 15px rgba(255, 69, 58, 0.2);
}

.nav-item.is-active::after {
  display: none;
}

.nav-item-icon {
  color: var(--primary-red);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
  padding: 0.4rem;
  z-index: 120;
  margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
  display: flex;
  flex-direction: column;
}

.dropdown-link {
  padding: 0.55rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  color: var(--text-primary);
  background-color: rgba(15, 23, 42, 0.08);
}

/* Header Action Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Main Content Area */
main {
  flex: 1;
  padding-bottom: 4rem;
}

/* ========================================================
   FOOTER - LIGHT SURFACE WITH ACCENT BORDERS
======================================================== */
.site-footer {
  background-color: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 69, 58, 0.4), rgba(99, 102, 241, 0.4), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  max-width: 400px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.8125rem;
  margin-bottom: 1.15rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.84rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--primary-red);
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}