/**
 * Public landing page — dark theme (Cobalt-inspired)
 * Golf brand accent: electric green on near-black
 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --ld-black: #050506;
    --ld-surface: #0c0c0e;
    --ld-elevated: #141416;
    --ld-border: rgba(255, 255, 255, 0.08);
    --ld-border-strong: rgba(255, 255, 255, 0.14);
    --ld-text: #f4f4f5;
    --ld-muted: #a1a1aa;
    --ld-dim: #71717a;
    --ld-accent: #4ade80;
    --ld-accent-dim: #22c55e;
    --ld-accent-glow: rgba(74, 222, 128, 0.35);
    --ld-blue-glow: rgba(56, 189, 248, 0.12);
}

body.landing-page {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    background: var(--ld-black);
    color: var(--ld-text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.landing-page .font-display {
    font-family: 'Outfit', 'DM Sans', sans-serif;
}

/* --- Ambient background --- */
.landing-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(74, 222, 128, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(56, 189, 248, 0.08), transparent),
        radial-gradient(ellipse 50% 30% at 0% 50%, rgba(74, 222, 128, 0.06), transparent);
}

.landing-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.landing-page > nav,
.landing-page > section,
.landing-page > footer {
    position: relative;
    z-index: 1;
}

/* --- Nav --- */
.landing-nav {
    background: rgba(8, 8, 10, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ld-border);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.landing-nav .navbar-brand span {
    color: var(--ld-text) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.landing-nav .navbar-toggler {
    border-color: var(--ld-border-strong);
}

.landing-nav .navbar-toggler-icon {
    filter: invert(1);
}

.landing-nav .btn-ld-ghost {
    background: transparent;
    border: 1px solid var(--ld-border-strong);
    color: var(--ld-text);
    font-weight: 600;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.landing-nav .btn-ld-ghost:hover {
    border-color: var(--ld-accent);
    color: var(--ld-accent);
    background: rgba(74, 222, 128, 0.06);
}

.landing-nav .dropdown-menu {
    background: var(--ld-elevated);
    border: 1px solid var(--ld-border);
    border-radius: 12px;
    padding: 0.35rem;
}

.landing-nav .dropdown-item {
    color: var(--ld-text);
    border-radius: 8px;
}

.landing-nav .dropdown-item:hover,
.landing-nav .dropdown-item.active {
    background: rgba(74, 222, 128, 0.12);
    color: var(--ld-accent);
}

/* --- Buttons --- */
.btn-ld-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    color: #052e16;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 32px var(--ld-accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-ld-primary:hover {
    color: #052e16;
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 40px var(--ld-accent-glow);
}

.btn-ld-secondary {
    background: transparent;
    border: 1px solid var(--ld-border-strong);
    color: var(--ld-text);
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    transition: border-color 0.2s, background 0.2s;
}

.btn-ld-secondary:hover {
    border-color: var(--ld-text);
    background: rgba(255, 255, 255, 0.05);
    color: var(--ld-text);
}

.btn-ld-on-dark {
    background: #fafafa;
    color: #0a0a0a;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-ld-on-dark:hover {
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* --- Hero --- */
.landing-hero {
    padding: clamp(5rem, 12vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
    text-align: center;
    position: relative;
}

.landing-hero__eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ld-accent);
    margin-bottom: 1.25rem;
}

.landing-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 920px;
    margin: 0 auto 1.25rem;
    color: var(--ld-text);
}

.landing-hero .lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--ld-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

.landing-hero__trust {
    font-size: 0.9rem;
    color: var(--ld-dim);
    margin-top: 2rem;
}

.landing-hero__visual {
    margin-top: 3.5rem;
    border-radius: 20px;
    border: 1px solid var(--ld-border);
    background: linear-gradient(180deg, var(--ld-elevated) 0%, var(--ld-surface) 100%);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-height: 420px;
}

.landing-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

/* --- Sections --- */
.ld-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.ld-section--surface {
    background: var(--ld-surface);
    border-top: 1px solid var(--ld-border);
    border-bottom: 1px solid var(--ld-border);
}

.ld-section--elevated {
    background: linear-gradient(180deg, var(--ld-elevated) 0%, var(--ld-surface) 100%);
}

.ld-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ld-text);
    margin-bottom: 0.75rem;
}

.ld-section-subtitle {
    font-size: 1.1rem;
    color: var(--ld-muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.ld-section-title-wrap {
    text-align: center;
    margin-bottom: 3rem;
}

/* Problem list */
.ld-problem-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.ld-problem-list li {
    padding: 0.85rem 0 0.85rem 1.75rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--ld-muted);
    border-bottom: 1px solid var(--ld-border);
}

.ld-problem-list li:last-child {
    border-bottom: none;
}

.ld-problem-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15rem;
    width: 8px;
    height: 8px;
    background: var(--ld-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--ld-accent-glow);
}

.ld-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ld-text);
}

/* Cards */
.ld-card {
    background: var(--ld-elevated);
    border: 1px solid var(--ld-border);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}

.ld-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 222, 128, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.ld-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(34, 197, 94, 0.08) 100%);
    border: 1px solid rgba(74, 222, 128, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ld-accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.ld-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ld-text);
    margin-bottom: 0.5rem;
}

.ld-card p {
    color: var(--ld-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.55;
}

/* Steps */
.ld-step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #052e16;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px var(--ld-accent-glow);
}

.ld-step-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.ld-step-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ld-text);
    margin-bottom: 0.35rem;
}

.ld-step-card p {
    color: var(--ld-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Role cards (larger icon) */
.ld-role-card .ld-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 1.4rem;
}

/* Pricing */
.package-role-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ld-text);
}

.package-role-section .ld-rule {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--ld-accent), transparent);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.package-card-ld {
    background: var(--ld-elevated);
    border-radius: 16px;
    border: 1px solid var(--ld-border);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.package-card-ld:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 222, 128, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.package-card-ld h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ld-text);
}

.package-card-ld .desc {
    font-size: 0.875rem;
    color: var(--ld-muted);
    line-height: 1.5;
}

.package-card-ld .price-box {
    margin: 1.25rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ld-border);
    border-radius: 12px;
}

.package-card-ld .price-main {
    font-size: 2.25rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--ld-accent);
}

.package-card-ld .price-note {
    font-size: 0.875rem;
    color: var(--ld-muted);
}

.package-card-ld .badge-save {
    display: inline-block;
    margin-top: 0.5rem;
    background: rgba(74, 222, 128, 0.15);
    color: var(--ld-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.package-card-ld ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.package-card-ld li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--ld-border);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--ld-muted);
}

.package-card-ld li:last-child {
    border-bottom: none;
}

.package-card-ld li i {
    color: var(--ld-accent);
    margin-right: 0.65rem;
}

.package-card-ld .btn-package {
    display: block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #052e16;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.package-card-ld .btn-package:hover {
    color: #052e16;
    transform: scale(1.02);
    box-shadow: 0 8px 28px var(--ld-accent-glow);
}

/* CTA band */
.ld-cta {
    padding: clamp(4rem, 10vw, 6rem) 0;
    text-align: center;
    background: linear-gradient(135deg, #0a1628 0%, #050506 40%, #0a1f14 100%);
    border-top: 1px solid var(--ld-border);
    position: relative;
    overflow: hidden;
}

.ld-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(74, 222, 128, 0.15), transparent 70%);
    pointer-events: none;
}

.ld-cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    position: relative;
    margin-bottom: 1.25rem;
}

.ld-cta .subline {
    font-size: 0.95rem;
    color: var(--ld-muted);
    margin-top: 1rem;
    position: relative;
}

/* Footer */
.landing-footer {
    background: var(--ld-black);
    border-top: 1px solid var(--ld-border);
    color: var(--ld-muted);
    padding: 2.5rem 0;
}

.landing-footer a {
    color: var(--ld-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.landing-footer a:hover {
    color: var(--ld-accent);
}

/* Image frame */
.ld-img-frame {
    border-radius: 16px;
    border: 1px solid var(--ld-border);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.ld-img-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.dropdown-item-form {
    padding: 0;
}

.dropdown-item-form .dropdown-item {
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    cursor: pointer;
}
