/* ==========================================================================
   Telugu News Live TV - Official Design System & Stylesheet
   Color Palette: White (#FFF), Navy Blue (#0A192F / #0F172A), Accent Red (#DC2626)
   Typography: Clean sans-serif with Telugu font support
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-dark: #0A192F;
  --bg-dark-secondary: #0F172A;

  --text-primary: #0F172A;      /* Deep navy / slate 900 */
  --text-secondary: #334155;    /* Slate 700 */
  --text-muted: #64748B;        /* Slate 500 */
  --text-inverse: #FFFFFF;

  --navy-primary: #0A192F;
  --navy-accent: #1E3A8A;
  --navy-light: #EEF2F6;

  --red-live: #DC2626;          /* Breaking / Live Red */
  --red-live-hover: #B91C1C;
  --red-live-light: #FEE2E2;
  --red-live-border: #FCA5A5;

  --border-color: #E2E8F0;
  --border-focus: #2563EB;

  --badge-green-bg: #DCFCE7;
  --badge-green-text: #166534;

  /* Typography */
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-telugu: 'Noto Sans Telugu', 'Gautami', 'Vani', 'Segoe UI', sans-serif;

  /* Spacing & Layout */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

  --transition: all 0.2s ease-in-out;
}

/* Base Reset & Box Sizing */
*, *::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-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.telugu-text {
  font-family: var(--font-telugu);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--red-live);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-notice-bar {
  background-color: var(--bg-dark);
  color: #94A3B8;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-notice-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red-live);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.site-header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

/* Brand Text Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-icon svg {
  width: 32px;
  height: 32px;
}

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

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.2;
}

.live-badge-inline {
  background-color: var(--red-live);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.brand-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--red-live);
}

.nav-link.active {
  color: var(--navy-primary);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--red-live);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Drawer Header & Footer (Hidden on Desktop) */
.drawer-header,
.drawer-footer {
  display: none;
}

/* ==========================================================================
   Horizontal Swipeable Category Bar (Mobile & Desktop)
   ========================================================================== */
.category-bar {
  background: #F8FAFC;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0.45rem 0;
  width: 100%;
}

.category-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  padding: 0.1rem 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background-color: white;
  color: var(--text-secondary);
  font-size: 0.825rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.2s ease;
  user-select: none;
}

.cat-pill:hover {
  background-color: var(--navy-light);
  color: var(--navy-primary);
  border-color: #BFDBFE;
}

.cat-pill.active {
  background-color: var(--navy-primary);
  color: white;
  border-color: var(--navy-primary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--navy-primary);
  color: white;
}

.btn-primary:hover {
  background-color: #1E293B;
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--red-live);
  color: white;
}

.btn-accent:hover {
  background-color: var(--red-live-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background-color: var(--bg-tertiary);
  border-color: #CBD5E1;
  color: var(--navy-primary);
}

.btn-outline-white {
  background-color: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--red-live-light);
  border: 1px solid var(--red-live-border);
  color: var(--red-live-hover);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--red-live);
}

.hero-telugu-subheading {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-spec-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-spec-item svg {
  color: #10B981;
}

/* Real App Phone Mockup */
.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  background: #0F172A;
  border-radius: 38px;
  padding: 8px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 2px #334155, 0 0 0 6px #1E293B;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px -15px rgba(15, 23, 42, 0.45), 0 0 0 2px #334155, 0 0 0 6px #1E293B;
}

.phone-speaker {
  width: 50px;
  height: 4px;
  background: #334155;
  border-radius: 4px;
  margin: 6px auto 8px;
}

.phone-screen-container {
  border-radius: 28px;
  overflow: hidden;
  background: #FAFAFA;
  line-height: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.app-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-caption-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: white;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Section Headers & Common Layout
   ========================================================================== */
.section-py {
  padding: 4.5rem 0;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-live);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--navy-light);
  color: var(--navy-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card.highlight .feature-icon-wrapper {
  background-color: var(--red-live-light);
  color: var(--red-live);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Channel Directory Cards (channels.html & index.html)
   ========================================================================== */
.filter-search-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
  max-width: 100%;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--navy-primary);
  color: white;
  border-color: var(--navy-primary);
}

.search-box-wrap {
  position: relative;
  min-width: 280px;
}

.search-input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--navy-accent);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.channel-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.channel-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.channel-badge-category {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.channel-live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--red-live);
  text-transform: uppercase;
}

.channel-live-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--red-live);
  border-radius: 50%;
}

.channel-main-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 0.25rem;
}

.channel-telugu-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-accent);
  margin-bottom: 0.75rem;
}

.channel-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.channel-links-group {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.channel-links-group .btn {
  flex: 1;
}

/* ==========================================================================
   News Sources & Transparency Table
   ========================================================================== */
.transparency-banner {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #1E40AF;
  font-size: 0.95rem;
  line-height: 1.5;
}

.transparency-banner svg {
  flex-shrink: 0;
  color: #2563EB;
  margin-top: 0.15rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background-color: white;
}

.sources-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.sources-table th {
  background-color: var(--bg-tertiary);
  color: var(--navy-primary);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.sources-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: top;
}

.sources-table tr:last-child td {
  border-bottom: none;
}

.sources-table tr:hover td {
  background-color: var(--bg-secondary);
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--badge-green-bg);
  color: var(--badge-green-text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Content & Policy Pages (About, Privacy, Disclaimer, Contact)
   ========================================================================== */
.page-header-simple {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #FFFFFF 100%);
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.page-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.content-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.legal-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-subheading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-accent);
  margin: 1.25rem 0 0.5rem;
}

.legal-paragraph {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-list {
  padding-left: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.legal-list li {
  margin-bottom: 0.5rem;
}

/* Developer / Review Alert Callout */
.callout-box {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  font-size: 0.925rem;
  line-height: 1.6;
}

.callout-info {
  background-color: #EFF6FF;
  border-left: 4px solid #3B82F6;
  color: #1E3A8A;
}

.callout-warning {
  background-color: #FEF3C7;
  border-left: 4px solid #F59E0B;
  color: #92400E;
}

.callout-success {
  background-color: #ECFDF5;
  border-left: 4px solid #10B981;
  color: #065F46;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.contact-info-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-accent);
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact-item-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-primary);
  word-break: break-all;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--navy-accent);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   CTA Download Banner (Pre-footer)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1E3A8A 100%);
  color: white;
  padding: 3.5rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #94A3B8;
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-about-text {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-col-title {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.875rem;
}

.footer-link:hover {
  color: white;
  padding-left: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Mobile Responsive Navigation & Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-specs-list {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.65rem 0;
    gap: 0.5rem;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-icon svg {
    width: 26px;
    height: 26px;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hero-section {
    padding: 2.25rem 0 2.75rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.25rem 1.25rem 2rem;
    overflow-y: auto;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }

  .main-nav.open {
    right: 0;
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 0.85rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
  }

  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .drawer-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .drawer-icon svg {
    width: 22px;
    height: 22px;
  }

  .drawer-title-group {
    display: flex;
    flex-direction: column;
  }

  .drawer-badge {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--navy-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .drawer-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy-primary);
    line-height: 1.2;
  }

  .drawer-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }

  .drawer-close-btn:hover {
    background: var(--border-color);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.25rem;
  }

  .nav-link {
    font-size: 0.95rem;
    width: 100%;
    padding: 0.65rem 0.5rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link:hover, .nav-link.active {
    background-color: var(--bg-secondary);
  }

  .nav-link.active::after {
    display: none;
  }

  .drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
  }

  .drawer-contact-info {
    font-size: 0.775rem;
    color: var(--text-muted);
    line-height: 1.4;
  }

  .drawer-contact-info a {
    color: var(--navy-accent);
    font-weight: 600;
    word-break: break-all;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1000;
  }

  .nav-backdrop.open {
    display: block;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .mockup-device {
    max-width: 250px;
    margin: 0 auto;
  }

  .filter-search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .search-box-wrap {
    min-width: 100%;
  }

  .legal-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .brand-icon svg {
    width: 22px;
    height: 22px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .live-badge-inline {
    font-size: 0.55rem;
    padding: 0.1rem 0.3rem;
  }

  .brand-subtext {
    font-size: 0.65rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions .btn-sm {
    padding: 0.4rem 0.65rem;
    font-size: 0.775rem;
    gap: 0.3rem;
  }

  .header-actions .btn-sm svg {
    width: 15px;
    height: 15px;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .cat-pill {
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
  }

  .channel-links-group {
    flex-direction: column;
  }

  .channel-links-group .btn {
    width: 100%;
  }
}
