/* ==========================================================================
   COLLEGE ENROLLMENT PREMIUM DESIGN SYSTEM
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
  --primary-color: #4f46e5;      /* Indigo 600 */
  --primary-hover: #4338ca;      /* Indigo 700 */
  --primary-light: #818cf8;      /* Indigo 400 */
  --accent-color: #06b6d4;       /* Cyan 500 */
  --accent-hover: #0891b2;       /* Cyan 600 */
  
  --bg-dark: #0b0f19;            /* Deep Blue/Gray Slate */
  --bg-card: rgba(17, 24, 39, 0.7); /* Translucent dark navy */
  --border-glass: rgba(255, 255, 255, 0.08);
  
  --text-main: #f3f4f6;          /* Gray 100 */
  --text-muted: #9ca3af;         /* Gray 400 */
  --text-highlight: #ffffff;
  
  --font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body.college-body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Background Gradients */
body.college-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 900px;
  background: radial-gradient(circle at 80% 10%, rgba(79, 70, 229, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 15% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* 2. Header & Navigation */
.site-header {
  position: relative;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-highlight);
}

.logo-icon {
  font-size: 2.25rem;
  filter: drop-shadow(0 0 10px rgba(79, 70, 229, 0.4));
}

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

.logo-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #fff 60%, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav .nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

/* 3. Hero Section & Match Form */
.hero-section {
  position: relative;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 10;
}

.hero-grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: -1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: var(--primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-highlight);
  background: linear-gradient(to right, #ffffff, #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.trust-badges {
  display: flex;
  gap: 1.5rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
}

.badge-check {
  color: var(--accent-color);
  font-weight: bold;
}

/* Glassmatch Form */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 1.25rem;
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-form-panel h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-highlight);
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  width: 100%;
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

.form-group select option {
  background: #0f172a;
  color: #fff;
}

.btn-submit-match {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
  transition: var(--transition-smooth);
}

.btn-submit-match:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
}

/* 4. Main Body & Content layout */
.main-layout-container {
  max-width: 1200px;
  margin: 3rem auto 6rem auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.layout-grid {
  display: grid;
  grid-template-columns: 2.3fr 0.7fr;
  gap: 3rem;
}

@media (max-width: 968px) {
  .layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Article Area Styling */
.main-article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 1rem;
  padding: 2.5rem;
}

.article-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.meta-item.category {
  color: var(--accent-color);
  font-weight: 600;
}

.meta-item.date {
  color: var(--text-muted);
}

.article-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-highlight);
}

/* Article Content Elements styling */
.article-content {
  font-size: 1.05rem;
  color: #d1d5db; /* Gray 300 */
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2, 
.article-content h3 {
  color: var(--text-highlight);
  margin: 2.25rem 0 1rem 0;
  font-weight: 700;
}

.article-content h2 { font-size: 1.75rem; }
.article-content h3 { font-size: 1.4rem; }

.article-content ul, 
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.article-content a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.reference-disclaimer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.reference-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 5. Sidebar Components */
.site-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 1rem;
  padding: 1.5rem;
}

.sidebar-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-highlight);
}

.card-badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.sidebar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.sidebar-link {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.link-bullet {
  color: var(--accent-color);
  font-size: 0.9rem;
}

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

.link-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  transition: var(--transition-smooth);
}

.sidebar-link:hover .link-title {
  color: var(--accent-color);
}

.link-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.benefit-list li strong {
  color: var(--accent-color);
}

/* 6. Footer section */
.site-footer {
  background: rgba(9, 13, 22, 0.95);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 2rem 2rem 2rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin-bottom: 1.25rem;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-col ul a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
