/* ============================================================
   Junbiva Creations - Main Stylesheet
   High-contrast, professional design - no translucent text
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --color-navy: #0b1622;
  --color-navy-light: #132033;
  --color-blue: #1d4ed8;
  --color-blue-bright: #2563eb;
  --color-cyan: #0891b2;
  --color-teal: #0d9488;
  --color-white: #ffffff;
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --color-red: #dc2626;
  --color-green: #16a34a;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-slate-800);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--color-blue-bright);
  text-decoration: underline;
}

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

/* --- Navigation --- */
.navbar {
  background: var(--color-navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-decoration: none;
}
.nav-logo:hover {
  text-decoration: none;
  color: var(--color-white);
}
.nav-logo-dot {
  width: 10px;
  height: 10px;
  background: var(--color-blue-bright);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px rgba(37,99,235,0.6);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--color-slate-300);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
  border-bottom-color: var(--color-blue-bright);
  text-decoration: none;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--color-blue-bright);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-blue);
  text-decoration: none;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-slate-500);
}
.btn-outline:hover {
  border-color: var(--color-white);
  color: var(--color-white);
  text-decoration: none;
}
.btn-large {
  padding: 16px 40px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* --- Hero Section --- */
.hero {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 100px 32px 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8,145,178,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-text h1 span {
  color: var(--color-blue-bright);
}
.hero-text p {
  font-size: 1.2rem;
  color: var(--color-slate-300);
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-buttons {
  display: flex;
  gap: 16px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-graphic {
  width: 380px;
  height: 380px;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: var(--color-navy-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 2px;
  box-shadow: 0 0 80px rgba(37,99,235,0.08);
}
.hero-card {
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.hero-card-icon {
  font-size: 2rem;
}
.hero-card-label {
  color: var(--color-slate-400);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: rgba(37,99,235,0.08);
  color: var(--color-blue);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-slate-900);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--color-slate-500);
  max-width: 620px;
  margin: 0 auto;
}

/* --- Services Section --- */
.services {
  padding: 100px 32px;
  background: var(--color-slate-50);
}
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-blue-bright);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--color-slate-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--color-slate-500);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* --- Stats Section --- */
.stats {
  padding: 80px 32px;
  background: var(--color-slate-900);
  color: var(--color-white);
}
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-blue-bright);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--color-slate-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- About Section --- */
.about {
  padding: 100px 32px;
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-placeholder {
  width: 100%;
  height: 420px;
  background: var(--color-slate-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--color-slate-300);
}
.about-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.about-content p {
  color: var(--color-slate-600);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-features {
  list-style: none;
  margin-top: 20px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--color-slate-700);
  font-weight: 500;
  border-bottom: 1px solid var(--color-slate-100);
}
.about-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-blue-bright);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- CTA Section --- */
.cta {
  padding: 100px 32px;
  background: var(--color-navy);
  color: var(--color-white);
}
.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-text h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.cta-text p {
  font-size: 1.1rem;
  color: var(--color-slate-300);
  line-height: 1.75;
  margin-bottom: 28px;
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-slate-600);
  border-radius: var(--radius-sm);
  background: var(--color-slate-800);
  color: var(--color-white);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}
.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--color-blue-bright);
}
.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: var(--color-slate-500);
}
.cta-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Contact Info --- */
.contact-info {
  display: flex;
  gap: 32px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-slate-300);
  font-size: 0.95rem;
}
.contact-dot {
  width: 10px;
  height: 10px;
  background: var(--color-blue-bright);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Footer --- */
.footer {
  background: var(--color-slate-900);
  color: var(--color-slate-400);
  padding: 60px 32px 32px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-slate-700);
}
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: var(--color-slate-400);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--color-white);
  text-decoration: none;
}
.footer-brand p {
  color: var(--color-slate-400);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 12px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-bottom-links a {
  color: var(--color-slate-400);
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* ============================================================
   Privacy & Terms Pages
   ============================================================ */
.page-legal {
  padding: 80px 32px;
  background: var(--color-white);
}
.page-legal-inner {
  max-width: 840px;
  margin: 0 auto;
}
.page-legal-inner h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.page-legal-inner .legal-date {
  color: var(--color-slate-400);
  font-size: 0.95rem;
  margin-bottom: 40px;
}
.page-legal-inner h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-slate-100);
}
.page-legal-inner h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-slate-700);
  margin-top: 24px;
  margin-bottom: 10px;
}
.page-legal-inner p,
.page-legal-inner li {
  color: var(--color-slate-600);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 14px;
}
.page-legal-inner ul,
.page-legal-inner ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
.page-legal-inner ul li,
.page-legal-inner ol li {
  margin-bottom: 8px;
}
.page-legal-inner strong {
  color: var(--color-slate-800);
}
.page-legal-toc {
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.page-legal-toc h2 {
  margin-top: 0;
  margin-bottom: 14px;
  border: none;
  font-size: 1rem;
}
.page-legal-toc ol {
  margin-bottom: 0;
}
.page-legal-toc a {
  color: var(--color-slate-600);
}
.page-legal-toc a:hover {
  color: var(--color-blue);
}

/* ============================================================
   404 Page
   ============================================================ */
.page-404 {
  min-height: 100vh;
  background: var(--color-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.page-404::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-404-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.error-code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-blue-bright);
  margin-bottom: 8px;
  letter-spacing: -4px;
  text-shadow: 0 0 60px rgba(37,99,235,0.2);
}
.page-404-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.page-404-content p {
  color: var(--color-slate-400);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.error-divider {
  width: 60px;
  height: 4px;
  background: var(--color-blue-bright);
  margin: 0 auto 28px;
  border-radius: 2px;
}
.error-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .hero-text h1 { font-size: 2.6rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-text h1 { font-size: 2rem; }
  .hero { padding: 60px 20px 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section-header h2 { font-size: 1.8rem; }
  .page-legal-inner h1 { font-size: 2rem; }
  .contact-info { flex-direction: column; gap: 12px; }
}
