/* ========================================
   Foggy Ventures — Landing Page Styles
   ======================================== */

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

:root {
  --color-bg: #0b0f1a;
  --color-surface: #111827;
  --color-surface-hover: #1a2235;
  --color-border: #1e293b;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-accent: #3b82f6;
  --color-accent-hover: #60a5fa;
  --color-white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-fog {
  color: var(--color-white);
}

.logo-ven {
  color: var(--color-accent);
}

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

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

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

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-accent), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

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

.btn-secondary:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-text-muted);
}

.linkedin-icon {
  flex-shrink: 0;
}

/* ---- Section Titles ---- */

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ---- Products ---- */

.products {
  padding: 100px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--transition);
}

.product-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: var(--color-surface-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.product-card.flagship {
  border-color: rgba(59, 130, 246, 0.2);
  background: linear-gradient(160deg, var(--color-surface) 0%, rgba(59, 130, 246, 0.04) 100%);
}

.product-card.flagship:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-accent-hover);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.product-tagline {
  font-size: 0.9rem;
  color: var(--color-accent-hover);
  font-weight: 500;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 16px;
}

.product-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: color var(--transition);
}

.product-card:hover .product-link {
  color: var(--color-accent-hover);
}

/* ---- About ---- */

.about {
  padding: 100px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-text strong {
  color: var(--color-white);
}

.about-text .btn {
  margin-top: 8px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 8px;
}

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

/* ---- Contact ---- */

.contact {
  padding: 100px 0;
  text-align: center;
}

.contact-inner {
  max-width: 520px;
  margin: 0 auto;
}

.contact p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ---- Footer ---- */

.footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

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

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-top: 6px;
}

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

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

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

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 15, 26, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: 8px 0;
  }

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

  .nav-links a {
    display: block;
    padding: 14px 24px;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: 70vh;
  }

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

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

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

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

/* ---- Animations ---- */

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

.hero-content {
  animation: fadeUp 0.7s ease-out;
}

.product-card {
  opacity: 0;
  animation: fadeUp 0.5s ease-out forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
