/*
  StudyCast landing styles
  Palette: Charcoal black (#0b0b0f), Onyx (#121217), Orange primary (#ff6a00), Orange hover (#ff7f26), Gray text (#c9c9cf)
*/

:root {
    --bg: #0b0b0f;
    --panel: #121217;
    --text: #eaeaf0;
    --muted: #c9c9cf;
    --primary: #ff6a00;
    --primary-600: #ff7f26;
    --ring: rgba(255, 106, 0, 0.35);
  }
  
  * { box-sizing: border-box; }
  html, body { height: 100%; }
  body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1000px 600px at 80% -100px, rgba(255,106,0,0.08), transparent 60%), var(--bg);
    color: var(--text);
    line-height: 1.6;
  }
  
  .container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Header */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(11,11,15,0.9), rgba(11,11,15,0.6));
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
  }
  .brand { display: flex; align-items: center; gap: 12px; }
  .logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-600));
    display: grid;
    place-items: center;
    color: #0a0a0a;
    font-weight: 800;
  }
  .brand-text { display: flex; flex-direction: column; }
  .brand-name { font-weight: 800; letter-spacing: 0.3px; }
  .brand-tag { color: var(--muted); font-size: 12px; }
  
  .site-nav a { margin-left: 10px; }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 120ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
    border: 1px solid transparent;
  }
  .btn:focus { outline: none; box-shadow: 0 0 0 4px var(--ring); }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--primary); color: #0a0a0a; }
  .btn-primary:hover { background: var(--primary-600); box-shadow: 0 8px 24px rgba(255,106,0,0.25); transform: translateY(-1px); }
  .btn-outline:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,0.05); }
  .btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.16);
    color: var(--text);
  }
  .btn-outline:hover {
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.04);
  }
  
  /* Hero */
  .hero { position: relative; overflow: hidden; text-align: center; }
  .hero .hero-inner { padding: 72px 20px 40px; }
  .hero-title {
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.05;
    margin: 0 0 14px;
  }
  .hero-title span {
    background: linear-gradient(135deg, #fff, #ffcfb0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-subtitle { color: var(--muted); max-width: 700px; margin: 0 auto 24px; }
  .cta { display: flex; gap: 12px; margin: 24px 0; flex-wrap: wrap; justify-content: center; }
  
  .stats { 
    list-style: none; 
    display: flex; 
    gap: 22px; 
    padding: 0; 
    margin: 40px 0 0; 
    color: var(--muted); 
    justify-content: center; 
    flex-wrap: wrap;
  }
  .stats li { 
    background: rgba(255,255,255,0.03); 
    border: 1px solid rgba(255,255,255,0.06); 
    padding: 12px 14px; 
    border-radius: 12px; 
  }
  .stats strong { color: var(--text); display: block; }
  
  .bg-accent {
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 380px;
    background: radial-gradient(600px 240px at 50% 0%, rgba(255,106,0,0.14), transparent 70%);
    pointer-events: none;
  }
  
  /* Animated accent orbs */
  .hero::before,
  .hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.25;
    pointer-events: none;
  }
  .hero::before {
    width: 160px; height: 160px; left: 6%; top: 10%;
    background: radial-gradient(circle at 30% 30%, var(--primary), transparent 60%);
    animation: float1 8s ease-in-out infinite;
  }
  .hero::after {
    width: 220px; height: 220px; right: 8%; top: 18%;
    background: radial-gradient(circle at 70% 70%, var(--primary-600), transparent 60%);
    animation: float2 10s ease-in-out infinite;
  }
  @keyframes float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
  @keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
  
  /* Features */
  .features { padding: 48px 20px 80px; }
  .section-title { font-size: 22px; margin: 0 0 18px; color: #fff; text-align: center; }
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
  }
  .feature {
    background: var(--panel);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 18px;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  }
  .feature:hover {
    transform: translateY(-2px);
    border-color: rgba(255,106,0,0.4);
    box-shadow: 0 10px 30px rgba(255,106,0,0.07);
  }
  .feature-icon { font-size: 22px; margin-bottom: 10px; }
  .feature h3 { margin: 6px 0 8px; font-size: 18px; }
  .feature p { margin: 0; color: var(--muted); }
  
  /* Footer */
  .site-footer { position: relative; border-top: 1px solid rgba(255,255,255,0.06); background: #0b0b0f; overflow: hidden; text-align: center; padding: 24px 20px; }
  .footer-glow { position: absolute; inset: -40% -20% auto -20%; height: 220px; background: radial-gradient(700px 260px at 50% 0%, rgba(255,106,0,0.10), transparent 70%); pointer-events: none; }
  .footer-inner { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 24px; 
  }
  .footer-col { width: 100%; }
  .footer-col h4 { margin: 0 0 10px; font-size: 14px; letter-spacing: 0.4px; color: #fff; }
  .footer-col ul { list-style: none; padding: 0; margin: 0; }
  .footer-col li { margin: 6px 0; color: var(--muted); }
  .footer-col a { color: var(--muted); text-decoration: none; }
  .footer-col a:hover { color: #fff; }
  .footer-brand p { color: var(--muted); margin: 10px 0; }
  .back-to-top { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--primary-600); text-decoration: none; }
  .back-to-top:hover { color: var(--primary); }
  .footer-team ul { columns: 2; -webkit-columns: 2; -moz-columns: 2; }
  
  /* Responsive */
  @media (min-width: 768px) {
    .site-footer { text-align: left; }
    .footer-inner { 
      flex-direction: row; 
      justify-content: space-between; 
      align-items: flex-start; 
    }
    .footer-col { width: auto; }
    .footer-back-to-top { text-align: right; }
    .back-to-top { margin-top: 0; }
    .footer-team ul { columns: 1; -webkit-columns: 1; -moz-columns: 1; }
  }
  
