/* topriv.com - Light Corporate Theme */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --accent: #e53e3e;
  --accent-light: #fee2e2;
  --accent-dark: #c53030;
  --green: #16a34a;
  --green-light: #dcfce7;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --max-w: 1120px;
}

html { scroll-behavior: smooth }

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

a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
svg:not([fill]) { fill: none; stroke-linecap: round; stroke-linejoin: round }

/* --- HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.logo span { color: var(--accent) }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text) }
.nav-links a.active { color: var(--accent) }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--accent-dark) }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* --- HERO --- */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badge span { color: var(--accent); font-weight: 600 }

.hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary { background: var(--accent); color: #fff }
.btn-primary:hover { background: var(--accent-dark) }

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--text-tertiary); background: var(--bg-alt) }

/* --- SECTIONS --- */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}

.section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-center { text-align: center }
.section-center .section-subtitle { margin: 0 auto }

.section-alt { background: var(--bg-alt) }

.section-alt .section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}

/* --- CARDS --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-static:hover {
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}

/* --- PRODUCT CARD --- */
.product-card { display: block; padding: 40px }

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-name { font-size: 24px; font-weight: 700 }
.product-name span { color: var(--accent) }

.badge-live {
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-soon {
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 600;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-stats { display: flex; gap: 28px; flex-wrap: wrap }
.stat { font-size: 14px; color: var(--text-secondary) }
.stat strong { color: var(--text); font-weight: 700 }

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

/* --- SVG ICON --- */
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.icon-box {
  color: var(--accent);
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 8px }
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6 }

/* --- STATS BAR --- */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.stats-bar .stat-item { text-align: center }

.stats-bar .stat-number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  line-height: 1;
}

.stats-bar .stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* --- CTA BANNER --- */
.cta-banner {
  max-width: var(--max-w);
  margin: 0 auto 80px;
  padding: 0 24px;
}

.cta-inner {
  background: var(--text);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
}

.cta-inner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta-inner p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  font-size: 16px;
}

.btn-white {
  background: #fff;
  color: var(--text);
  padding: 12px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.btn-white:hover { opacity: 0.9 }

/* --- TWO COL FEATURE --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-text h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.two-col-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.two-col-visual {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.mini-list { list-style: none }

.mini-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mini-list li:last-child { border-bottom: none }

.mini-list .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.mini-list .check {
  color: var(--green);
}

.mini-list .check svg {
  width: 12px;
  height: 12px;
}

/* --- BLOG CARDS --- */
.blog-card { padding: 28px }

.blog-card .blog-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.blog-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.4 }
.blog-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6 }
.blog-card .blog-meta { margin-top: 16px; font-size: 13px; color: var(--text-tertiary) }

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

.contact-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px }

.contact-info p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.contact-item:last-child { border-bottom: none }

.contact-item .ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .ci-icon {
  color: var(--accent);
}

.contact-item .ci-icon svg {
  width: 18px;
  height: 18px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent) }
.contact-form textarea { resize: vertical; min-height: 120px }

/* --- PAGE HEADER --- */
.page-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- CONTENT --- */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px;
}

.content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
  letter-spacing: -0.5px;
}

.content h2:first-child { margin-top: 0 }

.content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content ul {
  margin: 0 0 16px 20px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- TIMELINE --- */
.timeline { max-width: 700px }

.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  position: relative;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-content h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px }
.timeline-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.6 }

/* --- FOOTER --- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 12px }

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none }
.footer-col li { margin-bottom: 10px }
.footer-col a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s }
.footer-col a:hover { color: var(--accent) }
.footer-col svg[fill="currentColor"] { fill: currentColor !important; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 13px; color: var(--text-tertiary) }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 4px; z-index: 999; box-shadow: var(--shadow-lg) }
  .nav-links.open { display: flex }
  .nav-links a { padding: 10px 0; font-size: 15px }
  .mobile-menu-btn { display: block }
  .site-header .header-inner { position: relative }
  .hero { padding: 60px 24px 40px }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr 1fr }
  .contact-grid { grid-template-columns: 1fr }
  .two-col { grid-template-columns: 1fr; gap: 32px }
  .stats-bar { flex-wrap: wrap; gap: 24px }
  .product-stats { gap: 16px }
  .cta-inner { padding: 40px 24px }
  .cta-inner h2 { font-size: 24px }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center }
}
