﻿/* ═══════════════════════════════════════════════════════════
   Hearo — Professional Dark Theme
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  /* Fonts */
  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;

  /* Core palette */
  --bg-primary:   #080C10;
  --bg-secondary: #0F1318;
  --bg-tertiary:  #161C24;

  --text-primary:   #F0F4F8;
  --text-secondary: #8B9EB3;
  --text-muted:     #4A5568;

  --accent:        #00C8C8;
  --accent-dark:   #008888;
  --accent-glow:   rgba(0, 200, 200, 0.15);
  --gold:          #F5C842;

  --border:        rgba(255, 255, 255, 0.07);
  --border-hover:  rgba(255, 255, 255, 0.14);
  --glass:         rgba(255, 255, 255, 0.04);
  --glass-hover:   rgba(255, 255, 255, 0.08);

  /* Legacy aliases kept for compatibility */
  --hearo-black:    var(--bg-secondary);
  --hearo-white:    var(--text-primary);
  --bg-card:        var(--bg-secondary);
  --border-color:   var(--border);
  --button-color:   var(--accent);
  --accent-blue:    var(--accent);
  --accent-teal-light: var(--accent);

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --transition: 0.25s ease;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageFadeIn .25s ease;
}
@keyframes pageFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { color: var(--text-secondary); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p { margin-top: 0.75rem; font-size: 1.1rem; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.65rem 1.4rem; border-radius: 50px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  transition: var(--transition); cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--text-primary); color: var(--bg-primary); }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,200,200,.14); }
.btn-primary:active { transform: scale(0.97) translateY(0); }
.btn-outline { background: transparent; border: 1px solid var(--border-hover); color: var(--text-primary); }
.btn-outline:hover { border-color: rgba(255,255,255,.3); background: var(--glass-hover); transform: translateY(-2px); }
.btn-outline:active { transform: scale(0.97); }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.1rem 0; transition: background var(--transition), box-shadow var(--transition);
  background: rgba(8,12,16,.75); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid transparent;
}
.navbar.scrolled { background: rgba(8,12,16,.95); border-bottom-color: var(--border); box-shadow: 0 4px 24px rgba(0,0,0,.4); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.logo { position: relative; display: inline-flex; align-items: center; gap: 0; padding-right: 8px; overflow: visible; }
.logo .brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; letter-spacing: 1px; text-transform: uppercase; color: #fff; -webkit-text-fill-color: #fff; }
.logo .brand-badge { position: absolute; left: 4px; bottom: -8px; font-family: var(--font-body); font-weight: 800; font-size: .55rem; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: linear-gradient(100deg,#00E5FF,#FF3B30); padding: 2px 7px; border-radius: 7px; transform: rotate(-4deg); }
.nav-brand-img { height: 60px; width: auto; display: inline-block; vertical-align: middle; border-radius: 14px; }
.nav-links { display: flex; gap: .25rem; background: var(--glass); padding: .4rem 1rem; border-radius: 50px; border: 1px solid var(--border); }
.nav-link { padding: .4rem 1rem; font-weight: 600; font-size: .9rem; color: var(--text-secondary); border-radius: 50px; transition: var(--transition); }
.nav-link:hover { color: var(--text-primary); background: var(--glass-hover); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-mobile-toggle { display: none; background: none; border: 1px solid var(--border-hover); color: var(--text-primary); padding: .5rem .7rem; border-radius: var(--radius-sm); cursor: pointer; font-size: 1rem; transition: var(--transition); }
.nav-mobile-toggle:hover { background: var(--glass-hover); }

/* ── Hero ──────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 160px 0 100px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--bg-primary); z-index: 0; }

.hero-nebula-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; pointer-events: none; }
.nebula-blob { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.18; animation: float-blob 20s ease-in-out infinite alternate; }
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: #002A42; animation-delay: 0s; }
.blob-2 { top: 40%; right: -10%; width: 40vw; height: 40vw; background: #3A0400; animation-delay: -5s; }
.blob-3 { bottom: -20%; left: 20%; width: 60vw; height: 40vw; background: #003A5A; animation-delay: -10s; }
@keyframes float-blob { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(5%,10%) scale(1.1); } 100% { transform: translate(-5%,-5%) scale(.9); } }

.hero .container { position: relative; z-index: 2; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,200,200,.1); border: 1px solid rgba(0,200,200,.25); color: var(--accent); font-size: .82rem; font-weight: 600; padding: .4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem; letter-spacing: .3px; }
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-subtext { font-size: 1.1rem; line-height: 1.8; color: var(--text-secondary); max-width: 520px; margin-bottom: 2.5rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.5rem; }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--text-primary); color: var(--bg-primary); padding: .9rem 2rem; border-radius: 50px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; transition: var(--transition); box-shadow: 0 4px 20px rgba(255,255,255,.1); }
.btn-hero-primary:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,200,200,.18); color: #0D1117; }
.btn-hero-primary:active { transform: scale(0.97) translateY(0); }
.btn-hero-outline { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--text-secondary); padding: .9rem 1.5rem; border-radius: 50px; font-weight: 600; font-size: .95rem; border: 1px solid var(--border-hover); transition: var(--transition); }
.btn-hero-outline:hover { color: var(--text-primary); border-color: rgba(255,255,255,.25); background: var(--glass-hover); transform: translateY(-2px); }
.hero-note { font-size: .82rem; color: var(--text-muted); }

.hero-visual { display: flex; justify-content: center; align-items: center; perspective: 1000px; position: relative; z-index: 2; }
#hero-visual-3d::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,200,200,.05) 0%, transparent 70%); filter: blur(60px); z-index: -1; pointer-events: none; }
.logo-floater { animation: breathe 6s ease-in-out infinite; display: block; transform-style: preserve-3d; }
.hero-logo-img { transition: transform .1s ease-out; will-change: transform; transform-style: preserve-3d; width: 380px; height: 380px; object-fit: contain; object-position: center 42%; border-radius: 50%; background: radial-gradient(circle at 42% 42%, #0d1a1a 0%, #000 60%); border: 2px solid rgba(0,200,200,.25); box-shadow: 0 0 40px rgba(0,200,200,.08), 0 40px 80px rgba(0,0,0,.7); padding: 14px; }
@keyframes breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* ── Partners ───────────────────────────────────────────── */
.partners-section { padding: 3rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-secondary); }
.partners-label { text-align: center; font-size: .75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2rem; }
.marquee-container { overflow: hidden; white-space: nowrap; position: relative; }
.marquee-container::before, .marquee-container::after { content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; }
.marquee-container::before { left: 0; background: linear-gradient(to right, var(--bg-secondary), transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, var(--bg-secondary), transparent); }
.marquee-content { display: flex; width: max-content; }
.marquee-track { display: flex; animation: scroll 30s linear infinite; }
.partner-logo { height: 40px; margin: 0 3rem; opacity: .5; filter: grayscale(100%) brightness(1.2); transition: .3s; }
.partner-logo:hover { opacity: 1; filter: grayscale(0%) brightness(1.1); transform: scale(1.08); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ── Features ───────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card { background: var(--bg-secondary); padding: 2.25rem; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.feature-icon-wrap { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(0,200,200,.08); border: 1px solid rgba(0,200,200,.15); border-radius: var(--radius-md); margin-bottom: 1.5rem; }
.feature-icon { font-size: 1.3rem; color: var(--accent); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: .6rem; color: var(--text-primary); }
.feature-card p { color: var(--text-secondary); font-size: .95rem; line-height: 1.7; }

/* ── Stats ──────────────────────────────────────────────── */
.stats .container { display: flex; justify-content: center; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; gap: 2rem; padding: 3rem 4rem; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-xl); width: 100%; max-width: 900px; }
.stat-item h2 { font-size: 2.5rem; color: var(--text-primary); margin-bottom: .4rem; }
.stat-item h2 span { color: var(--accent); }
.stat-item p { color: var(--text-secondary); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* ── Profile Section ────────────────────────────────────── */
.profile-section-glow { position: relative; background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); overflow: hidden; }
.feature-check-list { display: flex; flex-direction: column; gap: .85rem; }
.feature-check-list li { display: flex; align-items: center; gap: .75rem; color: var(--text-secondary); font-size: 1rem; }
.feature-check-list li i { color: var(--accent); font-size: .85rem; flex-shrink: 0; }
.profile-ui-wrapper { perspective: 1000px; width: 100%; display: flex; justify-content: center; }
.profile-ui-card { background: rgba(10,14,20,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border-hover); border-radius: var(--radius-xl); padding: 2.5rem; width: 100%; max-width: 400px; box-shadow: 0 20px 50px rgba(0,0,0,.5); transform: rotateY(5deg); transition: transform .5s ease; position: relative; overflow: hidden; }
.profile-ui-wrapper:hover .profile-ui-card { transform: rotateY(0deg) scale(1.02); }
.profile-header { text-align: center; margin-bottom: 2rem; }
.profile-header h3 { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: 2px; color: var(--text-secondary); text-transform: uppercase; }
.profile-input-group { margin-bottom: 1.5rem; }
.profile-label { display: block; font-size: .75rem; color: var(--text-secondary); margin-bottom: .5rem; font-weight: 600; }
.profile-input { width: 100%; background: var(--bg-primary); border: 1px solid rgba(0,200,200,.15); padding: 1rem; border-radius: var(--radius-md); color: white; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; display: flex; align-items: center; }
.typing-cursor { display: inline-block; width: 2px; height: 1.2em; background-color: var(--accent); margin-left: 2px; animation: blink 1s step-end infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }
.profile-avatars-row { display: flex; gap: 10px; margin-bottom: 2rem; justify-content: center; }
.profile-avatar-mock { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--border); opacity: .5; transition: all .3s; filter: grayscale(60%); }
.profile-avatar-mock.active { width: 60px; height: 60px; border-color: var(--accent); opacity: 1; filter: grayscale(0%); box-shadow: 0 0 10px rgba(0,200,200,.2); transform: translateY(-5px); }
.profile-save-btn { width: 100%; background: #fff; border: none; padding: 1rem; color: #0D1117; font-family: var(--font-display); font-weight: 700; border-radius: var(--radius-md); font-size: 1rem; cursor: pointer; transition: transform .2s; }
.profile-save-btn:hover { transform: translateY(-2px); }

/* ── Room Cards ─────────────────────────────────────────── */
.room-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.room-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.5); border-color: rgba(0,200,200,.2); }
.room-image-wrapper { position: relative; height: 180px; overflow: hidden; flex-shrink: 0; background: var(--bg-tertiary); }
.room-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.room-image-placeholder { width: 100%; height: 100%; }
.room-card:hover .room-image, .room-card:hover .room-image-placeholder { transform: scale(1.05); }
.room-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: .5rem; }
.badge { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); padding: .25rem .6rem; border-radius: 4px; font-size: .75rem; font-weight: 700; color: white; }
.badge-live { background: #FF3B30; animation: pulse 1.5s infinite; }
.badge-viewers { background: rgba(0,0,0,.7); backdrop-filter: blur(5px); color: white; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .75; } }
.room-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.room-info { flex: 1; }
.room-info h3 { margin-bottom: .5rem; font-size: 1.05rem; color: var(--text-primary); }
.room-host { display: flex; align-items: center; gap: .5rem; color: var(--text-secondary); font-size: .88rem; margin-bottom: 1rem; }
.room-participants { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.avatar-pile { display: flex; }
.avatar-pile img { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--bg-secondary); margin-left: -8px; }
.avatar-pile img:first-child { margin-left: 0; }
.btn-room-action { display: inline-block; width: 100%; text-align: center; background: #fff; color: #0D1117; padding: .85rem; border-radius: 50px; border: none; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: .2s; box-shadow: 0 4px 15px rgba(255,255,255,.1); font-size: .9rem; cursor: pointer; text-decoration: none; white-space: nowrap; margin-top: auto; }
.btn-room-action:hover { transform: translateY(-2px); background: var(--accent); color: #0D1117; }
.btn-room-action:active { transform: scale(0.97); }

/* ── Room Posters ───────────────────────────────────────── */
.room-poster { position: absolute; inset: 0; }
.room-poster-bg { position: absolute; inset: 0; }
.room-poster-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.15) 55%, transparent 100%); }
.room-poster-meta { position: absolute; bottom: 0; left: 0; right: 0; padding: .85rem 1rem; display: flex; align-items: center; gap: .6rem; }
.room-poster-plat { width: 22px; height: 22px; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 900; color: white; flex-shrink: 0; }
.room-poster-plat.netflix { background: #E50914; }
.room-poster-show { font-size: .88rem; font-weight: 700; color: white; line-height: 1.25; }
.room-poster-ep { font-size: .68rem; color: rgba(255,255,255,.55); }

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-section { background: var(--bg-primary); border-top: 1px solid var(--border); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonial-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; transition: .3s; position: relative; }
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,200,200,.06); }
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1.25rem; display: flex; gap: 4px; }
.testimonial-text { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--accent); object-fit: cover; }
.testimonial-author h4 { margin: 0; font-size: .95rem; }
.testimonial-author span { color: var(--text-secondary); font-size: .82rem; }

/* ── Pricing ────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; align-items: start; max-width: 1100px; margin: 0 auto; }
.pricing-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.5rem; text-align: center; transition: .3s; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1.5rem; }
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 10px 40px rgba(0,0,0,.5); border-color: rgba(255,255,255,.12); }
.pricing-card.premium { border-color: rgba(0,200,200,.3); box-shadow: 0 10px 40px rgba(0,200,200,.1); background: linear-gradient(145deg, rgba(0,20,30,.95), rgba(0,10,20,.98)); transform: scale(1.03); }
.pricing-card.premium:hover { transform: scale(1.03) translateY(-8px); }
.popular-badge { position: absolute; top: 1rem; right: 1rem; background: #fff; color: #0D1117; font-size: .7rem; font-weight: 800; padding: .25rem .8rem; border-radius: 20px; letter-spacing: 1px; }
.pricing-header h3 { font-size: 1.5rem; margin-bottom: .4rem; color: white; }
.price { font-size: 3rem; font-weight: 800; color: white; display: block; font-family: var(--font-display); }
.price span { font-size: 1rem; color: var(--text-secondary); font-weight: 500; }
.features-list { list-style: none; padding: 0; margin: 0; text-align: left; display: flex; flex-direction: column; gap: .85rem; }
.features-list li { color: var(--text-secondary); display: flex; align-items: center; gap: .75rem; font-size: .95rem; }
.features-list li i { color: var(--accent); font-size: .85rem; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: #050508; padding: 5rem 0 2rem; border-top: 1px solid var(--border); }
.footer-logo-center { text-align: center; margin-bottom: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 2rem; margin-bottom: 4rem; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: .75rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.5); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .75rem; }
.footer-links a { color: var(--text-secondary); font-weight: 500; font-size: .9rem; transition: .2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-socials { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.social-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--glass); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text-secondary); transition: .3s; border: 1px solid var(--border); }
.social-icon:hover { background: rgba(0,200,200,.1); color: var(--accent); border-color: rgba(0,200,200,.3); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-weight: 500; color: var(--text-secondary); transition: .2s; }
.footer-legal a:hover { color: var(--text-primary); }

/* ── Modals / Auth ──────────────────────────────────────── */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.9); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: .3s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.auth-card { background: var(--bg-secondary); border: 1px solid var(--border-hover); width: 100%; max-width: 420px; padding: 3rem 2.5rem; border-radius: var(--radius-xl); position: relative; box-shadow: 0 0 60px rgba(0,0,0,.8); }
.auth-form { display: none; text-align: center; }
.auth-form.active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── Misc ───────────────────────────────────────────────── */
.notification { position: fixed; top: 20px; right: 20px; padding: 1rem 1.5rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem; animation: slideIn .3s ease; z-index: 99999; max-width: 350px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.notification.error, .notification.warning { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; }
@keyframes slideIn { from { transform: translateX(400px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(400px); opacity: 0; } }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; background: var(--glass); border: 1px solid var(--border); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .3s; }
.theme-toggle:hover { background: var(--border); color: var(--text-primary); transform: rotate(15deg); }
.user-dropdown { position: absolute; top: 120%; right: 0; background: var(--bg-secondary); border: 1px solid var(--border-hover); border-radius: var(--radius-md); width: 180px; display: none; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,.5); overflow: hidden; z-index: 1000; }
.user-dropdown.active { display: flex; animation: fadeIn .2s ease; }
.user-dropdown a { padding: 1rem; color: white; font-size: .9rem; border-bottom: 1px solid var(--border); transition: .2s; display: flex; align-items: center; gap: 10px; }
.user-dropdown a:last-child { border-bottom: none; }
.user-dropdown a:hover { background: var(--glass); }
.back-to-home { color: var(--text-secondary) !important; font-weight: 500 !important; transition: .2s; }
.back-to-home:hover { color: white !important; }

/* Text gradient */
.text-gradient-hearo { background: linear-gradient(90deg,#00E5FF,#00C8C8 50%,#00A8A8); background-size: 200% auto; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shine 4s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width:1024px) { .hero-logo-img { width: 300px; height: 300px; } }
@media (max-width:900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.premium { transform: none; }
  .pricing-card.premium:hover { transform: translateY(-8px); }
  .stats-grid { grid-template-columns: repeat(2,1fr); padding: 2rem; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .hero-subtext { margin: 1.5rem auto 2rem; }
  .btn-group { justify-content: center; }
  .hero-badge { justify-content: center; }
  .hero-logo-img { width: 220px; height: 220px; }
}
@media (max-width:768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-mobile-toggle { display: block; }
  .section-padding { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}
@media (max-width:480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; padding: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-logo-img { width: 180px; height: 180px; }
}
