/* ==========================================================================
   CMS Pro
   ========================================================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Inter, Arial, Helvetica, sans-serif;
    background:#f8fafc;
    color:#1e293b;
    line-height:1.6;
}

/* ==========================================================================
   Links
   ========================================================================== */

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

/* ==========================================================================
   Header
   ========================================================================== */

.site-header{
    background:#ffffff;
    border-bottom:1px solid #e2e8f0;
    position:sticky;
    top:0;
    z-index:1000;
}

.site-header-inner{
    max-width:1280px;
    margin:0 auto;
    padding:0 24px;
    min-height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.site-logo{
    font-size:28px;
    font-weight:800;
    color:#0f172a;
}

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

.site-nav a{
    color:#475569;
    font-size:15px;
    font-weight:600;
    transition:.2s;
}

.site-nav a:hover{
    color:#2563eb;
}

.site-actions{
    display:flex;
    align-items:center;
    gap:16px;
}

.language-switcher{
    display:flex;
    gap:6px;
}

.language-switcher a{
    width:34px;
    height:34px;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:700;
    background:#f1f5f9;
    color:#475569;
}

.language-switcher a.active{
    background:#2563eb;
    color:#ffffff;
}

.header-login{
    padding:12px 20px;
    background:#2563eb;
    color:#ffffff;
    border-radius:10px;
    font-weight:700;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    padding:14px 24px;
    font-weight:700;
    transition:.2s;
}

.btn-primary{
    background:#2563eb;
    color:#ffffff;
}

.btn-primary:hover{
    background:#1d4ed8;
}

.btn-secondary{
    background:#ffffff;
    border:1px solid #cbd5e1;
    color:#0f172a;
}

.btn-secondary:hover{
    background:#f8fafc;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.home-hero{
    max-width:1280px;
    margin:0 auto;
    padding:90px 24px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.home-badge{
    display:inline-block;
    padding:8px 16px;
    border-radius:999px;
    background:#dbeafe;
    color:#2563eb;
    font-size:13px;
    font-weight:700;
    margin-bottom:20px;
}

.home-hero h1{
    font-size:62px;
    line-height:1.1;
    margin-bottom:24px;
    color:#0f172a;
}

.home-hero h1 span{
    color:#2563eb;
}

.home-hero p{
    font-size:20px;
    color:#64748b;
    margin-bottom:35px;
}

.home-actions{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
}

/* ==========================================================================
   CMS Preview
   ========================================================================== */

.cms-window{
    background:#ffffff;
    border-radius:20px;
    overflow:hidden;
    border:1px solid #e2e8f0;
    box-shadow:0 20px 60px rgba(15,23,42,.08);
}

.cms-window-top{
    display:flex;
    gap:8px;
    padding:16px;
    border-bottom:1px solid #e2e8f0;
}

.cms-window-top span{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#cbd5e1;
}

.cms-window-body{
    display:flex;
    min-height:420px;
}

.cms-sidebar{
    width:220px;
    background:#f8fafc;
    padding:20px;
    border-right:1px solid #e2e8f0;
}

.cms-sidebar div{
    height:42px;
    border-radius:10px;
    background:#e2e8f0;
    margin-bottom:14px;
}

.cms-content{
    flex:1;
    padding:24px;
}

.cms-line{
    height:18px;
    border-radius:10px;
    background:#e2e8f0;
    margin-bottom:16px;
}

.cms-line.big{
    height:28px;
    width:70%;
}

.cms-line.short{
    width:40%;
}

.cms-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin:25px 0;
}

.cms-grid div{
    height:130px;
    border-radius:14px;
    background:#e2e8f0;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.home-features{
    max-width:1280px;
    margin:0 auto;
    padding:80px 24px;
}

.section-head{
    text-align:center;
    margin-bottom:60px;
}

.section-head span{
    color:#2563eb;
    font-weight:700;
}

.section-head h2{
    font-size:46px;
    margin-top:10px;
    margin-bottom:18px;
}

.section-head p{
    max-width:700px;
    margin:0 auto;
    color:#64748b;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
}

.feature-grid article{
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:18px;
    padding:30px;
}

.feature-grid h3{
    margin-bottom:14px;
    font-size:22px;
}

.feature-grid p{
    color:#64748b;
}

.home-demo{
    max-width:1280px;
    margin:0 auto 80px;
    padding:40px;
    border-radius:24px;
    background:#ffffff;
    border:1px solid #e2e8f0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.home-demo span{
    color:#2563eb;
    font-weight:700;
}

.home-demo h2{
    margin:10px 0;
    font-size:34px;
}

.home-demo p{
    color:#64748b;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer{
    background:#ffffff;
    border-top:1px solid #e2e8f0;
    margin-top:60px;
}

.site-footer-container{
    max-width:1280px;
    margin:0 auto;
    padding:60px 24px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}

.footer-column h3,
.footer-column h4{
    margin-bottom:18px;
    color:#0f172a;
}

.footer-column p{
    color:#64748b;
}

.footer-column ul{
    list-style:none;
}

.footer-column li{
    margin-bottom:12px;
}

.footer-column a{
    color:#64748b;
}

.footer-column a:hover{
    color:#2563eb;
}

.footer-bottom{
    border-top:1px solid #e2e8f0;
}

.footer-bottom-container{
    max-width:1280px;
    margin:0 auto;
    padding:20px 24px;
    display:flex;
    justify-content:space-between;
    color:#64748b;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width:1000px){

    .home-hero{
        grid-template-columns:1fr;
    }

    .feature-grid{
        grid-template-columns:1fr;
    }

    .home-demo{
        flex-direction:column;
        text-align:center;
    }

    .site-footer-container{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:768px){

    .site-header-inner{
        flex-direction:column;
        padding:20px;
    }

    .site-nav{
        flex-wrap:wrap;
        justify-content:center;
    }

    .home-hero h1{
        font-size:42px;
    }

    .site-footer-container{
        grid-template-columns:1fr;
    }

    .footer-bottom-container{
        flex-direction:column;
        text-align:center;
    }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-section{
    max-width:900px;
    margin:0 auto 80px;
    padding:0 24px;
}

.contact-form{
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:20px;
    padding:40px;
    box-shadow:0 10px 30px rgba(15,23,42,.04);
}

.form-group{
    margin-bottom:24px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-size:15px;
    font-weight:600;
    color:#0f172a;
}

.form-group input,
.form-group textarea{
    width:100%;
    border:1px solid #cbd5e1;
    border-radius:12px;
    padding:14px 16px;
    font-size:15px;
    color:#0f172a;
    background:#ffffff;
    transition:.2s;
}

.form-group input:focus,
.form-group textarea:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

.form-group textarea{
    resize:vertical;
    min-height:180px;
}

.alert{
    margin-bottom:24px;
    padding:16px 20px;
    border-radius:12px;
    font-size:15px;
    font-weight:500;
}

.alert-success{
    background:#dcfce7;
    border:1px solid #86efac;
    color:#166534;
}

.alert-error{
    background:#fee2e2;
    border:1px solid #fca5a5;
    color:#991b1b;
}

/* ==========================================================================
   Generic Page Layout
   ========================================================================== */

.page-content{
    width:100%;
}

.page-hero{
    max-width:1000px;
    margin:0 auto;
    padding:80px 24px 60px;
    text-align:center;
}

.page-badge{
    display:inline-block;
    padding:8px 16px;
    border-radius:999px;
    background:#dbeafe;
    color:#2563eb;
    font-size:13px;
    font-weight:700;
    margin-bottom:20px;
}

.page-hero h1{
    font-size:54px;
    line-height:1.15;
    color:#0f172a;
    margin-bottom:20px;
}

.page-hero p{
    max-width:760px;
    margin:0 auto;
    color:#64748b;
    font-size:18px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width:768px){

    .contact-form{
        padding:24px;
    }

    .page-hero{
        padding:60px 20px 40px;
    }

    .page-hero h1{
        font-size:38px;
    }

    .page-hero p{
        font-size:16px;
    }
}

/* ==========================================================================
   Pricing Page
   ========================================================================== */

.pricing-grid{
    max-width:1280px;
    margin:0 auto 80px;
    padding:0 24px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.pricing-card{
    position:relative;
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:20px;
    padding:35px;
    box-shadow:0 10px 30px rgba(15,23,42,.04);
    transition:.25s;
}

.pricing-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 40px rgba(15,23,42,.08);
}

.pricing-card.featured{
    border:2px solid #2563eb;
    transform:scale(1.03);
}

.pricing-card.featured:hover{
    transform:scale(1.03) translateY(-4px);
}

.pricing-label{
    position:absolute;
    top:-14px;
    left:30px;
    background:#2563eb;
    color:#ffffff;
    padding:8px 16px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
}

.pricing-card h3{
    font-size:28px;
    color:#0f172a;
    margin-bottom:12px;
}

.pricing-price{
    font-size:38px;
    font-weight:800;
    color:#2563eb;
    margin-bottom:16px;
}

.pricing-card p{
    color:#64748b;
    margin-bottom:20px;
}

.pricing-card ul{
    list-style:none;
    margin:0 0 30px;
    padding:0;
}

.pricing-card ul li{
    position:relative;
    padding-left:28px;
    margin-bottom:14px;
    color:#334155;
}

.pricing-card ul li::before{
    content:"?";
    position:absolute;
    left:0;
    top:0;
    color:#16a34a;
    font-weight:700;
}

.pricing-card .btn{
    width:100%;
    justify-content:center;
}

/* ==========================================================================
   Responsive Pricing
   ========================================================================== */

@media (max-width:1100px){

    .pricing-grid{
        grid-template-columns:1fr;
        max-width:700px;
    }

    .pricing-card.featured{
        transform:none;
    }

    .pricing-card.featured:hover{
        transform:translateY(-4px);
    }
}

/* ==========================================================================
   Features Page
   ========================================================================== */

.page-content > .feature-grid{
    max-width:1280px;
    margin:0 auto 80px;
    padding:0 24px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.page-content > .feature-grid article{
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:20px;
    padding:28px;
    box-shadow:0 10px 30px rgba(15,23,42,.04);
    transition:.25s;
}

.page-content > .feature-grid article:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 40px rgba(15,23,42,.08);
    border-color:#bfdbfe;
}

.page-content > .feature-grid h3{
    font-size:21px;
    color:#0f172a;
    margin-bottom:12px;
}

.page-content > .feature-grid p{
    color:#64748b;
    font-size:15px;
}

/* ==========================================================================
   Responsive Features
   ========================================================================== */

@media (max-width:1200px){

    .page-content > .feature-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:700px){

    .page-content > .feature-grid{
        grid-template-columns:1fr;
    }
}

/* ==========================================================================
   Premium Home Page
   ========================================================================== */

.home-hero-premium{
    position:relative;
    overflow:hidden;
}

.home-hero-premium::before{
    content:"";
    position:absolute;
    top:-180px;
    right:-180px;
    width:520px;
    height:520px;
    border-radius:50%;
    background:linear-gradient(135deg, rgba(37,99,235,.18), rgba(14,165,233,.08));
    z-index:-1;
}

.home-trust{
    margin-top:36px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.home-trust div{
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    padding:18px;
    box-shadow:0 10px 24px rgba(15,23,42,.04);
}

.home-trust strong{
    display:block;
    font-size:26px;
    color:#2563eb;
    line-height:1;
    margin-bottom:8px;
}

.home-trust span{
    color:#64748b;
    font-size:14px;
    font-weight:600;
}

.home-hero-showcase{
    position:relative;
    min-height:520px;
}

.showcase-card{
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:28px;
    box-shadow:0 30px 70px rgba(15,23,42,.12);
}

.showcase-card-main{
    padding:42px;
    max-width:520px;
}

.showcase-card-main > span{
    display:inline-flex;
    margin-bottom:18px;
    padding:8px 14px;
    border-radius:999px;
    background:#eff6ff;
    color:#2563eb;
    font-size:13px;
    font-weight:800;
}

.showcase-card-main h2{
    font-size:36px;
    line-height:1.2;
    color:#0f172a;
    margin-bottom:16px;
}

.showcase-card-main p{
    color:#64748b;
    font-size:16px;
}

.showcase-bars{
    margin-top:34px;
    display:grid;
    gap:14px;
}

.showcase-bars div{
    height:18px;
    border-radius:999px;
    background:#e2e8f0;
}

.showcase-bars div:nth-child(1){
    width:90%;
}

.showcase-bars div:nth-child(2){
    width:70%;
}

.showcase-bars div:nth-child(3){
    width:50%;
}

.showcase-card-small{
    position:absolute;
    right:0;
    bottom:55px;
    width:260px;
    padding:26px;
    border-left:5px solid #2563eb;
}

.showcase-card-small strong{
    display:block;
    color:#0f172a;
    font-size:18px;
    margin-bottom:8px;
}

.showcase-card-small span{
    color:#64748b;
    font-size:14px;
}

.home-section{
    max-width:1280px;
    margin:0 auto;
    padding:80px 24px;
}

.premium-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.premium-grid article{
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:22px;
    padding:30px;
    box-shadow:0 14px 35px rgba(15,23,42,.05);
    transition:.25s;
}

.premium-grid article:hover{
    transform:translateY(-6px);
    box-shadow:0 24px 50px rgba(15,23,42,.10);
    border-color:#bfdbfe;
}

.premium-grid article > span{
    display:inline-flex;
    width:42px;
    height:42px;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#eff6ff;
    color:#2563eb;
    font-weight:800;
    margin-bottom:22px;
}

.premium-grid h3{
    font-size:21px;
    color:#0f172a;
    margin-bottom:12px;
}

.premium-grid p{
    color:#64748b;
    font-size:15px;
}

.home-split{
    max-width:1280px;
    margin:40px auto 100px;
    padding:70px;
    border-radius:32px;
    background:linear-gradient(135deg, #ffffff, #f8fafc);
    border:1px solid #e2e8f0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
    box-shadow:0 24px 60px rgba(15,23,42,.07);
}

.home-split h2{
    font-size:44px;
    line-height:1.15;
    color:#0f172a;
    margin:20px 0;
}

.home-split p{
    color:#64748b;
    font-size:18px;
}

.home-split-list{
    display:grid;
    gap:16px;
}

.home-split-list div{
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    padding:18px 20px;
    color:#334155;
    font-weight:700;
}

.home-split-list div::before{
    content:"?";
    color:#16a34a;
    font-weight:900;
    margin-right:10px;
}

.home-cta{
    max-width:1100px;
    margin:0 auto 100px;
    padding:70px 30px;
    text-align:center;
    border-radius:34px;
    background:linear-gradient(135deg, #2563eb, #0ea5e9);
    color:#ffffff;
}

.home-cta span{
    display:block;
    font-weight:800;
    margin-bottom:14px;
    opacity:.9;
}

.home-cta h2{
    font-size:46px;
    line-height:1.15;
    margin-bottom:18px;
}

.home-cta p{
    max-width:700px;
    margin:0 auto 30px;
    font-size:18px;
    opacity:.92;
}

.home-cta .btn-primary{
    background:#ffffff;
    color:#2563eb;
}

.home-cta .btn-primary:hover{
    background:#f8fafc;
}

/* ==========================================================================
   Premium Home Responsive
   ========================================================================== */

@media (max-width:1100px){

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

    .home-split{
        grid-template-columns:1fr;
        padding:45px;
    }
}

@media (max-width:900px){

    .home-trust{
        grid-template-columns:1fr;
    }

    .home-hero-showcase{
        min-height:auto;
    }

    .showcase-card-main{
        max-width:100%;
    }

    .showcase-card-small{
        position:relative;
        right:auto;
        bottom:auto;
        width:100%;
        margin-top:20px;
    }
}

@media (max-width:700px){

    .premium-grid{
        grid-template-columns:1fr;
    }

    .home-split{
        padding:30px 22px;
        margin-bottom:70px;
    }

    .home-split h2,
    .home-cta h2{
        font-size:34px;
    }

    .home-cta{
        margin-left:20px;
        margin-right:20px;
        padding:45px 22px;
    }
}