/* ==========================================================================
   Home — Homepage hero, trust bar, features, pricing, testimonials, registration
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.about-header {
    position: relative;
    background: linear-gradient(145deg, #0f1426 0%, #182540 60%, #1e3050 100%);
    padding: 90px 0 50px;
    height: auto;
    text-align: center;
    margin: 0;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Hero — Background animations (4 switchable options via data-hero attr)
   -------------------------------------------------------------------------- */

/* All hero backgrounds: shared base */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    display: none;
}

/* Show only the active one */
[data-hero="a"] .hero-bg-a,
[data-hero="b"] .hero-bg-b,
[data-hero="c"] .hero-bg-c,
[data-hero="d"] .hero-bg-d {
    display: block;
}

/* ── Shared: Floating gradient orbs (used by all options) ── */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.22;
    will-change: transform;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #67b7dc 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #7d3c98 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-success) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-60px, 40px); }
    66% { transform: translate(30px, -30px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(50px, -30px); }
    66% { transform: translate(-40px, 20px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, 30px); }
    66% { transform: translate(-50px, -20px); }
}

/* ── Option A: Workflow nodes ── */
.hero-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.node-line {
    stroke: rgba(103, 183, 220, 0.12);
    stroke-width: 1;
    stroke-dasharray: 6 4;
    animation: lineDash 30s linear infinite;
}

@keyframes lineDash {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

.node {
    fill: rgba(103, 183, 220, 0.35);
}

.node-a1, .node-a5, .node-a9 { animation: nodePulse 4s ease-in-out infinite; }
.node-a2, .node-a7 { animation: nodePulse 4s ease-in-out 1s infinite; }
.node-a3, .node-a8 { animation: nodePulse 4s ease-in-out 2s infinite; }
.node-a4, .node-a6 { animation: nodePulse 4s ease-in-out 3s infinite; }

@keyframes nodePulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

.node-halo {
    fill: none;
    stroke: rgba(103, 183, 220, 0.3);
    stroke-width: 1.5;
    animation: haloPulse 3s ease-out infinite;
}

.halo-1 { animation-delay: 0s; }
.halo-2 { animation-delay: 0.8s; }
.halo-3 { animation-delay: 1.6s; }
.halo-4 { animation-delay: 2.4s; }

@keyframes haloPulse {
    0% { r: 8; stroke-opacity: 0.4; }
    100% { r: 28; stroke-opacity: 0; }
}

.data-pulse {
    fill: #67b7dc;
    opacity: 0;
    animation: pulseGlow 4s ease-in-out infinite;
}

.pulse-1 { animation-delay: 0s; animation-duration: 4s; }
.pulse-2 { animation-delay: 0.7s; animation-duration: 3.5s; }
.pulse-3 { animation-delay: 1.5s; animation-duration: 4.5s; }
.pulse-4 { animation-delay: 0.3s; animation-duration: 3.8s; }
.pulse-5 { animation-delay: 2s; animation-duration: 5s; }
.pulse-6 { animation-delay: 1s; animation-duration: 4.2s; }

@keyframes pulseGlow {
    0% { opacity: 0; }
    15% { opacity: 0.8; }
    85% { opacity: 0.8; }
    100% { opacity: 0; }
}

/* ── Option B: Wave lines ── */
.hero-waves-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
}

.hero-wave {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.wave-1 { stroke: rgba(103, 183, 220, 0.12); animation: waveFlow1 12s ease-in-out infinite; }
.wave-2 { stroke: rgba(103, 183, 220, 0.08); animation: waveFlow2 16s ease-in-out infinite; }
.wave-3 { stroke: rgba(125, 60, 152, 0.08); animation: waveFlow1 20s ease-in-out infinite reverse; }
.wave-4 { stroke: rgba(95, 184, 122, 0.07); animation: waveFlow2 14s ease-in-out infinite; }
.wave-5 { stroke: rgba(103, 183, 220, 0.10); animation: waveFlow1 18s ease-in-out infinite; }
.wave-6 { stroke: rgba(103, 183, 220, 0.06); animation: waveFlow2 22s ease-in-out infinite reverse; }

@keyframes waveFlow1 {
    0% { transform: translateX(0); }
    50% { transform: translateX(-25%); }
    100% { transform: translateX(0); }
}

@keyframes waveFlow2 {
    0% { transform: translateX(-25%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}

/* ── Option C: Floating document cards ── */
.float-doc {
    position: absolute;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    backdrop-filter: blur(2px);
}

.float-doc::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    box-shadow:
        0 8px 0 rgba(255, 255, 255, 0.05),
        0 16px 0 rgba(255, 255, 255, 0.05),
        0 24px 0 rgba(255, 255, 255, 0.04);
}

.float-doc::after {
    position: absolute;
    font-family: FontAwesome;
    bottom: 8px;
    right: 8px;
    font-size: 14px;
    opacity: 0.15;
}

.doc-invoice { width: 70px; height: 90px; left: 8%; animation: floatUp1 18s ease-in-out infinite; }
.doc-invoice::after { content: '\f1d8'; color: #67b7dc; }

.doc-receipt { width: 55px; height: 75px; left: 22%; animation: floatUp2 22s ease-in-out infinite; animation-delay: -4s; }
.doc-receipt::after { content: '\f154'; color: #d4a017; }

.doc-clock {
    width: 65px; height: 65px; left: 38%; border-radius: 50%;
    animation: floatUp3 20s ease-in-out infinite; animation-delay: -8s;
}
.doc-clock::before { display: none; }
.doc-clock::after {
    content: '\f017'; font-size: 22px; opacity: 0.12;
    top: 50%; left: 50%; right: auto; bottom: auto;
    transform: translate(-50%, -50%);
}

.doc-project { width: 80px; height: 60px; right: 35%; animation: floatUp1 24s ease-in-out infinite; animation-delay: -12s; }
.doc-project::after { content: '\f0b1'; color: #7d3c98; }

.doc-chart { width: 75px; height: 85px; right: 18%; animation: floatUp2 19s ease-in-out infinite; animation-delay: -6s; }
.doc-chart::after { content: '\f080'; color: var(--color-success); }

.doc-check {
    width: 50px; height: 50px; right: 6%; border-radius: 50%;
    animation: floatUp3 21s ease-in-out infinite; animation-delay: -10s;
}
.doc-check::before { display: none; }
.doc-check::after {
    content: '\f00c'; font-size: 18px; opacity: 0.12; color: var(--color-success);
    top: 50%; left: 50%; right: auto; bottom: auto;
    transform: translate(-50%, -50%);
}

.doc-invoice-2 { width: 60px; height: 80px; left: 52%; animation: floatUp2 23s ease-in-out infinite; animation-delay: -2s; }
.doc-invoice-2::after { content: '\f1d8'; color: #67b7dc; }

.doc-receipt-2 { width: 50px; height: 70px; right: 48%; animation: floatUp1 17s ease-in-out infinite; animation-delay: -14s; }
.doc-receipt-2::after { content: '\f154'; color: #d4a017; }

@keyframes floatUp1 {
    0% { bottom: -100px; opacity: 0; transform: rotate(-3deg) translateX(0); }
    5% { opacity: 0.8; }
    50% { transform: rotate(2deg) translateX(20px); }
    90% { opacity: 0.6; }
    100% { bottom: 110%; opacity: 0; transform: rotate(-1deg) translateX(-10px); }
}

@keyframes floatUp2 {
    0% { bottom: -100px; opacity: 0; transform: rotate(2deg) translateX(0); }
    5% { opacity: 0.7; }
    50% { transform: rotate(-3deg) translateX(-15px); }
    90% { opacity: 0.5; }
    100% { bottom: 110%; opacity: 0; transform: rotate(1deg) translateX(10px); }
}

@keyframes floatUp3 {
    0% { bottom: -80px; opacity: 0; transform: rotate(0deg) translateX(0); }
    5% { opacity: 0.6; }
    50% { transform: rotate(5deg) translateX(25px); }
    90% { opacity: 0.4; }
    100% { bottom: 110%; opacity: 0; transform: rotate(-2deg) translateX(-15px); }
}

/* ── Option D: Rising bar chart ── */
.hero-bars-inner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 5%;
    gap: 0;
}

.hero-bar {
    flex: 1;
    max-width: 40px;
    margin: 0 4px;
    border-radius: 4px 4px 0 0;
    opacity: 0.08;
    transform-origin: bottom;
    animation: barRise 8s ease-in-out infinite;
}

.bar-blue { background: #67b7dc; }
.bar-green { background: var(--color-success); }
.bar-purple { background: #7d3c98; }
.bar-amber { background: #d4a017; }
.bar-light { background: rgba(255, 255, 255, 0.8); }

.hero-bar:nth-child(1) { animation-delay: 0s; }
.hero-bar:nth-child(2) { animation-delay: 0.3s; }
.hero-bar:nth-child(3) { animation-delay: 0.6s; }
.hero-bar:nth-child(4) { animation-delay: 0.9s; }
.hero-bar:nth-child(5) { animation-delay: 1.2s; }
.hero-bar:nth-child(6) { animation-delay: 0.2s; }
.hero-bar:nth-child(7) { animation-delay: 0.5s; }
.hero-bar:nth-child(8) { animation-delay: 0.8s; }
.hero-bar:nth-child(9) { animation-delay: 1.1s; }
.hero-bar:nth-child(10) { animation-delay: 0.1s; }
.hero-bar:nth-child(11) { animation-delay: 0.4s; }
.hero-bar:nth-child(12) { animation-delay: 0.7s; }
.hero-bar:nth-child(13) { animation-delay: 1.0s; }
.hero-bar:nth-child(14) { animation-delay: 0.15s; }
.hero-bar:nth-child(15) { animation-delay: 0.45s; }
.hero-bar:nth-child(16) { animation-delay: 0.75s; }
.hero-bar:nth-child(17) { animation-delay: 1.05s; }
.hero-bar:nth-child(18) { animation-delay: 0.35s; }
.hero-bar:nth-child(19) { animation-delay: 0.65s; }
.hero-bar:nth-child(20) { animation-delay: 0.95s; }
.hero-bar:nth-child(21) { animation-delay: 0.25s; }
.hero-bar:nth-child(22) { animation-delay: 0.55s; }
.hero-bar:nth-child(23) { animation-delay: 0.85s; }
.hero-bar:nth-child(24) { animation-delay: 1.15s; }
.hero-bar:nth-child(25) { animation-delay: 0.05s; }

@keyframes barRise {
    0%, 100% { height: var(--bar-min); opacity: 0.05; }
    50% { height: var(--bar-max); opacity: 0.10; }
}

.hero-trend-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.trend-line {
    fill: none;
    stroke: rgba(103, 183, 220, 0.15);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 8 6;
    animation: trendDash 20s linear infinite;
}

.trend-glow {
    fill: none;
    stroke: rgba(103, 183, 220, 0.06);
    stroke-width: 8;
    stroke-linecap: round;
}

@keyframes trendDash {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -280; }
}

.about-header .about-header-inner {
    position: relative;
    z-index: 1;
    top: unset;
    transform: unset;
    width: 100%;
    padding: unset;
}

.about-header .about-header-inner h1 {
    font-size: 44px;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #fff;
    text-transform: none;
    text-shadow: none;
    margin-top: 0;
    margin-bottom: 18px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.about-header .about-header-inner h1 strong {
    font-weight: 600;
}

.about-header .about-header-inner .container {
    width: 1250px;
    max-width: 100%;
}

.about-header .about-header-inner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    line-height: 1.7;
    margin-top: 10px;
    margin-bottom: 20px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-badges .badge-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-badges .badge-item i {
    color: var(--color-success);
    margin-right: 6px;
    font-size: 12px;
}

.hero-app-preview {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.hero-app-preview img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
    background: #F5F7FB;
    padding: 28px 0;
    text-align: center;
    border-bottom: 1px solid #eef1f5;
}

.trust-bar .trust-item {
    display: inline-block;
    padding: 0 28px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
}

.trust-bar .trust-item i {
    color: var(--color-success);
    margin-right: 7px;
}

/* --------------------------------------------------------------------------
   Feature Explore Cards
   -------------------------------------------------------------------------- */
.feature-explore {
    padding: 70px 0;
    background: #fff;
}

.feature-explore h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    color: #444;
    margin-bottom: 12px;
}

.feature-explore > .container > p {
    text-align: center;
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.feature-explore .explore-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-explore .explore-card {
    background: #fff;
    border: 1px solid #E8ECF1;
    border-radius: 10px;
    padding: 32px 24px;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    text-decoration: none !important;
    color: #444;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-explore .explore-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    color: #444;
    text-decoration: none !important;
}

.feature-explore .explore-card .card-icon-lg {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.feature-explore .explore-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.feature-explore .explore-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 12px;
}

.feature-explore .explore-card .learn-more {
    font-size: 13px;
    font-weight: 600;
    color: #67b7dc;
}

.feature-explore .explore-card .learn-more i {
    margin-left: 4px;
    font-size: 11px;
    transition: margin-left 0.2s ease;
}

.feature-explore .explore-card:hover .learn-more i {
    margin-left: 8px;
}

/* --------------------------------------------------------------------------
   How It Works
   -------------------------------------------------------------------------- */
.homepage-how-it-works {
    padding: 70px 0;
    background: #F5F7FB;
    text-align: center;
}

.homepage-how-it-works h2 {
    font-size: 28px;
    font-weight: 400;
    color: #444;
    margin-bottom: 50px;
}

.homepage-how-it-works .step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.homepage-how-it-works .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #67b7dc;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(103, 183, 220, 0.25);
}

.homepage-how-it-works .step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #444;
}

.homepage-how-it-works .step p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Step connector lines */
@media (min-width: 992px) {
    .homepage-how-it-works .col-md-4:not(:last-child) .step::after {
        content: '';
        position: absolute;
        top: 24px;
        right: -18%;
        width: 36%;
        height: 2px;
        background: linear-gradient(90deg, #67b7dc 0%, #e0e4ed 100%);
    }
}

/* --------------------------------------------------------------------------
   Mid-page CTA
   -------------------------------------------------------------------------- */
.homepage-mid-cta {
    background: linear-gradient(135deg, #0f1426 0%, #1a2744 100%);
    padding: 60px 0;
    text-align: center;
}

.homepage-mid-cta h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 8px;
}

.homepage-mid-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 25px;
}

/* --------------------------------------------------------------------------
   Comparison Table
   -------------------------------------------------------------------------- */
.homepage-comparison {
    background: #fff;
    padding: 70px 0;
    text-align: center;
}

.homepage-comparison h2 {
    font-size: 28px;
    font-weight: 400;
    color: #444;
    margin-bottom: 12px;
}

.homepage-comparison > .container > p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.homepage-comparison .comparison-table {
    max-width: 750px;
    margin: 0 auto;
    font-size: 15px;
}

.homepage-comparison .comp-row {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #eef1f5;
}

.homepage-comparison .comp-row:last-child { border-bottom: none; }

.homepage-comparison .comp-feature {
    flex: 1;
    text-align: left;
    color: #444;
    font-weight: 500;
}

.homepage-comparison .comp-them,
.homepage-comparison .comp-us {
    width: 140px;
    text-align: center;
}

.homepage-comparison .comp-header {
    font-weight: 600;
    color: #444;
    padding-bottom: 14px;
    border-bottom: 2px solid #e0e4ed;
    margin-bottom: 4px;
}

.homepage-comparison .comp-header .comp-us { color: #67b7dc; }
.homepage-comparison .comp-them { color: #999; }
.homepage-comparison .comp-us { color: var(--color-success); font-weight: 600; }
.homepage-comparison .comp-us .fa-check { color: var(--color-success); }
.homepage-comparison .comp-us .fa-times { color: var(--color-danger); }
.homepage-comparison .comp-them .fa-check { color: #999; }
.homepage-comparison .comp-them .fa-times { color: var(--color-danger); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.homepage-faq {
    background: #fff;
    padding: 70px 0;
}

.homepage-faq h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    color: #444;
    margin-bottom: 40px;
}

.homepage-faq .faq-item {
    max-width: 720px;
    margin: 0 auto 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eef1f5;
}

.homepage-faq .faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.homepage-faq .faq-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.homepage-faq .faq-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Cross-links
   -------------------------------------------------------------------------- */
.homepage-cross-links {
    background: #F5F7FB;
    padding: 50px 0;
    text-align: center;
}

.homepage-cross-links h2 {
    font-size: 22px;
    font-weight: 400;
    color: #444;
    margin-bottom: 25px;
}

.homepage-cross-links .link-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.homepage-cross-links .link-card {
    background: #fff;
    border-radius: 10px;
    padding: 24px 30px;
    text-align: center;
    width: 200px;
    text-decoration: none !important;
    color: #444;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.homepage-cross-links .link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.homepage-cross-links .link-card i {
    font-size: 28px;
    color: #67b7dc;
    margin-bottom: 10px;
    display: block;
}

.homepage-cross-links .link-card span {
    font-weight: 500;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Invoice View (shared between home/marketing)
   -------------------------------------------------------------------------- */
.page-view-invoice .invoice-image-section {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    padding-top: 0;
}

/* --------------------------------------------------------------------------
   Onboarding
   -------------------------------------------------------------------------- */
.tutorial-step-content {
    margin: 50px auto;
}

.onboarding-container h1 {
    color: #444;
    text-align: center;
    margin: 0;
    padding: 30px 0;
}

.mt-element-step .step-line .mt-step-number {
    height: 80px;
    width: 80px;
}

.mt-element-step .step-line .mt-step-title:after,
.mt-element-step .step-line .mt-step-title:before {
    top: -42px;
}

.mt-element-step .step-line .active .mt-step-number > i {
    color: #32c5d2 !important;
}

.mt-element-step .step-line .done .mt-step-number > i {
    color: var(--color-success) !important;
}

/* --------------------------------------------------------------------------
   Narrow column hero layout (page-start.php)
   -------------------------------------------------------------------------- */
.narrow-column {
    text-align: center;
    justify-content: center;
    width: 665px;
    max-width: 100%;
    margin: 0 auto 260px auto;
    padding: 100px 20px 0 20px;
    border-top: 2px solid #67b7dc;
}

/* Dashboard screenshot section */
.dashboard-shot-section {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.dashboard-shot-section img {
    width: 100%;
    max-width: 100%;
    margin-top: -200px;
    margin-bottom: 20px;
}

/* Paper planes SVG animation */
.paper-planes {
    position: absolute;
    top: -110px;
    left: calc(100% - 300px);
}

/* Scroll reveal — page-specific stagger delays
   (base .reveal rules are in global/base.css) */
.explore-cards .reveal:nth-child(1),
.homepage-how-it-works .reveal:nth-child(1),
.homepage-faq .faq-item.reveal:nth-child(1) { transition-delay: 0s; }

.explore-cards .reveal:nth-child(2),
.homepage-how-it-works .reveal:nth-child(2),
.homepage-faq .faq-item.reveal:nth-child(2) { transition-delay: 0.12s; }

.explore-cards .reveal:nth-child(3),
.homepage-how-it-works .reveal:nth-child(3),
.homepage-faq .faq-item.reveal:nth-child(3) { transition-delay: 0.24s; }

.explore-cards .reveal:nth-child(4),
.homepage-faq .faq-item.reveal:nth-child(4) { transition-delay: 0.36s; }

.homepage-faq .faq-item.reveal:nth-child(5) { transition-delay: 0.48s; }

/* How-it-works steps: counted from column wrappers */
.homepage-how-it-works .col-xs-12:nth-child(1) .reveal { transition-delay: 0s; }
.homepage-how-it-works .col-xs-12:nth-child(2) .reveal { transition-delay: 0.15s; }
.homepage-how-it-works .col-xs-12:nth-child(3) .reveal { transition-delay: 0.3s; }

/* Hero preview image */
.hero-app-preview.reveal.scale { transition-delay: 0.3s; }

/* Comparison table: slight delay after heading */
.comparison-table.reveal { transition-delay: 0.15s; }

/* Hover scale effect */
.scale-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.scale-hover:hover {
    transform: scale(1.05) translateZ(0);
}

/* --------------------------------------------------------------------------
   Responsive — Home
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .paper-planes { display: none; }
}

@media (max-width: 991px) {
    .about-header .about-header-inner h1 {
        font-size: 38px;
        line-height: 1.25;
    }

    .page-view-invoice .invoice-image-section { margin-top: 20px !important; margin-bottom: 20px !important; }

    .tutorial-step-content .input-group-lg > .input-group-addon,
    .input-group-lg > .input-group-btn > .btn {
        height: auto;
        padding: 6px 12px;
        font-size: 14px;
        margin-right: 0;
    }

    .tutorial-step-content .input-lg { font-size: 14px; height: 34px; padding: 6px 12px; width: 100% !important; }
    .tutorial-step-content .form-horizontal .control-label.control-lg { font-size: 14px; margin-bottom: 5px; }

    .mt-element-step .step-line .mt-step-title:after { content: ''; }
    .mt-element-step .step-line .mt-step-title:before { content: ''; }

    /* Homepage hero fixed header */
    .page-home .page-sidebar-wrapper { position: fixed; top: 75px; }
}

@media (max-width: 767px) {
    .hero-bg {
        display: none !important;
    }

    .about-header {
        padding: 70px 0 40px;
    }

    .about-header .about-header-inner h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-badges {
        gap: 12px;
    }

    .hero-badges .badge-item {
        font-size: 12px;
    }

    .trust-bar .trust-item {
        display: block;
        padding: 6px 0;
    }

    .feature-explore .explore-card {
        min-width: 100%;
    }

    .homepage-comparison .comp-feature {
        font-size: 13px;
    }

    .homepage-comparison .comp-them,
    .homepage-comparison .comp-us {
        width: 80px;
        font-size: 13px;
    }

    .narrow-column { margin-bottom: 200px; }
    .dashboard-shot-section img { margin-top: -150px; }

    .mt-element-step .step-line .mt-step-title:after { content: none; }
    .mt-element-step .step-line .mt-step-title:before { content: none; }
}

@media (max-width: 580px) {
    .narrow-column .cta .btn { margin-right: 0 !important; }
    .narrow-column .cta span { display: block; margin-top: 20px; }

    .about-header .about-header-inner h1 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 12px !important;
    }

    .narrow-column { padding-top: 50px; }
}

@media (max-width: 480px) {
    #register-form .row { margin-left: -10px; margin-right: -10px; margin-top: 0 !important; }
    #register-beta-form .col-xs-6, #register-form .col-xs-6 { width: 100%; margin-top: 10px; padding-right: 10px !important; padding-left: 10px !important; }

    #header_notification_bar { display: none; }
}

@media (max-width: 420px) {
    .top-action-section .col-xs-5, .top-action-section .col-xs-7, .top-action-section .btn-group { width: 100%; }
    .top-action-section .pay-now-button { width: 100%; margin-bottom: 20px; }
    .top-action-section a { width: 48%; }
    .top-action-section a:first-of-type { float: left; }
}
