@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
  --bg: #0a0a0f;
  --text: #e8e6e3;
  --text-secondary: #888;
  --text-muted: #666;
  --text-dim: #555;
  --text-faint: #444;
  --gold: #b8860b;
  --gold-light: #d4a017;
  --card-bg: rgba(255,255,255,0.03);
  --card-border: rgba(255,255,255,0.06);
  --border-subtle: rgba(255,255,255,0.03);
  --green: #5fba7d;
  --blue: #7db3ff;
  --purple: #b87bff;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 20px;
  --container: 1200px;
}

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

/* overflow-x on html, not body — body-level overflow:hidden breaks
   position:fixed on iOS Safari, hiding the mesh canvas. */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

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

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 0 40px;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 40px;
  position: relative;
  z-index: 1;
}

.page-content {
  padding-top: 64px; /* nav height */
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
  text-align: center;
  margin-bottom: 60px;
  padding-top: 40px;
}

.page-header .logo-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #b8b8b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header .subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0a0f;
}

.btn-primary:hover {
  opacity: 0.9;
  color: #0a0a0f;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s;
}

.card:hover {
  border-color: rgba(184,134,11,0.2);
}

.card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ddd;
  margin-bottom: 10px;
}

.card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   GRIDS
   ======================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ========================================
   CONCEPT BAR (reusable stat/value bar)
   ======================================== */
.concept-bar {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin: 50px 0;
  padding: 30px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  flex-wrap: wrap;
}

.concept-item { text-align: center; }

.concept-item .label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.concept-item .value {
  font-size: 15px;
  font-weight: 600;
  color: #ccc;
}

.concept-item .value span { color: var(--gold); }

/* ========================================
   FEATURE PILLS
   ======================================== */
.pill {
  font-size: 12px;
  color: #999;
  padding: 6px 14px;
  background: var(--card-bg);
  border-radius: var(--radius-pill);
  border: 1px solid var(--card-border);
  display: inline-block;
}

.pill::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: #eee;
  margin-bottom: 8px;
}

.section-title p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ========================================
   NUMBERED CARDS (how-it-works style)
   ======================================== */
.num-card .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 10px;
}

.num-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ddd;
}

.num-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   DIVIDER LINE
   ======================================== */
.divider {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 60px 0;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  text-align: center;
  margin: 60px 0;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(184,134,11,0.08) 0%, rgba(184,134,11,0.02) 100%);
  border: 1px solid rgba(184,134,11,0.15);
  border-radius: var(--radius-lg);
}

.cta-banner h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ddd;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 24px;
}

.cta-banner .highlight-text {
  color: var(--gold-light);
  font-weight: 600;
}

/* ========================================
   TABLES (for pricing)
   ======================================== */
.table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  padding: 18px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  border-bottom: 1px solid var(--card-border);
}

thead th:first-child {
  text-align: left;
  padding-left: 28px;
  color: var(--text-secondary);
}

tbody tr { transition: background 0.2s ease; }
tbody tr:hover { background: rgba(184,134,11,0.04); }
tbody tr:not(:last-child) { border-bottom: 1px solid var(--border-subtle); }

tbody td {
  padding: 16px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #ccc;
}

tbody td:first-child {
  text-align: left;
  padding-left: 28px;
  font-weight: 600;
  color: #aaa;
  font-size: 13px;
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: #1a1a22;
  color: var(--text);
}

/* ========================================
   TAGS
   ======================================== */
.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-weight: 600;
}

.tag-gold { background: rgba(184,134,11,0.15); color: var(--gold-light); }
.tag-green { background: rgba(46,139,87,0.15); color: var(--green); }
.tag-blue { background: rgba(100,149,237,0.15); color: var(--blue); }
.tag-purple { background: rgba(178,102,255,0.15); color: var(--purple); }

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 50px 40px 30px;
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

.footer-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 1px;
}

/* ========================================
   HOME PAGE
   ======================================== */
.hero {
  text-align: center;
  padding: 80px 0 40px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #b8b8b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.model-card {
  padding: 36px;
}

.model-card .model-tag {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.model-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.model-card p {
  font-size: 14px;
  margin-bottom: 20px;
}

.model-card .price-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.model-card .price-hint strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.service-section {
  margin-bottom: 60px;
}

.service-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #eee;
  margin-bottom: 8px;
}

.service-section .service-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.6;
}

.deliverable-card {
  padding: 20px;
}

.deliverable-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 6px;
}

.deliverable-card .price-range {
  font-size: 13px;
  color: var(--gold-light);
  font-weight: 500;
}

.deliverable-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.tier-card {
  padding: 32px;
  position: relative;
}

.tier-card.featured {
  border-color: rgba(184,134,11,0.3);
  background: rgba(184,134,11,0.04);
}

.tier-card .tier-name {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.tier-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.tier-card ul {
  list-style: none;
  padding: 0;
}

.tier-card ul li {
  font-size: 13px;
  color: #aaa;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.tier-card ul li:last-child { border-bottom: none; }

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  padding: 36px;
}

.contact-info-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-detail .detail-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail .detail-value {
  font-size: 15px;
  color: #ddd;
  font-weight: 500;
}

.contact-detail .detail-value a {
  color: var(--gold-light);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-text {
  font-size: 16px;
  color: #bbb;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.about-text strong {
  color: #ddd;
  font-weight: 600;
}

.company-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 30px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  margin: 40px 0;
}

.company-detail {
  text-align: center;
}

.company-detail .detail-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.company-detail .detail-value {
  font-size: 14px;
  color: #ccc;
  font-weight: 500;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .container { padding: 40px 20px; }
  .hero h1 { font-size: 38px; }
  .page-header h1 { font-size: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  table { font-size: 13px; }
  tbody td, thead th { padding: 12px 8px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .page-header h1 { font-size: 28px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .concept-bar { gap: 16px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(10,10,15,0.98);
    padding: 20px 40px;
    gap: 16px;
    border-bottom: 1px solid var(--card-border);
  }
  .nav-toggle { display: block; }
  .btn-group { flex-direction: column; align-items: center; }
}
