﻿/* ============================================
   LEADIDO HOMEPAGE — FULL CSS
   Modern SaaS Landing Page
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7367F0;
    --primary-light: #9E95F5;
    --primary-dark: #5A4FD6;
    --primary-bg: rgba(115, 103, 240, 0.08);
    --secondary: #28C76F;
    --dark: #283046;
    --dark-light: #3B4253;
    --light: #F8F8F8;
    --white: #FFFFFF;
    --text: #6E6B7B;
    --heading: #2C2C2C;
    --border: #EBE9F1;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --shadow-primary: 0 4px 20px rgba(115, 103, 240, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.leadido-homepage {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Reset WordPress/Elementor heading overrides */
body.leadido-homepage h1,
body.leadido-homepage h2,
body.leadido-homepage h3,
body.leadido-homepage h4,
body.leadido-homepage h5,
body.leadido-homepage h6 {
    text-shadow: none !important;
    filter: none !important;
    font-stretch: normal !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.ld-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- HEADER ---------- */
.ld-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.ld-header.scrolled {
    padding: 10px 0;
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.ld-header .ld-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ld-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.ld-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.ld-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.5px;
}

.ld-nav {
    display: flex;
    gap: 32px;
}

.ld-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.ld-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.ld-nav a:hover {
    color: var(--primary);
}

.ld-nav a:hover::after {
    width: 100%;
}

.ld-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Toggle */
.ld-lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
    transition: var(--transition);
}

.ld-lang-toggle:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.ld-lang-flag {
    font-size: 18px;
}

/* Policy pages: keep language toggle minimal like homepage-v2 */
body.leadido-policy-page .ld-lang-toggle {
    min-height: 36px;
    padding: 4px 10px;
    border-radius: 999px;
    gap: 4px;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: #4b5563;
    border-color: rgba(115, 103, 240, 0.2);
    background: rgba(255, 255, 255, 0.82);
}

body.leadido-policy-page .ld-lang-toggle:hover {
    color: #283046;
    background: #ffffff;
    border-color: rgba(115, 103, 240, 0.34);
}

body.leadido-policy-page .ld-lang-flag {
    display: none;
}

body.leadido-policy-page .ld-lang-code {
    font-size: 12px;
    line-height: 1;
}

/* Buttons */
.ld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.ld-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-primary);
}

.ld-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(115, 103, 240, 0.4);
    color: white;
}

.ld-btn-ghost {
    background: transparent;
    color: var(--heading);
    border: 1px solid var(--border);
}

.ld-btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.ld-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.ld-btn-outline:hover {
    background: var(--primary);
    color: white;
}

.ld-btn-white {
    background: white;
    color: var(--primary);
    font-weight: 700;
}

.ld-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.ld-btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.ld-btn-block {
    width: 100%;
    padding: 14px 24px;
}

/* Mobile Menu */
.ld-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.ld-mobile-menu span {
    width: 24px;
    height: 2px;
    background: var(--heading);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- HERO ---------- */
.ld-hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.ld-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ld-hero-gradient {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(115, 103, 240, 0.07), transparent 70%);
}

.ld-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(115, 103, 240, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

.ld-hero .ld-container {
    position: relative;
    z-index: 1;
}

.ld-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ld-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.ld-hero-badge i {
    font-size: 12px;
}

.ld-hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--heading);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.ld-hero-text h1 span {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ld-hero-text > p {
    font-size: 18px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.ld-hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Hero Stats */
.ld-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ld-hero-stat strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--heading);
}

.ld-hero-stat span {
    font-size: 13px;
    color: var(--text);
}

.ld-hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Mockup */
.ld-hero-visual {
    position: relative;
}

.ld-hero-mockup {
    position: relative;
}

.ld-mockup-browser {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.ld-mockup-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.ld-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ld-dot.red { background: #EA5455; }
.ld-dot.yellow { background: #FF9F43; }
.ld-dot.green { background: #28C76F; }

.ld-mockup-url {
    margin-left: 12px;
    font-size: 12px;
    color: var(--text);
    background: var(--white);
    padding: 4px 12px;
    border-radius: 6px;
    flex: 1;
    max-width: 200px;
}

.ld-mockup-screen {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #f0efff, #e8e6fd);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ld-mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ld-mockup-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(115, 103, 240, 0.05) 0%, rgba(40, 199, 111, 0.05) 100%);
    position: relative;
    overflow: hidden;
    color: var(--primary);
    gap: 16px;
}

.ld-mockup-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(0deg, transparent 24%, rgba(115, 103, 240, 0.05) 25%, rgba(115, 103, 240, 0.05) 26%, transparent 27%, transparent 74%, rgba(115, 103, 240, 0.05) 75%, rgba(115, 103, 240, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(115, 103, 240, 0.05) 25%, rgba(115, 103, 240, 0.05) 26%, transparent 27%, transparent 74%, rgba(115, 103, 240, 0.05) 75%, rgba(115, 103, 240, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    animation: grid-animation 20s linear infinite;
}

@keyframes grid-animation {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50px);
    }
}

.ld-mockup-placeholder i {
    font-size: 56px;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

.ld-mockup-placeholder span {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.7;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

/* Floating Cards */
.ld-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    animation: ldFloat 3s ease-in-out infinite;
}

.ld-float-card i {
    font-size: 20px;
    color: var(--primary);
}

.ld-float-card strong {
    display: block;
    font-size: 14px;
    color: var(--heading);
}

.ld-float-card small {
    font-size: 11px;
    color: var(--text);
}

.ld-float-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.ld-float-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 1.5s;
}

.ld-float-2 i { color: var(--secondary); }

@keyframes ldFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- SECTIONS ---------- */
.ld-section {
    padding: 100px 0;
}

.ld-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.ld-tag {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.ld-section-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.ld-section-header p {
    font-size: 17px;
    color: var(--text);
}

/* ---------- FEATURES ---------- */
.ld-features {
    background: var(--light);
}

.ld-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ld-feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.ld-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.ld-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    background: color-mix(in srgb, var(--icon-color) 10%, transparent);
    color: var(--icon-color);
}

.ld-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
}

.ld-feature-card p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
}

/* ---------- HOW IT WORKS ---------- */
.ld-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.ld-step {
    text-align: center;
    max-width: 300px;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.ld-step:hover {
    background: var(--light);
}

.ld-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto 16px;
}

.ld-step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.ld-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
}

.ld-step p {
    font-size: 15px;
    color: var(--text);
}

.ld-step-connector {
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: var(--border);
    font-size: 20px;
}

/* ---------- PRICING ---------- */
.ld-pricing {
    background: var(--light);
}

.ld-pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    font-weight: 600;
    color: var(--text);
}

.ld-toggle {
    position: relative;
    width: 52px;
    height: 28px;
}

.ld-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ld-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--border);
    border-radius: 28px;
    transition: var(--transition);
}

.ld-toggle-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.ld-toggle input:checked + .ld-toggle-slider {
    background: var(--primary);
}

.ld-toggle input:checked + .ld-toggle-slider::before {
    transform: translateX(24px);
}

.ld-pricing-badge {
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.ld-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.ld-pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.ld-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.ld-pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
    transform: scale(1.05);
}

.ld-pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.ld-pricing-badge-card {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 6px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
}

.ld-pricing-header {
    margin-bottom: 24px;
}

.ld-pricing-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 4px;
}

.ld-pricing-header p {
    font-size: 14px;
    color: var(--text);
}

.ld-pricing-price {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.ld-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading);
    vertical-align: super;
}

.ld-amount {
    font-size: 52px;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -2px;
}

.ld-period {
    font-size: 16px;
    color: var(--text);
    font-weight: 400;
}

.ld-pricing-price.enterprise {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.ld-amount-label {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.ld-pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.ld-pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--text);
}

.ld-pricing-features li i {
    color: var(--secondary);
    font-size: 13px;
    flex-shrink: 0;
}

/* ---------- CTA ---------- */
.ld-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
}

.ld-cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.ld-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* ---------- FOOTER ---------- */
.ld-footer {
    background: var(--dark);
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.6);
}

.ld-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.ld-footer .ld-logo-icon {
    background: rgba(115, 103, 240, 0.2);
}

.ld-footer .ld-logo-text {
    color: white;
}

.ld-footer-brand > p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
    max-width: 280px;
}

.ld-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.ld-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.ld-social a:hover {
    background: var(--primary);
    color: white;
}

.ld-footer-links h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.ld-footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: var(--transition);
}

.ld-footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.ld-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .ld-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ld-hero-text h1 {
        font-size: 40px;
    }

    .ld-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ld-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ld-pricing-card.featured {
        transform: none;
    }

    .ld-pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .ld-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .ld-nav, .ld-header-actions .ld-btn {
        display: none;
    }

    .ld-mobile-menu {
        display: flex;
    }

    .ld-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .ld-hero-text h1 {
        font-size: 32px;
    }

    .ld-hero-text > p {
        font-size: 16px;
    }

    .ld-hero-buttons {
        flex-direction: column;
    }

    .ld-hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .ld-hero-stat-divider {
        display: none;
    }

    .ld-section {
        padding: 60px 0;
    }

    .ld-section-header h2 {
        font-size: 28px;
    }

    .ld-features-grid {
        grid-template-columns: 1fr;
    }

    .ld-steps {
        flex-direction: column;
        align-items: center;
    }

    .ld-step-connector {
        padding-top: 0;
        transform: rotate(90deg);
    }

    .ld-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .ld-footer-grid {
        grid-template-columns: 1fr;
    }

    .ld-cta-content h2 {
        font-size: 26px;
    }

    body.leadido-policy-page .ld-lang-toggle {
        min-height: 30px;
        padding: 2px 8px;
    }

    body.leadido-policy-page .ld-nav.open + .ld-header-actions {
        align-items: flex-start;
        gap: 8px;
        padding: 0 16px 14px;
    }

    body.leadido-policy-page .ld-nav.open + .ld-header-actions .ld-lang-toggle {
        width: auto;
        align-self: flex-start;
    }
}

/* ---------- NAV MOBILE OPEN STATE ---------- */
.ld-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 16px;
}

.ld-nav.open + .ld-header-actions {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 160px);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0 24px 20px;
    box-shadow: var(--shadow-md);
}

/* Mobile menu active state */
.ld-mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.ld-mobile-menu.active span:nth-child(2) {
    opacity: 0;
}
.ld-mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.ld-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ld-animate.visible {
    opacity: 1;
    transform: translateY(0);
}
