/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    --primary-color: #0984e3;
    --primary-hover: #74b9ff;
    --bg-color: #f9f9f9;
    --card-bg: #ffffff;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --border-color: #dfe6e9;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
    --font-main: 'Outfit', sans-serif;
    --radius-card: 20px;
    --radius-btn: 12px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   Typography
   ============================================================ */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 {
    font-size: clamp(2rem, 5vw + 0.5rem, 3.5rem);
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
    margin-bottom: 1.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* ============================================================
   Layout
   ============================================================ */
.container {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 20px;
}

section {
    padding-block: 100px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    min-height: 44px;
    min-width: 44px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(9, 132, 227, 0.2);
}

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

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

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
    margin-left: 10px;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-sm {
    padding: 10px 25px;
    font-size: 0.9rem;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

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

.btn-white {
    background: white;
    color: var(--primary-color);
    padding: 16px 45px;
    font-size: 1.2rem;
    min-height: 44px;
}

.btn-white:hover {
    background: #f1f2f6;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ============================================================
   Header
   ============================================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding-block: 15px;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    padding-top: 180px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #e3f2fd;
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

/* Shared image style (moved from inline) */
.section-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   Features Section
   ============================================================ */
.features {
    background: white;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 60px;
}

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

.feature-card .icon {
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* ============================================================
   Steps Section
   ============================================================ */
.steps-section {
    background: var(--bg-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.step-card {
    position: relative;
    padding: 30px;
    padding-top: 40px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.step-card::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(9, 132, 227, 0.3);
}

.step-card h3 {
    font-size: 1.3rem;
}

/* ============================================================
   Showcase Section
   ============================================================ */
.showcase {
    background: white;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    margin-bottom: 15px;
    padding-left: 38px;
    position: relative;
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: 900;
    background: #e3f2fd;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-box {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--primary-color), #74b9ff);
    color: white;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(9, 132, 227, 0.3);
}

.cta-box h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 30px;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.faq-section {
    background: var(--bg-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    line-height: 1.4;
}

.faq-item p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* ============================================================
   Footer
   ============================================================ */
footer {
    background: white;
    padding-block: 50px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: #b2bec3;
    font-size: 0.9rem;
}

/* ============================================================
   Animations
   ============================================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
    transition-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
    transition-delay: 0.3s;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-in-up,
    .fade-in-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   Responsive — Tablet (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
    section {
        padding-block: 70px;
    }

    .hero {
        padding-top: 110px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-grid,
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .check-list {
        text-align: left;
        display: inline-block;
        margin-top: 16px;
    }

    .showcase-image {
        order: -1;
    }

    .cta-box {
        padding: 60px 30px;
    }
}

/* ============================================================
   Responsive — Mobile (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
    section {
        padding-block: 60px;
    }

    .container {
        padding-inline: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .logo-text {
        font-size: 1rem;
    }

    .btn-sm {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .cta-box {
        padding: 50px 20px;
    }

    .cta-box p {
        font-size: 1.1rem;
    }

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

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

    .card {
        padding: 28px;
    }
}

/* ============================================================
   Responsive — Small Mobile (≤ 380px)
   ============================================================ */
@media (max-width: 380px) {
    .logo-text {
        display: none;
    }
}