/*
Theme Name: EUD Portal Theme
Theme URI: https://eudportal.dk/
Author: EUD Portal
Description: Officielt tema til EUD Portal v8. Designet til at arbejde tæt sammen med EUD Portal Core plugin.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: eud-portal-theme
*/

/* =========================================================================
   DESIGN TOKENS
   ========================================================================= */
:root {
    --purple:       #5B4FD9;
    --purple-dark:  #4a3fc0;
    --purple-bg:    #EDE9FE;
    --purple-text:  #3730a3;
    --orange:       #E85D24;
    --green:        #059669;
    --green-bg:     #D1FAE5;
    --green-text:   #065F46;
    --amber:        #D97706;
    --amber-bg:     #FEF3C7;
    --amber-text:   #92400E;
    --red:          #DC2626;
    --red-bg:       #FEE2E2;
    --red-text:     #991B1B;
    --blue:         #2563EB;
    --blue-bg:      #DBEAFE;
    --blue-text:    #1e40af;

    --text:         #111827;
    --text-2:       #4B5563;
    --text-3:       #9CA3AF;
    --bg:           #F3F4F6;
    --surface:      #FFFFFF;
    --border:       #E5E7EB;
    --border-2:     #D1D5DB;
    --shadow:       0 1px 4px rgba(0,0,0,.07);
    --shadow-md:    0 4px 18px rgba(0,0,0,.11);

    --radius:       12px;
    --radius-sm:    8px;
    --radius-lg:    16px;
    --maxw:         1160px;
    --header-h:     60px;
    --transition:   .17s ease;
}

/* Mørkt tema */
@media (prefers-color-scheme: dark) {
    :root {
        --text:    #F9FAFB;
        --text-2:  #D1D5DB;
        --text-3:  #6B7280;
        --bg:      #111827;
        --surface: #1F2937;
        --border:  #374151;
        --border-2:#4B5563;
        --shadow:  0 1px 4px rgba(0,0,0,.3);
        --shadow-md: 0 4px 18px rgba(0,0,0,.4);
        --purple-bg: #2E2569;
        --blue-bg:   #1e3a5f;
        --green-bg:  #064e3b;
        --amber-bg:  #451a03;
        --red-bg:    #450a0a;
    }
}

/* =========================================================================
   RESET & BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
    padding-top: var(--header-h);
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); }
img { max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4 { line-height: 1.25; color: var(--text); }

/* =========================================================================
   HEADER / TOPBAR
   ========================================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: var(--purple);
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Brand */
.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-mark {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.2);
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
    color: #fff; letter-spacing: -.01em;
}

.brand-name {
    font-size: 15px; font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

/* Desktop nav */
.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.site-nav a {
    font-size: 13px; font-weight: 500;
    color: rgba(255,255,255,.82);
    padding: 6px 11px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
    background: rgba(255,255,255,.18);
    color: #fff;
}

/* Hamburger (mobil) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px; height: 18px;
    background: none; border: none; cursor: pointer; padding: 0;
    margin-left: auto;
}
.nav-hamburger span {
    display: block; height: 2px;
    background: rgba(255,255,255,.85);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* Mobil-menu */
.mobile-nav {
    display: none;
    background: var(--purple-dark);
    padding: 10px 20px 16px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
    display: block;
    color: rgba(255,255,255,.88);
    font-size: 14px; font-weight: 500;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: #fff; }

@media (max-width: 700px) {
    .site-nav { display: none; }
    .nav-hamburger { display: flex; }
    .site-header { height: auto; min-height: var(--header-h); position: sticky; }
    body { padding-top: 0; }
}

/* =========================================================================
   BRUGER-NAVIGATION (højre side af header)
   ========================================================================= */
.nav-user-area {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-login-btn {
    font-size: 13px; font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    transition: background var(--transition);
}
.nav-login-btn:hover { background: rgba(255,255,255,.28); color: #fff; }

.nav-icon-link {
    position: relative;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    text-decoration: none;
}
.nav-icon-link:hover { background: rgba(255,255,255,.15); color: #fff; }

.nav-icon-sym { display: block; line-height: 1; }

.nav-badge {
    position: absolute;
    top: 1px; right: 1px;
    background: var(--orange);
    color: #fff;
    font-size: 9px; font-weight: 800;
    min-width: 15px; height: 15px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px; line-height: 1;
}

/* Avatar dropdown */
.nav-avatar-wrap { position: relative; }

.nav-avatar {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.22);
    border: 2px solid rgba(255,255,255,.45);
    border-radius: 50%;
    color: #fff;
    font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; list-style: none;
    transition: background var(--transition);
    user-select: none;
}
.nav-avatar::-webkit-details-marker { display: none; }
.nav-avatar:hover { background: rgba(255,255,255,.32); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px); right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 210px;
    overflow: hidden;
    z-index: 200;
}

.nav-dropdown-user {
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--border);
}
.nav-dropdown-user strong { display: block; font-size: 14px; color: var(--text); }
.nav-dropdown-user span   { font-size: 12px; color: var(--text-3); }
.nav-dropdown-meta { padding: 8px 16px; font-size: 12px; color: var(--text-2); border-bottom: 1px solid var(--border); }
.nav-dropdown-sep  { height: 1px; background: var(--border); margin: 4px 0; }

.nav-dropdown-link {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-2);
    transition: background var(--transition);
}
.nav-dropdown-link:hover { background: var(--bg); color: var(--text); }
.nav-dropdown-logout { color: var(--red); }
.nav-dropdown-logout:hover { background: var(--red-bg); }

/* =========================================================================
   LAYOUT
   ========================================================================= */
.page {
    max-width: var(--maxw);
    margin: 32px auto;
    padding: 0 20px 60px;
}

@media (max-width: 640px) {
    .page { padding: 0 14px 48px; margin-top: 20px; }
}

/* =========================================================================
   HERO-SEKTION (toppen af sider)
   ========================================================================= */
.hero {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 800px) {
    .hero { grid-template-columns: 1fr; }
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
}

.kicker {
    font-size: 11px;
    font-weight: 700;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero p { color: var(--text-2); margin: 0; }

.next-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.next-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--purple-bg);
    color: var(--purple);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800;
    flex-shrink: 0;
}

.next-step h3 { font-size: 16px; margin-bottom: 6px; }
.next-step p  { font-size: 13px; color: var(--text-2); margin-bottom: 14px; }

/* =========================================================================
   STATISTIK-KORT (overview-rækken)
   ========================================================================= */
.overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

@media (max-width: 640px) {
    .overview { grid-template-columns: 1fr 1fr; }
}

.stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.stat-label { font-size: 12px; color: var(--text-3); margin-bottom: 6px; font-weight: 500; }
.stat-value { font-size: 26px; font-weight: 700; color: var(--text); }

.progress {
    width: 100%; height: 6px;
    margin-top: 10px; border-radius: 3px;
    background: var(--border); overflow: hidden;
}
.progress span {
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--purple), #7c6fee);
    border-radius: 3px;
    transition: width .6s ease;
}

/* =========================================================================
   SEKTIONS-OVERSKRIFT
   ========================================================================= */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 6px 0 16px;
}
.section-head h2, .section-head h3 { font-size: 18px; font-weight: 600; }
.section-head p { font-size: 13px; color: var(--text-2); margin: 4px 0 0; }

/* =========================================================================
   KORT (cards)
   ========================================================================= */
.cards { display: grid; gap: 14px; }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--purple); box-shadow: var(--shadow-md); }

.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.card h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.card p  { font-size: 13px; color: var(--text-2); margin: 0; }

.card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Ikon-boks */
.icon-box {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800;
    flex-shrink: 0;
}
.icon-open     { background: var(--purple-bg); color: var(--purple-text); }
.icon-done     { background: var(--green-bg);  color: var(--green-text); }
.icon-warn     { background: var(--amber-bg);  color: var(--amber-text); }
.icon-disabled { background: var(--border);    color: var(--text-3); }

/* =========================================================================
   BADGES
   ========================================================================= */
.meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }

.badge {
    display: inline-flex; align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px; font-weight: 700;
    white-space: nowrap;
}
.badge-neutral { background: var(--border);    color: var(--text-2); }
.badge-info    { background: var(--blue-bg);   color: var(--blue-text); }
.badge-success { background: var(--green-bg);  color: var(--green-text); }
.badge-warn    { background: var(--amber-bg);  color: var(--amber-text); }
.badge-muted   { background: var(--bg);        color: var(--text-3); border: 1px solid var(--border); }
/* Bagudkompatibilitet med v1-badge-klasser */
.badge-open     { background: var(--purple-bg); color: var(--purple-text); }
.badge-done     { background: var(--green-bg);  color: var(--green-text); }
.badge-disabled { background: var(--border);    color: var(--text-3); }

/* =========================================================================
   KNAPPER
   ========================================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; border: none; border-radius: var(--radius-sm);
    padding: 9px 18px; font-size: 13px; font-weight: 600;
    cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background var(--transition), color var(--transition);
    font-family: inherit;
}
.btn-primary   { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg); }
.btn-danger    { background: var(--red-bg); color: var(--red-text); border: 1px solid #fca5a5; }
.btn-danger:hover { background: #fecaca; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* =========================================================================
   INDHOLD-BOKSE (kompendier, opgaver)
   ========================================================================= */
.content-grid { display: grid; gap: 18px; }

.content-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.content-box h2:first-child,
.content-box h3:first-child { margin-top: 0; font-size: 17px; margin-bottom: 14px; }

.compendium-content img { border-radius: var(--radius-sm); margin: 12px 0; }

/* Opgaveliste */
.task-list { display: grid; gap: 12px; }

.task-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    background: var(--bg);
    transition: border-color var(--transition);
}
.task-item:hover { border-color: var(--purple); }
.task-item h4 { font-size: 14px; margin-bottom: 6px; }
.task-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 8px; }

/* =========================================================================
   FORSIDE (front-page.php)
   ========================================================================= */
.landing-hero {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 55%, #7c6fee 100%);
    border-radius: var(--radius-lg);
    padding: 52px 36px;
    text-align: center;
    margin-bottom: 24px;
    color: #fff;
}
.landing-hero h2 { font-size: 36px; color: #fff; margin-bottom: 10px; }
.landing-hero p  { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 24px; }

.landing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}
.landing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: border-color var(--transition);
}
.landing-card:hover { border-color: var(--purple); }
.landing-card-icon { font-size: 28px; margin-bottom: 10px; }
.landing-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.landing-card p  { font-size: 13px; color: var(--text-2); }

/* =========================================================================
   ADMIN-NOTE
   ========================================================================= */
.admin-note {
    background: var(--amber-bg);
    border: 1px solid #fcd34d;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 13px;
    color: var(--amber-text);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    margin-top: 48px;
}
.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-3);
    gap: 16px;
    flex-wrap: wrap;
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 12px; color: var(--text-3); }
.footer-links a:hover { color: var(--purple); }

/* Dashboard-footer skal flugte med hovedindholdet, ikke hele viewporten */
.site-footer-dashboard .footer-inner {
    max-width: none;
    width: calc(100% - 240px);
    margin-left: 240px;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .site-footer-dashboard .footer-inner {
        width: 100%;
        margin-left: 0;
    }
}


/* =========================================================================
   PLUGIN-SHORTCODES — tilpasninger der gælder inden i temaets layout
   ========================================================================= */

/* Dashboard shortcode: fjern dobbelt margin */
.page .eud-dashboard { padding-top: 0; }
.page .eud-dash-topbar { padding-left: 0; padding-right: 0; }
.page .eud-kpi-row { padding-left: 0; padding-right: 0; }
.page .eud-dash-grid { padding-left: 0; padding-right: 0; }
.page .eud-progress-section { padding-left: 0; padding-right: 0; }

/* Login-side: centrér inden i temaets layout */
.page .eud-login-wrap { margin: 0 auto; }

/* Beskeder: fuld højde inden i siden */
.page .eud-messages-wrap { max-height: 600px; }

/* =========================================================================
   UTILITIES
   ========================================================================= */
.muted    { color: var(--text-2); }
.small    { font-size: 12px; }
.center   { text-align: center; }
.sr-only  { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* =========================================================================
   PRINT
   ========================================================================= */
@media print {
    .site-header, .site-footer, .nav-user-area, .card-actions,
    .btn, .hide-print { display: none !important; }
    body { background: #fff; padding: 0; font-size: 12pt; }
    .page { max-width: 100%; margin: 0; padding: 0; }
    .card, .content-box, .panel { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}

/* Fuld-bredde sider (dashboard v8) */
.eud-fullwidth-page {
    width: 100%;
    margin-left: 0;
    padding: 0;
}

/* =========================================================================
   LANDINGSSIDE (front-page.php)
   ========================================================================= */

.lp-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Hero */
.lp-hero {
    background: linear-gradient(135deg, #3730a3 0%, var(--purple) 50%, #7c6fee 100%);
    border-radius: var(--radius-lg);
    padding: 52px 44px;
    margin: 28px 0 40px;
    color: #fff;
}
.lp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
@media(max-width:760px) { .lp-hero-inner { grid-template-columns: 1fr; } .lp-hero-visual { display: none; } }
.lp-badge {
    display: inline-block;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 99px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 16px;
}
.lp-hero-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #fff;
}
.lp-hero-title span { color: rgba(255,255,255,.8); }
.lp-hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,.85);
    line-height: 1.6;
    margin: 0 0 28px;
}
.lp-btn-primary {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 13px 28px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    box-shadow: 0 4px 16px rgba(232,93,36,.35);
}
.lp-btn-primary:hover { background: #c94e18; color: #fff; transform: translateY(-1px); text-decoration: none; }

/* Mockup widget */
.lp-mockup {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.lp-mockup-bar {
    background: #e5e7eb;
    padding: 10px 14px;
    display: flex;
    gap: 6px;
}
.lp-mockup-bar span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    display: block;
}
.lp-mockup-body { padding: 16px; }
.lp-mock-row {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.lp-mock-green  { background: #f0fdf4; color: #166534; }
.lp-mock-yellow { background: #fffbeb; color: #92400e; }
.lp-mock-gray   { background: #f3f4f6; color: #6b7280; }
.lp-mock-progress { margin-top: 14px; }
.lp-mock-progress-label { font-size: 11px; color: #6b7280; margin-bottom: 5px; font-weight: 600; }
.lp-mock-progress-bar { background: #e5e7eb; border-radius: 99px; height: 8px; }
.lp-mock-progress-bar div { background: var(--purple); height: 8px; border-radius: 99px; }
.lp-mock-progress-pct { font-size: 11px; color: var(--purple); font-weight: 700; margin-top: 4px; text-align: right; }

/* Sections */
.lp-section { margin-bottom: 48px; }
.lp-section-gray {
    background: #f8f9fb;
    border-radius: var(--radius-lg);
    padding: 40px 36px;
}
.lp-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin: 0 0 10px;
}
.lp-section-sub {
    text-align: center;
    color: var(--text-2);
    font-size: 15px;
    margin: 0 0 28px;
}

/* Roller */
.lp-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media(max-width:700px) { .lp-roles { grid-template-columns: 1fr; } }
.lp-role {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
}
.lp-role-featured {
    border-color: var(--purple);
    box-shadow: 0 4px 20px rgba(91,79,217,.12);
}
.lp-role-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}
.lp-role h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.lp-role ul { margin: 0; padding-left: 18px; }
.lp-role ul li { font-size: 13px; color: var(--text-2); padding: 3px 0; line-height: 1.5; }

/* Features */
.lp-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media(max-width:800px) { .lp-features { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:500px) { .lp-features { grid-template-columns: 1fr; } }
.lp-feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 18px;
    box-shadow: var(--shadow);
    text-align: center;
}
.lp-feature-icon { font-size: 30px; margin-bottom: 10px; }
.lp-feature h4 { font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.lp-feature p  { font-size: 13px; color: var(--text-2); margin: 0; line-height: 1.5; }

/* Flow + CTA */
.lp-flow-wrap {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}
@media(max-width:800px) { .lp-flow-wrap { grid-template-columns: 1fr; } }

.lp-steps { list-style: none; margin: 0; padding: 0; }
.lp-steps li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}
.lp-step-num {
    width: 32px; height: 32px;
    background: var(--purple);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.lp-steps li > div strong { font-size: 15px; display: block; margin-bottom: 3px; }
.lp-steps li > div p { font-size: 13px; color: var(--text-2); margin: 0; line-height: 1.5; }

.lp-cta-box {
    background: linear-gradient(135deg, #3730a3, var(--purple));
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 32px rgba(91,79,217,.25);
}
.lp-cta-icon { font-size: 40px; margin-bottom: 12px; }
.lp-cta-box h3 { font-size: 20px; font-weight: 800; margin: 0 0 10px; color: #fff; }
.lp-cta-box p  { font-size: 14px; color: rgba(255,255,255,.85); margin: 0 0 20px; line-height: 1.5; }
.lp-cta-note { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 14px; }
