/* ============================================================
   Florister i Sverige × N3O Vision — tenant portal
   Tema: rosa + grönt + varma toner (blommor)
   ============================================================ */

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

:root {
    --primary: #be185d;          /* Djup rosa */
    --primary-light: #ec4899;    /* Rosa */
    --primary-soft: #fbcfe8;     /* Mjuk rosa */
    --accent: #16a34a;           /* Bladgrönt */
    --accent-light: #4ade80;     /* Ljust grön */
    --gold: #f59e0b;             /* Honungsgul */
    --cream: #fef9f3;            /* Krämvit */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e5e7eb;
    --bg-light: #faf7f5;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(135deg, #fdf2f8 0%, #f0fdf4 100%);
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🌸';
    position: absolute;
    top: 20px;
    right: 5%;
    font-size: 80px;
    opacity: 0.15;
}

.hero::after {
    content: '🌿';
    position: absolute;
    bottom: 40px;
    left: 3%;
    font-size: 60px;
    opacity: 0.12;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
}

.logo-mark {
    background: var(--primary);
    color: var(--white);
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.logo-x {
    color: var(--text-light);
    font-weight: 400;
}

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

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.hero-content {
    padding: 30px 24px 0;
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(190, 24, 93, 0.1);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text);
}

.hero h1 .accent { color: var(--primary); }
.hero h1 .accent-green { color: var(--accent); }

.hero-sub {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(190, 24, 93, 0.25);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--white);
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 32px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-item span {
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 60px 0;
}

.section.bg-cream { background: var(--cream); }
.section.bg-light { background: var(--bg-light); }

.section h2 {
    font-size: 32px;
    color: var(--text);
    margin-bottom: 12px;
    text-align: center;
}

.section h2 .accent { color: var(--primary); }

.section-sub {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   MIGRATION STATUS CARDS
   ============================================================ */
.migration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.migration-card {
    background: var(--white);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.migration-card:hover {
    border-color: var(--primary-soft);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.migration-card h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-in_progress { background: #dbeafe; color: #1e40af; }
.status-complete { background: #d1fae5; color: #065f46; }
.status-planned { background: #f3f4f6; color: #4b5563; }
.status-evaluation { background: #fce7f3; color: #9d174d; }

.migration-card-meta {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 14px;
}

.migration-card-meta .arrow {
    margin: 0 6px;
    color: var(--text-muted);
}

.progress-bar {
    background: var(--border);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.migration-card-savings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.migration-card-savings .savings-amount {
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
}

/* ============================================================
   TOTAL SAVINGS HIGHLIGHT
   ============================================================ */
.savings-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 18px;
    text-align: center;
    margin: 40px 0;
}

.savings-highlight .small {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.savings-highlight .big {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 8px;
}

.savings-highlight .label {
    font-size: 16px;
    opacity: 0.9;
}

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

.feature-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card.green { border-left-color: var(--accent); }
.feature-card.gold { border-left-color: var(--gold); }
.feature-card.gray { border-left-color: var(--text-muted); opacity: 0.7; }

.feature-card .icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}

/* ============================================================
   COST COMPARISON TABLE
   ============================================================ */
.cost-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cost-table th {
    background: var(--text);
    color: var(--white);
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.cost-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.cost-table tbody tr:hover {
    background: var(--bg-light);
}

.cost-table .total-row {
    background: var(--primary-soft);
    font-weight: 700;
}

.cost-table .savings-positive {
    color: var(--accent);
    font-weight: 700;
}

.cost-table .price-old {
    text-decoration: line-through;
    color: var(--text-muted);
}

.cost-table th small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    opacity: 0.7;
    margin-top: 2px;
}

/* ============================================================
   GRADE BADGES (GEO-analys)
   ============================================================ */
.grade-a, .grade-b, .grade-c, .grade-d, .grade-f {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    min-width: 40px;
}
.grade-a { background: #d1fae5; color: #065f46; }
.grade-b { background: #fef3c7; color: #92400e; }
.grade-c { background: #fed7aa; color: #9a3412; }
.grade-d { background: #fecaca; color: #991b1b; }
.grade-f { background: #1e293b; color: #ffffff; }

/* Btn outline-variant */
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ============================================================
   STEP-BY-STEP
   ============================================================ */
.steps {
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
}

.step {
    counter-increment: step;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 16px;
    align-items: center;
    transition: all 0.2s;
}

.step:hover {
    border-color: var(--primary-soft);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.step::before {
    content: counter(step);
    background: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.step.done::before {
    background: var(--accent);
    content: "✓";
}

.step h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.step p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}

.step-time {
    color: var(--text-muted);
    font-size: 12px;
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ============================================================
   CTA / CALL OUT BOX
   ============================================================ */
.callout {
    background: var(--cream);
    border: 1px solid var(--primary-soft);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
}

.callout h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary);
}

.callout p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 32px 0;
    text-align: center;
    font-size: 13px;
}

.footer a { color: var(--primary-soft); text-decoration: none; }
.footer p { margin: 6px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .hero h1 { font-size: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .migration-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .savings-highlight .big { font-size: 42px; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 26px; }
    .section h2 { font-size: 24px; }
    .step { grid-template-columns: 40px 1fr; }
    .step-time { grid-column: 2; margin-top: 8px; }
}
