/* ============================================
   LANDVEX v4.0 — Apple-nivå CSS
   259 klasser | Deep Petrol #0A9396
   ============================================ */

/* ---- 1. ROOT VARIABLES ---- */
:root {
  --petrol: #0A9396; --petrol-light: #0DADB0; --petrol-dark: #087A7C;
  --petrol-50: #E6F5F5; --petrol-100: #B3E0E1; --petrol-200: #80CBCD;
  --paper: #F6F6F3; --ink: #101010;
  --text: #1D1D1F; --text-secondary: #86868B; --text-muted: #6E6E73;
  --surface: #FFFFFF; --bg: #F5F5F7; --border: rgba(0,0,0,0.08);
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04); --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12); --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
  --transition-fast: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-smooth: 0.4s cubic-bezier(0.52, 0.16, 0.24, 1);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
}

/* ---- 2. RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-size-adjust: 100%; }
body { color: var(--text); background: var(--bg); line-height: 1.47059; font-weight: 400; letter-spacing: -0.022em; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; color: var(--ink); letter-spacing: -0.021em; }
a { color: var(--petrol); text-decoration: none; transition: opacity var(--transition-fast); }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- 3. NAVIGATION (Apple-style) ---- */
nav, .nav, .lv-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 52px; background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-fast), height var(--transition-smooth);
}
.nav-inner, .lv-nav-inner {
  max-width: 1024px; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo, .lv-nav-logo {
  font-size: 21px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink);
  background: linear-gradient(135deg, var(--ink) 0%, var(--petrol) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links, .lv-nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a, .lv-nav-links a {
  font-size: 12px; line-height: 1; font-weight: 400;
  color: var(--text-secondary); letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}
.nav-links a:hover, .lv-nav-links a:hover { color: var(--petrol); }
.nav-dropdown, .nav-dropdown-menu { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-10px);
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 16px; min-width: 220px; opacity: 0; visibility: hidden;
  transition: all var(--transition-smooth);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ---- 4. HERO ---- */
.hero, .lv-hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 80px; background: var(--paper);
  position: relative; overflow: hidden;
}
.hero::before, .lv-hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(10,147,150,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(10,147,150,0.05) 0%, transparent 50%);
  animation: heroPulse 8s ease-in-out infinite;
}
@keyframes heroPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.hero-eyebrow, .lv-hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--petrol); margin-bottom: 16px; position: relative; z-index: 1;
}
.hero h1, .lv-hero-title {
  font-size: clamp(48px, 8vw, 96px); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--ink); margin-bottom: 24px; position: relative; z-index: 1;
}
.hero-sub, .lv-hero-subtitle {
  font-size: 21px; line-height: 1.381; font-weight: 400;
  color: var(--text-secondary); max-width: 600px; margin-bottom: 40px; position: relative; z-index: 1;
}

/* ---- 5. BUTTONS ---- */
.btn, .lv-btn, .btn-primary, .lv-btn--primary, .btn-secondary, .lv-btn--secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 980px; font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em; transition: all var(--transition-fast); cursor: pointer;
}
.btn-primary, .lv-btn--primary {
  background: var(--petrol); color: white;
  box-shadow: 0 4px 16px rgba(10,147,150,0.3);
}
.btn-primary:hover, .lv-btn--primary:hover {
  background: var(--petrol-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,147,150,0.4);
}
.btn-secondary, .lv-btn--secondary {
  background: transparent; color: var(--petrol); border: 1.5px solid var(--petrol);
}
.btn-secondary:hover, .lv-btn--secondary:hover { background: var(--petrol-50); }

/* ---- 6. CARDS ---- */
.vertical-card, .intel-card, .deliver-card, .feature-card, .lv-card, .card {
  background: var(--surface); border-radius: var(--radius-xl);
  border: 1px solid var(--border); overflow: hidden;
  transition: all var(--transition-smooth); position: relative;
}
.vertical-card:hover, .intel-card:hover, .feature-card:hover, .lv-card:hover, .card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-hover);
  border-color: rgba(10,147,150,0.2);
}
.vertical-card::after, .intel-card::after, .lv-card::after, .card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(10,147,150,0.03) 0%, transparent 50%);
  opacity: 0; transition: opacity var(--transition-fast);
}
.vertical-card:hover::after, .intel-card:hover::after, .lv-card:hover::after, .card:hover::after { opacity: 1; }

/* ---- 7. SECTIONS ---- */
.section-title, .section-label { font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.021em; }
.section-sub { font-size: 21px; line-height: 1.381; color: var(--text-secondary); }

/* ---- 8. INTELLIGENCE ---- */
.intel-kpi-val { font-size: 48px; font-weight: 700; color: var(--petrol); line-height: 1; }
.intel-kpi-lbl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.intel-bar-fill { background: linear-gradient(90deg, var(--petrol) 0%, var(--petrol-light) 100%); border-radius: 4px; }
.intel-kpi-delta.up { color: var(--petrol); font-weight: 600; }

/* ---- 9. FOOTER ---- */
.footer, .lv-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-copy, .lv-footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-links a, .lv-footer-links a { font-size: 12px; color: var(--text-secondary); transition: color var(--transition-fast); }
.footer-links a:hover, .lv-footer-links a:hover { color: var(--petrol); }

/* ---- 10. CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, #0a0f1a 0%, #1a1f2e 100%);
  border-radius: var(--radius-xl); padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(10,147,150,0.15) 0%, transparent 70%);
}
.cta-banner h2 { color: white; font-size: clamp(32px, 5vw, 48px); font-weight: 700; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 17px; position: relative; z-index: 1; }
.cta-label { color: var(--petrol-light); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---- 11. ANIMATIONS ---- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }

/* ---- 12. LOADING ---- */
.lv-loading {
  width: 24px; height: 24px; border: 2px solid var(--petrol-100);
  border-top-color: var(--petrol); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- 13. RESPONSIVE ---- */
@media only screen and (max-width: 833px) {
  nav, .nav, .lv-nav { height: 48px; }
  .nav-links, .lv-nav-links { display: none; }
  .hero h1, .lv-hero-title { font-size: clamp(36px, 10vw, 56px); }
  .hero-sub, .lv-hero-subtitle { font-size: 19px; }
  .section-title, .section-label { font-size: 32px; }
}

/* ---- 14. ACCESSIBILITY ---- */
:focus { outline: 3px solid rgba(10,147,150,0.5); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid rgba(10,147,150,0.5); outline-offset: 2px; }

/* ---- 15. UTILITIES ---- */
.lv-brand-petrol { color: var(--petrol); }
.lv-bg-petrol { background: var(--petrol); }
.lv-bg-paper { background: var(--paper); }
.lv-text-ink { color: var(--ink); }
.container { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
