/* ============================================
   POBLE — Light Theme Design System
   Clean, modern, trust-evoking
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Light palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fc;
  --bg-tertiary: #f1f3f8;
  --bg-card: #ffffff;

  /* Accent colors — refined from logo */
  --accent-primary: #2563eb;
  --accent-primary-light: #3b82f6;
  --accent-primary-bg: rgba(37, 99, 235, 0.06);
  --accent-amber: #e8950a;
  --accent-amber-light: #f5a623;
  --accent-amber-bg: rgba(245, 166, 35, 0.08);
  --accent-gradient: linear-gradient(135deg, #2563eb, #7c3aed);

  /* Text */
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;

  /* Borders & shadows */
  --border-default: #e5e7eb;
  --border-hover: #d1d5db;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1080px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.35s var(--ease-smooth);
}

.nav.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 28px;
  width: auto;
  max-width: none;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--text-primary) !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: var(--bg-secondary);
}

/* Soft gradient blobs */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: orbFloat 16s ease-in-out infinite;
}

.hero-bg .orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
  top: -8%;
  right: 5%;
}

.hero-bg .orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.14), transparent 70%);
  bottom: -10%;
  left: -5%;
  animation-delay: -5s;
}

.hero-bg .orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.03); }
  66% { transform: translate(-15px, 10px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-logo {
  width: 260px;
  margin: 0 auto 32px;
  animation: fadeUp 0.8s var(--ease-smooth) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-primary-bg);
  border: 1px solid rgba(37, 99, 235, 0.12);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 24px;
  animation: fadeUp 0.8s var(--ease-smooth) 0.1s both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  animation: fadeUp 0.8s var(--ease-smooth) 0.2s both;
}

.hero h1 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
  animation: fadeUp 0.8s var(--ease-smooth) 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: fadeUp 0.8s var(--ease-smooth) 0.4s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-primary);
  color: #fff;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  padding: 14px 30px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: fadeUp 0.8s var(--ease-smooth) 0.6s both;
}

.scroll-indicator {
  width: 22px;
  height: 36px;
  border: 2px solid var(--border-hover);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.scroll-dot {
  width: 3px;
  height: 7px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: var(--section-padding);
  position: relative;
  background: var(--bg-primary);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* Flagship — Nakero */
.product-flagship {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.product-flagship:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.product-flagship-info {
  position: relative;
  z-index: 1;
}

.product-tag {
  display: inline-block;
  background: var(--accent-primary-bg);
  color: var(--accent-primary);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.product-flagship h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-flagship p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 24px;
  line-height: 1.8;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-features li .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-primary);
  font-size: 0.65rem;
  font-weight: 700;
}

.product-flagship-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-flagship-visual img {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* Secondary product — Domainwala */
.product-secondary {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s var(--ease-smooth);
}

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

.product-secondary-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.product-secondary-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-secondary-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-text h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
}

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

.about-text p strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s var(--ease-smooth);
}

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

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border-default);
  padding: 44px 0 28px;
  background: var(--bg-primary);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand img {
  height: 18px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.footer-company-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color 0.25s;
}

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

.footer-details {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-default);
}

.footer-address p,
.footer-legal p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-legal {
  text-align: right;
  white-space: nowrap;
}

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

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-padding: 80px 0; }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--border-default);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero {
    padding: 110px 20px 72px;
    min-height: auto;
  }

  .hero-logo { width: 180px; }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .product-flagship {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .product-flagship-visual { order: -1; }

  .product-secondary {
    flex-direction: column;
    text-align: center;
    padding: 28px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-details {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

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

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.625rem; }
  .product-flagship h3 { font-size: 1.375rem; }
  .stat-value { font-size: 1.625rem; }
  .stats-grid { grid-template-columns: 1fr; }
}
