/* ==========================================================================
   EZhost.pl — Landing page styles
   Standalone stylesheet, no dependency on the hosting panel build.
   ========================================================================== */

:root {
    --bg: #07090a;
    --bg-alt: #0d1210;
    --surface: #11161a;
    --surface-2: #161d1f;
    --border: #212b27;
    --text: #e9efec;
    --text-muted: #9aa8a3;
    --green: #22c55e;
    --green-light: #4ade80;
    --green-dark: #14532d;
    --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
    --radius: 16px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--green-light);
}

a {
    color: inherit;
}

img,
svg {
    display: block;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.btn--sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 14px 30px;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

.btn--primary {
    background: linear-gradient(135deg, var(--green) 0%, #16a34a 100%);
    color: #04140a;
    box-shadow: 0 8px 24px -8px rgba(34, 197, 94, 0.55);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(34, 197, 94, 0.65);
}

.btn--ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--green);
    color: var(--green-light);
    transform: translateY(-2px);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(7, 9, 10, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.15rem;
}

.navbar__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #04140a;
    font-weight: 800;
}

.navbar__logo-text {
    letter-spacing: -0.02em;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar__links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.925rem;
    font-weight: 500;
    transition: color 0.18s ease;
}

.navbar__links a:hover {
    color: var(--text);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

.navbar__burger span {
    display: block;
    width: 16px;
    height: 2px;
    margin: 0 auto;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar__burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__burger.is-open span:nth-child(2) {
    opacity: 0;
}

.navbar__burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 190px 0 110px;
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 560px;
    background: radial-gradient(closest-side, rgba(34, 197, 94, 0.22), transparent 70%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--green-light);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 22px;
    max-width: 780px;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 0 40px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 72px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 820px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-light);
}

.stat__label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.eyebrow {
    display: inline-block;
    color: var(--green-light);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.section__head h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}

.section__head p {
    color: var(--text-muted);
    margin: 0;
}

/* ===== Grid & cards ===== */
.grid {
    display: grid;
    gap: 24px;
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: var(--shadow);
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.12);
    color: var(--green-light);
    margin-bottom: 20px;
}

.card__icon svg {
    width: 22px;
    height: 22px;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.925rem;
}

/* ===== Pricing plans ===== */
.plan {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.plan:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.plan--featured {
    border-color: var(--green);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, var(--surface) 40%);
}

.plan__tag {
    position: absolute;
    top: -13px;
    left: 30px;
    background: var(--green);
    color: #04140a;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 999px;
}

.plan__head h3 {
    margin: 0 0 6px;
    font-size: 1.3rem;
    font-weight: 800;
}

.plan__desc {
    margin: 0 0 22px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.plan__price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.plan__price span:first-child {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-right: 4px;
}

.plan__price span:last-child {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan__features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.plan__features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 26px;
    position: relative;
}

.plan__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--green);
}

.plan__features li::after {
    content: '';
    position: absolute;
    left: 4.5px;
    top: 9px;
    width: 5px;
    height: 8px;
    border-right: 2px solid var(--green-light);
    border-bottom: 2px solid var(--green-light);
    transform: rotate(45deg);
}

/* ===== Infrastructure ===== */
.infra__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.infra__item {
    text-align: center;
    padding: 34px 20px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}

.infra__value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--green-light);
    margin-bottom: 8px;
}

.infra__label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== CTA ===== */
.cta {
    padding: 110px 0;
    text-align: center;
    background: radial-gradient(120% 160% at 50% 0%, rgba(34, 197, 94, 0.14), transparent 60%), var(--bg);
    border-top: 1px solid var(--border);
}

.cta__inner h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.35rem);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.cta__inner p {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 32px;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.18s ease;
}

.footer__links a:hover {
    color: var(--green-light);
}

.footer__copy {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* ===== Reveal-on-scroll animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .infra__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .navbar__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 12px 24px 20px;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .navbar__links.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar__links a {
        width: 100%;
        padding: 10px 0;
    }

    .navbar__burger {
        display: flex;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .grid--3 {
        grid-template-columns: 1fr;
    }

    .infra__grid {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        justify-content: center;
        text-align: center;
    }

    .footer__copy {
        order: 3;
    }
}

@media (max-width: 480px) {
    .hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 20px;
    }

    .btn--lg {
        width: 100%;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
}
