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

:root {
    /* Colors from Figma */
    --primary-blue: #015bf8;
    --secondary-blue: #01d0fc;
    --gradient: linear-gradient(90deg, #01d0fc 0%, #015bf8 100%);
    --text-primary: #000000;
    --text-secondary: #868686;
    --text-white: #ffffff;
    --bg-cream: #f4f0e9;
    --bg-light: #f1f1f1;
    --bg-white: #ffffff;
    --bg-dark: #181f1f;
    --border-color: #ebebeb;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Container */
    --container-width: 1200px;
    --container-wide: 1440px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #000;
    background: #F1F1F1;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #F1F1F1;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 95px;
}

.nav {
    display: flex;
    gap: 26px;
}

.nav a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    font-size: 14px;
    color: #000;
    text-decoration: none;
}

.btn-demo {
    background: linear-gradient(90deg, #02c3ef 0%, #015bf8 100%);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 140px 80px 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    margin-bottom: 32px;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(90deg, #02c3ef 0%, #015bf8 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 60px;
}

.hero-video {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-video img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 85%;
    left: 90%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 20px solid #000;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

/* ===== STEPS SECTION ===== */
.steps-section {
    position: relative;
    padding: 100px 80px;
    max-width: 1240px;
    margin: 0 auto;
}

.steps-line {
    position: absolute;
    top: 140px;
    /* aligns with first step number */
    left: 120px;
    /* distance from left edge */
    width: 1px;
    height: calc(100% - 200px);
    background-image: repeating-linear-gradient(to bottom,
            #d6d6d6 0px,
            #d6d6d6 26px,
            transparent 50px,
            transparent 50px);
}

.step-number {
    font-size: 18px;
    font-weight: 600;
    color: #868686;
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.step-number::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .steps-line {
        display: none;
    }

    .step-number {
        padding-left: 0;
    }

    .step-number::before {
        display: none;
    }
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even)>* {
    direction: ltr;
}

.step-content {
    padding: 0 40px;
}

.step-number {
    font-size: 18px;
    font-weight: 600;
    color: #868686;
    margin-bottom: 16px;
}

.step-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.step-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
}

.step-link {
    display: inline-block;
    background: #f5f1ec;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.step-link:hover {
    background: #ebe4da;
}

.step-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 100px 80px;
    /* background: #f8f5f0; */
}

.faq-container {
    max-width: 1240px;
    margin: 0 auto;
}

.faq-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-item {
    padding: 32px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgb(241 241 242);
}

.faq-item[open] {
    background: rgb(223 223 223);
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #868686;
}

.faq-answer {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
}

.faq-testimonial {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8f5f0;
    border-radius: 12px;
    margin-top: 20px;
}

.faq-testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.faq-quote {
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 8px;
}

.faq-author {
    font-size: 12px;
    font-weight: 600;
}


.testimonial-card-dark {
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 30px 10px;
    color: var(--text-white);
}

.testimonial-card-dark img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.testimonial-card-dark blockquote {
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.author-role {
    color: var(--text-secondary);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 80px;
    text-align: center;
    background: #fff;
}

.cta-content {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-image {
    border-radius: 24px;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: auto;
}

.cta-text {
    text-align: left;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

/* ===== FOOTER ===== */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 80px 40px;
}

.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo img {
    width: 95px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    color: #999;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #666;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-section {
        padding: 120px 40px 60px;
    }

    .hero-title {
        font-size: 44px;
    }

    .steps-section {
        padding: 80px 40px;
    }

    .step {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step:nth-child(even) {
        direction: ltr;
    }

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

    .cta-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header {
        padding: 14px 20px;
    }

    .hero-section {
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .steps-section {
        padding: 60px 20px;
    }

    .step-content {
        padding: 0;
    }

    .step-title {
        font-size: 32px;
    }

    .faq-section {
        padding: 60px 20px;
    }

    .faq-title {
        font-size: 36px;
    }

    .footer {
        padding: 60px 20px 40px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.how-steps {
    max-width: 1240px;
    margin: 0 auto;
    padding: 120px 80px;
    display: grid;
    row-gap: 140px;
    /* distance between steps */
}

/* Timeline column */
.how-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* keeps num + line centered on same x */
    position: relative;
}

/* Number (sits ABOVE the line) */
.how-num {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    line-height: 1;
    margin-bottom: 16px;
    /* spacing before line starts */
}

/* ONLY downward dotted line */
.how-line {
    height: calc(100% + 426px);
}

/* Center content column */
.how-content h2 {
    font-size: 36px;
    margin: 0 0 14px;
}

.how-content p {
    margin: 0 0 40px;
    color: #666;
    line-height: 1.6;
}

.how-content a {
    font-weight: 600;
    color: #111;
    text-decoration: none;
    background: #E2E2E2;
    padding: 18px;
    margin-top: 11px;
    border-radius: 10px;
}

.how-content a span img {
    margin-left: 15px;
}

/* Image stays RIGHT always */
.how-image {
    border-radius: 24px;
    overflow: hidden;
}

.how-image img {
    width: 100%;
    display: block;
}

/* Responsive */
@media (max-width:1024px) {
    .how-step {
        grid-template-columns: 60px 1fr;
        grid-template-areas:
            "timeline content"
            "timeline image";
        row-gap: 24px;
        column-gap: 24px;
    }

    .how-image {
        grid-column: 2;
    }

    .how-line {
        height: calc(100% + 80px);
    }
}

@media (max-width:768px) {
    .how-step {
        grid-template-columns: 1fr;
    }

    .how-timeline {
        display: none;
    }
}

/* step grid */
.how-step {
    display: grid;
    grid-template-columns: 0px 473px 1fr;
    column-gap: 65px;
    align-items: start;
    position: relative;
    /* important */
}

/* timeline column */
.how-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
}

/* number */
.how-num {
    font-size: 50px;
    font-weight: 600;
    color: #111;
    line-height: 1;
    /* background: #F1F1F1; */
    /* match your page bg (important for break look) */
    padding: 6px 10px;
    border-radius: 999px;
    z-index: 2;
}

/* line MUST be positioned absolutely so it doesn't depend on height */
.how-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 70px;
    /* starts AFTER number */
    bottom: -140px;
    /* extends to next step (match gap) */
    width: 2px;

    /* make it visible (darker than before) */
    /* background: repeating-linear-gradient(to bottom,
            rgba(0, 0, 0, 0.35) 0px,
            rgba(0, 0, 0, 0.35) 6px,
            transparent 6px,
            transparent 14px); */
    background-image: repeating-linear-gradient(to bottom, #DDDDDD 7px, #DDDDDD 20px, #58171700 1px, #bf343400 28px);
    border-radius: 2px;
}

/* last step: no line after last number */
.how-step:last-child .how-line {
    display: none;
}

/* OLD (remove this) */
/* .how-step:last-child .how-line{ display:none; } */

/* NEW: line sirf un steps me dikhe jo last nahi hain */
.how-step:not(:last-child) .how-line {
    display: block;
}

.how-step:last-child .how-line {
    height: calc(100% + 300px);
    display: block;
}




/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 160px 0;
    /* background: var(--bg-white); */
    border-radius: 70px;
    margin-top: 30px;
    /* padding-top: 160px; */
}


.faq-container {
    display: grid;
    grid-template-columns: 2fr 0.6fr;
    gap: 40px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 40px;
}

.section-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 50px;
}


.faq-left {
    margin-top: 110px;
}

.faq-item {
    /* border-bottom: 2px solid var(--border-color); */
    padding: 20px 10px;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-primary);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding-top: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.testimonial-card-dark {
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 30px 10px;
    color: var(--text-white);
}

.testimonial-card-dark img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.testimonial-card-dark blockquote {
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.author-role {
    color: var(--text-secondary);
}

.section-container {
    max-width: 1270px;
    margin: auto;
    padding: 0 24px;
}

.how-steps-section {
    background-color: #fff;
    border-radius: 70px;
}

.hero-video {
    position: relative;
    /* REQUIRED for overlay */
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Bottom-left text overlay */
.hero-video-caption {
    position: absolute;
    left: 20px;
    bottom: 16px;

    font-size: 14px;
    font-weight: 500;
    color: #fff;

    background: rgba(0, 0, 0, 0.45);
    /* subtle dark bg like Owner */
    padding: 6px 12px;
    border-radius: 999px;

    z-index: 2;
    backdrop-filter: blur(6px);
}

/* Ensure play button stays on top */
.play-button {
    z-index: 3;
}

.how-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Background image */
.how-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Centered video overlay */
.how-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 85%;
    width: 85%;
    max-width: 420px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: #000;
    z-index: 2;
}

.how-video {
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}