/* ============================================================
   CreatorHub — Company Website Styles
   ============================================================ */

:root {
  --bg: #0d0a1a;
  --bg-soft: #141027;
  --surface: #1a1533;
  --surface-2: #221c42;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f2ff;
  --text-muted: #a8a0c4;
  --text-faint: #7d7598;
  --primary: #7c5cff;
  --primary-2: #5b8cff;
  --accent: #ff5ca8;
  --accent-2: #ffb35c;
  --gradient: linear-gradient(135deg, #7c5cff 0%, #5b8cff 50%, #ff5ca8 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: var(--font);
  white-space: nowrap;
}

.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(124, 92, 255, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(124, 92, 255, 0.75);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ============ Header / Nav ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(13, 10, 26, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(124, 92, 255, 0.7);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 170px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.blob-1 {
  width: 500px; height: 500px;
  background: #7c5cff;
  top: -120px; left: -80px;
}
.blob-2 {
  width: 420px; height: 420px;
  background: #ff5ca8;
  top: 60px; right: -60px;
  opacity: 0.35;
}
.blob-3 {
  width: 360px; height: 360px;
  background: #5b8cff;
  bottom: -100px; left: 40%;
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.3);
  color: #c9b8ff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 22px 0 22px;
  letter-spacing: -1px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 48px;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  color: var(--text-faint);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============ Hero phone mockup ============ */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone {
  width: 300px;
  height: 610px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1c1740 0%, #14102c 100%);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.app-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
}
.app-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gradient);
}
.app-title {
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-display);
  flex: 1;
}
.app-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}
.app-feed {
  flex: 1;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.app-card {
  background: var(--surface-2);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.app-card-img {
  height: 110px;
}
.img-1 { background: linear-gradient(135deg, #7c5cff, #5b8cff); }
.img-2 { background: linear-gradient(135deg, #ff5ca8, #ffb35c); }
.app-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.app-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}
.w-70 { width: 70%; }
.w-60 { width: 60%; }
.w-45 { width: 45%; }
.w-40 { width: 40%; }
.app-bottombar {
  display: flex;
  justify-content: space-around;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}
.app-ico {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.15);
}
.app-ico.active {
  background: var(--gradient);
}

.float-chip {
  position: absolute;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(28, 23, 64, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}
.chip-a { top: 90px; left: -60px; animation: float 5s ease-in-out infinite; }
.chip-b { bottom: 110px; right: -70px; animation: float 5s ease-in-out infinite 1.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============ Sections ============ */
.section {
  padding: 110px 0;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.3);
  color: #c9b8ff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============ Features ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(124, 92, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============ Product ============ */
.product {
  background: var(--bg-soft);
}
.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-text h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.product-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text);
  font-weight: 500;
}
.check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.product-visual {
  display: flex;
  justify-content: center;
}
.product-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.p-card {
  width: 160px;
  height: 160px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  transition: transform 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.6);
}
.p-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.45);
}
.p-card-emoji { font-size: 2.2rem; }
.p-card-title { font-size: 0.9rem; color: var(--text-muted); }
.p-card-2 { margin-top: 20px; }
.p-card-3 { margin-top: -20px; }
.p-card-4 { margin-top: 0; }

/* ============ About ============ */
.about-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.about-text .section-tag { margin-bottom: 18px; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.about-meta {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}
.meta-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.meta-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.meta-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.meta-value {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.meta-value a { color: #9f8bff; }
.meta-value a:hover { text-decoration: underline; }

/* ============ Contact ============ */
.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, #221c42 0%, #1a1533 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px;
}
.contact-copy .section-title { margin-bottom: 16px; }
.contact-copy p { color: var(--text-muted); margin-bottom: 28px; max-width: 480px; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  font-weight: 500;
}
.contact-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-top: 70px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 260px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.footer-col a,
.footer-col span {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.footer-bottom span {
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-split { grid-template-columns: 1fr; }
  .about-card { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(13, 10, 26, 0.98);
    padding: 20px 24px;
    gap: 8px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links .nav-link {
    width: 100%;
    padding: 14px 16px;
  }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  .hero { padding: 140px 0 70px; }
  .section { padding: 70px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 14px; flex-wrap: wrap; }
  .about-card, .contact-card { padding: 34px 24px; }
  .chip-a { left: -10px; }
  .chip-b { right: -10px; }
  .product-cards { gap: 14px; }
  .p-card { width: 140px; height: 140px; }
}
