/* ============================================================
   The 오르리 — Modern Landing Page
   Stock / Fintech aesthetic
   ============================================================ */

:root {
    --lp-bg: #060b14;
    --lp-bg-elevated: #0c1220;
    --lp-surface: rgba(255, 255, 255, 0.04);
    --lp-surface-hover: rgba(255, 255, 255, 0.07);
    --lp-border: rgba(255, 255, 255, 0.08);
    --lp-border-strong: rgba(255, 255, 255, 0.14);
    --lp-text: #e8edf5;
    --lp-text-muted: #8b9cb8;
    --lp-primary: #4ac4f3;
    --lp-primary-dim: rgba(74, 196, 243, 0.15);
    --lp-primary-glow: rgba(74, 196, 243, 0.35);
    --lp-up: #22c55e;
    --lp-up-dim: rgba(34, 197, 94, 0.12);
    --lp-down: #ef4444;
    --lp-gold: #f59e0b;
    --lp-radius: 16px;
    --lp-radius-lg: 24px;
    --lp-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    --lp-font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- Base overrides (landing only) ---- */
body.landing-modern {
    font-family: var(--lp-font);
    background: var(--lp-bg);
    color: var(--lp-text);
    -webkit-font-smoothing: antialiased;
}

body.landing-modern .container-xxl.bg-white {
    background: var(--lp-bg) !important;
}

body.landing-modern h1,
body.landing-modern h2,
body.landing-modern h3,
body.landing-modern h4,
body.landing-modern h5,
body.landing-modern h6 {
    color: var(--lp-text);
    letter-spacing: -0.02em;
}

/* ---- Navbar ---- */
body.landing-modern #home {
    background: transparent;
}

body.landing-modern #home .navbar {
    background: rgba(6, 11, 20, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--lp-border);
    transition: background 0.3s, box-shadow 0.3s;
}

body.landing-modern #home .navbar.scrolled {
    background: rgba(6, 11, 20, 0.92);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

body.landing-modern .navbar .navbar-toggler {
    border-color: var(--lp-border-strong);
    padding: 0.4rem 0.65rem;
}

body.landing-modern .navbar .navbar-toggler-icon {
    filter: invert(1) brightness(0.85);
}

body.landing-modern .navbar .navbar-nav .nav-link {
    color: var(--lp-text-muted) !important;
    font-size: 0.925rem;
    padding: 28px 0 !important;
    transition: color 0.2s;
}

body.landing-modern .navbar .navbar-nav .nav-link:hover,
body.landing-modern .navbar .navbar-nav .nav-link.active {
    color: var(--lp-text) !important;
}

body.landing-modern .nav-auth-btns .btn-light {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    color: var(--lp-text);
}

body.landing-modern .nav-auth-btns .btn-light:hover {
    background: var(--lp-surface-hover);
    color: var(--lp-text);
    box-shadow: none;
}

body.landing-modern .nav-auth-btns .btn-primary {
    background: linear-gradient(135deg, var(--lp-primary), #2d9fd4);
    border: none;
    color: #041018;
    font-weight: 600;
}

body.landing-modern .nav-auth-btns .btn-primary:hover {
    box-shadow: 0 0 20px var(--lp-primary-glow);
}

body.landing-modern .nav-auth-btns .nav-btn-outline-white {
    color: #fff;
    border-color: #fff;
    background: transparent;
    box-shadow: none;
}

body.landing-modern .nav-auth-btns .nav-btn-outline-white:hover,
body.landing-modern .nav-auth-btns .nav-btn-outline-white:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    box-shadow: none;
}

body.landing-modern .nav-auth-btns .nav-btn-payment {
    color: #fff;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

body.landing-modern .nav-auth-btns .nav-btn-payment:hover,
body.landing-modern .nav-auth-btns .nav-btn-payment:focus {
    color: #fff;
    background: transparent;
    border-color: transparent;
    opacity: 0.85;
    box-shadow: none;
}

/* sticky-top(scroll 시)에도 결제하기·로그아웃 버튼 형태 유지 */
@media (min-width: 992px) {
    body.landing-modern .sticky-top.navbar .nav-auth-btns .btn.nav-btn-outline-white,
    body.landing-modern .sticky-top.navbar .nav-auth-btns .btn.nav-btn-outline-white:hover,
    body.landing-modern .sticky-top.navbar .nav-auth-btns .btn.nav-btn-outline-white:focus {
        color: #fff !important;
        background: transparent !important;
        border-color: #fff !important;
        box-shadow: none !important;
    }

    body.landing-modern .sticky-top.navbar .nav-auth-btns .btn.nav-btn-outline-white:hover,
    body.landing-modern .sticky-top.navbar .nav-auth-btns .btn.nav-btn-outline-white:focus {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    body.landing-modern .sticky-top.navbar .nav-auth-btns .btn.nav-btn-payment,
    body.landing-modern .sticky-top.navbar .nav-auth-btns .btn.nav-btn-payment:hover,
    body.landing-modern .sticky-top.navbar .nav-auth-btns .btn.nav-btn-payment:focus {
        color: #fff !important;
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }
}

/* ---- Hero ---- */
.lp-hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 0;
    margin-bottom: 0;
    background: var(--lp-bg);
}

.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(74, 196, 243, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.lp-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
    pointer-events: none;
}

.lp-hero-content {
    position: relative;
    z-index: 1;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--lp-up-dim);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lp-up);
    margin-bottom: 1.5rem;
}

.lp-badge .lp-pulse {
    width: 8px;
    height: 8px;
    background: var(--lp-up);
    border-radius: 50%;
    animation: lp-pulse 2s ease-in-out infinite;
}

@keyframes lp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.lp-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.lp-hero h1 .lp-highlight {
    background: linear-gradient(135deg, var(--lp-primary) 0%, #7dd3fc 50%, var(--lp-up) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero-desc {
    font-size: 1.125rem;
    color: var(--lp-text-muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--lp-primary), #2d9fd4);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lp-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--lp-primary-glow);
}

.lp-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border-strong);
    color: var(--lp-text);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.lp-btn-ghost:hover {
    background: var(--lp-surface-hover);
    color: var(--lp-text);
    border-color: var(--lp-primary);
    box-shadow: none;
}

.lp-hero-video {
    position: relative;
    border-radius: var(--lp-radius-lg);
    overflow: hidden;
    border: 1px solid var(--lp-border-strong);
    box-shadow: var(--lp-shadow), 0 0 0 1px rgba(74, 196, 243, 0.1);
    background: var(--lp-bg-elevated);
}

.lp-hero-video::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(74,196,243,0.4), transparent 50%, rgba(34,197,94,0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.lp-hero-video .ratio {
    border-radius: inherit;
}

/* Ticker strip */
.lp-ticker {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    padding: 0.75rem 0;
    background: var(--lp-bg-elevated);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
    overflow: hidden;
}

.lp-ticker-track {
    display: flex;
    gap: 3rem;
    animation: lp-ticker-scroll 40s linear infinite;
    width: max-content;
}

.lp-ticker:hover .lp-ticker-track {
    animation-play-state: paused;
}

@keyframes lp-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.lp-ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    font-size: 0.85rem;
    color: var(--lp-text-muted);
}

.lp-ticker-item .name {
    font-weight: 600;
    color: var(--lp-text);
}

.lp-ticker-item .up { color: var(--lp-up); font-weight: 600; }
.lp-ticker-item .down { color: var(--lp-down); font-weight: 600; }

/* ---- Section common ---- */
.lp-section {
    padding: 4rem 0;
    position: relative;
}

.lp-hero + .lp-section {
    padding-top: 2.5rem;
}

.lp-section-alt {
    background: var(--lp-bg-elevated);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

.lp-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lp-primary);
    margin-bottom: 0.75rem;
}

.lp-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.lp-section-desc {
    color: var(--lp-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 3rem;
}

/* ---- Feature cards ---- */
.lp-feature-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.lp-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 196, 243, 0.3);
    background: var(--lp-surface-hover);
}

.lp-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--lp-primary-dim);
    color: var(--lp-primary);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.lp-feature-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.lp-feature-card p {
    color: var(--lp-text-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---- Service showcase ---- */
.lp-service-block {
    padding: 3rem 0;
}

.lp-service-block + .lp-service-block {
    border-top: 1px solid var(--lp-border);
}

.lp-service-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--lp-primary-dim);
    border: 1px solid rgba(74, 196, 243, 0.25);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--lp-primary);
    margin-bottom: 1rem;
}

.lp-service-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lp-service-block .lp-desc {
    color: var(--lp-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.lp-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.lp-check-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--lp-text-muted);
    font-size: 0.925rem;
    margin-bottom: 0.5rem;
}

.lp-check-list li i {
    color: var(--lp-up);
    font-size: 0.85rem;
}

.lp-screenshot {
    position: relative;
    border-radius: var(--lp-radius);
    overflow: hidden;
    border: 1px solid var(--lp-border-strong);
    box-shadow: var(--lp-shadow);
    background: var(--lp-bg);
}

.lp-screenshot::before {
    content: '';
    display: block;
    height: 32px;
    background: var(--lp-bg-elevated);
    border-bottom: 1px solid var(--lp-border);
    background-image: radial-gradient(circle, var(--lp-border-strong) 3px, transparent 3px);
    background-size: 16px 16px;
    background-position: 12px center;
    background-repeat: no-repeat;
}

.lp-screenshot img {
    display: block;
    width: 100%;
    border-radius: 0 0 var(--lp-radius) var(--lp-radius);
}

/* ---- Bento grid (success helper) ---- */
.lp-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.lp-bento-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 1.75rem;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    text-align: center;
}

.lp-bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 196, 243, 0.25);
    background: var(--lp-surface-hover);
}

.lp-bento-card i {
    font-size: 1.75rem;
    color: var(--lp-primary);
    margin-bottom: 1rem;
}

.lp-bento-card h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.lp-bento-card p {
    color: var(--lp-text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* ---- Pricing ---- */
.lp-pricing-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    overflow: hidden;
    position: relative;
}

.lp-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lp-primary), var(--lp-up), var(--lp-gold));
}

.lp-pricing-header {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, var(--lp-primary-dim) 0%, transparent 100%);
}

.lp-pricing-header h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.lp-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.lp-price .currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lp-primary);
}

.lp-price .amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--lp-text);
}

.lp-price .period {
    color: var(--lp-text-muted);
    font-size: 0.95rem;
}

.lp-pricing-body {
    padding: 0 2rem 2.5rem;
}

.lp-pricing-feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--lp-border);
    font-size: 0.925rem;
    color: var(--lp-text-muted);
}

.lp-pricing-feature:last-of-type {
    border-bottom: none;
}

.lp-pricing-feature i {
    color: var(--lp-up);
}

.lp-pricing-card .lp-btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
    border-radius: 12px;
}

.lp-trial-badge {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.35rem 0.85rem;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lp-gold);
}

/* ---- Stats row ---- */
.lp-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.lp-stat {
    text-align: left;
}

.lp-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--lp-text);
    line-height: 1;
}

.lp-stat-value span {
    color: var(--lp-primary);
}

.lp-stat-label {
    font-size: 0.8rem;
    color: var(--lp-text-muted);
    margin-top: 0.35rem;
}

/* ---- Footer overrides ---- */
body.landing-modern .footer {
    background: var(--lp-bg-elevated) !important;
    border-top: 1px solid var(--lp-border);
    margin-top: 0;
}

body.landing-modern .footer p,
body.landing-modern .footer .btn-link {
    color: var(--lp-text-muted) !important;
}

body.landing-modern .footer .btn-link:hover {
    color: var(--lp-primary) !important;
}

body.landing-modern .footer .section-title {
    color: var(--lp-text) !important;
}

body.landing-modern .footer .copyright {
    border-top-color: var(--lp-border);
}

body.landing-modern .back-to-top {
    background: var(--lp-primary);
    border: none;
    color: #041018;
}

/* ---- Spinner ---- */
body.landing-modern #spinner {
    background: var(--lp-bg) !important;
}

body.landing-modern #spinner .spinner-grow {
    color: var(--lp-primary) !important;
}

/* ---- Responsive ---- */
@media (min-width: 992px) {
    .lp-hero > .container {
        padding-top: 3rem !important;
        padding-bottom: 1rem !important;
    }
}

@media (max-width: 991.98px) {
    .lp-hero {
        padding: 1.25rem 0 2rem;
    }

    .lp-hero > .container {
        padding-top: 1rem !important;
        padding-bottom: 1.5rem !important;
    }

    .lp-hero .row.g-5 {
        --bs-gutter-y: 1.5rem;
    }

    .lp-hero-desc {
        max-width: 100%;
        margin-bottom: 1.25rem;
    }

    .lp-hero-actions {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .lp-stats {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.5rem;
        margin-top: 1.25rem;
    }

    .lp-stat {
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    .lp-stat-value {
        font-size: clamp(1.1rem, 4vw, 1.75rem);
    }

    .lp-stat-label {
        font-size: 0.7rem;
    }

    .lp-ticker {
        margin-top: 1.5rem;
    }

    .lp-section {
        padding: 2.5rem 0;
    }

    .lp-hero + .lp-section {
        padding-top: 2rem;
    }

    .lp-section-desc {
        margin-bottom: 2rem;
    }

    .lp-service-block {
        padding: 1.75rem 0;
    }

    .lp-service-block .row.g-5 {
        --bs-gutter-y: 1.5rem;
    }

    body.landing-modern #home .navbar {
        background: rgba(6, 11, 20, 0.95);
    }

    .lp-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    body.landing-modern .navbar .navbar-collapse {
        border-top-color: var(--lp-border);
        background: var(--lp-bg-elevated);
        border-radius: var(--lp-radius);
        padding: 1rem;
        margin-top: 0.75rem;
    }

    body.landing-modern .navbar .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }
}

@media (max-width: 575.98px) {
    .lp-section {
        padding: 2rem 0;
    }

    .lp-bento {
        grid-template-columns: 1fr;
    }

    .lp-badge {
        margin-bottom: 1rem;
    }

    .lp-hero h1 {
        margin-bottom: 1rem;
    }
}

/* ============================================================
   Subpages — shared styles
   ============================================================ */

/* Subpage navbar */
body.landing-modern .landing-subpage-wrap .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 11, 20, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--lp-border);
}

body.landing-modern .landing-subpage-wrap .navbar .navbar-nav .nav-link {
    color: var(--lp-text-muted) !important;
    padding: 20px 0 !important;
}

body.landing-modern .landing-subpage-wrap .navbar .navbar-nav .nav-link:hover,
body.landing-modern .landing-subpage-wrap .navbar .navbar-nav .nav-link.active {
    color: var(--lp-text) !important;
}

/* Subpage hero banner */
.lp-subpage-hero {
    position: relative;
    overflow: hidden;
    padding: 7rem 0 3rem;
    margin-top: 0;
    background: var(--lp-bg);
    border-bottom: 1px solid var(--lp-border);
}

.lp-subpage-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    pointer-events: none;
}

.lp-subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(74, 196, 243, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.lp-subpage-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--lp-text) 0%, var(--lp-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Page layout */
.lp-page {
    padding: 3rem 0 5rem;
}

/* Cards */
.lp-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 2rem;
    box-shadow: var(--lp-shadow);
}

.lp-card-wide {
    padding: 2rem 2.5rem;
}

.lp-card-auth {
    max-width: 440px;
    margin: 0 auto;
}

/* Bootstrap overrides */
body.landing-modern .bg-light {
    background: var(--lp-surface) !important;
    border: 1px solid var(--lp-border);
    color: var(--lp-text);
}

body.landing-modern .text-muted {
    color: var(--lp-text-muted) !important;
}

body.landing-modern .text-success {
    color: var(--lp-up) !important;
}

body.landing-modern .text-dark {
    color: var(--lp-text) !important;
}

body.landing-modern a:not(.btn):not(.nav-link):not(.btn-link):not(.page-link):not(.navbar-brand):not(.lp-btn-primary):not(.lp-btn-ghost) {
    color: var(--lp-primary);
    text-decoration: none;
}

body.landing-modern a:not(.btn):not(.nav-link):not(.btn-link):not(.page-link):not(.navbar-brand):not(.lp-btn-primary):not(.lp-btn-ghost):hover {
    color: #7dd3fc;
}

/* Forms */
body.landing-modern .form-label {
    color: var(--lp-text);
    font-weight: 600;
    font-size: 0.9rem;
}

body.landing-modern .form-control,
body.landing-modern .form-select {
    background: var(--lp-bg-elevated);
    border: 1px solid var(--lp-border-strong);
    color: var(--lp-text);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

body.landing-modern .form-control:focus,
body.landing-modern .form-select:focus {
    background: var(--lp-bg-elevated);
    border-color: var(--lp-primary);
    color: var(--lp-text);
    box-shadow: 0 0 0 3px var(--lp-primary-dim);
}

body.landing-modern .form-control:disabled {
    background: var(--lp-bg);
    color: var(--lp-text-muted);
    opacity: 0.8;
}

body.landing-modern .form-text {
    color: var(--lp-text-muted);
}

body.landing-modern .form-check-label {
    color: var(--lp-text-muted);
    font-size: 0.9rem;
}

body.landing-modern .form-check-input {
    background-color: var(--lp-bg-elevated);
    border-color: var(--lp-border-strong);
}

body.landing-modern .form-check-input:checked {
    background-color: var(--lp-primary);
    border-color: var(--lp-primary);
}

body.landing-modern hr {
    border-color: var(--lp-border);
    opacity: 1;
}

/* Buttons */
body.landing-modern .btn-primary {
    background: linear-gradient(135deg, var(--lp-primary), #2d9fd4);
    border: none;
    color: #041018;
    font-weight: 600;
    border-radius: 12px;
}

body.landing-modern .btn-primary:hover,
body.landing-modern .btn-primary:focus {
    background: linear-gradient(135deg, #5ecff5, var(--lp-primary));
    color: #041018;
    box-shadow: 0 0 20px var(--lp-primary-glow);
}

body.landing-modern .btn-outline-primary {
    color: var(--lp-primary);
    border-color: rgba(74, 196, 243, 0.4);
    background: transparent;
    border-radius: 12px;
    font-weight: 600;
}

body.landing-modern .btn-outline-primary:hover {
    background: var(--lp-primary-dim);
    border-color: var(--lp-primary);
    color: var(--lp-primary);
    box-shadow: none;
}

body.landing-modern .btn-outline-secondary {
    color: var(--lp-text-muted);
    border-color: var(--lp-border-strong);
    background: transparent;
    border-radius: 12px;
}

body.landing-modern .btn-outline-secondary:hover {
    background: var(--lp-surface-hover);
    border-color: var(--lp-border-strong);
    color: var(--lp-text);
    box-shadow: none;
}

body.landing-modern .btn-outline-danger {
    color: var(--lp-down);
    border-color: rgba(239, 68, 68, 0.4);
    border-radius: 12px;
}

body.landing-modern .btn-outline-danger:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: var(--lp-down);
    color: var(--lp-down);
    box-shadow: none;
}

body.landing-modern .btn-light {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    color: var(--lp-text);
}

/* Alerts */
body.landing-modern .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    border-radius: 10px;
}

body.landing-modern .alert-success {
    background: var(--lp-up-dim);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
    border-radius: 10px;
}

/* Tables */
body.landing-modern .table {
    color: var(--lp-text);
    --bs-table-bg: transparent;
    --bs-table-hover-bg: var(--lp-surface-hover);
    --bs-table-border-color: var(--lp-border);
}

body.landing-modern .table-light {
    --bs-table-bg: var(--lp-bg-elevated);
    --bs-table-color: var(--lp-text-muted);
}

body.landing-modern .table-light th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--lp-border);
}

body.landing-modern .table > :not(caption) > * > * {
    border-bottom-color: var(--lp-border);
    padding: 0.9rem 1rem;
}

body.landing-modern .table tbody tr:hover td {
    background: var(--lp-surface-hover);
}

body.landing-modern .table tbody a {
    color: var(--lp-text);
    font-weight: 500;
}

body.landing-modern .table tbody a:hover {
    color: var(--lp-primary);
}

/* Badges */
body.landing-modern .badge.bg-success {
    background: var(--lp-up-dim) !important;
    color: var(--lp-up);
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-weight: 600;
}

body.landing-modern .badge.bg-secondary {
    background: var(--lp-surface) !important;
    color: var(--lp-text-muted);
    border: 1px solid var(--lp-border);
}

/* Pagination */
body.landing-modern .pagination .page-link {
    background: var(--lp-surface);
    border-color: var(--lp-border);
    color: var(--lp-text-muted);
    border-radius: 8px;
    margin: 0 3px;
    padding: 0.4rem 0.75rem;
}

body.landing-modern .pagination .page-link:hover {
    background: var(--lp-surface-hover);
    border-color: var(--lp-border-strong);
    color: var(--lp-text);
    box-shadow: none;
}

body.landing-modern .pagination .page-item.active .page-link {
    background: var(--lp-primary);
    border-color: var(--lp-primary);
    color: #041018;
    font-weight: 600;
}

/* Info table (mypage) */
.lp-info-table {
    width: 100%;
    margin: 0;
}

.lp-info-table th {
    color: var(--lp-text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 0;
    vertical-align: top;
    width: 140px;
}

.lp-info-table td {
    color: var(--lp-text);
    padding: 0.75rem 0;
    vertical-align: top;
}

.lp-info-table tr + tr th,
.lp-info-table tr + tr td {
    border-top: 1px solid var(--lp-border);
}

/* Payment plan cards */
.plan-select-card {
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    border: 2px solid var(--lp-border) !important;
    height: 100%;
    background: var(--lp-surface);
    box-shadow: none;
}

.plan-select-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 196, 243, 0.3) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.plan-select-card.is-selected {
    border-color: var(--lp-primary) !important;
    box-shadow: 0 0 0 1px var(--lp-primary), 0 12px 32px var(--lp-primary-dim);
}

body.landing-modern .plan-select-card .bg-primary {
    background: linear-gradient(135deg, rgba(74, 196, 243, 0.2), rgba(74, 196, 243, 0.05)) !important;
    border-bottom: 1px solid var(--lp-border);
}

body.landing-modern .plan-select-card .bg-white {
    background: transparent !important;
    color: var(--lp-text-muted);
}

.plan-select-card .plan-price {
    font-size: 1.6rem;
    color: var(--lp-text);
}

body.landing-modern .plan-select-card h4 {
    color: var(--lp-text) !important;
}

@media (min-width: 992px) {
    .plan-select-card .plan-price {
        font-size: 1.35rem;
    }
}

/* Notice content */
.lp-notice-meta {
    color: var(--lp-text-muted);
    font-size: 0.875rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--lp-border);
}

.lp-notice-content {
    white-space: pre-wrap;
    line-height: 1.8;
    color: var(--lp-text);
}

/* Trial hint */
.lp-trial-hint {
    text-align: center;
    color: var(--lp-text-muted);
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    font-size: 0.9rem;
}

.lp-trial-hint strong {
    color: var(--lp-gold);
}

@media (max-width: 991.98px) {
    body.landing-modern .landing-subpage-wrap .navbar .navbar-collapse {
        border-top-color: var(--lp-border);
        background: var(--lp-bg-elevated);
        border-radius: var(--lp-radius);
        padding: 1rem;
        margin-top: 0.75rem;
    }

    .lp-subpage-hero {
        padding: 6rem 0 2.5rem;
    }

    .lp-page {
        padding: 2rem 0 4rem;
    }
}
