/* =========================================================================
   Taverio marketing landing page
   Brand colors: --brand (deep blue/grey) and --accent (warm orange)
   ========================================================================= */

:root {
    --brand: #2C3E50;
    --brand-dark: #1f2d3a;
    --accent: #E67E22;
    --accent-dark: #d36b13;
    --ink: #1f2937;
    --ink-soft: #4b5563;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #ffffff;
    --bg-soft: #f8f9fb;
    --bg-deep: #f1f3f7;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.15);
    --max-w: 1140px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    color: var(--brand);
    line-height: 1.2;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--ink-soft); }

.lp-container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Header ---------- */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 64px;
}

.lp-logo {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--brand);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lp-logo-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand) 0%, #4a6580 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
}

.lp-logo-text { font-size: 1.15rem; }

.lp-nav {
    display: flex;
    gap: 1.75rem;
    margin-left: auto;
    margin-right: 1rem;
}

.lp-nav a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: .95rem;
}

.lp-nav a:hover { color: var(--brand); }

.lp-lang {
    display: inline-flex;
    gap: 2px;
    background: var(--bg-deep);
    padding: 3px;
    border-radius: 8px;
}

.lp-lang-btn {
    background: transparent;
    border: 0;
    padding: .35rem .65rem;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all .15s;
    letter-spacing: .03em;
}

.lp-lang-btn:hover { color: var(--brand); }
.lp-lang-btn.active {
    background: #fff;
    color: var(--brand);
    box-shadow: var(--shadow-sm);
}

.lp-hamburger {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}
.lp-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .15s;
    line-height: 1;
    text-decoration: none;
}

.lp-btn-primary {
    background: var(--accent);
    color: #fff;
}
.lp-btn-primary:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(230, 126, 34, 0.3);
}

.lp-btn-secondary {
    background: #fff;
    color: var(--brand);
    border-color: var(--line);
}
.lp-btn-secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.lp-btn-block { width: 100%; }

/* ---------- Hero ---------- */
.lp-hero {
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
    background:
        radial-gradient(ellipse at top right, rgba(230, 126, 34, 0.08), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(44, 62, 80, 0.05), transparent 50%),
        var(--bg);
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
    align-items: center;
}

.lp-eyebrow {
    display: inline-block;
    padding: .35rem .8rem;
    border-radius: 100px;
    background: rgba(44, 62, 80, 0.08);
    color: var(--brand);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 1rem;
}

.lp-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--ink-soft);
    margin-top: 1rem;
    margin-bottom: 1.75rem;
    max-width: 36rem;
}

.lp-cta-row {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.lp-trust {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
}
.lp-trust li {
    color: var(--muted);
    font-size: .92rem;
    position: relative;
    padding-left: 1.2rem;
}
.lp-trust li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 800;
    position: absolute;
    left: 0;
}

/* ---------- Hero phone mockup ---------- */
.lp-hero-visual {
    position: relative;
    height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-phone {
    width: 290px;
    height: 540px;
    background: #111827;
    border-radius: 38px;
    padding: 14px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-3deg);
    position: relative;
}

.lp-phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lp-phone-bar {
    background: var(--brand);
    color: #fff;
    padding: 14px 16px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lp-phone-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #34d399;
}
.lp-phone-title { font-weight: 600; font-size: .85rem; }

.lp-phone-cat {
    padding: 12px 14px 6px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .68rem;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.lp-phone-item {
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    font-size: .8rem;
}
.lp-phone-item-name { font-weight: 600; color: var(--ink); }
.lp-phone-item-desc { color: var(--muted); font-size: .7rem; margin-top: 2px; }
.lp-phone-price { font-weight: 700; color: var(--brand); white-space: nowrap; }

.lp-phone-cart {
    margin-top: auto;
    background: var(--brand);
    color: #fff;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    font-weight: 600;
}
.lp-phone-cart button {
    background: var(--accent);
    color: #fff;
    border: 0;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    cursor: default;
    font-size: .8rem;
}

.lp-ticket {
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    width: 200px;
    transform: rotate(5deg);
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: .78rem;
    z-index: 2;
}
.lp-ticket-head {
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .7rem;
    margin-bottom: 8px;
}
.lp-ticket-line { color: var(--ink); margin: 3px 0; }
.lp-ticket-meta { color: var(--muted); margin-top: 8px; font-size: .7rem; }

/* ---------- Sections ---------- */
.lp-section {
    padding: clamp(3rem, 7vw, 6rem) 0;
}
.lp-section-muted {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lp-section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}
.lp-section-head p {
    font-size: 1.1rem;
    color: var(--ink-soft);
}

/* ---------- Grids ---------- */
.lp-grid {
    display: grid;
    gap: 1.5rem;
}
.lp-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.lp-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.lp-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: rgba(230, 126, 34, 0.4);
}

.lp-card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), #4a6580);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

/* ---------- Steps ---------- */
.lp-steps .lp-step {
    background: transparent;
    padding: 1rem 0;
    text-align: center;
}
.lp-step-num {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

/* ---------- Pricing ---------- */
.lp-plans {
    align-items: stretch;
}

.lp-plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
}
.lp-plan-featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}
.lp-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.lp-plan-name {
    font-weight: 700;
    color: var(--brand);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.lp-plan-price {
    margin: .75rem 0 .25rem;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.lp-price-currency { font-size: 1.2rem; color: var(--brand); font-weight: 700; }
.lp-price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
    letter-spacing: -0.02em;
}
.lp-price-custom { font-size: 2rem; }
.lp-price-period { color: var(--muted); font-size: .95rem; }

.lp-plan-tag {
    color: var(--muted);
    font-size: .9rem;
    margin: 0 0 1.25rem;
}

.lp-plan-feat {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    border-top: 1px solid var(--line);
    flex: 1;
}
.lp-plan-feat li {
    padding: .65rem 0 .65rem 1.5rem;
    color: var(--ink);
    font-size: .92rem;
    position: relative;
    border-bottom: 1px solid var(--line);
}
.lp-plan-feat li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 800;
    position: absolute;
    left: 0;
}
.lp-plan-feat li.lp-feat-off {
    color: var(--muted);
}
.lp-plan-feat li.lp-feat-off::before {
    content: "—";
    color: var(--muted);
}

.lp-pricing-foot {
    text-align: center;
    color: var(--muted);
    font-size: .88rem;
    margin-top: 2rem;
}

/* ---------- Contact ---------- */
.lp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.lp-contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.lp-contact-list li {
    padding: .35rem 0;
    color: var(--ink-soft);
}

.lp-form {
    background: #fff;
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.lp-form label {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
}

.lp-form input,
.lp-form textarea {
    padding: .7rem .85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: .98rem;
    font-family: inherit;
    background: #fff;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}
.lp-form input:focus,
.lp-form textarea:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.18);
}

.lp-form textarea { resize: vertical; min-height: 100px; }

.lp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
}

.lp-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
}

.lp-form-status {
    font-size: .92rem;
    margin-top: .25rem;
    min-height: 1.2em;
}
.lp-form-status.ok { color: #16a34a; }
.lp-form-status.err { color: #dc2626; }

/* ---------- Footer ---------- */
.lp-footer {
    background: var(--brand-dark);
    color: #cbd5e1;
    padding: 3rem 0 0;
}

.lp-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.lp-footer-brand .lp-logo {
    color: #fff;
    margin-bottom: .75rem;
}
.lp-footer-brand p {
    color: #94a3b8;
    font-size: .92rem;
    max-width: 18rem;
}

.lp-footer-links h4 {
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1rem;
}
.lp-footer-links a {
    display: block;
    color: #cbd5e1;
    font-size: .92rem;
    padding: .2rem 0;
}
.lp-footer-links a:hover { color: #fff; }

.lp-footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    color: #94a3b8;
    font-size: .85rem;
}
.lp-footer-copy .lp-container {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
.lp-footer-sep { color: rgba(255, 255, 255, 0.2); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .lp-nav { display: none; }
    .lp-hamburger { display: flex; }
    .lp-header-inner { gap: .5rem; }

    .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .lp-hero-visual {
        height: 480px;
        order: -1;
    }

    .lp-grid-3 { grid-template-columns: 1fr 1fr; }
    .lp-plans { grid-template-columns: 1fr; }
    .lp-plan-featured { transform: none; }

    .lp-contact-grid { grid-template-columns: 1fr; }

    .lp-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .lp-grid-3 { grid-template-columns: 1fr; }
    .lp-form-row { grid-template-columns: 1fr; }
    .lp-footer-inner { grid-template-columns: 1fr; }
    .lp-phone { transform: rotate(0deg); width: 260px; height: 480px; }
    .lp-hero-visual { height: 460px; }
    .lp-ticket { transform: rotate(0deg); top: 30px; right: -10px; }
}

/* Mobile nav (when hamburger toggled) */
.lp-nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .5rem 0;
    box-shadow: var(--shadow);
}
.lp-nav.open a {
    padding: .85rem 1.25rem;
    border-top: 1px solid var(--line);
}
