/* =========================================================
   Seledia Solutions — Landing Page Stylesheet
   Brand colors: #041141 #6FFCE9 #4621EE #1C6EED #5EE1EA
   ========================================================= */

:root {
    --navy: #041141;
    --mint: #6FFCE9;
    --purple: #4621EE;
    --blue: #1254CB;
    --cyan: #1254CB;
    --navy-light: #0a1d5c;
    --bg: #fafbff;
    --bg-alt: #f0f2fa;
    --text: #2a2a3d;
    --text-muted: #6b7089;
    --white: #ffffff;
    --border: #e2e5f1;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(4, 17, 65, 0.08);
    --shadow-lg: 0 12px 48px rgba(4, 17, 65, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
}


/* ===================== NAVBAR ===================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.35s ease;
    background: transparent;
}

.navbar.nav-scrolled {
    background: rgba(4, 17, 65, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-lang {
    position: relative;
}

.lang-btn {
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
}

.lang-btn:hover {
    color: var(--white);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    min-width: 80px;
    background: transparent;
    border-radius: 8px;
    padding: 8px 0;
    z-index: 100;
}

.nav-lang.open .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    text-align: center;
}

.lang-dropdown a:hover {
    color: var(--white);
}

.lang-dropdown a.lang-active {
    color: var(--white);
    font-weight: 700;
}


/* ===================== HERO ===================== */

.hero {
    position: relative;
    background: linear-gradient(135deg, #1e4fa0 0%, #123580 25%, #0a2260 45%, #041141 65%, #041141 100%);
    color: var(--white);
    padding: 55px 0 50px;
    padding-top: 80px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-glow {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo img {
    width: 140px;
    height: auto;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #3193ec 0%, #50c9eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 500;
    margin-bottom: 28px;
    opacity: 0.85;
}

.hero-tagline {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===================== BUTTONS ===================== */

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    font-family: inherit;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
}

.btn-primary:hover {
    background: #3818cc;
    border-color: #3818cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(70, 33, 238, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(70, 33, 238, 0.15);
}


/* ===================== FEATURES ===================== */

.features {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    text-align: center;
    max-width: 500px;
    margin: 0 auto 56px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cyan);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ===================== HOW IT WORKS ===================== */

.how-it-works {
    padding: 90px 0;
    background: var(--bg-alt);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 56px;
}

.step {
    text-align: center;
    max-width: 280px;
    padding: 0 20px;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--purple);
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(70, 33, 238, 0.3);
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    margin-top: 26px;
    flex-shrink: 0;
}


/* ===================== PRICING ===================== */

.pricing {
    padding: 100px 0;
    background: var(--white);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.25s;
}

.toggle-label.toggle-active {
    color: var(--navy);
    font-weight: 600;
}

.save-badge {
    background: var(--mint);
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 6px;
    letter-spacing: 0.3px;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    display: inline-block;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--border);
    border-radius: 26px;
    transition: 0.3s;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--purple);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 780px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-pro {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.pricing-card-pro .plan-name {
    color: var(--cyan);
}

.pricing-card-pro .plan-features li {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card-pro .plan-features li::before {
    color: var(--mint);
}

.pricing-card-pro .plan-note {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-card-pro .btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    font-weight: 700;
}

.pricing-card-pro .btn-primary:hover {
    background: #0e44a8;
    border-color: #0e44a8;
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 6px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
}

.amount {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
}

.period {
    font-size: 15px;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-card-pro .period {
    color: rgba(255, 255, 255, 0.5);
}

.plan-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.plan-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding-left: 24px;
    position: relative;
}

.pricing-card-pro .plan-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--purple);
    font-weight: 700;
}

.plan-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 36px;
}


/* ===================== FAQ ===================== */

.faq {
    padding: 90px 0;
    background: var(--bg-alt);
}

.faq-list {
    max-width: 680px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-question::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: var(--purple);
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    content: "−";
}

.faq-question:hover {
    color: var(--purple);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
}


/* ===================== FOOTER ===================== */

.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.6);
    padding: 48px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.footer-name {
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(90deg, #3193ec 0%, #50c9eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.2s, transform 0.2s;
}

.footer-social a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}


/* ===================== HAMBURGER MENU ===================== */

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-hamburger:hover span {
    background: var(--white);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
    .nav-hamburger {
        display: block;
    }

    .nav-content {
        justify-content: flex-end;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(4, 17, 65, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px 28px;
        gap: 16px;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links a {
        font-size: 16px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links a:last-of-type {
        border-bottom: none;
    }

    .nav-lang {
        padding-top: 8px;
    }

    .hero {
        padding-top: 70px;
        padding-bottom: 40px;
    }

    .hero-logo img {
        width: 100px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .features {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .how-it-works {
        padding: 60px 0;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .step {
        max-width: 100%;
    }

    .step-connector {
        width: 2px;
        height: 30px;
        background: linear-gradient(180deg, var(--cyan), var(--purple));
    }

    .pricing {
        padding: 60px 0;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .faq {
        padding: 60px 0;
    }

    .faq-question {
        font-size: 15px;
    }

    .footer {
        padding: 36px 0;
    }

    .footer-social {
        gap: 16px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-title {
        font-size: 28px;
    }

    .contact-socials {
        flex-direction: column;
        gap: 12px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}


/* ===================== LEGAL PAGES ===================== */

.legal-page {
    padding: 120px 0 80px;
    background: var(--white);
    min-height: 60vh;
}

.legal-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.legal-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal-content {
    max-width: 720px;
}

.legal-content h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 16px;
}

.legal-placeholder {
    background: var(--bg-alt);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 32px;
}

.contact-socials {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.25s ease;
}

.contact-social-link:hover {
    color: var(--purple);
    border-color: var(--purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}


/* ===================== BACK TO TOP ===================== */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: none;
    border: none;
    color: rgba(107, 112, 137, 0.4);
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    padding: 0;
    font-family: inherit;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    color: rgba(107, 112, 137, 0.7);
    transform: translateY(-2px);
}