/* =====================================================
   THEME
===================================================== */

:root {

    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: rgba(37, 99, 235, .10);

    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --card: #ffffff;

    --text: #0f172a;
    --text-secondary: #64748b;

    --border: #e2e8f0;

    --success: #16a34a;

    --header-bg: rgba(255, 255, 255, .88);

    --footer: #020617;

    --shadow:
            0 20px 50px rgba(15, 23, 42, .08);

    --shadow-hover:
            0 25px 60px rgba(15, 23, 42, .13);

    --radius: 16px;
}


/* =====================================================
   DARK MODE
===================================================== */

@media (prefers-color-scheme: dark) {

    :root {

        --bg: #0f172a;
        --bg-secondary: #111827;
        --card: #1e293b;

        --text: #f8fafc;
        --text-secondary: #94a3b8;

        --border: #334155;

        --header-bg: rgba(15, 23, 42, .90);

        --shadow:
                0 20px 50px rgba(0, 0, 0, .35);

        --shadow-hover:
                0 25px 60px rgba(0, 0, 0, .45);
    }
}


body.light {

    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --card: #ffffff;

    --text: #0f172a;
    --text-secondary: #64748b;

    --border: #e2e8f0;

    --header-bg: rgba(255,255,255,.90);

    --shadow:
            0 20px 50px rgba(15,23,42,.08);
}


body.dark {

    --bg: #0f172a;
    --bg-secondary: #111827;
    --card: #1e293b;

    --text: #f8fafc;
    --text-secondary: #94a3b8;

    --border: #334155;

    --header-bg: rgba(15,23,42,.90);

    --shadow:
            0 20px 50px rgba(0,0,0,.35);
}


/* =====================================================
   RESET
===================================================== */

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


html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


body {

    font-family:
            Inter,
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            Arial,
            sans-serif;

    background: var(--bg);

    color: var(--text);

    line-height: 1.6;

    transition:
            background .3s ease,
            color .3s ease;
}


body.no-scroll {
    overflow: hidden;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
select {
    font-family: inherit;
}


button {
    cursor: pointer;
}


.container {

    width: min(1180px, 92%);

    margin: auto;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: var(--header-bg);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    border-bottom:
            1px solid var(--border);
}


.navbar {

    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


.logo {

    font-size: 25px;

    font-weight: 850;

    color: var(--primary);

    letter-spacing: -1.5px;

    white-space: nowrap;
}


.logo span {
    color: var(--text);
}


.nav-links {

    display: flex;

    align-items: center;

    gap: 30px;

    list-style: none;

    margin-left: auto;
}


.nav-links a {

    color: var(--text-secondary);

    font-size: 14px;

    font-weight: 600;

    transition:
            color .2s ease;
}


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


.nav-actions {

    display: flex;

    align-items: center;

    gap: 9px;
}


.language-select {

    height: 40px;

    padding:
            0 10px;

    border:
            1px solid var(--border);

    border-radius: 9px;

    background: var(--card);

    color: var(--text);

    outline: none;

    cursor: pointer;
}


.theme-toggle {

    width: 40px;

    height: 40px;

    border:
            1px solid var(--border);

    background: var(--card);

    color: var(--text);

    border-radius: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 17px;

    transition: .2s;
}


.theme-toggle:hover {

    border-color: var(--primary);

    color: var(--primary);

    transform: translateY(-1px);
}


.nav-button {

    background: var(--primary);

    color: #fff;

    padding:
            10px 18px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 700;

    transition: .2s;
}


.nav-button:hover {

    background: var(--primary-hover);

    transform: translateY(-1px);
}


.mobile-menu-toggle {
    display: none;

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);

    border-radius: 9px;

    background: var(--card);

    color: var(--text);

    font-size: 20px;
}


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

.hero {

    position: relative;

    overflow: hidden;

    padding:
            110px 0 100px;

    background:

            radial-gradient(
                    circle at 10% 15%,
                    rgba(37, 99, 235, .13),
                    transparent 35%
            ),

            radial-gradient(
                    circle at 90% 80%,
                    rgba(59, 130, 246, .07),
                    transparent 30%
            ),

            var(--bg);
}


.hero-content {

    display: grid;

    grid-template-columns:
        1.02fr .98fr;

    gap: 70px;

    align-items: center;
}


.badge {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    background:
            var(--primary-light);

    color: var(--primary);

    padding:
            7px 14px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 750;

    margin-bottom: 20px;
}


.hero h1 {

    font-size:
            clamp(42px, 5vw, 68px);

    line-height: 1.05;

    letter-spacing: -3px;

    margin-bottom: 25px;
}


.hero h1 span:last-child {
    color: var(--primary);
}


.hero p {

    font-size: 18px;

    line-height: 1.75;

    color: var(--text-secondary);

    max-width: 630px;

    margin-bottom: 32px;
}


.hero-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


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

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding:
            13px 23px;

    border-radius: 10px;

    font-weight: 750;

    transition:
            transform .2s ease,
            box-shadow .2s ease,
            background .2s ease,
            border-color .2s ease;
}


.btn-primary {

    background: var(--primary);

    color: white;

    box-shadow:
            0 8px 20px rgba(37,99,235,.20);
}


.btn-primary:hover {

    background: var(--primary-hover);

    transform: translateY(-2px);

    box-shadow:
            0 12px 25px rgba(37,99,235,.28);
}


.btn-secondary {

    border:
            1px solid var(--border);

    background: var(--card);

    color: var(--text);
}


.btn-secondary:hover {

    border-color: var(--primary);

    color: var(--primary);

    transform: translateY(-2px);
}


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

.hero-image-wrapper {

    position: relative;

    cursor: zoom-in;

    z-index: 1;
}


.hero-image {

    width: 100%;

    max-width: 620px;

    display: block;

    margin: auto;

    border-radius: 18px;

    border:
            1px solid var(--border);

    box-shadow:
            0 30px 80px rgba(15,23,42,.18);

    transition:
            transform .35s ease,
            box-shadow .35s ease;
}


.hero-image-wrapper:hover .hero-image {

    transform:
            translateY(-5px)
            scale(1.015);

    box-shadow:
            0 40px 100px rgba(15,23,42,.23);
}


.image-decoration {

    position: absolute;

    width: 100px;

    height: 100px;

    border-radius: 25px;

    background:
            rgba(37,99,235,.10);

    z-index: -1;
}


.image-decoration-one {

    top: -25px;

    right: -25px;
}


.image-decoration-two {

    bottom: -25px;

    left: -25px;

    width: 75px;

    height: 75px;
}


.image-overlay {

    position: absolute;

    inset: 0;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
            rgba(15,23,42,.20);

    opacity: 0;

    transition:
            opacity .25s;

    pointer-events: none;
}


.hero-image-wrapper:hover .image-overlay {
    opacity: 1;
}


.image-overlay span {

    background:
            rgba(255,255,255,.96);

    color: #111827;

    padding:
            10px 16px;

    border-radius: 9px;

    font-weight: 700;

    font-size: 13px;
}


/* =====================================================
   LIGHTBOX
===================================================== */

.lightbox {

    position: fixed;

    inset: 0;

    z-index: 9999;

    background:
            rgba(2,6,23,.94);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 25px;

    cursor: zoom-out;
}


.lightbox.active {
    display: flex;
}


.lightbox img {

    max-width: 95vw;

    max-height: 92vh;

    object-fit: contain;

    border-radius: 12px;

    box-shadow:
            0 30px 100px rgba(0,0,0,.65);
}


.lightbox-close {

    position: fixed;

    top: 20px;

    right: 25px;

    width: 45px;

    height: 45px;

    border: 0;

    border-radius: 50%;

    background:
            rgba(255,255,255,.12);

    color: white;

    font-size: 28px;

    z-index: 10000;
}


.lightbox-close:hover {
    background:
            rgba(255,255,255,.22);
}


/* =====================================================
   SECTIONS
===================================================== */

.section {
    padding: 100px 0;
}


.section-header {

    text-align: center;

    max-width: 720px;

    margin:
            0 auto 55px;
}


.section-eyebrow {

    display: inline-block;

    color: var(--primary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    margin-bottom: 10px;
}


.section-header h2,
.advantages h2 {

    font-size:
            clamp(32px, 4vw, 43px);

    line-height: 1.15;

    letter-spacing: -1.5px;

    margin-bottom: 15px;
}


.section-header p {

    color: var(--text-secondary);

    font-size: 17px;
}


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

.features {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.feature {

    padding: 30px;

    border:
            1px solid var(--border);

    border-radius: var(--radius);

    background: var(--card);

    transition:
            transform .25s ease,
            box-shadow .25s ease,
            border-color .25s ease;
}


.feature:hover {

    transform:
            translateY(-6px);

    box-shadow:
            var(--shadow-hover);

    border-color:
            rgba(37,99,235,.30);
}


.icon {

    width: 52px;

    height: 52px;

    border-radius: 14px;

    background:
            var(--primary-light);

    color: var(--primary);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 23px;

    margin-bottom: 20px;
}


.feature h3 {

    font-size: 18px;

    margin-bottom: 9px;
}


.feature p {

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.7;
}


/* =====================================================
   MODULES
===================================================== */

.modules {
    background: var(--bg-secondary);
}


.module-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.module {

    background: var(--card);

    padding: 27px 20px;

    border-radius: 14px;

    border:
            1px solid var(--border);

    text-align: center;

    transition:
            transform .2s ease,
            box-shadow .2s ease;
}


.module:hover {

    transform:
            translateY(-5px);

    box-shadow:
            var(--shadow);
}


.module-icon {

    font-size: 32px;

    margin-bottom: 12px;
}


.module h3 {

    font-size: 17px;

    margin-bottom: 7px;
}


.module p {

    color: var(--text-secondary);

    font-size: 13px;
}


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

.pricing {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

    align-items: stretch;

    max-width: 1120px;

    margin: auto;
}


.price-card {

    border:
            1px solid var(--border);

    border-radius: 18px;

    padding: 35px;

    position: relative;

    background: var(--card);

    display: flex;

    flex-direction: column;

    transition:
            transform .25s ease,
            box-shadow .25s ease;
}


.price-card:hover {

    transform:
            translateY(-6px);

    box-shadow:
            var(--shadow-hover);
}


.price-card.popular {

    border:
            2px solid var(--primary);

    transform:
            scale(1.035);

    box-shadow:
            var(--shadow);

    z-index: 2;
}


.price-card.popular:hover {

    transform:
            scale(1.035)
            translateY(-6px);
}


.price-card.free {
    border-color: #22c55e;
}


.plan-label {

    position: absolute;

    top: -14px;

    left: 50%;

    transform:
            translateX(-50%);

    color: white;

    padding:
            5px 15px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;
}


.free-label {
    background: #16a34a;
}


.popular-label {
    background: var(--primary);
}


.price-card h3 {

    font-size: 23px;

    margin-bottom: 9px;
}


.price-description {

    color: var(--text-secondary);

    font-size: 14px;

    min-height: 45px;
}


.price {

    font-size: 43px;

    font-weight: 850;

    letter-spacing: -1px;

    margin:
            25px 0;
}


.price span {

    font-size: 14px;

    color: var(--text-secondary);

    font-weight: 400;
}


.price-card ul {

    list-style: none;

    margin-bottom: 30px;

    flex: 1;
}


.price-card li {

    margin:
            12px 0;

    color: var(--text-secondary);

    font-size: 14px;
}


.price-card li::before {

    content: "✓";

    color: var(--success);

    font-weight: 900;

    margin-right: 9px;
}


.price-button {

    display: block;

    text-align: center;

    padding: 13px;

    border:
            1px solid var(--primary);

    border-radius: 9px;

    color: var(--primary);

    font-weight: 750;

    transition: .2s;
}


.price-button:hover {

    background: var(--primary);

    color: white;
}


.free .price-button {

    border-color: #16a34a;

    color: #16a34a;
}


.free .price-button:hover {

    background: #16a34a;

    color: white;
}


.popular .price-button {

    background: var(--primary);

    color: white;
}


.popular .price-button:hover {

    background: var(--primary-hover);
}


/* =====================================================
   ABOUT
===================================================== */

.advantages {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}


.advantages > div:first-child > p {

    color: var(--text-secondary);

    margin-bottom: 25px;

    max-width: 600px;
}


.advantage-list {
    list-style: none;
}


.advantage-list li {

    display: flex;

    align-items: center;

    gap: 10px;

    margin:
            14px 0;

    font-weight: 650;

    font-size: 15px;
}


.advantage-list li > span:first-child {

    color: var(--primary);

    font-weight: 900;
}


.info-box {

    position: relative;

    overflow: hidden;

    background:
            linear-gradient(
                    135deg,
                    rgba(37,99,235,.13),
                    rgba(37,99,235,.04)
            );

    border:
            1px solid rgba(37,99,235,.12);

    border-radius: 22px;

    padding: 45px;
}


.info-box-icon {

    font-size: 40px;

    margin-bottom: 15px;
}


.info-box h3 {

    font-size: 28px;

    margin-bottom: 15px;
}


.info-box p {

    color: var(--text-secondary);

    margin-bottom: 25px;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding-top: 20px;
}


.cta {

    position: relative;

    overflow: hidden;

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #1d4ed8
            );

    color: white;

    text-align: center;

    border-radius: 28px;

    padding:
            75px 30px;

    box-shadow:
            0 25px 70px rgba(37,99,235,.25);
}


.cta::before {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    border-radius: 50%;

    background:
            rgba(255,255,255,.08);

    top: -150px;

    right: -80px;
}


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


.cta-icon {

    display: block;

    font-size: 35px;

    margin-bottom: 12px;
}


.cta h2 {

    font-size:
            clamp(30px, 4vw, 43px);

    letter-spacing: -1px;

    margin-bottom: 15px;
}


.cta p {

    max-width: 620px;

    margin:
            0 auto 30px;

    opacity: .92;
}


.cta-button {

    background: white;

    color: var(--primary);

    box-shadow:
            0 10px 25px rgba(0,0,0,.12);
}


.cta-button:hover {

    background: #f8fafc;

    transform:
            translateY(-2px);
}


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

footer {

    background: var(--footer);

    color: white;

    padding:
            70px 0 25px;

    margin-top: 90px;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 45px;
}


.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}


.footer-brand p {

    max-width: 320px;
}


footer h3 {

    font-size: 15px;

    margin-bottom: 17px;
}


footer p,
footer a {

    color: #94a3b8;

    font-size: 14px;
}


footer a {

    display: block;

    margin:
            9px 0;

    transition:
            color .2s;
}


footer a:hover {
    color: white;
}


.copyright {

    border-top:
            1px solid #1e293b;

    margin-top: 45px;

    padding-top: 22px;

    text-align: center;

    color: #64748b;

    font-size: 13px;
}


/* =====================================================
   RTL
===================================================== */

[dir="rtl"] {

    text-align: right;
}


[dir="rtl"] .hero-content,
[dir="rtl"] .advantages {

    direction: rtl;
}


[dir="rtl"] .price-card li::before {

    margin-right: 0;

    margin-left: 9px;
}


/* =====================================================
   RESPONSIVE - 1100
===================================================== */

@media (max-width: 1100px) {

    .pricing {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .price-card.popular {

        transform: none;
    }


    .price-card.popular:hover {

        transform:
                translateY(-6px);
    }


    .module-grid {

        grid-template-columns:
            repeat(4, 1fr);
    }
}


/* =====================================================
   RESPONSIVE - 900
===================================================== */

@media (max-width: 900px) {

    .navbar {

        position: relative;
    }


    .mobile-menu-toggle {
        display: flex;

        align-items: center;

        justify-content: center;

        margin-left: auto;
    }


    .nav-links {

        position: absolute;

        top: 72px;

        left: 0;

        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: var(--card);

        border:
                1px solid var(--border);

        border-radius:
                0 0 14px 14px;

        padding: 10px;

        box-shadow:
                var(--shadow);
    }


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


    .nav-links li a {

        display: block;

        padding: 12px;

        border-radius: 8px;
    }


    .nav-links li a:hover {

        background:
                var(--primary-light);
    }


    .hero-content,
    .advantages {

        grid-template-columns: 1fr;

    }


    .hero {

        padding-top: 80px;
    }


    .hero-text {
        text-align: center;
    }


    .hero p {

        margin-left: auto;

        margin-right: auto;
    }


    .hero-buttons {

        justify-content: center;
    }


    .features {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .module-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .advantages {

        gap: 40px;
    }
}


/* =====================================================
   RESPONSIVE - 600
===================================================== */

@media (max-width: 600px) {

    .container {
        width: min(92%, 500px);
    }


    .navbar {
        min-height: 65px;
    }


    .nav-links {
        top: 65px;
    }


    .nav-button {
        display: none;
    }


    .hero {

        padding:
                65px 0 70px;
    }


    .hero h1 {

        font-size: 42px;

        letter-spacing: -2px;
    }


    .hero p {

        font-size: 16px;
    }


    .hero-buttons {

        flex-direction: column;
    }


    .hero-buttons .btn {

        width: 100%;
    }


    .image-decoration {
        display: none;
    }


    .section {

        padding:
                70px 0;
    }


    .section-header {

        margin-bottom: 40px;
    }


    .features,
    .module-grid,
    .pricing,
    .footer-grid {

        grid-template-columns: 1fr;
    }


    .price-card.popular {

        transform: none;
    }


    .price-card.popular:hover {

        transform:
                translateY(-6px);
    }


    .price {

        font-size: 38px;
    }


    .info-box {

        padding: 30px;
    }


    .cta {

        border-radius: 20px;

        padding:
                60px 20px;
    }


    footer {

        margin-top: 70px;
    }


    .lightbox {

        padding: 15px;
    }


    .lightbox img {

        max-width: 100%;

        max-height: 85vh;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .logo {
        font-size: 22px;
    }


    .language-select {
        padding: 0 6px;
    }


    .theme-toggle {
        width: 38px;
        height: 38px;
    }


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