/* WerzApp Landing Pages — Shared Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
    color: var(--deep-blue);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition:
        background-color 0.3s,
        color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}

/* ---- Colors (CSS vars) — Light theme ---- */
:root {
    --deep-blue: #0c1d3a;
    --golden-amber: #f6c461;
    --orange: #f19a3d;
    --coral-red: #e8603e;
    --steel-blue: #79a0bb;
    --grey: #9da4af;
    --dark-grey: #455368;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --bg-card: #f5f5f5;
    --border: #e5e7eb;
    --text-primary: #0c1d3a;
    --text-secondary: #455368;
    --cta-bg: rgba(246, 196, 97, 0.12);
    --shadow-sm:
        0 1px 3px rgba(12, 29, 58, 0.06), 0 1px 2px rgba(12, 29, 58, 0.04);
    --shadow-md:
        0 4px 12px rgba(12, 29, 58, 0.08), 0 2px 4px rgba(12, 29, 58, 0.04);
    --shadow-lg:
        0 12px 32px rgba(12, 29, 58, 0.1), 0 4px 8px rgba(12, 29, 58, 0.04);
    --shadow-glow: 0 0 0 3px rgba(246, 196, 97, 0.15);
}

/* ---- Dark theme ---- */
[data-theme="dark"] {
    --bg: #0c1d3a;
    --bg-alt: rgba(12, 29, 58, 0.72);
    --bg-card: rgba(69, 83, 104, 0.47);
    --border: #455368;
    --text-primary: #ffffff;
    --text-secondary: #9da4af;
    --cta-bg: rgba(246, 196, 97, 0.08);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 0 3px rgba(246, 196, 97, 0.2);
}

/* ---- Typography ---- */
h1,
h2,
h3 {
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
h1 {
    font-size: 52px;
    line-height: 1.1;
}
h2 {
    font-size: 36px;
    line-height: 1.2;
}
h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

p,
li {
    color: var(--text-secondary);
}

.subtitle {
    font-size: 26px;
    font-weight: 600;
    color: var(--orange);
    line-height: 1.4;
}

[data-theme="dark"] .subtitle {
    color: var(--golden-amber);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 16px auto 0;
}

.accent-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--orange);
    text-align: center;
    margin-top: 32px;
    line-height: 1.6;
}

[data-theme="dark"] .accent-text {
    color: var(--golden-amber);
}

/* ---- Layout ---- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px;
}

section {
    padding: 100px 80px;
}

section.alt {
    background: var(--bg-alt);
}

.inner {
    max-width: 1100px;
    margin: 0 auto;
}

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

/* ---- Nav ---- */
.nav {
    display: flex;
    align-items: center;
    padding: 16px 48px;
    background: var(--bg);
    transition:
        background-color 0.3s,
        box-shadow 0.3s;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(12, 29, 58, 0.06);
}

[data-theme="dark"] .nav {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.nav-logo img {
    height: 56px;
}

.nav-logo .logo-dark {
    display: none;
}

[data-theme="dark"] .nav-logo .logo-light {
    display: none;
}

[data-theme="dark"] .nav-logo .logo-dark {
    display: block;
}

.nav-spacer {
    flex: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 6px;
    transition:
        background-color 0.2s,
        opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Theme toggle button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-blue);
    font-size: 20px;
    border-radius: 8px;
    transition:
        color 0.3s,
        background-color 0.2s;
}

.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .theme-toggle {
    color: var(--golden-amber);
}

[data-theme="dark"] .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.theme-toggle .icon-dark {
    display: inline;
}

.theme-toggle .icon-light {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-dark {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-light {
    display: inline;
}

/* Mobile-only elements (hidden on desktop, shown on mobile) */
.mobile-only {
    display: none;
}

/* Mobile menu toggle */
.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    color: var(--text-primary);
    padding: 4px;
}

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 48px;
    gap: 8px;
}

.nav-mobile-menu.open {
    display: flex;
}

.nav-mobile-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav-mobile-menu a:last-child {
    border-bottom: none;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 28px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--deep-blue);
    color: var(--white);
}

[data-theme="dark"] .btn-primary {
    background: var(--golden-amber);
    color: var(--deep-blue);
}

.btn-outline {
    background: transparent;
    color: var(--deep-blue);
    border: 1.5px solid var(--deep-blue);
}

[data-theme="dark"] .btn-outline {
    color: var(--golden-amber);
    border-color: var(--golden-amber);
}

/* Nav buttons — shared size so they match exactly */
.nav-links a.btn-outline.btn-nav,
.nav-links a.btn-register {
    padding: 12px 20px;
    font-size: 15px;
    line-height: 1;
    border: 1.5px solid var(--deep-blue);
    border-radius: 8px;
}

.nav-links a.btn-outline.btn-nav {
    background: transparent;
    color: var(--deep-blue);
}

.nav-links a.btn-register {
    background: var(--deep-blue);
    color: var(--white);
}

[data-theme="dark"] .nav-links a.btn-outline.btn-nav {
    color: var(--golden-amber);
    border-color: var(--golden-amber);
}

[data-theme="dark"] .nav-links a.btn-register {
    background: var(--golden-amber);
    color: var(--deep-blue);
    border-color: var(--golden-amber);
}

/* ---- Hero ---- */
.hero {
    padding: 56px 80px 88px;
    text-align: center;
}

.hero .inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero-image {
    max-width: 500px;
    margin: 0 auto 28px;
}

.page-rider .hero-image {
    margin-bottom: 14px;
}

.hero-body {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-top: 28px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 44px;
}

/* ---- Section title block ---- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header .subtitle {
    display: block;
    margin-bottom: 12px;
}

.section-header .section-subtitle {
    margin-top: 16px;
}

/* ---- Grid helpers ---- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.grid-3 > * {
    flex: 0 1 calc((100% - 48px) / 3);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ---- Cards ---- */
.card {
    padding: 28px 24px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid transparent;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}

.card-bordered {
    padding: 28px 24px;
    border-radius: 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.card-bordered:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--golden-amber);
}

.card-icon.material-symbols-outlined,
.card-icon {
    font-size: 28px;
    color: var(--golden-amber);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(246, 196, 97, 0.12);
    line-height: 1;
}

[data-theme="dark"] .card-icon {
    background: rgba(246, 196, 97, 0.1);
}

.card h3 {
    margin-bottom: 10px;
}

.card p,
.card-bordered p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* ---- Step cards ---- */
.step-card {
    display: flex;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid var(--border);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    align-items: flex-start;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--golden-amber);
}

.step-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: var(--golden-amber);
    color: var(--deep-blue);
    font-weight: 700;
    font-size: 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-number.large {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 18px;
    border-radius: 12px;
}

.step-content h3 {
    font-size: 16px;
    margin-bottom: 6px;
}
.step-content p {
    font-size: 14px;
    line-height: 1.6;
}

.steps-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.steps-wrap .step-card {
    width: 260px;
}

/* ---- Problem list (X items) ---- */
.problem-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(232, 96, 62, 0.05);
    border: 1px solid rgba(232, 96, 62, 0.1);
    transition: background-color 0.2s ease;
}

[data-theme="dark"] .problem-item {
    background: rgba(232, 96, 62, 0.06);
    border-color: rgba(232, 96, 62, 0.12);
}

.problem-icon {
    color: var(--coral-red);
    font-size: 22px;
    line-height: 1.5;
    flex-shrink: 0;
}

.problem-item p {
    font-size: 15px;
    line-height: 1.65;
}

/* ---- Check list ---- */
.check-item {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.check-item:hover {
    background: rgba(246, 196, 97, 0.06);
}

[data-theme="dark"] .check-item:hover {
    background: rgba(246, 196, 97, 0.04);
}

.check-icon {
    color: var(--golden-amber);
    font-size: 24px;
    line-height: 1.3;
    flex-shrink: 0;
}

.check-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

/* ---- Industry cards ---- */
.industry-card {
    display: flex;
    gap: 18px;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid var(--border);
    align-items: flex-start;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.industry-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--golden-amber);
}

.industry-icon.material-symbols-outlined,
.industry-icon {
    font-size: 26px;
    color: var(--golden-amber);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    background: rgba(246, 196, 97, 0.12);
    line-height: 1;
    margin: 0;
}

[data-theme="dark"] .industry-icon {
    background: rgba(246, 196, 97, 0.1);
}

.industry-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}
.industry-card p {
    font-size: 14px;
    line-height: 1.6;
}

.industries-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.industries-wrap .industry-card {
    width: 340px;
}

/* ---- Pricing cards ---- */
.pricing-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.pricing-card {
    width: 260px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

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

.pricing-card .card-icon {
    margin-bottom: 12px;
}
.pricing-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.pricing-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Featured pricing card (plan tiles) */
.pricing-card--featured {
    width: 360px;
    padding: 32px 28px;
    border: 2px solid var(--golden-amber);
    box-shadow: var(--shadow-md);
    background: var(--bg);
}

.pricing-card--featured:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 16px 0 20px;
    letter-spacing: -0.02em;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.pricing-features li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pricing-features li::before {
    content: "\2713";
    color: var(--golden-amber);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 13px;
    line-height: 1.6;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card--featured .btn {
    width: 100%;
    justify-content: center;
}

.pricing-note {
    font-size: 14px;
    font-style: italic;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 32px;
    line-height: 1.7;
}

/* ---- Testimonials ---- */
.testimonial-card {
    padding: 28px;
    border-radius: 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    position: relative;
}

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

.testimonial-card .quote-icon {
    font-size: 40px;
    color: var(--golden-amber);
    margin-bottom: 8px;
    line-height: 1;
    opacity: 0.6;
}

.testimonial-card blockquote {
    font-size: 15px;
    line-height: 1.75;
    font-style: italic;
    color: var(--text-primary);
}

.testimonial-card .author {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
}

[data-theme="dark"] .testimonial-card .author {
    color: var(--golden-amber);
}

/* ---- Get Started steps ---- */
.get-started-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.get-started-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
}

.get-started-step .step-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 22px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.get-started-step h3 {
    font-size: 17px;
    margin-bottom: 8px;
}
.get-started-step p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ---- Section CTA ---- */
.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ---- FAQ ---- */
.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(246, 196, 97, 0.4);
}

.faq-item.open {
    border-color: var(--golden-amber);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: background-color 0.15s ease;
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .faq-question:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-arrow {
    font-size: 20px;
    color: var(--text-secondary);
    transition:
        transform 0.25s ease,
        color 0.25s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--golden-amber);
}

.faq-answer {
    display: none;
    padding: 0 22px 18px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-item.open .faq-answer {
    display: block;
}

/* ---- CTA Section ---- */
.cta-section {
    background: var(--cta-bg);
    padding: 100px 80px;
    text-align: center;
}

.cta-section .inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 34px;
}

.cta-section p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 20px;
}

.cta-section .btn {
    margin-top: 36px;
}

/* ---- Footer ---- */
.footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ---- About section ---- */
.about-section {
    padding: 40px 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-section summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.about-section details p {
    margin-top: 12px;
}

/* ---- Hero entrance animation ---- */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .hero-image {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s forwards;
}

.hero h1 {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s forwards;
    margin-bottom: 20px;
}

.hero .subtitle {
    opacity: 0;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s forwards;
}

.hero .hero-body {
    opacity: 0;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s forwards;
}

.hero .hero-buttons {
    opacity: 0;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.7s forwards;
}

/* ---- Scroll Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* Stagger children inside visible sections */
.fade-in.visible .card,
.fade-in.visible .card-bordered,
.fade-in.visible .step-card,
.fade-in.visible .testimonial-card,
.fade-in.visible .industry-card,
.fade-in.visible .get-started-step,
.fade-in.visible .faq-item,
.fade-in.visible .problem-item,
.fade-in.visible .check-item,
.fade-in.visible .pricing-card {
    animation: heroFadeUp 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}

.fade-in.visible .card:nth-child(1),
.fade-in.visible .card-bordered:nth-child(1),
.fade-in.visible .step-card:nth-child(1),
.fade-in.visible .testimonial-card:nth-child(1),
.fade-in.visible .industry-card:nth-child(1),
.fade-in.visible .get-started-step:nth-child(1),
.fade-in.visible .faq-item:nth-child(1),
.fade-in.visible .problem-item:nth-child(1),
.fade-in.visible .check-item:nth-child(1),
.fade-in.visible .pricing-card:nth-child(1) {
    animation-delay: 0s;
}

.fade-in.visible .card:nth-child(2),
.fade-in.visible .card-bordered:nth-child(2),
.fade-in.visible .step-card:nth-child(2),
.fade-in.visible .testimonial-card:nth-child(2),
.fade-in.visible .industry-card:nth-child(2),
.fade-in.visible .get-started-step:nth-child(2),
.fade-in.visible .faq-item:nth-child(2),
.fade-in.visible .problem-item:nth-child(2),
.fade-in.visible .check-item:nth-child(2),
.fade-in.visible .pricing-card:nth-child(2) {
    animation-delay: 0.08s;
}

.fade-in.visible .card:nth-child(3),
.fade-in.visible .card-bordered:nth-child(3),
.fade-in.visible .step-card:nth-child(3),
.fade-in.visible .testimonial-card:nth-child(3),
.fade-in.visible .industry-card:nth-child(3),
.fade-in.visible .get-started-step:nth-child(3),
.fade-in.visible .faq-item:nth-child(3),
.fade-in.visible .problem-item:nth-child(3),
.fade-in.visible .check-item:nth-child(3),
.fade-in.visible .pricing-card:nth-child(3) {
    animation-delay: 0.16s;
}

.fade-in.visible .card:nth-child(4),
.fade-in.visible .card-bordered:nth-child(4),
.fade-in.visible .step-card:nth-child(4),
.fade-in.visible .testimonial-card:nth-child(4),
.fade-in.visible .industry-card:nth-child(4),
.fade-in.visible .faq-item:nth-child(4),
.fade-in.visible .problem-item:nth-child(4),
.fade-in.visible .check-item:nth-child(4) {
    animation-delay: 0.24s;
}

.fade-in.visible .card:nth-child(5),
.fade-in.visible .card-bordered:nth-child(5),
.fade-in.visible .step-card:nth-child(5),
.fade-in.visible .faq-item:nth-child(5),
.fade-in.visible .problem-item:nth-child(5),
.fade-in.visible .check-item:nth-child(5) {
    animation-delay: 0.32s;
}

.fade-in.visible .card:nth-child(6),
.fade-in.visible .card-bordered:nth-child(6),
.fade-in.visible .step-card:nth-child(6),
.fade-in.visible .faq-item:nth-child(6),
.fade-in.visible .check-item:nth-child(6) {
    animation-delay: 0.4s;
}

.fade-in.visible .card:nth-child(n + 7),
.fade-in.visible .card-bordered:nth-child(n + 7),
.fade-in.visible .step-card:nth-child(n + 7),
.fade-in.visible .faq-item:nth-child(n + 7) {
    animation-delay: 0.48s;
}

.fade-in.delay-1 {
    transition-delay: 0.08s;
}
.fade-in.delay-2 {
    transition-delay: 0.16s;
}
.fade-in.delay-3 {
    transition-delay: 0.24s;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .hero .hero-image,
    .hero h1,
    .hero .subtitle,
    .hero .hero-body,
    .hero .hero-buttons {
        opacity: 1;
        animation: none;
    }
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .fade-in.visible .card,
    .fade-in.visible .card-bordered,
    .fade-in.visible .step-card,
    .fade-in.visible .testimonial-card,
    .fade-in.visible .industry-card,
    .fade-in.visible .get-started-step,
    .fade-in.visible .faq-item,
    .fade-in.visible .problem-item,
    .fade-in.visible .check-item,
    .fade-in.visible .pricing-card {
        animation: none;
    }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    h1 {
        font-size: 30px;
        letter-spacing: -0.01em;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 17px;
    }
    .subtitle {
        font-size: 20px;
    }
    .section-subtitle {
        font-size: 15px;
    }

    .nav {
        padding: 14px 16px;
    }
    .nav-logo img {
        height: 44px;
    }
    .nav-links {
        display: none;
    }
    .mobile-only {
        display: flex;
    }
    .nav-mobile-toggle {
        display: block;
    }
    .nav-mobile-menu {
        padding: 16px;
    }

    .hero {
        padding: 40px 24px 56px;
    }
    .hero-image {
        max-width: 280px;
        margin-bottom: 16px;
    }
    .page-rider .hero-image {
        margin-bottom: 8px;
    }
    .hero-body {
        font-size: 16px;
        line-height: 1.7;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 64px 20px;
    }
    .cta-section {
        padding: 64px 20px;
    }
    .cta-section h2 {
        font-size: 24px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .grid-3 > * {
        flex: 0 0 100%;
    }
    .grid-3 {
        gap: 16px;
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card {
        padding: 22px 18px;
    }
    .card-bordered {
        padding: 22px 18px;
    }

    .card-icon {
        font-size: 30px;
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .steps-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .steps-wrap .step-card {
        width: 100%;
    }

    .industries-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .industries-wrap .industry-card {
        width: 100%;
    }

    .industry-icon {
        font-size: 28px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 10px;
    }

    .pricing-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .pricing-wrap .pricing-card,
    .pricing-card--featured {
        width: 100%;
    }

    .pricing-price {
        font-size: 36px;
    }

    .get-started-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .get-started-step {
        padding: 16px 12px;
    }
    .get-started-step .step-number {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 20px;
    }

    .problem-item {
        padding: 12px 14px;
    }

    .check-item {
        padding: 10px 12px;
    }
    .check-item p {
        font-size: 15px;
    }

    .testimonial-card {
        padding: 22px 18px;
    }
    .testimonial-card blockquote {
        font-size: 14px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }
    .faq-answer {
        padding: 0 18px 16px;
        font-size: 14px;
    }

    .footer {
        padding: 32px 20px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 26px;
    }
    h2 {
        font-size: 22px;
    }
    .subtitle {
        font-size: 18px;
    }
}
