/*setting margin and padding to null so browser already setted valued reset*/


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

:root {
    --bg-color: #121212;
    --surface-color: #10121c;
    --text-color: #f5f5f7;
    --text-muted: #9098a8;
    --accent-green: #10d99a;
    --accent-blue: #2f8fff;
    --accent-gradient: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
    --border-color: #1e2130;
    --radius: 12px;
    --max-width: 1200px;
    --font-family: 'Inter', sans-serif;
}


body {
    font-family: var(--font-family);
    background: radial-gradient(ellipse at top, #0d1a1e 0%, #060810 55%);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
    margin-bottom: 12px;
    text-align: center;
}

.section-subtext {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

h3 {
    font-size: 1.25rem;
}

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

/* 2. BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #06110d;
    font-weight: 700;
}

.btn-primary:hover {
    filter: brightness(1.04);
    box-shadow: 0 8px 20px rgba(53, 230, 174, 0.35);
    transform: translateY(-2px);



}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    font-weight: 700;
}

.btn-outline:hover {
    border-color: var(--accent-green);
}

/* 3. NAVBAR*/
.navbar {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin-left: 80px;
    margin-right: auto;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.nav {
    display: flex;
    align-items: center;
}


.nav>.btn {
    margin-left: 12px;
}

.btn-nav-text {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 12px;
}

.btn-nav-text:hover {
    color: var(--accent-green);
}

/* 4.HERO */
.hero {
    text-align: center;
    padding: 100px 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--accent-green);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-green);
    display: inline-block;
}

.hero h1 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 3.5rem;
}

.heading-white {
    color: var(--text-color);
}

.heading-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtext {
    max-width: 900px;
    margin: 24px auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero-form {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-form input {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 24px;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    min-width: 260px;
}

.hero-form input::placeholder {
    color: var(--text-muted);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.reassurance {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/*5. STATS STRIP*/

.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 24px;
    padding: 60px 24px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    margin: 0;
    padding: 0;
    text-align: center;
}

.stat-item dt {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-item dd {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}




.steps-list {
    list-style: none;
    counter-reset: step;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    counter-increment: step;
    position: relative;
    flex: 1;
    text-align: center;
    padding-top: 76px;
}

.step-card::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 2;
}

.step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

/*  6. CARDS (shared by features / templates / testimonials)*/
.card-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}


.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
}

.features,
.templates,
.testimonials,
.faq,
.cta-band {
    padding: 100px 24px;
}

.card-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 16px;
}

.card:hover {
    filter: brightness(1.04);
    box-shadow: 0 8px 20px rgba(53, 230, 174, 0.35);
    transform: translateY(-2px);

}

/* 
   7. TEMPLATES */


#templates {
    padding: 6rem 5%;


    text-align: center;
}



#templates>p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

.template-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: left;
    transition: .35s ease;
}

.template-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-green);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .35);
}

/*  Badge  */

.badge {
    display: inline-block;
    padding: .55rem 1rem;
    background: rgba(16, 217, 154, .12);
    color: var(--accent-green);
    border: 1px solid rgba(16, 217, 154, .25);
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
}

/*  Text */

.template-card h3 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: .7rem;
}

.role {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Details */

.details {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.details li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: .95rem;
}

/*  Button */

.template-card button {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--accent-green);
    border-radius: var(--radius);
    background: transparent;
    color: var(--accent-green);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.template-card button:hover {
    background: var(--accent-gradient);
    color: var(--bg-color);
    border-color: transparent;
}

/* 9. Testomonials */

.stars {
    color: #facc15;
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.testimonial-card .quote {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: #06110d;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
    margin-bottom: 12px;
}

.testimonial-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.testimonial-card .role {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.testimonial-card {
    min-width: 0;
}

/* 9. CTA-BAND*/

.cta-band {
    text-align: center;
}

.cta-band .section-subtext {
    max-width: 500px;
}

.cta-band .btn {
    margin: 0 6px;
}

.cta-band .section-subtext {
    max-width: 789px;
    margin: 40px auto;
    padding: 0 30px;

}

/*10.FAQ*/

.faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 24px;
}

.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px 24px;
    background-color: var(--surface-color);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 24px rgba(16, 217, 154, 0.15);
}

.faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-muted);
}


/* 11.FOOTER */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 24px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
}

.footer-col h4 {
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #10d99a, #2f8fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

}

/* 12. FOR RESPONSIVE*/
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .nav-links {
        display: none;
    }

    .card-grid,
    .card-grid-3,
    .card-grid-2 {
        grid-template-columns: 1fr;
    }

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

    .hero {
        padding: 60px 24px;
    }

    .hero-badge {
        flex-wrap: wrap;
        max-width: 90%;
        text-align: center;
    }

    .hero-form {
        flex-direction: column;
        align-items: center;
    }

    .hero-form input {
        width: 100%;
        max-width: 320px;
    }

    .steps-list {
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    .step-card:not(:last-child)::after {
        display: none;
    }
}


.cta-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;

}

.cta-band .btn {
    width: 100%;
    max-width: 320px;
    margin: 0;
}