/* ═══════════════════════════════
   Codewise — AI Business Theme
   Black & Gold
   ═══════════════════════════════ */

:root {
  --bg: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-hover: #1c1c1c;
  --text: #f0f0f0;
  --text-muted: #888888;
  --gold: #d4a843;
  --gold-light: #e8c96a;
  --gold-dark: #b8922e;
  --gold-glow: rgba(212, 168, 67, 0.15);
  --gold-border: rgba(212, 168, 67, 0.12);
  --border: #2a2a2a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #000;
}
.logo-text { letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  border: none; transition: all var(--transition); white-space: nowrap;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000; box-shadow: 0 2px 20px var(--gold-glow);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px); box-shadow: 0 4px 30px var(--gold-glow);
}
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }

/* ── BADGE ── */
.badge-gold {
  display: inline-block; padding: 6px 16px;
  background: rgba(212,168,67,0.08); border: 1px solid var(--gold-border);
  border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  color: var(--gold); margin-bottom: 16px; letter-spacing: 0.03em;
}

/* ── HERO ── */
.hero { position: relative; padding: 150px 0 100px; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,168,67,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,67,0.03) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.hero-gold-glow {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
  top: -10%; right: -5%; pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; background: var(--bg-card);
  border: 1px solid var(--gold-border); border-radius: 100px;
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px;
}
.gold-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px var(--gold-glow);
  animation: pulse-gold 2s infinite;
}
@keyframes pulse-gold { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero-content h1 {
  font-size: 3.4rem; font-weight: 800;
  line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 20px;
}
.gold-text { color: var(--gold); }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 500px; margin-bottom: 36px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 40px; }
.hs-item { display: flex; flex-direction: column; }
.hs-item strong { font-size: 1.4rem; font-weight: 800; color: var(--gold); }
.hs-item span { font-size: 0.8rem; color: var(--text-muted); }

/* ── AI PREVIEW ── */
.hero-visual { display: flex; justify-content: center; }
.ai-preview {
  width: 100%; max-width: 420px;
  background: var(--bg-card); border: 1px solid var(--gold-border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.ai-preview-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red{background:#ff5f57} .dot.yellow{background:#febc2e} .dot.green{background:#28c840}
.ai-filename { margin-left: auto; font-size: 0.75rem; color: var(--text-muted); }
.ai-preview-body { padding: 24px; }
.ai-brain {
  position: relative; width: 120px; height: 120px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
}
.brain-core { font-size: 3rem; z-index: 2; }
.brain-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--gold-border);
  animation: brain-ring-pulse 3s ease-in-out infinite;
}
.brain-ring.r1 { width: 80px; height: 80px; animation-delay: 0s; }
.brain-ring.r2 { width: 100px; height: 100px; animation-delay: 0.5s; }
.brain-ring.r3 { width: 120px; height: 120px; animation-delay: 1s; }
@keyframes brain-ring-pulse {
  0%,100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}
.ai-features-mini { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.afm-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  background: var(--bg-secondary); border: 1px solid var(--border);
  transition: all var(--transition);
}
.afm-item.active { border-color: var(--gold); background: rgba(212,168,67,0.06); }
.afm-icon { font-size: 1.1rem; }
.afm-text { font-size: 0.85rem; color: var(--text-muted); }
.afm-item.active .afm-text { color: var(--gold); }
.ai-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: var(--text-muted);
  padding: 8px 12px; background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}
.status-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; animation: pulse-gold 1.5s infinite;
}

/* ── SECTIONS ── */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-header h2 {
  font-size: 2.5rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ── PRODUCTS ── */
.products { background: var(--bg-secondary); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all var(--transition);
}
.product-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.product-card.featured { border-color: var(--gold); }
.pc-featured-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--gold); color: #000;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700;
}
.pc-image {
  height: 180px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.pc-placeholder-icon { font-size: 3rem; }
.pc-price-tag {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.7); color: var(--gold);
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 700;
  border: 1px solid var(--gold-border);
}
.pc-body { padding: 24px; }
.pc-body h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.pc-body p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }

/* ── SERVICES ── */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  padding: 32px 24px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all var(--transition); position: relative;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.service-card.featured { border-color: var(--gold); }
.service-featured-tag {
  position: absolute; top: -12px; right: 16px;
  background: var(--gold); color: #000;
  padding: 4px 14px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700;
}
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--gold-glow); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.service-price {
  font-size: 0.9rem; font-weight: 700; color: var(--gold);
  padding-top: 12px; border-top: 1px solid var(--border);
}

/* ── PRICING ── */
.pricing { background: var(--bg-secondary); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card {
  padding: 36px 32px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; position: relative; transition: all var(--transition);
}
.price-card:hover { transform: translateY(-4px); }
.price-card.popular { border-color: var(--gold); box-shadow: 0 8px 40px rgba(212,168,67,0.08); transform: scale(1.02); }
.price-card.popular:hover { transform: scale(1.02) translateY(-4px); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #000;
  padding: 4px 18px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700;
}
.pc-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.pc-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.pc-price { font-size: 2.5rem; font-weight: 800; color: var(--gold); margin-bottom: 24px; }
.pc-price .currency { font-size: 1.3rem; vertical-align: super; }
.pc-price .period { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.pc-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pc-features li { padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.pc-features li:last-child { border-bottom: none; }
.pricing-note { text-align: center; margin-top: 40px; color: var(--text-muted); font-size: 0.95rem; }
.pricing-note a { color: var(--gold); font-weight: 600; }

/* ── ABOUT ── */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.about-content > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; line-height: 1.7; }
.about-values { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.av-item { display: flex; gap: 16px; }
.av-icon { font-size: 1.5rem; flex-shrink: 0; }
.av-item strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.av-item span { font-size: 0.85rem; color: var(--text-muted);line-height: 1.5; }
.about-visual { display: flex; justify-content: center; }
.about-stats-card {
  background: var(--bg-card); border: 1px solid var(--gold-border);
  border-radius: var(--radius); padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  width: 100%; max-width: 420px;
}
.asc-item { text-align: center; }
.asc-num { font-size: 2rem; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.asc-label { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--bg-secondary); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  padding: 32px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all var(--transition);
}
.testimonial-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card > p {
  font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px;
  color: var(--text-muted); font-style: italic;
}
.author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; color: #000;
}
.author strong { display: block; font-size: 0.9rem; }
.author span { font-size: 0.8rem; color: var(--text-muted); }

/* ── CONTACT ── */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.cd-item { display: flex; align-items: flex-start; gap: 14px; }
.cd-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.cd-item strong { display: block; font-size: 0.9rem; }
.cd-item span { font-size: 0.85rem; color: var(--text-muted); }
.contact-social { display: flex; gap: 12px; flex-wrap: wrap; }
.cs-link {
  padding: 6px 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.8rem; color: var(--text-muted);
  transition: all var(--transition);
}
.cs-link:hover { border-color: var(--gold); color: var(--gold); }
.contact-form-wrap {
  padding: 40px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; background: var(--bg-secondary);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.9rem; outline: none;
  transition: border-color var(--transition); font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; }

/* ── FOOTER ── */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border); background: var(--bg-secondary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }
.footer-col h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.85rem; padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .hero-content h1 { font-size: 2.8rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.popular { transform: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats-card { max-width: 100%; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: var(--bg-card);
    border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 16px;
  }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .contact-form-wrap { padding: 24px; }
  .about-stats-card { grid-template-columns: 1fr 1fr; padding: 24px; }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── FORM SUCCESS ── */
.form-success { text-align: center; padding: 40px 20px; }
.form-success .checkmark { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); font-size: 0.95rem; }

/* ── COMING SOON CARDS ── */
.coming-soon-card { opacity: 0.75; }
.coming-soon-card:hover { opacity: 1; }
.pc-coming-soon {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--gold); color: #000;
  padding: 4px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700;
}

/* ── EARLY ACCESS SECTION ── */
.early-access-box {
  text-align: center; padding: 60px 40px;
  background: linear-gradient(135deg, rgba(212,168,67,0.05), rgba(212,168,67,0.02));
  border: 1px solid var(--gold-border); border-radius: 20px;
  max-width: 700px; margin: 0 auto;
}
.ea-icon { font-size: 3rem; margin-bottom: 20px; }
.early-access-box h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.early-access-box > p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; max-width: 500px; margin: 0 auto 20px; }
.ea-cta-text { font-weight: 600; color: var(--text); margin-bottom: 16px; }
.ea-benefits { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.ea-benefit {
  padding: 8px 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.85rem; color: var(--text-muted);
}
