/* QRLogbook Landing Page – Blue Theme (matches preview exactly) */
:root {
  --bg: #f7f8fa;
  --fg: #1a2332;
  --card: #ffffff;
  --muted: #6b7a8d;
  --border: #dce2e9;
  --primary: #1a2e4a;
  --primary-fg: #f0f4f8;
  --secondary: #3b82f6;
  --secondary-fg: #ffffff;
  --accent: #3b82f6;
  --accent-fg: #ffffff;
  --radius: 0.75rem;
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  line-height: 1.2;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.5rem;
}
.navbar-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.navbar-links a {
  text-decoration: none; color: var(--muted);
  padding: 0.5rem 0.75rem; border-radius: 6px;
  font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--fg); }
.navbar-actions { display: flex; align-items: center; gap: 0.5rem; }

.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--fg); }
.logo-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary); color: var(--primary-fg);
}
.logo-icon-sm { width: 32px; height: 32px; }
.logo-text { font-size: 1.25rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; border-radius: 0.75rem; }
.btn-outline {
  background: transparent; border: 1px solid var(--border); color: var(--fg);
}
.btn-outline:hover { background: var(--bg); }
.btn-accent {
  background: var(--accent); color: var(--accent-fg);
  box-shadow: 0 4px 14px rgba(59,130,246,0.25);
}
.btn-accent:hover { opacity: 0.9; box-shadow: 0 6px 20px rgba(59,130,246,0.3); }
.btn-hero-outline {
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.05); }
.btn-primary-sm {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: var(--primary-fg);
  padding: 0.5rem 1.25rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
  transition: opacity 0.2s;
}
.btn-primary-sm:hover { opacity: 0.9; }

.lang-toggle {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 0.75rem; border-radius: 6px;
  background: transparent; border: none; cursor: pointer;
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  transition: color 0.2s;
}
.lang-toggle:hover { color: var(--fg); }

/* HERO */
.hero {
  position: relative; overflow: hidden;
  padding: 7rem 0 5rem;
  text-align: center;
  min-height: 600px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    hsla(215, 70%, 12%, 0.85),
    hsla(215, 70%, 15%, 0.80),
    hsla(215, 70%, 18%, 0.90)
  );
}

.hero-content { position: relative; max-width: 800px; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8); font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #93bbfc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.125rem; color: rgba(255,255,255,0.75);
  max-width: 640px; margin: 0 auto 2rem; line-height: 1.7;
}

.hero-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hero-stat {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 500;
}
.hero-stat svg { color: var(--accent); }

/* SECTIONS */
.section { padding: 5rem 0; }
.section-alt { background: rgba(210,220,230,0.15); }

.section-title {
  text-align: center; font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700; margin-bottom: 1rem; color: var(--fg);
}
.section-title.text-left { text-align: left; }
.section-desc {
  text-align: center; color: var(--muted); max-width: 600px;
  margin: 0 auto 3rem; font-size: 1rem;
}

/* GRID */
.grid { display: grid; gap: 1.5rem; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* CARDS */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 1rem; padding: 1.5rem;
  transition: all 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.card-icon-box {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(59,130,246,0.1);
  color: var(--accent);
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.card ul { list-style: none; }
.card li {
  position: relative; padding-left: 1rem; margin-bottom: 0.5rem;
  font-size: 0.875rem; color: var(--muted);
}
.card li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* SERVICE CARDS with images */
.card-service { padding: 0; overflow: hidden; border-radius: 1rem; }
.card-image { height: 12rem; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card-service:hover .card-image img { transform: scale(1.05); }
.card-body { padding: 2rem; }
.service-icon-box {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 1rem;
  background: var(--primary); color: var(--primary-fg);
  margin-bottom: 1.25rem;
}

/* CAPABILITY CARDS */
.card-capability { padding: 1.5rem; }
.card-capability h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.card-capability p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* IMAGE GALLERY */
.image-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mt-gallery { margin-top: 3.5rem; }
.gallery-img { border-radius: 1rem; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.gallery-img img { width: 100%; height: auto; object-fit: cover; }

/* FEATURES */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem; max-width: 900px; margin: 0 auto;
}
.feature-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--card);
  transition: background 0.2s; font-size: 0.875rem; font-weight: 500;
}
.feature-item:hover { background: rgba(210,220,230,0.2); }
.feature-icon-box {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: rgba(59,130,246,0.1); color: var(--accent);
}

/* PILLS */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; max-width: 800px; margin: 0 auto; }
.pill {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.5rem; border-radius: 9999px;
  border: 1px solid var(--border); background: var(--card);
  font-size: 0.875rem; font-weight: 500;
}
.pill svg { color: var(--accent); }

/* BRANDING */
.branding-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  align-items: center; max-width: 1000px; margin: 0 auto;
}
.branding-image { border-radius: 1.5rem; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.branding-image img { width: 100%; height: auto; object-fit: cover; }
.branding-desc { color: var(--muted); margin-bottom: 2rem; }
.branding-grid { display: grid; gap: 0.75rem; }
.branding-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.25rem; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(210,220,230,0.2);
  font-size: 0.875rem; font-weight: 500;
}
.branding-item svg { color: var(--accent); flex-shrink: 0; }

/* PRICING */
.pricing-grid { max-width: 900px; margin: 0 auto 2.5rem; }
.card-pricing { text-align: center; padding: 2rem; }
.pricing-icon-box {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 1rem;
  background: rgba(26,46,74,0.1); color: var(--primary);
  margin: 0 auto 1rem;
}
.card-pricing h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.price { margin-bottom: 0.5rem; }
.price { font-size: 2.5rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: var(--fg); }
.price span { font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.card-pricing p { font-size: 0.875rem; color: var(--muted); }

.discount-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.discount-card { border-radius: 1rem; padding: 1.5rem; text-align: center; }
.discount-blue { border: 1px solid rgba(59,130,246,0.3); background: rgba(59,130,246,0.05); }
.discount-navy { border: 1px solid rgba(26,46,74,0.3); background: rgba(26,46,74,0.05); }
.discount-big { font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; font-family: 'Space Grotesk', sans-serif; }
.discount-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.discount-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.discount-card p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 640px; margin: 0 auto; }
.contact-card { padding: 1.5rem; }
.contact-icon-box {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(26,46,74,0.1); color: var(--primary);
  margin-bottom: 0.75rem;
}
.contact-label { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.25rem; }
.contact-value { font-weight: 600; color: var(--fg); text-decoration: none; }
.contact-link:hover { color: var(--primary); }

/* CTA */
.cta-section { text-align: center; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border); background: var(--card); padding: 2.5rem 0;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.footer-copy { font-size: 0.875rem; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-stats { grid-template-columns: 1fr; }
  .navbar-links { display: none; }
  .navbar-actions { gap: 0.25rem; }
  .btn { font-size: 0.8rem; padding: 0.4rem 0.75rem; }
  .branding-row { grid-template-columns: 1fr; }
  .image-gallery { grid-template-columns: 1fr; }
  .discount-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
}

/* ANIMATION */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.section { animation: fadeInUp 0.6s ease-out; }
