/* ============================================================
   Landing Page — Walnai LLC
   Scoped to .lp-* classes; no conflicts with main site styles.
   ============================================================ */

/* ---------- Cookie notice bar ---------- */
.lp-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.92);
    border-top: 1px solid rgba(196, 157, 72, 0.2);
    padding: 10px 24px;
    font-size: 0.82rem;
    color: #aaa;
    font-family: 'Jost', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-cookie-bar i {
    color: #c49d48;
    flex-shrink: 0;
}

.lp-cookie-bar a {
    color: #c49d48;
    text-decoration: underline;
}

.lp-cookie-bar a:hover {
    color: #e0b85a;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body.dark-theme .lp-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
    color: #e8e8e8;
    font-family: 'Jost', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* ---------- SVG Background ---------- */
.lp-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.lp-bg-svg {
    width: 100%;
    height: 100%;
}

/* Circuit line animations */
.lp-circuit-1 {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: lp-draw 4s ease forwards;
}

.lp-circuit-2 {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: lp-draw 4s ease 0.6s forwards;
}

.lp-circuit-3 {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: lp-draw 4s ease 1.2s forwards;
}

@keyframes lp-draw {
    to { stroke-dashoffset: 0; }
}

/* Node pulse animations */
.lp-node-pulse {
    animation: lp-pulse 3s ease-in-out infinite;
}

.lp-delay-1 { animation-delay: 0.8s; }
.lp-delay-2 { animation-delay: 1.6s; }
.lp-delay-3 { animation-delay: 2.4s; }

@keyframes lp-pulse {
    0%, 100% { r: 4; fill-opacity: 0.4; }
    50%       { r: 7; fill-opacity: 1;   }
}

/* ---------- All content above bg ---------- */
.lp-header,
.lp-main,
.lp-footer {
    position: relative;
    z-index: 1;
}

/* ---------- Header ---------- */
.lp-header {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(196, 157, 72, 0.2);
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.lp-header-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #e8e8e8;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.lp-logo-img {
    height: 36px;
    width: auto;
}

.lp-phone {
    color: #c49d48;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.lp-phone:hover { color: #e0b85a; }

/* ---------- Main ---------- */
.lp-main {
    flex: 1;
    display: flex;
    align-items: center;
}

/* ---------- Hero ---------- */
.lp-hero {
    width: 100%;
    padding: 60px 24px;
}

.lp-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 60px;
    align-items: center;
}

/* ---------- Copy side ---------- */
.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(196, 157, 72, 0.12);
    color: #c49d48;
    border: 1px solid rgba(196, 157, 72, 0.35);
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.lp-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #c49d48;
    border-radius: 50%;
    animation: lp-blink 1.8s ease-in-out infinite;
}

@keyframes lp-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.lp-headline {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 0 60px rgba(196, 157, 72, 0.15);
}

.lp-subheadline {
    font-size: 1.05rem;
    color: #a0a0a0;
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

.lp-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lp-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #d0d0d0;
    padding: 10px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: background 0.2s, border-color 0.2s;
}

.lp-benefits li:hover {
    background: rgba(196, 157, 72, 0.05);
    border-color: rgba(196, 157, 72, 0.15);
}

.lp-benefits li i {
    color: #c49d48;
    font-size: 1rem;
    flex-shrink: 0;
}

.lp-trust {
    display: flex;
    gap: 0;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.lp-trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding: 0 16px;
    border-right: 1px solid rgba(255,255,255,0.07);
}

.lp-trust-item:first-child { padding-left: 0; }
.lp-trust-item:last-child  { border-right: none; }

.lp-trust-number {
    font-size: 2rem;
    font-weight: 800;
    color: #c49d48;
    line-height: 1;
}

.lp-trust-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

/* ---------- Form card ---------- */
.lp-form-card {
    background: rgba(18, 18, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(196, 157, 72, 0.25);
    border-radius: 20px;
    padding: 44px 40px;
    box-shadow:
        0 0 0 1px rgba(196, 157, 72, 0.06),
        0 32px 80px rgba(0,0,0,0.6),
        0 0 60px rgba(196, 157, 72, 0.06) inset;
}

.lp-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.lp-form-subtitle {
    font-size: 0.88rem;
    color: #777;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lp-field {
    margin-bottom: 16px;
}

.lp-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #999;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.lp-input {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #e8e8e8;
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    padding: 11px 14px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    appearance: none;
}

.lp-input:focus {
    border-color: rgba(196, 157, 72, 0.5);
    background: rgba(196, 157, 72, 0.04);
    box-shadow: 0 0 0 3px rgba(196, 157, 72, 0.1);
}

.lp-input::placeholder { color: #444; }

.lp-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.lp-select option {
    background: #161616;
    color: #e8e8e8;
}

.lp-error {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #f87171;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.lp-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #c49d48 0%, #e0b85a 100%);
    color: #000;
    border: none;
    border-radius: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 20px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    letter-spacing: 0.04em;
    margin-top: 8px;
    box-shadow: 0 4px 24px rgba(196, 157, 72, 0.3);
}

.lp-submit-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(196, 157, 72, 0.4);
}

.lp-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---------- Validation messages ---------- */
.lp-form-card .validation-message {
    color: #f87171;
    font-size: 0.78rem;
    margin-top: 4px;
    display: block;
}

/* ---------- Success state ---------- */
.lp-success {
    text-align: center;
    padding: 32px 0;
}

.lp-success-icon {
    font-size: 3.5rem;
    color: #c49d48;
    display: block;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(196, 157, 72, 0.5));
    animation: lp-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lp-pop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.lp-success h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.lp-success p {
    color: #999;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.lp-redirect-msg {
    color: #c49d48 !important;
    font-size: 0.83rem !important;
    margin-top: 20px !important;
}

/* ---------- Footer ---------- */
.lp-footer {
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.04);
    text-align: center;
    padding: 20px 24px;
}

.lp-footer p {
    color: #444;
    font-size: 0.8rem;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lp-hero-copy { text-align: center; }
    .lp-benefits li { justify-content: flex-start; }
    .lp-trust { justify-content: center; }
    .lp-subheadline { max-width: 100%; }
    .lp-badge { margin: 0 auto 24px; display: inline-flex; }
}

@media (max-width: 480px) {
    .lp-hero         { padding: 36px 16px; }
    .lp-form-card    { padding: 28px 20px; }
    .lp-trust        { gap: 0; flex-wrap: wrap; }
    .lp-trust-item   { flex: 1 1 50%; padding: 8px; border-right: none; }
    .lp-header       { padding: 0 16px; }
}
