/* © 2026 Vortex Group. Alle rettigheder forbeholdt. */
/* ============================================================
   FlowAxe — Modern Dark Theme (UI/UX redesign)
   ============================================================
   Palette: dyb neutral navy + varm orange brand-accent
   Fonts:   Space Grotesk (display) + Inter (body)
   ============================================================ */

:root {
    /* ── Surfaces ── */
    --color-bg: #0B0E14;
    --color-bg-dark: #07090F;
    --color-surface: #121826;
    --color-surface-hover: #182136;
    --color-bg-card: var(--color-surface);
    --color-bg-elevated: #171F2F;

    /* ── Borders & lines ── */
    --color-border: rgba(148, 163, 184, 0.10);
    --color-border-strong: rgba(148, 163, 184, 0.20);

    /* ── Brand accent (orange) ── */
    --color-accent: #FF7A45;
    --color-accent-hover: #FF935F;
    --color-accent-soft: rgba(255, 122, 69, 0.12);
    --color-accent-glow: rgba(255, 122, 69, 0.28);
    --color-accent-2: #FFB067;

    /* ── Semantic palette ── */
    --color-gold: #F2C14E;
    --color-success: #34D399;
    --color-success-soft: rgba(52, 211, 153, 0.14);
    --color-warning: #FBBF24;
    --color-warning-soft: rgba(251, 191, 36, 0.14);
    --color-danger: #F87171;
    --color-danger-soft: rgba(248, 113, 113, 0.14);
    --color-info: #60A5FA;
    --color-info-soft: rgba(96, 165, 250, 0.14);
    --color-violet: #A78BFA;
    --color-violet-soft: rgba(167, 139, 250, 0.14);
    --color-teal: #5EEAD4;

    /* ── Text ── */
    --color-white: #F8FAFC;
    --color-text-primary: #EEF2F8;
    --color-text-secondary: #A3AEC2;
    --color-text-muted: #5F6C85;

    /* ── Status mapping (tasks) ── */
    --color-completed: var(--color-success);
    --color-in-progress: var(--color-accent);
    --color-pending: var(--color-info);
    --color-overdue: var(--color-danger);
    --color-reminder: var(--color-violet);

    /* ── Shape & depth ── */
    --border-radius: 14px;
    --border-radius-sm: 10px;
    --border-radius-xs: 8px;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.28);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 0 1px rgba(255, 122, 69, 0.28), 0 8px 32px rgba(255, 122, 69, 0.16);

    /* ── Typography ── */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1100px;
    --nav-height: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--color-accent); color: var(--color-bg-dark); }

/* Slim, mørk scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--color-bg-dark); }
::-webkit-scrollbar-thumb {
    background: #232C3E;
    border-radius: 8px;
    border: 2px solid var(--color-bg-dark);
}
::-webkit-scrollbar-thumb:hover { background: #2E3A52; }

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

/* ── NAV ──────────────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(11, 14, 20, 0.72);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 14, 20, 0.85);
    border-bottom-color: var(--color-border);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    display: flex; align-items: center; gap: 10px;
    letter-spacing: -0.02em;
}

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

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none; font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-white); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
    display: inline-block; padding: 11px 26px;
    border-radius: 999px;
    font-size: 0.9rem; font-weight: 600;
    text-decoration: none; cursor: pointer;
    transition: all 0.22s ease; border: 1px solid transparent;
    font-family: inherit; text-align: center;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #FF8F57 100%);
    color: #1A0E06;
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(255, 122, 69, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 122, 69, 0.38);
    filter: brightness(1.06);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
    border-color: var(--color-border-strong);
}
.btn-ghost:hover {
    color: var(--color-white);
    border-color: var(--color-text-muted);
    background: rgba(148, 163, 184, 0.06);
}

.btn-large { padding: 15px 34px; font-size: 1rem; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(255, 122, 69, 0.10) 0%, transparent 60%),
        radial-gradient(700px 500px at -10% 110%, rgba(96, 165, 250, 0.06) 0%, transparent 60%),
        linear-gradient(160deg, var(--color-bg) 0%, var(--color-bg-dark) 100%);
}

.hero::before {
    content: '';
    position: absolute; top: -40%; left: 50%;
    width: 900px; height: 900px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 122, 69, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 24px;
    position: relative; z-index: 1;
}

.hero-content { position: relative; }

.hero-logo { margin-bottom: 32px; }

.hero-logo img {
    height: 64px; width: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.2rem; font-weight: 700;
    line-height: 1.08; letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-accent {
    background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

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

.hero-cta { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 40px; }

.stat { text-align: center; }

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 700;
    background: linear-gradient(120deg, var(--color-accent), var(--color-accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label { font-size: 0.8rem; color: var(--color-text-secondary); margin-top: 4px; }

/* Hero visual — axe illustration */
.hero-visual {
    display: flex; align-items: center; justify-content: center;
    position: relative;
}

.axe-illustration {
    width: 240px; height: 280px;
    position: relative;
}

.axe-head {
    width: 120px; height: 100px;
    border: 3px solid var(--color-accent);
    border-radius: 50% 50% 4px 4px;
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 40px rgba(255, 122, 69, 0.28);
}

.axe-head::after {
    content: '';
    position: absolute; bottom: -2px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 15px solid var(--color-accent);
}

.axe-handle {
    width: 3px; height: 160px;
    background: linear-gradient(180deg, var(--color-text-secondary), var(--color-text-muted));
    position: absolute;
    top: 105px; left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.axe-glow {
    width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(255, 122, 69, 0.22) 0%, transparent 70%);
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.3); opacity: 1; }
}

/* ── SECTIONS ────────────────────────────────────────────── */
section { padding: 96px 0; }

.section-label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    background: linear-gradient(120deg, var(--color-accent), var(--color-accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

section h2 {
    font-family: var(--font-display);
    font-size: 2.1rem; font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 1rem;
    max-width: 560px;
    margin-bottom: 52px;
}

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

.feature-card {
    background: linear-gradient(180deg, var(--color-surface) 0%, rgba(18, 24, 38, 0.6) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 36px 32px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 122, 69, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 122, 69, 0.28);
    box-shadow: var(--shadow-lift);
    background: var(--color-surface-hover);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    font-size: 2rem; margin-bottom: 16px;
    display: inline-block;
    padding: 12px;
    background: var(--color-accent-soft);
    border-radius: var(--border-radius-sm);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    background: linear-gradient(120deg, var(--color-accent), var(--color-accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card p { color: var(--color-text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* ── HOW IT WORKS ────────────────────────────────────────── */
.how-it-works {
    background:
        radial-gradient(800px 400px at 50% 120%, rgba(255, 122, 69, 0.06) 0%, transparent 60%),
        var(--color-bg-dark);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }

.steps::before {
    content: '';
    position: absolute; top: 44px; left: 15%; right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
    opacity: 0.22;
}

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

.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    background: var(--color-bg);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700; font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 18px;
    box-shadow: 0 0 24px rgba(255, 122, 69, 0.12);
}

.step-icon { font-size: 2rem; margin-bottom: 10px; }

.step h3 {
    font-family: var(--font-display); font-size: 1rem; font-weight: 600;
    margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--color-white);
}

.step p { color: var(--color-text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* ── CTA ─────────────────────────────────────────────────── */
.cta {
    text-align: center;
    padding: 110px 0;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 50% 50%, rgba(255, 122, 69, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.cta h2 { font-size: 2.4rem; margin-bottom: 12px; position: relative; }

.cta p { color: var(--color-text-secondary); margin-bottom: 36px; position: relative; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
    background: var(--color-bg-dark);
    border-top: 1px solid var(--color-border);
    padding: 56px 0 28px;
}

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

.footer-brand img {
    height: 28px; margin-bottom: 10px;
    border-radius: 8px;
}

.footer-brand p { color: var(--color-text-secondary); font-size: 0.85rem; }

.footer-links h4 {
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--color-text-muted); margin-bottom: 14px;
}

.footer-links a {
    display: block; color: var(--color-text-secondary);
    text-decoration: none; font-size: 0.85rem; padding: 5px 0;
    transition: color 0.2s, transform 0.2s;
}
.footer-links a:hover { color: var(--color-accent); transform: translateX(3px); }

.footer-bottom { border-top: 1px solid var(--color-border);
    padding-top: 24px; text-align: center;
    color: var(--color-text-muted); font-size: 0.8rem; }

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-cta { justify-content: center; flex-wrap: wrap; }
    .hero-stats { justify-content: center; gap: 28px; }
    .hero-visual { display: none; }
    .nav-links { display: none; }
    .nav-links.open { display: flex; flex-direction: column;
        position: absolute; top: var(--nav-height); left: 0; right: 0;
        background: rgba(11, 14, 20, 0.97);
        backdrop-filter: blur(18px);
        padding: 20px;
        border-bottom: 1px solid var(--color-border); }
    .hamburger { display: flex; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    section { padding: 72px 0; }
}

.hamburger { display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px;
    background: var(--color-white); transition: 0.3s; border-radius: 2px; }
