/* FlexiCommerce V5 - Anthropic Style */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Source+Serif+4:wght@400;500;600;700&display=swap');

:root {
    --accent: #d97757;
    --accent-hover: #c4674a;
    --black: #131314;
    --white: #ffffff;
    --cream: #faf9f7;
    --cream-dark: #f2f0ed;
    --gray-100: #e8e6e3;
    --gray-200: #d4d1cc;
    --gray-300: #b8b4ae;
    --gray-400: #8c877f;
    --gray-500: #6b665e;
    --gray-600: #4a4642;
    --gray-700: #2d2a27;
    --gray-800: #1f1d1b;
    --gray-900: #131314;

    --bg: var(--cream);
    --bg-secondary: var(--cream-dark);
    --text: var(--gray-900);
    --text-secondary: var(--gray-500);
    --text-muted: var(--gray-400);
    --border: var(--gray-200);
}

[data-theme="dark"] {
    --bg: var(--gray-900);
    --bg-secondary: var(--gray-800);
    --text: var(--cream);
    --text-secondary: var(--gray-400);
    --text-muted: var(--gray-500);
    --border: var(--gray-700);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
}

.text-xl {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.text-lg {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.text-md {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 600;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: var(--bg);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav.scrolled {
    border-color: var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-logo {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    cursor: pointer;
}

.nav-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: border-color 0.2s;
}

.theme-toggle:hover { border-color: var(--text); }

.theme-toggle svg {
    width: 18px;
    height: 18px;
    color: var(--text);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

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

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

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

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

/* ========== HERO ========== */
.hero {
    padding: 140px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(217, 119, 87, 0.1);
    border: 1px solid rgba(217, 119, 87, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--accent);
    margin-bottom: 24px;
}

[data-theme="dark"] .hero-badge {
    background: rgba(217, 119, 87, 0.15);
    border-color: rgba(217, 119, 87, 0.3);
}

.hero-title {
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat-value {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.hero-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--bg);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-image-badge strong {
    display: block;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.25rem;
    margin-bottom: 2px;
    color: var(--accent);
}

.hero-image-badge span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}

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

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

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

/* ========== FEATURES ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.feature-image {
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 24px;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Large Feature */
.feature-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.feature-large .feature-image {
    height: auto;
    min-height: 300px;
}

.feature-large .feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.feature-large .feature-title {
    font-size: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.feature-list li svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* ========== PRICING ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

[data-theme="dark"] .pricing-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.pricing-card.featured {
    border-color: var(--accent);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.pricing-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.pricing-currency {
    font-size: 1.25rem;
    font-weight: 600;
}

.pricing-amount {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    color: var(--accent);
}

.pricing-period {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border);
}

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

.pricing-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pricing-features li.check svg { color: var(--accent); }
.pricing-features li.cross { color: var(--text-muted); }
.pricing-features li.cross svg { color: var(--text-muted); }

.pricing-card .btn { width: 100%; }

/* ========== STEPS ========== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ========== CTA ========== */
.cta-section {
    padding: 100px 0;
    background: var(--gray-900);
    color: var(--cream);
}

[data-theme="dark"] .cta-section {
    background: var(--cream);
    color: var(--gray-900);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 { margin-bottom: 16px; }

.cta-content p {
    opacity: 0.7;
    margin-bottom: 32px;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--accent);
    color: var(--white);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--cream);
    border-color: rgba(250,249,247,0.3);
}

[data-theme="dark"] .cta-section .btn-secondary {
    color: var(--gray-900);
    border-color: rgba(19,19,20,0.3);
}

/* ========== FOOTER ========== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-width: 280px;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    place-items: center;
    transition: border-color 0.2s, background 0.2s;
}

.footer-social a:hover {
    border-color: var(--accent);
    background: rgba(217, 119, 87, 0.1);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

/* ========== PAGE HEADER ========== */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 { margin-bottom: 12px; }
.page-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ========== CONTACT FORM ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(217, 119, 87, 0.1);
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.contact-item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========== FAQ ========== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.faq-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-item > p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

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

/* FAQ Accordion Style */
.faq-item.accordion {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 0;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    font-size: 1.0625rem;
    font-weight: 500;
    font-family: 'Source Serif 4', Georgia, serif;
    text-align: left;
    color: var(--text);
    cursor: pointer;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ========== FEATURES PAGE ========== */
.features-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.features-hero h1 {
    margin-bottom: 16px;
}

.features-hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.feature-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.feature-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-section:nth-child(even) .feature-section-grid {
    direction: rtl;
}

.feature-section:nth-child(even) .feature-section-grid > * {
    direction: ltr;
}

.feature-section-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-section-content p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-section-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

/* ========== SUPPORT PAGE ========== */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.support-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: border-color 0.2s;
}

.support-card:hover {
    border-color: var(--accent);
}

.support-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(217, 119, 87, 0.1);
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
}

.support-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.support-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.support-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ========== TRUST BADGES ========== */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trust-badge svg {
    color: var(--accent);
}

/* ========== FEATURE DETAIL SECTIONS ========== */
.feature-detail-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.feature-detail-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.feature-detail-section.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.feature-detail-section.reverse .feature-detail-content {
    order: 2;
}

.feature-detail-section.reverse .feature-detail-image {
    order: 1;
}

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

.feature-detail-section .feature-detail-image {
    position: sticky;
    top: 100px;
}

.feature-detail-section .feature-detail-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

@media (max-width: 1024px) {
    .feature-detail-section {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .feature-detail-section.reverse {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .feature-detail-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .feature-detail-section.reverse {
        grid-template-columns: 1fr;
    }
    .feature-detail-section.reverse .feature-detail-content {
        order: 1;
    }
    .feature-detail-section.reverse .feature-detail-image {
        order: 2;
    }
    .feature-detail-section .feature-detail-image {
        position: static;
    }
    .feature-detail-section .feature-detail-image img {
        max-height: 350px;
    }
}

.feature-detail-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(217, 119, 87, 0.1);
    border: 1px solid rgba(217, 119, 87, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.feature-detail-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.feature-detail-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.feature-detail-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent);
}

.feature-detail-item ul {
    list-style: none;
}

.feature-detail-item li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.feature-detail-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.feature-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 16px;
    position: sticky;
    top: 100px;
}

/* ========== TECH STACK ========== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.2s;
}

.tech-card:hover {
    border-color: var(--accent);
}

.tech-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

.tech-card h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.tech-card > p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.tech-features {
    list-style: none;
}

.tech-features li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.tech-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
}

/* ========== INTEGRATIONS ========== */
.integration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.integration-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.integration-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.integration-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(217, 119, 87, 0.1);
    color: var(--accent);
    border-radius: 100px;
}

.integration-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.integration-card > p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.integration-features h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 20px;
}

.integration-features h4:first-child {
    margin-top: 0;
}

.payment-methods,
.courier-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-method,
.courier-list span {
    font-size: 0.8125rem;
    padding: 6px 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    color: var(--text-secondary);
}

.integration-features ul {
    list-style: none;
}

.integration-features li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

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

.integration-features li strong {
    color: var(--text);
}

.other-integrations {
    margin-top: 60px;
    text-align: center;
}

.other-integrations h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.other-integration-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.other-integration {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 24px;
    text-align: center;
}

.other-integration strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.other-integration span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ========== USE CASES ========== */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.usecase-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.usecase-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.usecase-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.usecase-content {
    padding: 20px;
}

.usecase-content h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.usecase-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== PROCESS TIMELINE ========== */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.process-step:last-child {
    border-bottom: none;
}

.process-step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.process-step-content h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.process-step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.process-time {
    font-size: 0.8125rem;
    color: var(--accent);
    font-weight: 500;
}

.process-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========== PRICING NOTE ========== */
.pricing-note {
    text-align: center;
    margin-top: 40px;
}

.pricing-note a {
    color: var(--accent);
    font-weight: 500;
}

.pricing-note a:hover {
    text-decoration: underline;
}

/* ========== FAQ MORE ========== */
.faq-more {
    text-align: center;
    margin-top: 40px;
}

/* ========== CTA NOTE ========== */
.cta-note {
    margin-top: 24px;
    font-size: 0.9375rem;
    opacity: 0.8;
}

.cta-note a {
    color: inherit;
    text-decoration: underline;
}

/* ========== FOOTER CONTACT ========== */
.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.footer-contact strong {
    color: var(--text);
}

/* ========== COMPARISON TABLE ========== */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--bg-secondary);
}

.comparison-table th:first-child {
    border-radius: 8px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 8px 0 0;
}

.comparison-table td {
    font-size: 0.9375rem;
}

.comparison-table td:first-child {
    font-weight: 500;
}

.comparison-table tr:hover td {
    background: var(--bg-secondary);
}

.comparison-table .check-icon {
    color: var(--accent);
}

.comparison-table .cross-icon {
    color: var(--text-muted);
}

/* ========== HOSTING SPECS ========== */
.hosting-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.hosting-spec {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.hosting-spec-icon {
    width: 48px;
    height: 48px;
    background: rgba(217, 119, 87, 0.1);
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
}

.hosting-spec-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.hosting-spec h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.hosting-spec p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-image { order: -1; }
    .hero-image img { height: 400px; }
    .hero-stats { flex-wrap: wrap; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .feature-large { grid-column: span 2; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .feature-section-grid { grid-template-columns: 1fr; gap: 40px; }
    .feature-section:nth-child(even) .feature-section-grid { direction: ltr; }
    .support-grid { grid-template-columns: 1fr 1fr; }
    .tech-grid { grid-template-columns: 1fr 1fr; }
    .integration-grid { grid-template-columns: 1fr; }
    .usecase-grid { grid-template-columns: 1fr 1fr; }
    .hosting-specs { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .section {
        padding: 50px 0;
    }
    .text-lg {
        font-size: 1.75rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 16px;
        right: 16px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 16px;
        flex-direction: column;
        gap: 8px;
        z-index: 1000;
    }
    .nav-menu.active { display: flex; }
    .nav-toggle { display: grid; place-items: center; }
    .nav-actions .btn { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-large { grid-column: span 1; grid-template-columns: 1fr; }
    .feature-large .feature-image { min-height: 200px; }
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-stats { gap: 20px; justify-content: center; flex-wrap: wrap; }
    .hero-stat { text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .support-grid { grid-template-columns: 1fr; }
    .trust-badges {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
    .trust-badge {
        font-size: 0.75rem;
        flex: 1 1 calc(50% - 16px);
        min-width: 140px;
    }
    .feature-grid-full {
        grid-template-columns: 1fr;
    }
    .tech-grid { grid-template-columns: 1fr; }
    .usecase-grid { grid-template-columns: 1fr; }
    .other-integration-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .other-integration {
        padding: 12px 16px;
        font-size: 0.875rem;
    }
    .hosting-specs { grid-template-columns: 1fr 1fr; gap: 16px; }
    .hosting-spec { padding: 16px; }
    .process-step { flex-direction: column; text-align: center; }
    .process-step-number { margin: 0 auto; }
    .integration-grid { grid-template-columns: 1fr; }
    .integration-card { padding: 24px; }
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .comparison-table {
        min-width: 600px;
        font-size: 0.875rem;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    .page-header {
        padding: 100px 0 40px;
    }
    .page-header h1 {
        font-size: 1.75rem;
    }
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    .timeline-marker {
        min-width: auto;
        margin-bottom: 12px;
    }
    .pricing-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .trust-badge {
        flex: 1 1 100%;
    }
    .other-integration-grid {
        grid-template-columns: 1fr;
    }
    .hosting-specs {
        grid-template-columns: 1fr;
    }
}

/* ========== MISSING CLASSES ========== */

/* Section Alt Background */
.bg-alt {
    background: var(--bg-secondary);
}

/* Section Tag */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(217, 119, 87, 0.1);
    border: 1px solid rgba(217, 119, 87, 0.2);
    border-radius: 100px;
}

/* Feature Grid Full */
.feature-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

/* When feature-grid-full follows a heading, reduce margin */
h3 + .feature-grid-full,
.section-header + .feature-grid-full {
    margin-top: 0;
}

/* Feature Card Mini */
.feature-card-mini {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.feature-card-mini h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--accent);
}

.feature-card-mini ul {
    list-style: none;
}

.feature-card-mini li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.feature-card-mini li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.feature-card-mini p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Trust Badge Extended */
.trust-icon {
    width: 48px;
    height: 48px;
    background: rgba(217, 119, 87, 0.1);
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.trust-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.trust-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 2px;
}

.trust-text span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Feature Detail List */
.feature-detail-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-detail-item {
    display: flex;
    gap: 16px;
}

.feature-icon-small {
    width: 40px;
    height: 40px;
    background: rgba(217, 119, 87, 0.1);
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.feature-icon-small svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.feature-detail-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-detail-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Integration List */
.integration-list {
    list-style: none;
}

.integration-list li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.integration-list li:last-child {
    border-bottom: none;
}

.integration-list li strong {
    color: var(--text);
}

/* Integration Icon */
.integration-icon {
    width: 56px;
    height: 56px;
    background: rgba(217, 119, 87, 0.1);
    border-radius: 12px;
    display: grid;
    place-items: center;
}

.integration-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

/* Timeline */
.timeline-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-marker {
    min-width: 80px;
    text-align: center;
}

.timeline-marker span {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent);
    color: var(--white);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.timeline-content h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Text Helpers */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Sub-section headings */
h3.text-center.mb-4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 3rem;
    display: block;
    width: 100%;
}

/* Feature Detail Grid Layout */
.feature-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.feature-detail-grid.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.feature-detail-grid.reverse .feature-detail-content {
    order: 2;
}

.feature-detail-grid.reverse .feature-detail-image {
    order: 1;
}

/* Feature Detail Content */
.feature-detail-content {
    width: 100%;
}

.feature-detail-image {
    width: 100%;
    position: sticky;
    top: 100px;
}

.feature-detail-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

@media (max-width: 1024px) {
    .feature-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .feature-detail-grid.reverse {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .feature-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .feature-detail-grid.reverse {
        grid-template-columns: 1fr;
    }
    .feature-detail-grid.reverse .feature-detail-content {
        order: 1;
    }
    .feature-detail-grid.reverse .feature-detail-image {
        order: 2;
    }
    .feature-detail-image {
        position: static;
    }
    .feature-detail-image img {
        max-height: 350px;
    }
}

/* ========== ANIMATIONS ========== */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== FEATURES PAGE - APP GRID (Side by Side) ========== */
.features-app-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.features-app-section:first-of-type {
    border-top: none;
}

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

.features-app-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.features-app-grid.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.features-app-grid.reverse .feature-detail-content {
    order: 2;
}

.features-app-grid.reverse .feature-detail-image {
    order: 1;
}

.features-app-grid .feature-detail-image {
    position: sticky;
    top: 100px;
}

.features-app-grid .feature-detail-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 16px;
}

@media (max-width: 1024px) {
    .features-app-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .features-app-grid.reverse {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .features-app-section {
        padding: 50px 0;
    }
    .features-app-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .features-app-grid.reverse {
        grid-template-columns: 1fr;
    }
    .features-app-grid.reverse .feature-detail-content {
        order: 1;
    }
    .features-app-grid.reverse .feature-detail-image {
        order: 2;
    }
    .features-app-grid .feature-detail-image {
        position: static;
    }
    .features-app-grid .feature-detail-image img {
        max-height: 350px;
    }
}

/* ========== HOW IT WORKS PAGE - SPECIFIC CLASSES ========== */
.hiw-process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.hiw-process-step:last-child {
    border-bottom: none;
}

.hiw-process-step.reverse {
    direction: rtl;
}

.hiw-process-step.reverse > * {
    direction: ltr;
}

.hiw-process-step .process-step-content {
    max-width: 500px;
}

.hiw-process-step.reverse .process-step-content {
    margin-left: auto;
}

.hiw-process-step .step-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hiw-process-step .step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.hiw-process-step .step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hiw-process-step .process-step-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.3;
}

.hiw-process-step .process-step-content > p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.hiw-process-step .step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hiw-process-step .step-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--text-secondary);
}

.hiw-process-step .step-features li svg {
    flex-shrink: 0;
    color: #22c55e;
    margin-top: 2px;
}

.hiw-process-step .process-step-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.15);
}

.hiw-process-step.reverse .process-step-image {
    text-align: right;
}

/* How It Works Timeline Line */
.hiw-timeline-disabled::before { display: none; /*
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
    transform: translateX(-50%);
    z-index: -1;
}

@media (max-width: 900px) {
    .hiw-process-step {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
        text-align: center;
    }
    .hiw-process-step.reverse {
        direction: ltr;
    }
    .hiw-process-step .process-step-content {
        max-width: 100%;
        margin: 0 auto;
    }
    .hiw-process-step.reverse .process-step-content {
        margin: 0 auto;
    }
    .hiw-process-step .process-step-image {
        text-align: center !important;
    }
    .hiw-process-step .process-step-image img {
        max-width: 100%;
    }
    .hiw-process-step .step-features {
        text-align: left;
        display: inline-block;
    }
    .hiw-timeline-disabled::before { display: none; /*
        display: none;
    }
    .hiw-process-step .step-badge {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hiw-process-step {
        padding: 40px 0;
        gap: 30px;
    }
    .hiw-process-step .process-step-content h3 {
        font-size: 24px;
    }
    .hiw-process-step .process-step-content > p {
        font-size: 15px;
    }
    .hiw-process-step .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .hiw-process-step .step-label {
        font-size: 12px;
    }
    .hiw-process-step .step-features li {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

/* ========== ADDITIONAL RESPONSIVE FIXES ========== */

/* Mobile (max 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .text-xl {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 90px 0 30px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-image img {
        height: 280px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .hero-stat {
        flex: 1 1 calc(50% - 15px);
    }
    
    .hero-stat-value {
        font-size: 1.5rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 12px;
    }
    
    .trust-badge {
        width: 100%;
        padding: 12px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 10px;
    }
    
    .feature-detail-section {
        padding: 40px 0;
    }
    
    .feature-detail-grid {
        gap: 20px;
    }
    
    .feature-detail-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .pricing-amount {
        font-size: 2.25rem;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .support-card {
        padding: 20px;
    }
    
    .hosting-specs {
        grid-template-columns: 1fr;
    }
    
    .other-integration-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .nav {
        padding: 12px 0;
    }
    
    .nav-brand {
        font-size: 1.125rem;
    }
    
    .nav-logo {
        width: 32px;
        height: 32px;
    }
}

/* Tablet (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .trust-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .trust-badge {
        padding: 12px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 10px;
    }
    
    .usecase-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hosting-specs {
        grid-template-columns: 1fr 1fr;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .footer-links a {
        display: inline-block;
        padding: 8px 0;
    }
}

/* ========== DEMO MODAL ========== */
.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.demo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.demo-modal {
    background: var(--bg);
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.demo-modal-overlay.active .demo-modal {
    transform: scale(1) translateY(0);
}

.demo-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}

.demo-modal-close:hover {
    background: var(--gray-200);
    color: var(--text);
}

.demo-modal-header {
    text-align: center;
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--border);
}

.demo-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.demo-modal-header p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.demo-modal-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--gray-50);
}

.demo-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.demo-tab:hover {
    background: var(--bg);
    color: var(--text);
}

.demo-tab.active {
    background: var(--accent);
    color: white;
}

.demo-tab svg {
    flex-shrink: 0;
}

.demo-modal-content {
    padding: 24px;
}

.demo-tab-content {
    display: none;
}

.demo-tab-content.active {
    display: block;
}

.demo-links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.demo-link-card:hover {
    border-color: var(--accent);
    background: rgba(217, 119, 87, 0.05);
    transform: translateX(4px);
}

.demo-link-icon {
    width: 56px;
    height: 56px;
    background: rgba(217, 119, 87, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.demo-link-icon.customer-app {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.demo-link-icon.vendor-app {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.demo-link-icon.delivery-app {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.demo-link-info {
    flex: 1;
}

.demo-link-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.demo-link-info p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.demo-link-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}

.demo-link-card:hover .demo-link-arrow {
    color: var(--accent);
    transform: translate(4px, -4px);
}

.demo-credentials {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(217, 119, 87, 0.08);
    border-radius: 8px;
    text-align: center;
}

.demo-credentials p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.demo-credentials strong {
    color: var(--accent);
}

.demo-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-100);
}

.demo-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.demo-video-info {
    text-align: center;
    margin-top: 20px;
}

.demo-video-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.demo-video-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Modal Responsive */
@media (max-width: 600px) {
    .demo-modal-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .demo-modal {
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
    }

    .demo-modal-header {
        padding: 24px 20px 20px;
    }

    .demo-modal-header h2 {
        font-size: 1.25rem;
    }

    .demo-modal-tabs {
        padding: 12px 16px;
        gap: 6px;
    }

    .demo-tab {
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    .demo-tab svg {
        width: 16px;
        height: 16px;
    }

    .demo-modal-content {
        padding: 16px;
    }

    .demo-link-card {
        padding: 14px 16px;
    }

    .demo-link-icon {
        width: 48px;
        height: 48px;
    }

    .demo-link-icon svg {
        width: 24px;
        height: 24px;
    }

    .demo-link-info h4 {
        font-size: 0.9375rem;
    }
}

/* ========== MOBILE FIXES - PREVENT HORIZONTAL SCROLL ========== */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Fix any elements causing overflow */
.container {
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
}

/* ========== IMPROVED MOBILE NAV ========== */
@media (max-width: 768px) {
    .nav {
        padding: 12px 0;
    }
    
    .nav-brand span {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 12px;
        right: 12px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 16px;
        flex-direction: column;
        gap: 4px;
        z-index: 1000;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    }
    
    .nav-menu.active { 
        display: flex; 
    }
    
    .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        transition: background 0.2s;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--bg-secondary);
    }
    
    .nav-toggle { 
        display: grid; 
        place-items: center; 
    }
    
    .nav-actions .btn { 
        display: none; 
    }
    
    .nav-actions {
        gap: 10px;
    }
    
    .theme-toggle,
    .nav-toggle {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 10px 0;
    }
    
    .nav-brand span {
        font-size: 1rem;
    }
    
    .nav-logo {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .nav-menu {
        top: 55px;
        left: 10px;
        right: 10px;
    }
    
    .theme-toggle,
    .nav-toggle {
        width: 36px;
        height: 36px;
    }
    
    .container {
        padding: 0 12px;
    }
}

/* ========== HERO SECTION MOBILE ========== */
@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }
    
    .text-xl {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .hero-stat-value {
        font-size: 1.5rem;
    }
    
    .hero-stat-label {
        font-size: 0.75rem;
    }
}

/* ========== PRICING CARDS MOBILE ========== */
@media (max-width: 480px) {
    .pricing-grid {
        gap: 20px;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .pricing-amount {
        font-size: 2rem;
    }
    
    .pricing-features li {
        font-size: 0.85rem;
        padding: 8px 0;
    }
}

/* ========== FOOTER MOBILE ========== */
@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
}

/* ============================================
   COMPARISON PAGE STYLES - Added Jan 2025
   For FlexiCommerce vs Competitors Page
   ============================================ */

/* Comparison Hero Section */
.compare-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.compare-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.compare-hero h1 {
    color: white;
    margin: 20px 0;
}

.compare-hero .hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.compare-hero .hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

/* Comparison Stats */
.compare-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.compare-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Quick Comparison Cards */
.compare-quick-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.quick-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.quick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quick-card.flexicommerce {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.05) 0%, rgba(217, 119, 87, 0.02) 100%);
}

.card-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.quick-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.price-tag {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin: 10px 0;
}

.price-type {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: block;
    margin-bottom: 20px;
}

.quick-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.quick-card li {
    padding: 8px 0;
    font-size: 0.9rem;
}

.total-cost {
    display: block;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Comparison Table */
.compare-filter {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    overflow-x: auto;
    padding-bottom: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--bg-secondary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    background: var(--card-bg);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.platform-col {
    text-align: center;
    min-width: 150px;
}

.platform-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.platform-header img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.recommended {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    display: inline-block;
}

.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:hover {
    background: var(--bg-secondary);
}

.section-row {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 1.1rem;
}

.section-row td {
    padding: 12px 20px;
    color: var(--primary);
}

.highlight {
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.1) 0%, rgba(217, 119, 87, 0.05) 100%);
    position: relative;
}

.highlight::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
}

.check {
    color: #10b981;
    font-weight: 600;
}

.cross {
    color: #ef4444;
    font-weight: 600;
}

.partial {
    color: #f59e0b;
    font-weight: 600;
}

.badge-success {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.badge-warning {
    background: #f59e0b;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.badge-danger {
    background: #ef4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

/* Cost Calculator */
.cost-calculator {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.calc-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.calc-input {
    position: relative;
}

.calc-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.calc-input input,
.calc-input select {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--bg);
}

.input-prefix {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.calc-input input[type="number"] {
    padding-left: 35px;
}

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

.result-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
}

.result-card.flexicommerce {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.05) 0%, rgba(217, 119, 87, 0.02) 100%);
}

.result-card h4 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.cost-breakdown {
    margin: 20px 0;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.cost-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
}

.savings-highlight {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    color: white;
}

.savings-amount {
    font-size: 3rem;
    font-weight: bold;
    margin: 10px 0;
}

.savings-percent {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.advantage-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.advantage-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Migration Offer */
.migration-offer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.migration-offer::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.offer-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.migration-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.migration-list li {
    padding: 10px 0;
    font-size: 1.1rem;
}

.offer-image img {
    width: 100%;
    border-radius: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .compare-quick-cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .migration-offer {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .compare-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .compare-quick-cards {
        grid-template-columns: 1fr;
    }
    
    .calc-inputs {
        grid-template-columns: 1fr;
    }
    
    .calc-results {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
    
    .migration-offer {
        padding: 30px;
    }
    
    .savings-amount {
        font-size: 2rem;
    }
}

/* Dark Mode Adjustments for Comparison Page */
[data-theme="dark"] .compare-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

[data-theme="dark"] .comparison-table thead {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

[data-theme="dark"] .migration-offer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

[data-theme="dark"] .savings-highlight {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

/* Animation Classes for Comparison Page */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.compare-quick-cards > :nth-child(1) { animation: slideInFromLeft 0.6s ease-out; }
.compare-quick-cards > :nth-child(2) { animation: slideInFromLeft 0.7s ease-out; }
.compare-quick-cards > :nth-child(3) { animation: slideInFromRight 0.7s ease-out; }
.compare-quick-cards > :nth-child(4) { animation: slideInFromRight 0.6s ease-out; }

/* ============================================
   END OF COMPARISON PAGE STYLES
   ============================================ */

/* Modal Styles for Demo */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.demo-card {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.demo-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.demo-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.demo-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}
