/* ========================================================
   EV RIDE — PARUL UNIVERSITY PRIVACY & TERMS PORTAL STYLES
   ======================================================== */

:root {
  --primary: #274DDC;
  --primary-light: #EEF2FF;
  --primary-dark: #1E3BB8;
  --accent: #10B981;
  --text-dark: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --border: #E2E8F0;
  --border-focus: #C7D2FE;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px -4px rgba(39, 77, 220, 0.12);
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Top Bar --- */
.top-bar {
  background: #0F172A;
  color: #E2E8F0;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge {
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Navigation Bar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 42px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.brand-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-icon {
  width: 16px;
  height: 16px;
}

.tab-btn:hover {
  color: var(--text-dark);
}

.tab-btn.active {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* --- Hero Section --- */
.hero {
  padding: 60px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 17px;
  color: var(--text-body);
}

/* App Meta Grid */
.app-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.meta-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.meta-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.meta-val {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.meta-val.code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--primary);
}

/* --- Main Content Area --- */
.main-content {
  padding: 40px 24px 80px;
}

.policy-article {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.policy-article.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Highlight Summary Box */
.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.highlight-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-text h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.highlight-text p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Policy Sections */
.policy-section {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.policy-section h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.policy-section p {
  font-size: 15.5px;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.7;
}

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

/* Cards Grid inside section */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.info-card {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.info-card-header {
  margin-bottom: 10px;
}

.info-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.info-card h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.info-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 0;
}

/* Styled Lists */
.styled-list {
  list-style: none;
  padding-left: 0;
  margin-top: 14px;
}

.styled-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

.styled-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

/* Account Deletion Callout Box */
.account-deletion-box {
  border: 2px solid #E0E7FF;
  background: linear-gradient(180deg, #FAFAFE 0%, #FFFFFF 100%);
}

.deletion-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.deletion-badge {
  background: #10B981;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.steps-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 18px;
}

.steps-box h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.steps-box ol {
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--text-body);
}

.steps-box li {
  margin-bottom: 8px;
}

.email-highlight {
  color: var(--primary);
  font-weight: 700;
}

code {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--text-dark);
}

.steps-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Contact Card */
.contact-card {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-top: 14px;
}

.contact-card p {
  font-size: 14.5px;
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* --- Footer --- */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 32px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-left .copyright {
  color: #F8FAFC;
  font-weight: 600;
}

.footer-sub {
  font-size: 12px;
  color: #64748B;
  margin-top: 2px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-right a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s;
}

.footer-right a:hover {
  color: #FFFFFF;
}

.sep {
  color: #475569;
}

/* --- Responsive Layout --- */
@media (max-width: 860px) {
  .app-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-container {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-tabs {
    justify-content: center;
  }
  .hero h1 {
    font-size: 30px;
  }
  .app-meta-grid {
    grid-template-columns: 1fr;
  }
  .policy-section {
    padding: 24px 20px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
  }
}
