/*
  File: /sitejet-marketing/css/style.css
  Purpose: All marketing site styles
  Routes/Services supported: None (Static file)
  Required Environment Variables: None
*/

:root {
  --bg-dark: #0a0a0f;
  --bg-surface: #13131a;
  --gold-accent: #c9a84c;
  --gold-hover: #e0c266;
  --text-light: #e8e8e8;
  --text-muted: #888899;
  --success: #4caf7d;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { background: var(--bg-dark); color: var(--text-light); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }

/* Typography */
h1, h2, h3 { font-family: var(--font-display); color: var(--gold-accent); margin-bottom: 1rem; position: relative; display: inline-block; }
h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p { margin-bottom: 1rem; color: var(--text-muted); font-size: 1.1rem; }

/* Animated gold underline */
.gold-underline::after {
  content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px;
  background: var(--gold-accent); animation: slideUnderline 2s ease forwards;
}

@keyframes slideUnderline { to { width: 100%; } }

/* Layout Commons */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 5rem 0; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 28px; background: transparent; color: var(--gold-accent);
  border: 1px solid var(--gold-accent); text-decoration: none; font-weight: 500; font-size: 1.1rem;
  border-radius: 4px; transition: all 0.3s ease; text-align: center; cursor: pointer;
}
.btn-primary { background: var(--gold-accent); color: var(--bg-dark); }
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(201,168,76,0.2); }
.btn-outline:hover { background: rgba(201,168,76,0.1); transform: translateY(-2px); }

/* Navigation */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: all 0.3s ease;
}
nav.scrolled { background: var(--bg-surface); padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold-accent); text-decoration: none; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 1rem; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--gold-accent); }
.hamburger { display: none; background: none; border: none; color: var(--gold-accent); font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 80px;
  background-image: linear-gradient(rgba(10,10,15,0.8), rgba(10,10,15,1)), 
    repeating-linear-gradient(45deg, rgba(201,168,76,0.02) 0, rgba(201,168,76,0.02) 20px, transparent 20px, transparent 40px);
  background-size: 100% 100%, 60px 60px;
}
.hero-content { max-width: 600px; z-index: 2; position: relative; }
.hero-cta { display: flex; gap: 20px; margin-top: 2rem; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 3rem; }
.card {
  background: var(--bg-surface); border: 1px solid var(--bg-dark); border-top: 2px solid var(--gold-accent);
  border-radius: 8px; padding: 2.5rem; transition: all 0.4s ease; text-align: left;
}
.card:hover { transform: translateY(-10px); box-shadow: inset 0 0 20px rgba(201,168,76,0.05), 0 10px 30px rgba(0,0,0,0.5); }
.card-icon { color: var(--gold-accent); margin-bottom: 1.5rem; }
.card-icon svg { width: 40px; height: 40px; fill: currentColor; }

/* How It Works Stepper */
.stepper { display: flex; justify-content: space-between; gap: 20px; margin-top: 3rem; }
.step { flex: 1; padding: 2rem; background: var(--bg-surface); border-radius: 8px; position: relative; border: 1px solid rgba(255,255,255,0.05); }
.step-number { font-family: var(--font-display); font-size: 3rem; color: rgba(201,168,76,0.2); position: absolute; top: 10px; right: 20px; line-height: 1; }
.step h3 { margin-top: 1rem; color: var(--text-light); font-family: var(--font-body); font-size: 1.25rem; }

/* Style Previews */
.styles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 3rem; }
.style-card { 
  background: var(--bg-surface); padding: 1.5rem; text-align: center; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); 
  height: 120px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden;
}
.style-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 40px; opacity: 0.1;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 10px, transparent 10px, transparent 20px);
}
.style-card h4 { font-weight: 500; z-index: 1; margin-bottom: 0.5rem; }

/* Social Proof Placeholder */
.quote-card { background: var(--bg-surface); padding: 2rem; border-radius: 8px; font-style: italic; border-left: 2px solid var(--gold-accent); }

/* Pricing Sections */
.pricing-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* Footer */
footer { background: var(--bg-surface); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 5rem; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 2rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-accent); }
.social-icons a { color: var(--text-muted); opacity: 0.5; margin: 0 10px; } 

/* Form */
.form-group { margin-bottom: 1.5rem; text-align: left;}
label { display: block; margin-bottom: 0.5rem; color: var(--text-light); }
input, textarea { width: 100%; padding: 12px; background: var(--bg-dark); border: 1px solid rgba(255,255,255,0.1); color: white; border-radius: 4px; font-family: var(--font-body); }
input:focus, textarea:focus { outline: none; border-color: var(--gold-accent); }

/* Legal Sidebar Layout */
.legal-container { display: flex; gap: 40px; margin-top: 2rem; align-items: flex-start; }
.legal-toc { flex: 0 0 250px; position: sticky; top: 100px; background: var(--bg-surface); padding: 1.5rem; border-radius: 8px; }
.legal-toc ul { list-style: none; }
.legal-toc li { margin-bottom: 0.8rem; }
.legal-toc a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; }
.legal-toc a:hover { color: var(--gold-accent); }
.legal-content { flex: 1; }
.legal-section { margin-bottom: 4rem; padding-top: 60px; margin-top: -60px; /* Offset for sticky nav */ border-top: 1px solid var(--gold-accent); }
.legal-section:first-child { border-top: none; }
.back-totop { font-size: 0.85rem; color: var(--gold-accent); text-decoration: none; display: inline-block; margin-top: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .hero-cta { flex-direction: column; }
  .stepper { flex-direction: column; }
  .pricing-split { grid-template-columns: 1fr; }
  .legal-container { flex-direction: column; }
  .legal-toc { position: relative; top: 0; width: 100%; }
  
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 80%; max-width: 300px;
    background: var(--bg-surface); flex-direction: column; justify-content: center;
    transition: right 0.3s ease; box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  }
  .nav-links.active { right: 0; }
  .hamburger { display: block; z-index: 1001; }
}

@media print {
  body { background: white; color: black; }
  nav, footer, .legal-toc, .back-totop { display: none; }
  .legal-section { padding-top: 0; margin-top: 2rem; border-top: 1px solid #ccc; page-break-inside: avoid; }
  h1, h2, h3 { color: black; }
}