:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
}

/* ==================================================
   RESET
================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Segoe UI, Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: #ffffff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    padding-left: 1.5rem;
}

/* ==================================================
   LAYOUT
================================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.alt-section {
    background: #f8fafc;
}

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

/* ==================================================
   NAVBAR
================================================== */

.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: clamp(.75rem, 2vw, 2rem);
}

.logo img {
    height: clamp(40px, 6vw, 60px);
    width: auto;
}

.logo-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-subtitle {
    display: block;
    font-size: .75rem;
    color: var(--gray);
}

.menu {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.menu a {
    color: var(--dark);
    padding: .75rem 1rem;
    border-radius: 999px;
    transition: .3s;
    font-weight: 500;
}

.menu a:hover {
    background: #eef2ff;
}

.menu a.active {
    background: var(--primary);
    color: #fff;
}

.btn-nav {
    background: var(--primary);
    color: #fff !important;
}

.btn-nav:hover {
    background: var(--primary-dark) !important;
}

/* ==================================================
   HERO
================================================== */

.hero {
    padding: 5rem 0;
    background:
        linear-gradient(rgba(15, 23, 42, 0.75),
            rgba(15, 23, 42, 0.75)),
        url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.hero-home {
    min-height: 100vh;

    display: flex;
    align-items: center;

    background:
        linear-gradient(rgba(15, 23, 42, 0.55),
            rgba(15, 23, 42, 0.55)),
        url('/images/hero-bg.jpg');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    color: #ffffff;
}

.hero-small {
    height: 550px;
    max-height: 550px;
    overflow: hidden;

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

    background:
        linear-gradient(rgba(15, 23, 42, .55),
            rgba(15, 23, 42, .55)),
        url('/images/hero-secondary.jpg');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    color: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1,
.hero-small h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}

/* .hero-text {
    color: rgba(255, 255, 255, .90);
    max-width: 700px; */
}

.hero-text {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    width: 100%;
}

/* ==================================================
   BUTTONS
================================================== */

.btn {
    display: inline-block;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: .3s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: #fff;
}

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

.text-primary {
    color: var(--primary);
}

/* ==================================================
   STATS
================================================== */

.stats-section {
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: #fff;
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
}

.stat-card h2 {
    color: var(--primary);
    font-size: 2.5rem;
}

.stat-card p {
    color: var(--gray);
}

/* ==================================================
   CARDS
================================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
}

.card h3 {
    margin-bottom: 1rem;
}

/* ==================================================
   HOME PAGE
================================================== */

.problem-list {
    margin-top: 2rem;
}

.problem-list li {
    margin-bottom: 1rem;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.workflow-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .08);
}

/* ==================================================
   FEATURES PAGE
================================================== */

.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-badge {
    display: inline-block;
    padding: .5rem 1rem;
    background: #dbeafe;
    color: var(--primary);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-list {
    margin-top: 1rem;
}

.feature-list li {
    margin-bottom: .75rem;
}

.flow-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    text-align: center;
}

.flow-card div {
    background: #f8fafc;
    padding: .8rem;
    border-radius: 10px;
    margin: .5rem 0;
    font-weight: 600;
}

.flow-card span {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.cards-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.mini-card {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

.stats-mini {
    margin-top: 1rem;
}

.stats-mini div {
    padding: .5rem 0;
}

/* ==================================================
   HOW IT WORKS
================================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
    transition: .3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
}

.process-step {
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
}

/* ==================================================
   PRICING
================================================== */

.pricing-notice {
    background: #eff6ff;
    border-left: 5px solid var(--primary);
    padding: 2rem;
    border-radius: 12px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    position: relative;
}

.featured-plan {
    border: 3px solid var(--primary);
    transform: scale(1.03);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.price-period {
    color: var(--gray);
    margin-bottom: 1rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: #fff;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid var(--border);
    padding: 1rem;
    text-align: center;
}

.pricing-table th {
    background: var(--primary);
    color: #fff;
}

/* ==================================================
   CONTACT
================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
}

.contact-item {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: .9rem;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.faq-section {
    max-width: 900px;
}

.faq-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    margin-top: 1rem;
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: .5rem;
}

/* ==================================================
   CTA
================================================== */

.cta-section {
    padding: 5rem 0;
    background: #eff6ff;
}

/* ==================================================
   FOOTER
================================================== */

.footer {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 4rem 0;
    margin-top: 4rem;
}

.footer h3 {
    margin-bottom: 1rem;
}

.footer p {
    opacity: .9;
    margin-bottom: .5rem;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media(max-width:992px) {

    .hero-grid,
    .stats-grid,
    .workflow-grid,
    .cards,
    .feature-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .featured-plan {
        transform: none;
    }

}

@media(max-width:768px) {

    .container {
        width: 95%;
    }

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

    .menu {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .process-flow {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .pricing-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .cards-small {
        grid-template-columns: 1fr;
    }

}