:root{
    --bg:#020817;
    --surface:#0f172a;
    --surface-2:#16213a;
    --primary:#2563eb;
    --primary-hover:#1d4ed8;
    --accent:#38bdf8;
    --success:#10b981;
    --warning:#f59e0b;
    --text:#f8fafc;
    --muted:#94a3b8;
    --border:rgba(255,255,255,.08);
    --shadow:0 20px 50px rgba(0,0,0,.35);
}

/* --------------------------------------------------------------------------
   Hero Section
-------------------------------------------------------------------------- */

.hero-section{
    position:relative;
    overflow:hidden;
    max-width:1400px;
    margin:0 auto;
    padding:120px 30px 100px;
    text-align:center;
}

.hero-section::before{
    content:'';
    position:absolute;
    top:-300px;
    left:50%;
    transform:translateX(-50%);
    width:1000px;
    height:1000px;
    background:radial-gradient(
        circle,
        rgba(37,99,235,.18),
        transparent 70%
    );
    pointer-events:none;
}

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

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 24px;
    border-radius:999px;
    background:rgba(37,99,235,.12);
    border:1px solid rgba(37,99,235,.25);
    color:#60a5fa;
    font-weight:700;
    margin-bottom:30px;
}

.hero-section h1{
    font-size:72px;
    line-height:1.1;
    font-weight:800;
    max-width:1100px;
    margin:0 auto 25px;
}

.hero-section p{
    max-width:900px;
    margin:0 auto 40px;
    color:var(--muted);
    font-size:22px;
    line-height:1.8;
}

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

.button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    padding:16px 32px;
    border-radius:14px;
    font-weight:700;
    transition:.25s ease;
}

.button.primary{
    background:var(--primary);
    color:#fff;
}

.button.primary:hover{
    background:var(--primary-hover);
    transform:translateY(-3px);
}

.button.secondary{
    border:1px solid var(--border);
    color:#fff;
}

.button.secondary:hover{
    background:rgba(255,255,255,.05);
}

/* --------------------------------------------------------------------------
   Domain Search
-------------------------------------------------------------------------- */

.domain-search-section{
    max-width:1400px;
    margin:0 auto 100px;
    padding:0 30px;
}

.domain-search-box{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:28px;
    padding:50px;
    text-align:center;
    box-shadow:var(--shadow);
}

.domain-search-box h2{
    font-size:42px;
    margin-bottom:15px;
}

.domain-search-box p{
    color:var(--muted);
    margin-bottom:30px;
}

.domain-search-form{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.domain-search-form input{
    flex:1;
    min-width:320px;
    max-width:600px;
    height:60px;
    border:none;
    border-radius:14px;
    padding:0 20px;
    font-size:16px;
}

.domain-search-form select{
    height:60px;
    border:none;
    border-radius:14px;
    padding:0 20px;
    font-size:16px;
}

.domain-pricing{
    margin-top:25px;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

.domain-pricing span{
    color:var(--accent);
    font-weight:700;
}

/* --------------------------------------------------------------------------
   Stats Section
-------------------------------------------------------------------------- */

.stats-section{
    max-width:1400px;
    margin:0 auto 100px;
    padding:0 30px;

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.stat-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:24px;

    min-height:220px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
    padding:30px;

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

.stat-card h3{
    font-size:64px;
    line-height:1;
    color:var(--accent);
    margin-bottom:20px;
    font-weight:800;
}

.stat-card p{
    color:var(--muted);
    font-size:20px;
    line-height:1.5;
}

/* --------------------------------------------------------------------------
   Content Sections
-------------------------------------------------------------------------- */

.service-categories,
.why-section,
.packages-section,
.infrastructure-section,
.cta-section{
    max-width:1400px;
    margin:0 auto 110px;
    padding:0 30px;
}

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

.section-header h2{
    font-size:52px;
    margin-bottom:15px;
    font-weight:800;
}

.section-header p{
    color:var(--muted);
    max-width:800px;
    margin:auto;
}

/* --------------------------------------------------------------------------
   Cards
-------------------------------------------------------------------------- */

.category-grid,
.features-grid,
.runtime-grid,
.packages{
    display:grid;
    gap:25px;
}

.category-grid{
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}

.features-grid{
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

.runtime-grid{
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

.packages{
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}

.category-card,
.feature-card,
.runtime-card,
.card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:24px;
    padding:35px;
    transition:.25s ease;
    box-shadow:var(--shadow);
}

.category-card:hover,
.feature-card:hover,
.runtime-card:hover,
.card:hover{
    transform:translateY(-6px);
    background:var(--surface-2);
}

.category-card h3,
.card h3{
    font-size:24px;
    margin-bottom:15px;
}

.category-card p,
.card p{
    color:var(--muted);
    line-height:1.8;
}

.feature-card{
    text-align:center;
    font-weight:700;
}

.runtime-card{
    text-align:center;
    font-weight:700;
    color:var(--accent);
}

.price{
    font-size:52px;
    font-weight:800;
    margin:20px 0;
}

.card .button{
    margin-top:25px;
    width:100%;
}

/* --------------------------------------------------------------------------
   CTA
-------------------------------------------------------------------------- */

.cta-section{
    text-align:center;
    background:linear-gradient(
        180deg,
        rgba(37,99,235,.05),
        rgba(37,99,235,.12)
    );
    border:1px solid rgba(255,255,255,.05);
    border-radius:30px;
    padding:90px 30px;
}

.cta-section h2{
    font-size:54px;
    margin-bottom:20px;
}

.cta-section p{
    color:var(--muted);
    max-width:700px;
    margin:0 auto 30px;
}

/* --------------------------------------------------------------------------
   Responsive
-------------------------------------------------------------------------- */

@media(max-width:1200px){

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

}

@media(max-width:992px){

    .hero-section h1{
        font-size:56px;
    }

    .section-header h2,
    .cta-section h2{
        font-size:42px;
    }

}

@media(max-width:768px){

    .hero-section{
        padding:90px 20px 70px;
    }

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

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

    .domain-search-box{
        padding:30px 20px;
    }

    .domain-search-form{
        flex-direction:column;
    }

    .domain-search-form input,
    .domain-search-form select,
    .domain-search-form button{
        width:100%;
        min-width:unset;
        max-width:none;
    }

    .stats-section{
        grid-template-columns:repeat(2,1fr);
        gap:16px;
    }

    .stat-card{
        min-height:160px;
        padding:20px;
    }

    .stat-card h3{
        font-size:42px;
        margin-bottom:12px;
    }

    .stat-card p{
        font-size:15px;
    }

    .category-grid,
    .features-grid,
    .runtime-grid,
    .packages{
        grid-template-columns:1fr;
    }

    .section-header h2,
    .cta-section h2{
        font-size:32px;
    }

}

@media(max-width:480px){

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

    .hero-badge{
        font-size:13px;
    }

    .stats-section{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .stat-card{
        min-height:140px;
        padding:16px;
    }

    .stat-card h3{
        font-size:34px;
    }

    .stat-card p{
        font-size:13px;
    }

}
