/* Landing home — matches user dashboard dark teal */

:root {
    --hp-bg: #0B1120;
    --hp-bg-soft: #111827;
    --hp-card: #151D2E;
    --hp-primary: #22D3EE;
    --hp-primary-2: #06B6D4;
    --hp-accent: #00D084;
    --hp-text: #F1F5F9;
    --hp-muted: #94A3B8;
    --hp-border: rgba(34, 211, 238, 0.12);
    --hp-border-soft: rgba(255, 255, 255, 0.08);
    --hp-grad: linear-gradient(90deg, #00D084 0%, #22D3EE 50%, #06B6D4 100%);
    --hp-hero-layered:
        radial-gradient(ellipse 70% 100% at 80% -10%, rgba(34, 211, 238, 0.14), transparent 60%),
        radial-gradient(ellipse 60% 90% at 5% 110%, rgba(0, 208, 132, 0.18), transparent 60%),
        linear-gradient(160deg, #0F172A 0%, #151D2E 42%, #0E7490 58%, #06B6D4 100%);
    --hp-glass-bg: linear-gradient(145deg, rgba(34, 211, 238, 0.1) 0%, rgba(21, 29, 46, 0.62) 38%, rgba(15, 23, 42, 0.72) 100%);
    --hp-glass-blur: blur(22px) saturate(175%);
    --hp-glass-border: rgba(255, 255, 255, 0.14);
    --hp-container: min(1100px, calc(100% - 32px));
    --hp-nav-h: 64px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.hp-body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--hp-bg) !important;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34, 211, 238, 0.07), transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(6, 182, 212, 0.05), transparent 50%) !important;
    background-attachment: fixed;
    color: var(--hp-text) !important;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: calc(var(--hp-nav-h) + 16px);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.hp-container {
    width: var(--hp-container);
    margin-left: auto;
    margin-right: auto;
}

/* ===== Nav ===== */
.hp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--hp-nav-h);
    background: rgba(21, 29, 46, 0.88);
    -webkit-backdrop-filter: var(--hp-glass-blur);
    backdrop-filter: var(--hp-glass-blur);
    border-bottom: 1px solid var(--hp-border-soft);
    transition: box-shadow 0.3s;
}
.hp-nav.scrolled {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.hp-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hp-nav-logo img {
    height: 52px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}
.hp-nav-center {
    display: none;
    align-items: center;
    gap: 4px;
}
.hp-nav-mid {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hp-muted);
    transition: all 0.2s;
}
.hp-nav-mid:hover,
.hp-nav-mid.active {
    color: var(--hp-primary);
    background: rgba(34, 211, 238, 0.1);
}
.hp-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hp-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.25s;
    white-space: nowrap;
}
.hp-nav-link i {
    font-size: 13px;
    line-height: 1;
}
.hp-nav-link--outline {
    color: var(--hp-primary);
    border: 1px solid var(--hp-border);
    background: rgba(21, 29, 46, 0.6);
}
.hp-nav-link--outline:hover {
    border-color: var(--hp-primary);
    background: rgba(34, 211, 238, 0.08);
}
.hp-nav-link--fill {
    color: #0B1120;
    background: var(--hp-grad);
    box-shadow: 0 6px 18px rgba(34, 211, 238, 0.28);
}
.hp-nav-link--fill:hover {
    transform: translateY(-1px);
    color: #0B1120;
}
.hp-nav-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hp-border-soft);
    border-radius: 12px;
    background: rgba(26, 35, 50, 0.8);
    color: var(--hp-text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}
.hp-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 88vw);
    height: 100%;
    background: var(--hp-card);
    border-left: 1px solid var(--hp-border-soft);
    z-index: 1002;
    padding: 80px 20px 24px;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    transition: right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow-y: auto;
}
.hp-nav-drawer.open { right: 0; }
.hp-nav-drawer a {
    display: block;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--hp-text);
    margin-bottom: 4px;
}
.hp-nav-drawer a:hover {
    background: rgba(34, 211, 238, 0.1);
    color: var(--hp-primary);
}
.hp-nav-drawer .drawer-cta {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hp-nav-drawer .drawer-cta .hp-nav-link { text-align: center; width: 100%; }
.hp-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 32, 0.65);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(4px);
}
.hp-nav-overlay.open { opacity: 1; visibility: visible; }
.hp-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.12);
    color: var(--hp-primary);
    font-size: 20px;
    cursor: pointer;
}

/* ===== Hero ===== */
.hp-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 56px;
    margin-bottom: 8px;
}
.hp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hp-hero-layered);
    opacity: 0.35;
    pointer-events: none;
}
.hp-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 20px;
    border-radius: 24px;
    border: 1px solid var(--hp-glass-border);
    background: var(--hp-glass-bg);
    -webkit-backdrop-filter: var(--hp-glass-blur);
    backdrop-filter: var(--hp-glass-blur);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.22);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hp-primary);
    margin-bottom: 16px;
}
.hp-hero h1 {
    font-size: clamp(26px, 5.5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 680px;
    margin: 0 auto 14px;
    color: #fff;
}
.hp-hero h1 span {
    background: var(--hp-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hp-hero-desc {
    font-size: clamp(14px, 2.2vw, 16px);
    color: var(--hp-muted);
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.65;
    font-weight: 500;
}
.hp-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}
.hp-btn-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    line-height: 1;
}
.hp-btn-primary .hp-btn-ico {
    background: rgba(11, 17, 32, 0.14);
    color: #0B1120;
}
.hp-btn-ghost .hp-btn-ico {
    background: rgba(34, 211, 238, 0.14);
    color: var(--hp-primary);
}
.hp-btn-primary {
    color: #0B1120;
    background: var(--hp-grad);
    box-shadow: 0 8px 22px rgba(34, 211, 238, 0.3);
}
.hp-btn-primary:hover {
    transform: translateY(-2px);
    color: #0B1120;
}
.hp-btn-ghost {
    color: var(--hp-text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--hp-border-soft);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.hp-btn-ghost:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: var(--hp-border);
    color: var(--hp-primary);
}

/* ===== Plans section (shared plan.css cards) ===== */
.hp-plans-section {
    padding: 48px 16px 64px;
}
.hp-section-head {
    text-align: center;
    margin-bottom: 28px;
}
.hp-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: var(--hp-primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.hp-section-title {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--hp-text);
}
.hp-section-desc {
    font-size: 14px;
    color: var(--hp-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.hp-plans-section .plan-wrap--home {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    min-height: 0;
    font-family: inherit;
}
.hp-plans-section .plan-wrap--home .plan-grid {
    gap: 18px;
}
@media (min-width: 720px) {
    .hp-plans-section .plan-wrap--home .plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .hp-plans-section .plan-wrap--home .plan-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Footer ===== */
.hp-footer {
    background: var(--hp-card);
    border-top: 1px solid var(--hp-border-soft);
    padding: 36px 20px;
    text-align: center;
}
.hp-footer-logo img { height: 44px; margin-bottom: 12px; }
.hp-footer p {
    font-size: 14px;
    color: var(--hp-muted);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}
.hp-footer-copy {
    margin-top: 18px;
    font-size: 12px;
    color: var(--hp-muted);
}
.hp-footer-copy a { color: var(--hp-primary); font-weight: 800; }

/* ===== Responsive ===== */
@media (min-width: 768px) {
    .hp-nav-center { display: flex; }
    .hp-nav-toggle { display: none; }
    .hp-nav-link--outline.hp-hide-mob { display: inline-flex; }
    .hp-hero { padding: 48px 0 64px; }
}
@media (max-width: 767px) {
    :root { --hp-nav-h: 72px; }
    .hp-nav-logo img {
        height: min(16vw, 62px);
        max-width: min(62vw, 210px);
    }
    .hp-nav-link--outline.hp-hide-mob { display: none; }
    .hp-hero-btns { flex-direction: column; align-items: stretch; }
    .hp-hero-btns .hp-btn {
        width: 100%;
        padding: 15px 22px;
        font-size: 15px;
        gap: 12px;
    }
    .hp-hero-btns .hp-btn-ico {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 20px;
    }
    .hp-nav-actions .hp-nav-link {
        padding: 10px 16px;
        font-size: 14px;
        gap: 8px;
    }
    .hp-nav-actions .hp-nav-link i {
        font-size: 16px;
    }
    .hp-nav-drawer .drawer-cta .hp-nav-link {
        padding: 15px 18px;
        font-size: 15px;
        gap: 10px;
    }
    .hp-nav-drawer .drawer-cta .hp-nav-link i {
        font-size: 18px;
    }
}
