/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0D1117;
  --charcoal: #161B22;
  --card: #1C2128;
  --gold: #C9A84C;
  --gold-light: #D4AF37;
  --cream: #F5F0E8;
  --cream-dim: #B8B0A4;
  --border: rgba(201,168,76,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section { padding: 80px 0; }

/* === NAV === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

nav .logo img { height: 48px; width: auto; }

nav .nav-links { display: flex; gap: 32px; align-items: center; }

nav .nav-links a {
  color: var(--cream-dim);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

nav .nav-links a:hover,
nav .nav-links a.active { color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--cream); margin: 5px 0; transition: 0.3s;
}

/* === HERO === */
.hero {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding-top: 120px;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 60%);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 20px;
}

.hero h1 span { color: var(--gold); }

.hero .hero-proof {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero .tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--cream-dim);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero .hero-logo {
  width: 280px;
  margin: 0 auto 48px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  background: var(--gold);
  color: var(--navy);
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--cream-dim);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.gold-rule {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 16px auto;
}

/* === PARTNERS ROW === */
.partners-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner {
  text-align: center;
  padding: 24px 32px;
  min-width: 180px;
}

.partner-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.partner-desc {
  font-size: 0.8rem;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 32px;
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card .tech-benefit {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === STEPS (How It Works) === */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  text-align: center;
}

.step {
  position: relative;
  padding: 32px 24px;
}

.step-number {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.step p {
  color: var(--cream-dim);
  font-size: 0.9rem;
}

/* === RIGHTS TYPES === */
.rights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.rights-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s;
}

.rights-item:hover { border-color: var(--gold); }

.rights-item h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 8px;
}

.rights-item p {
  color: var(--cream-dim);
  font-size: 0.85rem;
}

/* === FEATURED TITLES === */
.titles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.title-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.title-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.title-card .title-header {
  padding: 32px 28px 20px;
  border-bottom: 1px solid var(--border);
}

.title-card h3 {
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 4px;
}

.title-card .genre {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.title-card .title-details {
  padding: 20px 28px 28px;
}

.title-card .meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.title-card .meta-item {
  text-align: center;
}

.title-card .meta-label {
  display: block;
  font-size: 0.7rem;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.title-card .meta-value {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 700;
}

.title-card .description {
  color: var(--cream-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === ABOUT / CTA === */
.about-section { background: var(--charcoal); }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content p {
  color: var(--cream-dim);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.about-content .highlight {
  color: var(--gold);
  font-weight: 600;
}

.about-details {
  border-left: 2px solid var(--gold);
  padding-left: 28px;
}

.about-details .detail-item {
  margin-bottom: 20px;
}

.about-details .detail-label {
  font-size: 0.75rem;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.about-details .detail-value {
  color: var(--cream);
  font-size: 1rem;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.06) 0%, transparent 60%);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.cta-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.3s;
}

.cta-card:hover { border-color: var(--gold); }

.cta-card h3 {
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.cta-card p {
  color: var(--cream-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 12px;
}

.cta-contact {
  margin-top: 8px;
}

.cta-contact p {
  color: var(--cream-dim);
  font-size: 0.9rem;
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}

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

footer .footer-links {
  display: flex;
  gap: 24px;
}

footer .footer-links a {
  color: var(--cream-dim);
  font-size: 0.85rem;
}

footer .copyright {
  color: var(--cream-dim);
  font-size: 0.85rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  section { padding: 60px 0; }

  .nav-links { display: none !important; }
  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
    align-items: flex-start;
  }
  .nav-toggle { display: block; }

  .about-content { grid-template-columns: 1fr; gap: 32px; }

  .hero { min-height: 60vh; padding-top: 100px; }

  .titles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .service-card { padding: 28px 20px; }
  .hero .hero-logo { width: 200px; }
}
