:root {
    --grad-start: #6a11cb;
    --grad-end: #2575fc;
    --bg-main: #ffffff;
    --bg-secondary: #f4f7fc;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --border-color: #e2e8f0;
    --shadow-color: rgba(100, 116, 139, 0.12);
    --font-serif: 'Lora', serif;
    --font-sans: 'Inter', sans-serif;
}

/* Prevents flash of unstyled content for Vue */
[v-cloak] {
    display: none;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

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

/* Header & Navigation */
.site-header {
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.2rem;
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo img {
    height: 70px;
    width: 70px;
    object-fit: contain;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: #2575fc;
}

.nav-cta-button a {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-cta-button a:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
}

/* Hamburger & Mobile Nav */
.hamburger-button {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 10px;
}
.hamburger-button span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}
.hamburger-button.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-button.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger-button.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    color: #fff;
    scroll-margin-top: 80px;
}

.hero-section h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-section .subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #fff;
    border: 2px solid #fff;
    color: #2575fc;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.2);
}

/* Content Sections */
.content-section {
    padding: 6rem 0;
    scroll-margin-top: 80px;
}
.content-section.alt-bg {
    background-color: var(--bg-secondary);
}

.content-section h2 {
    font-family: var(--font-serif);
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.content-section > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 1rem auto 2rem auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
}
.content-section > .container > p a {
    color: var(--grad-end);
    text-decoration: none;
    font-weight: 500;
}
.content-section > .container > p a:hover {
    text-decoration: underline;
}

.content-section > .container > p:last-of-type {
    margin-bottom: 4rem;
}

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

.section-video {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.responsive-video {
    width: min(100%, 560px);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px var(--shadow-color);
    height: auto;
}

.feature-card {
    background-color: var(--bg-main);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    box-shadow: 0 5px 15px var(--shadow-color);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px var(--shadow-color);
}
.card-icon {
    display: inline-block;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    padding: 1rem;
    border-radius: 12px;
}
.card-icon svg { width: 32px; height: 32px; color: #fff; }
.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.feature-card p {
    color: var(--text-secondary);
}

/* Solution Box */
.solution-box {
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    margin-top: 3rem;
    border-radius: 12px;
    text-align: center;
}
.solution-box h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.solution-box ul {
    list-style: none;
    padding-left: 0;
    color: var(--text-secondary);
    display: inline-block;
    text-align: left;
}
.solution-box li {
    margin-bottom: 0.75rem;
}

/* Comparison Table */
.comparison-layout {
    display: block;
    margin-top: 2.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

.comparison-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (max-width: 1024px) {
    .comparison-row {
        grid-template-columns: 0.6fr 1fr 1fr;
    }
}

.comparison-row + .comparison-row {
    border-top: 1px solid #cbd5e1;
}

.comparison-row div {
    padding: 1.25rem 1.5rem;
}

.comparison-row-head {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}
.comparison-row-head > div {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.problem-card {
    background: linear-gradient(135deg, #e8eef5, #dfe7f3);
    border-right: 1px solid #b8c6dc;
}

.solution-card {
    background: linear-gradient(135deg, #e0f2fe, #e5f1ff);
    border-left: 1px solid #8ab3f1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 16px rgba(37, 117, 252, 0.12);
    padding-right: 2.5rem;
    position: relative;
}
.manual-card {
    background: linear-gradient(135deg, #fff0f0, #ffe7e7);
    border-left: 1px solid #f2bcbc;
    border-right: 1px solid #f2bcbc;
}

.problem-card p,
.solution-card p {
    color: var(--text-primary);
}
.manual-card p {
    color: var(--text-primary);
}

.helper-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    color: #fff;
    padding: 0.75rem 1.2rem;
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 24px rgba(37, 117, 252, 0.22);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.helper-logo {
    display: block;
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.comparison-row-head div:nth-child(2) {
    background: linear-gradient(135deg, #fff0f0, #ffe7e7);
    border: 1px solid #fbd6d6;
    border-radius: 12px 12px 0 0;
}
.comparison-row-head div:nth-child(1) {
    background: linear-gradient(135deg, #e8eef5, #dfe7f3);
    border: 1px solid #c9d4e5;
    border-radius: 18px 12px 0 0;
}

.mini-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.5rem;
    color: var(--text-primary);
}

.comparison-gallery {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.comparison-figure {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow-color);
    padding: 1rem;
}

.comparison-figure figcaption {
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(120deg, rgba(37, 117, 252, 0.1), rgba(106, 17, 203, 0.08));
    border: 1px solid rgba(37, 117, 252, 0.25);
    color: var(--text-primary);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 12px 28px var(--shadow-color);
    margin: 0 0 2rem;
}
.pricing-banner p {
    margin: 0;
}
.pricing-banner strong {
    color: var(--grad-end);
}
.pricing-banner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    background: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: var(--grad-end);
    border: 1px solid rgba(37, 117, 252, 0.35);
    box-shadow: 0 4px 12px rgba(37, 117, 252, 0.2);
    white-space: nowrap;
}
@media (max-width: 640px) {
    .pricing-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}
.pricing-section .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 0;
}

.plan-card {
    position: relative;
    width: 100%;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-color);
    padding: 1.75rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.plan-card::before {
    content: "";
    position: absolute;
    height: 6px;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
}
.plan-card.is-featured {
    border-color: rgba(37, 117, 252, 0.35);
    box-shadow: 0 18px 48px rgba(37, 117, 252, 0.22), 0 8px 24px rgba(15, 23, 42, 0.08);
}
.plan-card.is-featured::before {
    height: 10px;
}

.plan-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
    min-height: 220px;
}
.plan-kicker {
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grad-end);
    font-weight: 700;
}
.plan-header h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 600;
}
.plan-price {
    display: grid;
    gap: 0.2rem;
    min-height: 120px;
}
.price-amount-row {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}
.price-amount {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-primary);
}
.price-term,
.price-users {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-secondary);
}
.price-note {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: var(--text-secondary);
}

.plan-meta {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.95rem;
}
.meta-row .feature-label {
    color: var(--text-secondary);
}
.meta-row .feature-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: grid;
    gap: 0.6rem;
    flex-grow: 1;
}
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: #fff;
}
.feature-row .feature-label {
    font-weight: 600;
    color: var(--text-primary);
}
.feature-row .feature-label a {
    color: inherit;
    text-decoration: underline;
}
.feature-row .feature-label a:hover {
    text-decoration: underline;
}
.feature-row .feature-status {
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
}
.feature-row.is-included {
    border-color: rgba(37, 117, 252, 0.35);
    background: linear-gradient(135deg, rgba(37, 117, 252, 0.07), rgba(106, 17, 203, 0.04));
}
.feature-row.is-included .feature-status {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    color: #fff;
}
.feature-row.is-optional {
    border-color: rgba(255, 149, 0, 0.25);
    background: rgba(255, 149, 0, 0.08);
}
.feature-row.is-optional .feature-status {
    background: rgba(255, 149, 0, 0.15);
    color: #b35b00;
}
.feature-row.is-unavailable {
    background: #f8fafc;
    color: var(--text-secondary);
}
.feature-row.is-unavailable .feature-status {
    background: #e2e8f0;
    color: var(--text-secondary);
}

/* How it Works Section */
#how-it-works {
    position: relative;
    overflow: hidden;
    background: var(--bg-main);
}
#how-it-works .container > p {
    margin-bottom: 0.5rem;
}
#how-it-works .container > p:last-of-type {
    margin-top: 1rem;
    margin-bottom: 4rem;
}
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(37, 117, 252, 0.08);
    color: var(--grad-end);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.animated-diagram {
    position: relative;
    margin-top: 2rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background:
        radial-gradient(circle at 10% 20%, rgba(37, 117, 252, 0.08), transparent 32%),
        radial-gradient(circle at 80% 0%, rgba(106, 17, 203, 0.08), transparent 26%),
        #fff;
    box-shadow: 0 16px 36px var(--shadow-color);
    overflow: hidden;
}
.diagram-header h3 {
    margin: 0.1rem 0 0.25rem 0;
    font-size: 1.35rem;
}
.diagram-lead {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.mini-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 1.75rem;
}
.mini-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 22px var(--shadow-color);
}
.mini-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}
.mini-step-title {
    margin: 0 0 0.2rem 0;
    font-weight: 700;
    color: var(--text-primary);
}
.mini-step-copy {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--grad-end);
    font-size: 12px;
    font-weight: 700;
    margin-left: 0;
    cursor: pointer;
    position: relative;
}
.info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 135%;
    transform: translate(-50%, 0);
    width: min(260px, 70vw);
    padding: 0.6rem 0.7rem;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.4;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 10;
}
.info-icon:focus-visible::after,
.info-icon:hover::after {
    opacity: 1;
    transform: translate(-50%, -4px);
}
.info-icon:focus-visible {
    outline: 2px solid var(--grad-end);
    outline-offset: 2px;
}
.helper-notice {
    margin: 1.1rem 0 2rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 117, 252, 0.25);
    background: linear-gradient(135deg, rgba(37, 117, 252, 0.06), rgba(37, 117, 252, 0.02));
    color: var(--text-primary);
    box-shadow: 0 10px 22px var(--shadow-color);
}
.helper-notice strong {
    color: var(--grad-end);
}
.inline-highlight {
    text-decoration: underline dotted rgba(148, 163, 184, 0.9);
    text-decoration-thickness: 1.5px;
}
.info-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
}
.info-wrapper::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 135%;
    transform: translate(-50%, 0);
    width: min(260px, 70vw);
    padding: 0.6rem 0.7rem;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.4;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 10;
}
.info-wrapper:hover::after,
.info-wrapper:focus-within::after {
    opacity: 1;
    transform: translate(-50%, -4px);
}
.diagram-rail {
    position: relative;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 999px;
    overflow: hidden;
    margin: 1rem 0 1.6rem 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}
.rail-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end), var(--grad-start));
    background-size: 200% 100%;
    animation: railSlide 9s linear infinite;
    opacity: 0.55;
}
.rail-dot {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    border: 2px solid #fff;
    box-shadow:
        0 0 0 8px rgba(37, 117, 252, 0.12),
        0 10px 24px rgba(0, 0, 0, 0.16);
    transition: left 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.rail-dot::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 117, 252, 0.28), transparent 65%);
    opacity: 0;
    animation: railPulse 2.2s ease-out infinite;
}
.diagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.diagram-node {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 10px 22px var(--shadow-color);
    transition: border-color 0.22s ease, box-shadow 0.25s ease, transform 0.2s ease, background 0.3s ease;
    cursor: pointer;
    color: var(--text-primary);
    font: inherit;
    outline: none;
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.diagram-node .tile-kicker {
    margin-bottom: 0.25rem;
}
.diagram-node h4 {
    margin: 0 0 0.35rem 0;
    font-size: 1.05rem;
}
.diagram-node .diagram-copy {
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.6;
}
.diagram-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    background: rgba(37, 117, 252, 0.08);
    color: var(--grad-end);
}
.diagram-icon svg {
    width: 24px;
    height: 24px;
}
.diagram-node.is-active {
    border-color: rgba(37, 117, 252, 0.35);
    box-shadow: 0 18px 38px rgba(37, 117, 252, 0.2);
    transform: translateY(-4px);
}
.diagram-node.is-active .diagram-icon {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    color: #fff;
}
.diagram-node:focus-visible {
    outline: 2px solid var(--grad-end);
    outline-offset: 3px;
}
@keyframes railSlide {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 200% 0;
    }
}
@keyframes railPulse {
    0% {
        opacity: 0.7;
        transform: scale(0.85);
    }
    70% {
        opacity: 0;
        transform: scale(1.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}
@media (prefers-reduced-motion: reduce) {
    .rail-fill,
    .rail-dot::after {
        animation: none;
    }
    .rail-dot {
        transition: none;
        box-shadow: 0 10px 22px var(--shadow-color);
    }
}
.how-visual {
    display: flex;
    justify-content: center;
    margin: 2.5rem auto 0 auto;
}
.how-visual .screenshot-image {
    max-width: 900px;
    width: 100%;
    border: clamp(12px, 4vw, 20px) solid #fff;
}
.permission-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 16px 36px var(--shadow-color);
    padding: 1.5rem 1.6rem;
    margin-top: 2.5rem;
}
.permission-card-header h3 {
    margin: 0.2rem 0 0.6rem 0;
    font-size: 1.4rem;
}
.permission-accordions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}
.permission-accordion {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 6px 18px var(--shadow-color);
    padding: 1.1rem 1.25rem;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.permission-accordion[open] {
    box-shadow: 0 16px 36px var(--shadow-color);
    border-color: rgba(37, 117, 252, 0.35);
}
.permission-accordion summary {
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    padding: 0;
}
.permission-accordion summary::-webkit-details-marker {
    display: none;
}
.permission-accordion summary::marker {
    content: "";
}
.accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--grad-end);
    font-weight: 900;
    transform: rotate(90deg);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.permission-accordion[open] .accordion-icon {
    transform: rotate(-90deg);
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    color: #fff;
    border-color: transparent;
}
.tile-kicker {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--grad-end);
    margin-bottom: 0.35rem;
}
.permission-accordion h3 {
    margin: 0;
    font-size: 1.25rem;
}
.accordion-content {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
}
.tile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}
.tile-list li {
    color: var(--text-secondary);
    line-height: 1.6;
}
.tile-list strong {
    color: var(--text-primary);
}
.tile-list code {
    background: var(--bg-secondary);
    padding: 0.05rem 0.35rem;
    border-radius: 6px;
}
.tile-footnote {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Screenshot Galleries */
.screenshot-gallery {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}
.screenshot-image {
    max-width: 420px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.screenshot-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(100, 116, 139, 0.25);
}
.screenshot-gallery-large {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}
.screenshot-gallery-large .screenshot-image {
    max-width: 800px;
}

.walkthrough-carousel {
    position: relative;
    margin-top: 3rem;
    width: 100%;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 3rem;
}
.walkthrough-carousel .carousel-window {
    overflow: hidden;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 12px 35px rgba(100, 116, 139, 0.18);
}
.walkthrough-carousel .carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}
.walkthrough-carousel .carousel-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
.walkthrough-carousel .screenshot-image {
    max-width: 100%;
}
.walkthrough-carousel .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    z-index: 2;
}
.walkthrough-carousel .carousel-control:hover {
    transform: translateY(-50%) scale(1.05);
    background-color: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
}
.walkthrough-carousel .carousel-control.prev {
    left: 1rem;
}
.walkthrough-carousel .carousel-control.next {
    right: 1rem;
}
.walkthrough-carousel .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.walkthrough-carousel .carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.walkthrough-carousel .carousel-indicator.is-active {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    transform: scale(1.2);
}

/* Testimonials Carousel */
.testimonial-section {
    background-color: var(--bg-main);
}

.testimonials-carousel {
    position: relative;
    margin-top: 3rem;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 3rem;
}

.testimonials-carousel .carousel-window {
    overflow: hidden;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 12px 35px rgba(100, 116, 139, 0.18);
}

.testimonials-carousel .carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}

.testimonials-carousel .carousel-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
}

.testimonial-tile {
    min-height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-quote {
    text-align: center;
    margin: 0;
}

.testimonial-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-attribution {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: var(--text-secondary);
    font-weight: 500;
}

.testimonials-carousel .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    z-index: 2;
}

.testimonials-carousel .carousel-control:hover {
    transform: translateY(-50%) scale(1.05);
    background-color: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
}

.testimonials-carousel .carousel-control.prev {
    left: 1rem;
}

.testimonials-carousel .carousel-control.next {
    right: 1rem;
}

.testimonials-carousel .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.testimonials-carousel .carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.testimonials-carousel .carousel-indicator.is-active {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    transform: scale(1.2);
}

/* Final CTA Section */
.cta-section {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    padding: 6rem 0;
    text-align: center;
    scroll-margin-top: 80px;
}
.cta-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
}
.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}
.cta-section .demo-link-intro {
    margin-top: 2rem;
}
.cta-section .cta-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.cta-section .demo-actions {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.cta-section .cta-button {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    border-color: transparent;
    color: #fff;
}
.cta-section .cta-button:hover {
     box-shadow: 0 7px 25px rgba(37, 117, 252, 0.4);
}
.cta-section .cta-button.secondary {
    background: #fff;
    color: var(--grad-end);
    border: 2px solid var(--grad-end);
    box-shadow: none;
}
.cta-section .cta-button.secondary:hover {
    background: rgba(37, 117, 252, 0.1);
    color: var(--grad-end);
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.cert-badge {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.cert-badge iframe {
    width: 132px;
    height: 132px;
    border: none;
}

/* Responsive Design with NEW Breakpoint */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    .hamburger-button, .mobile-nav {
        display: block;
    }
    .mobile-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        background-color: var(--bg-main); /* Solid background */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .mobile-nav.is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        list-style: none;
        padding-top: 6rem;
        gap: 1.5rem;
    }
    .mobile-nav a {
        font-size: 1.2rem;
        font-weight: 500;
        text-decoration: none;
        color: var(--text-secondary);
    }
    .mobile-nav .nav-cta-button {
        margin-top: 1rem;
    }

    /* THIS IS THE FIX: Ensures "Try App" text is white in mobile menu */
    .mobile-nav .nav-cta-button a {
        color: #fff;
    }

    .hero-section, .content-section, .cta-section { 
        padding: 4rem 1rem; 
    }
    .content-section > .container > p {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .walkthrough-carousel {
        padding: 0 1.5rem;
    }
    .walkthrough-carousel .carousel-slide {
        padding: 1.5rem;
    }
    .walkthrough-carousel .carousel-control {
        width: 42px;
        height: 42px;
        font-size: 1.5rem;
    }
    .walkthrough-carousel .carousel-control.prev {
        left: 0.5rem;
    }
    .walkthrough-carousel .carousel-control.next {
        right: 0.5rem;
    }
    .testimonials-carousel {
        padding: 0 1.5rem;
    }
    .testimonials-carousel .carousel-slide {
        padding: 2rem 1.5rem;
    }
    .testimonials-carousel .carousel-control {
        width: 42px;
        height: 42px;
        font-size: 1.5rem;
    }
    .testimonials-carousel .carousel-control.prev {
        left: 0.5rem;
    }
    .testimonials-carousel .carousel-control.next {
        right: 0.5rem;
    }
}

@media (max-width: 900px) {
    .comparison-layout {
        overflow-x: visible;
    }
    .comparison-table {
        min-width: auto;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    .comparison-row {
        grid-template-columns: 1fr;
        margin-bottom: 1.25rem;
        border: none;
        border-radius: 14px;
        overflow: hidden;
        background: var(--bg-main);
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
    .comparison-row:last-child {
        margin-bottom: 0;
    }
    .comparison-row-head {
        display: none;
    }
    .comparison-row div {
        border-right: none;
        position: relative;
        padding-top: 2.5rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .comparison-row .solution-card {
        padding-top: 3.6rem; /* extra room for the full-width label */
    }
    .comparison-row div:last-child {
        border-bottom: none;
    }
    .comparison-row div::before {
        content: attr(data-label);
        position: absolute;
        top: 0.75rem;
        left: 1.25rem;
        font-size: 0.85rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--text-secondary);
        font-weight: 700;
    }
    .comparison-row .solution-card::before {
        color: #fff;
        display: block;
        border-radius: 12px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px rgba(37, 117, 252, 0.18);
        padding: 0.5rem 2.6rem 0.5rem 0.9rem;
        width: calc(100% - 2.5rem);
        left: 1.25rem;
        right: 1.25rem;
        text-align: left;
        background-image: linear-gradient(135deg, var(--grad-start), var(--grad-end)), url("logo.png");
        background-repeat: no-repeat, no-repeat;
        background-position: 0 0, calc(100% - 0.75rem) 50%;
        background-size: cover, 18px 18px;
    }
    .problem-card {
        border-right: none;
    }
    .manual-card {
        border-left: none;
        border-right: none;
    }
    .solution-card {
        border-left: none;
        padding-right: 2.5rem;
    }
}

@media (max-width: 640px) {
    .plan-header {
        min-height: auto;
    }
    .plan-price {
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .solution-card {
        padding-right: 1.5rem;
    }
}

@media (max-width: 1100px) {
    .pricing-section .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .pricing-section .plan-card {
        max-width: 640px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .pricing-section .pricing-grid {
        grid-template-columns: 1fr;
    }
    .walkthrough-carousel {
        padding: 0 1rem;
    }
    .walkthrough-carousel .carousel-slide {
        padding: 1rem;
    }
    .walkthrough-carousel .carousel-control {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
}
