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

:root {
  --bg: #fafafa;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --accent: #0f172a;
  --accent-light: #334155;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.04);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1140px;
}

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

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;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.navbar-logo img {
  height: 32px;
  width: auto;
}

.navbar-logo .logo-text {
  display: inline;
}

.navbar-logo .vo {
  font-weight: 700;
}

.navbar-logo .lab {
  font-weight: 400;
}

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

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 450;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: var(--transition);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

/* Mobile menu */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  width: 22px;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border);
}

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

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ===== HERO ===== */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15,23,42,0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #0f172a, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone {
  width: 280px;
  height: 560px;
  background: var(--accent);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 20px 60px rgba(15,23,42,0.15);
  position: relative;
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 26px;
  padding: 20px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.phone-header .caller {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.phone-header .name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.phone-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.phone-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  animation: msg-appear 0.4s ease forwards;
}

.phone-msg.agent {
  background: var(--border-light);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.phone-msg.user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.phone-msg:nth-child(1) { animation-delay: 0.5s; }
.phone-msg:nth-child(2) { animation-delay: 1.5s; }
.phone-msg:nth-child(3) { animation-delay: 2.5s; }
.phone-msg:nth-child(4) { animation-delay: 3.5s; }
.phone-msg:nth-child(5) { animation-delay: 4.5s; }

@keyframes msg-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 560px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9rem;
}

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

.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.sector-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.sector-card h3 {
  margin-bottom: 10px;
}

.sector-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex: 1;
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sector-tag {
  padding: 4px 12px;
  background: var(--border-light);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.sector-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  transition: var(--transition);
}

.sector-link:hover {
  gap: 10px;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -20px;
  width: 40px;
  height: 1px;
  background: var(--border);
}

.step:last-child::after {
  display: none;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
}

/* ===== TRUST / COMPLIANCE ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.trust-item h4 {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.trust-item p {
  font-size: 0.8rem;
}

/* ===== CTA ===== */
.cta {
  background: var(--accent);
  padding: 80px 0;
}

.cta h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

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

.cta .btn-primary:hover {
  background: rgba(255,255,255,0.9);
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

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

.footer-brand p {
  font-size: 0.85rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--text);
}

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

.footer-bottom p {
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--text);
}

/* ===== SECTOR PAGE HERO ===== */
.sector-hero {
  padding: 140px 0 80px;
  position: relative;
}

.sector-hero .container {
  max-width: 720px;
}

.sector-hero .hero-badge {
  margin-bottom: 20px;
}

.sector-hero h1 {
  margin-bottom: 20px;
}

.sector-hero p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* Sector features list */
.sector-features {
  padding: 80px 0;
}

.sector-feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
}

.sector-feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.sector-feature-row:last-child {
  margin-bottom: 0;
}

.sector-feature-text {
  flex: 1;
}

.sector-feature-text h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.sector-feature-text p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.sector-feature-visual {
  flex: 1;
  background: var(--border-light);
  border-radius: var(--radius);
  padding: 40px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-list {
  list-style: none;
  margin-top: 16px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: '\2713';
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero p {
    margin: 0 auto 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-phone {
    width: 240px;
    height: 480px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    gap: 32px;
  }

  .step::after {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sector-feature-row,
  .sector-feature-row:nth-child(even) {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(250,250,250,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }
}
