/*
Theme Name: TrustedWeb Theme
Theme URI: https://trustedweb.site
Author: TrustedWeb Team
Author URI: https://trustedweb.site
Description: Modern SaaS landing page theme for TrustedWeb.site - Website Security Scanner and Trust Badge service
Version: 1.0.0
License: GPL v2 or later
Text Domain: trustedweb
*/

/* ========================================
   1. Reset & Base
======================================== */
*{margin:0;padding:0;box-sizing:border-box}

body{
    font-family:'Inter',sans-serif;
    color:#111827;
    background:#fff;
}

a{text-decoration:none;color:inherit;transition:.2s}
img{max-width:100%;height:auto;display:block}

.container{max-width:1200px;margin:auto;padding:0 24px}

/* ========================================
   2. Buttons
======================================== */
.btn{
    display:inline-block;
    padding:14px 22px;
    border-radius:14px;
    font-weight:700;
    transition:.2s;
    border:none;
    cursor:pointer;
    font-size:16px;
    font-family:'Inter',sans-serif;
}

.btn-primary{
    background:#33d17a;
    color:#08111f;
    box-shadow:0 12px 30px rgba(51,209,122,.35);
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 40px rgba(51,209,122,.45);
}

.btn-outline{
    background:transparent;
    color:#33d17a;
    border:2px solid #33d17a;
}

.btn-outline:hover{
    background:#33d17a;
    color:#08111f;
}

/* ========================================
   3. Header
======================================== */
.site-header{
    padding:28px 0;
    position:sticky;
    top:0;
    backdrop-filter:blur(12px);
    background:rgba(8,17,31,.75);
    z-index:100;
}

.site-header nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:#fff;
    font-size:28px;
    font-weight:800;
    letter-spacing:.5px;
}

.logo span{color:#33d17a}

.header-menu{
    display:flex;
    gap:28px;
    align-items:center;
    list-style:none;
}

.header-menu a{
    color:#d1d5db;
    font-weight:500;
}

.header-menu a:hover{
    color:#33d17a;
}

.menu-toggle{
    display:none;
    background:none;
    border:none;
    cursor:pointer;
    padding:10px;
}

.menu-toggle span{
    display:block;
    width:26px;
    height:2px;
    background:#fff;
    margin:5px 0;
    transition:.3s;
}

/* ========================================
   4. Hero Section
======================================== */
.hero{
    padding:90px 0 120px;
    background:linear-gradient(180deg,#08111f 0%,#0f1e36 100%);
}

.hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:60px;
    align-items:center;
}

.eyebrow{
    display:inline-block;
    background:rgba(51,209,122,.12);
    color:#63f29c;
    border:1px solid rgba(51,209,122,.25);
    padding:10px 14px;
    border-radius:999px;
    margin-bottom:22px;
    font-size:14px;
    font-weight:600;
}

.hero h1{
    color:#fff;
    font-size:64px;
    line-height:1.05;
    font-weight:800;
    margin-bottom:22px;
}

.hero-text p{
    color:#cfd8e3;
    font-size:20px;
    line-height:1.7;
    max-width:650px;
    margin-bottom:34px;
}

.scan-box{
    background:#fff;
    border-radius:28px;
    padding:22px;
    display:flex;
    gap:14px;
    box-shadow:0 30px 70px rgba(0,0,0,.25);
    margin-bottom:18px;
}

.scan-box input{
    flex:1;
    border:none;
    background:#f4f7fb;
    border-radius:16px;
    padding:18px 20px;
    font-size:16px;
    outline:none;
    font-family:'Inter',sans-serif;
}

.subnote{
    color:#93a0b3;
    font-size:14px;
}

/* Dashboard Preview */
.dashboard{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
    border-radius:30px;
    padding:30px;
    backdrop-filter:blur(20px);
    color:#fff;
    box-shadow:0 30px 80px rgba(0,0,0,.35);
}

.score{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:28px;
}

.circle{
    width:110px;
    height:110px;
    border-radius:50%;
    background:conic-gradient(#33d17a 0 78%, rgba(255,255,255,.1) 78%);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    flex-shrink:0;
}

.circle::before{
    content:"";
    position:absolute;
    inset:10px;
    border-radius:50%;
    background:#08111f;
}

.circle span{
    position:relative;
    z-index:1;
    font-size:28px;
    font-weight:800;
}

.score-info h3{
    font-size:28px;
    margin-bottom:8px;
}

.score-info p{
    color:#9fb2c8;
    margin:0;
}

.issues{
    display:grid;
    gap:12px;
    margin-bottom:26px;
}

.issue{
    background:rgba(255,255,255,.06);
    border-radius:16px;
    padding:14px 16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}

.tag{
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
}

.tag-good{background:#33d17a;color:#08111f}
.tag-warning{background:#f59e0b;color:#111}
.tag-critical{background:#ef4444;color:#fff}

/* ========================================
   5. Badges / Pricing Section
======================================== */
.badges-section{
    padding:90px 0;
    background:#fff;
}

.section-title{
    text-align:center;
    max-width:760px;
    margin:0 auto 60px;
}

.section-title h2{
    font-size:46px;
    font-weight:800;
    margin-bottom:16px;
    color:#111827;
}

.section-title p{
    color:#6b7280;
    font-size:18px;
    line-height:1.7;
}

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

.badge-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:28px;
    padding:34px;
    text-align:center;
    box-shadow:0 18px 40px rgba(15,23,42,.08);
    transition:.25s;
}

.badge-card:hover{
    transform:translateY(-8px);
    box-shadow:0 24px 50px rgba(15,23,42,.12);
}

.badge-card.featured{
    border:2px solid #2998ff;
    transform:translateY(-12px);
}

.badge-card.featured:hover{
    transform:translateY(-18px);
}

.popular-tag{
    display:inline-block;
    background:#2998ff;
    color:#fff;
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    margin-bottom:18px;
}

.badge-shield{
    width:180px;
    height:210px;
    margin:0 auto 26px;
    clip-path:polygon(50% 0%, 90% 18%, 90% 74%, 50% 100%, 10% 74%, 10% 18%);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:#fff;
    position:relative;
    overflow:hidden;
}

.badge-shield::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(255,255,255,.25),transparent 40%);
}

.badge-shield .shield-icon{
    font-size:44px;
    margin-bottom:14px;
    position:relative;
    z-index:1;
}

.badge-shield strong,
.badge-shield small{
    position:relative;
    z-index:1;
}

.badge-shield strong{
    font-size:24px;
    line-height:1.1;
    text-transform:uppercase;
}

.badge-shield small{
    margin-top:10px;
    font-size:14px;
    letter-spacing:1.2px;
    opacity:.9;
}

.badge-basic{background:linear-gradient(180deg,#29c26a,#0e8b41)}
.badge-advanced{background:linear-gradient(180deg,#2998ff,#1356d8)}
.badge-developer{background:linear-gradient(180deg,#f53d4b,#7b1220)}

.price{
    font-size:42px;
    font-weight:800;
    margin-bottom:8px;
    color:#111827;
}

.price span{
    font-size:16px;
    color:#6b7280;
    font-weight:600;
}

.price-desc{
    color:#6b7280;
    margin-bottom:10px;
}

.feature-list{
    list-style:none;
    margin:26px 0;
    text-align:left;
    display:grid;
    gap:12px;
    color:#4b5563;
}

.feature-list li::before{
    content:"\2713";
    color:#22c55e;
    font-weight:700;
    margin-right:10px;
}

/* ========================================
   6. Features Section (extra)
======================================== */
.features-section{
    padding:80px 0;
    background:#f4f7fb;
}

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

.feature-card{
    background:#fff;
    border-radius:20px;
    padding:34px;
    box-shadow:0 8px 25px rgba(15,23,42,.06);
    transition:.25s;
}

.feature-card:hover{
    transform:translateY(-5px);
    box-shadow:0 16px 40px rgba(15,23,42,.1);
}

.feature-icon{
    font-size:40px;
    margin-bottom:18px;
}

.feature-card h3{
    font-size:20px;
    font-weight:700;
    margin-bottom:10px;
    color:#111827;
}

.feature-card p{
    color:#6b7280;
    line-height:1.7;
}

/* ========================================
   7. CTA Section
======================================== */
.cta-section{
    padding:80px 0;
    background:linear-gradient(180deg,#08111f,#0f1e36);
    text-align:center;
}

.cta-section h2{
    color:#fff;
    font-size:40px;
    font-weight:800;
    margin-bottom:16px;
}

.cta-section p{
    color:#9fb2c8;
    font-size:18px;
    margin-bottom:30px;
    max-width:600px;
    margin-left:auto;
    margin-right:auto;
    line-height:1.7;
}

/* ========================================
   8. Footer
======================================== */
.site-footer{
    background:#08111f;
    color:#94a3b8;
    padding:40px 0;
    text-align:center;
    font-size:14px;
}

.site-footer a{
    color:#33d17a;
}

.site-footer a:hover{
    color:#63f29c;
}

/* ========================================
   9. Single Post / Page
======================================== */
.page-content-wrap{
    padding:60px 0;
    background:#f4f7fb;
}

.page-inner{
    max-width:800px;
    margin:0 auto;
    background:#fff;
    border-radius:20px;
    padding:50px;
    box-shadow:0 8px 25px rgba(15,23,42,.06);
}

.page-inner h1{
    font-size:36px;
    font-weight:800;
    color:#111827;
    margin-bottom:20px;
}

.page-inner h2{
    font-size:28px;
    font-weight:700;
    color:#111827;
    margin:30px 0 15px;
}

.page-inner h3{
    font-size:22px;
    font-weight:700;
    margin:25px 0 12px;
}

.page-inner p{
    color:#4b5563;
    font-size:17px;
    line-height:1.8;
    margin-bottom:18px;
}

.page-inner ul,.page-inner ol{
    margin:18px 0;
    padding-left:24px;
    color:#4b5563;
    line-height:1.8;
}

.page-inner li{
    margin-bottom:8px;
}

.page-inner li::before{
    content:none;
}

.page-inner img{
    border-radius:12px;
    margin:20px 0;
}

.page-inner a{
    color:#33d17a;
    font-weight:600;
}

.page-inner a:hover{
    color:#22c55e;
}

/* ========================================
   10. WordPress Core
======================================== */
.screen-reader-text{
    position:absolute !important;
    clip:rect(1px,1px,1px,1px);
    padding:0 !important;
    border:0 !important;
    height:1px !important;
    width:1px !important;
    overflow:hidden;
}

.alignleft{float:left;margin-right:20px}
.alignright{float:right;margin-left:20px}
.aligncenter{display:block;margin:0 auto}

/* ========================================
   11. Responsive
======================================== */
@media (max-width:960px){
    .hero-grid,
    .badge-grid,
    .features-grid{
        grid-template-columns:1fr;
    }

    .hero h1{font-size:46px}

    .scan-box{flex-direction:column}

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

    .badge-card.featured:hover{
        transform:translateY(-8px);
    }

    .section-title h2{
        font-size:34px;
    }

    .cta-section h2{
        font-size:30px;
    }
}

@media (max-width:768px){
    .header-menu{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        background:#08111f;
        flex-direction:column;
        padding:20px 24px;
        gap:16px;
    }

    .header-menu.toggled{
        display:flex;
    }

    .menu-toggle{
        display:block;
    }

    .hero{
        padding:50px 0 70px;
    }

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

    .hero-text p{
        font-size:17px;
    }

    .circle{
        width:80px;
        height:80px;
    }

    .circle span{
        font-size:22px;
    }

    .score-info h3{
        font-size:20px;
    }

    .page-inner{
        padding:30px 20px;
    }

    .page-inner h1{
        font-size:28px;
    }
}
