/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #156edc;
    --primary-dark: #0a78d1ca;
    --secondary-color: #439cdc;
    --accent-color: #f59e0b;
    --text-primary: #0f213a;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background: #ffffff;
    --background-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --cta-color: #156edc;
    --cta-dark: #022856;

}

.text-primary {
    color: var(--primary-color) !important;
}

.brand-suffix {
    font-size: 0.5em;
    font-weight: 700;
    color: var(--text-light);
    margin-left: 0.1rem;
    align-self: flex-end;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    position: relative;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.65rem 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(21, 110, 220, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.05em;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Dropdown Styles */
.nav-item-dropdown {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.dropdown-trigger::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .dropdown-trigger::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 0;
    z-index: 1001;
    margin-top: 0.5rem;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-link:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.dropdown-link span {
    font-size: 0.95rem;
    font-weight: 600;
}

.dropdown-link small {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.1rem;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 10rem 2rem 6rem;
    background:
        radial-gradient(at 0% 0%, hsla(214, 100%, 97%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(214, 100%, 90%, 0.3) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(214, 100%, 95%, 1) 0, transparent 50%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 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='%23156edc' fill-opacity='0.03'%3E%3Cpath d='M36 34v-2h-2v2h2zm0 2h2v-2h-2v2zm0-4V30h-2v2h2zM34 34h-2v2h2v-2zm0-4v-2h-2v2h2zm2-2h2v-2h-2v2zm-4 4V30h-2v2h2zm0-4v-2h-2v2h2zm2-2h2v-2h-2v2zm-4 4V30h-2v2h2zm0-4v-2h-2v2h2zm2-2h2v-2h-2v2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    mask-image: linear-gradient(to bottom, black, transparent);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-mockup-container {
    position: relative;
    width: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    background: white;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.hero-mockup-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.hero-mockup-container:hover .img-hover {
    opacity: 1;
}

.hero-mockup-container:hover .img-default {
    opacity: 0.1;
    /* Subtle ghosting effect looks more premium than 0 */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-lifetime {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f97316 100%);
    color: white;
}

.btn-lifetime:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Features Section */
.features {
    padding: 8rem 0;
    scroll-margin-top: 80px;
    background: var(--background);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1.5rem;
    margin-top: 4rem;
}

.bento-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px -15px rgba(21, 110, 220, 0.15);
}

.bento-item.span-2 {
    grid-column: span 2;
}

.bento-item.span-3 {
    grid-column: span 3;
}

.bento-item.row-2 {
    grid-row: span 2;
}

.bento-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

.bento-image {
    width: 100%;
    height: 160px;
    border-radius: 1rem;
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-image {
    width: 100%;
    height: 320px;
    border-radius: 1.25rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
    background: var(--background-light);
    border: 1px solid var(--border-color);
}

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

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

.feature-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.feature-highlights {
    list-style: none;
    padding: 0;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-highlights li {
    padding: 0.25rem 0;
    font-size: 1.05rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.5;
}

.feature-highlights li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

.feature-highlights li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Pricing Section */
.pricing {
    padding: 6rem 2rem;
    background: var(--background-light);
}

.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discount-pill {
    background: rgba(43, 192, 105, 0.1);
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
}

.pricing-toggle-checkbox {
    display: none;
}

/* Toggle Switch UI */
.toggle-switch-ui {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
    background-color: var(--border-color);
    border-radius: 34px;
    cursor: pointer;
    transition: .4s;
}

.toggle-switch-ui .slider {
    position: absolute;
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.pricing-toggle-checkbox:checked~.pricing-toggle-container .toggle-switch-ui {
    background-color: var(--primary-color);
}

.pricing-toggle-checkbox:checked~.pricing-toggle-container .toggle-switch-ui .slider {
    transform: translateX(28px);
}

.pricing-toggle-checkbox:checked~.pricing-toggle-container .toggle-label.right {
    color: var(--primary-color);
}

.pricing-toggle-checkbox:not(:checked)~.pricing-toggle-container .toggle-label.left {
    color: var(--primary-color);
}

.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    gap: 2.5rem;
}

/* Price Display Logic */
.monthly-price,
.monthly-text {
    display: none;
}

.pricing-toggle-checkbox:not(:checked)~.pricing-grid-3 .monthly-price,
.pricing-toggle-checkbox:not(:checked)~.pricing-grid-3 .monthly-text {
    display: block;
}

.pricing-toggle-checkbox:checked~.pricing-grid-3 .monthly-price,
.pricing-toggle-checkbox:checked~.pricing-grid-3 .monthly-text {
    display: none;
}

.pricing-toggle-checkbox:checked~.pricing-grid-3 .yearly-price,
.pricing-toggle-checkbox:checked~.pricing-grid-3 .yearly-text {
    display: block;
}

.pricing-toggle-checkbox:not(:checked)~.pricing-grid-3 .yearly-price,
.pricing-toggle-checkbox:not(:checked)~.pricing-grid-3 .yearly-text {
    display: none;
}

/* We use general sibling combinator (~), but since #pricing-toggle is outside .pricing-grid-3, 
   we need to adjust the HTML or use a different selector strategy. 
   Actually, the toggle is at the same level as the container. 
   Wait, the toggle is INSIDE pricing-toggle-container. 
   I will move the check-box out of the container for CSS-only logic. */

.pricing-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 2px;
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.05);
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--cta-color) 1%, var(--cta-dark) 60%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 6rem 2rem 3rem;
}

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

.footer-brand-section p {
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
    max-width: 300px;
}

.footer-links-group h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-group a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links-group a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        z-index: 1000;
        padding-top: 5rem;
    }

    .nav-menu.active {
        display: flex;
    }

    /* Mobile Dropdown Overrides */
    .nav-item-dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border: none;
        background: var(--background-light);
        width: 100%;
        text-align: center;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

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

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

    .pricing-card.featured {
        transform: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .container {
        padding: 0 1rem;
    }

    .features {
        padding: 4rem 1rem;
    }

    .pricing {
        padding: 4rem 1rem;
    }
}

/* Comparison Section Styling (Optimized for Speed) */
.comparison {
    padding: 8rem 2rem;
    background: var(--background-light);
}

.quick-comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.comparison-stat-card {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.comparison-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 10, 0.08);
    border-color: var(--primary-color);
}

.comparison-stat-card.highlight {
    background: var(--text-primary);
    border: none;
    color: white;
}

.comparison-stat-card.highlight h4 {
    color: white;
}

.comparison-stat-card.highlight p {
    color: rgba(255, 255, 255, 0.7);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.comparison-stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.comparison-stat-card.highlight .stat-icon {
    color: var(--secondary-color);
}

/* Collapsible Matrix */
.comparison-details {
    text-align: center;
    width: 100%;
}

.comparison-details[open] summary {
    margin-bottom: 3rem;
}

.comparison-details[open] summary i {
    transform: rotate(180deg);
}

.comparison-details summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 3rem;
    border-radius: 3rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

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

.comparison-container {
    overflow-x: auto;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    text-align: left;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.plan-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.price-period {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.price-savings {
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

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

.plan-features i {
    margin-right: 0.75rem;
    width: 1.25rem;
    text-align: center;
}

.plan-features .fa-check {
    color: var(--secondary-color);
}

.plan-features .fa-times {
    color: #ef4444;
}

.plan-features .fa-star {
    color: var(--accent-color);
}

@media (max-width: 992px) {
    .pricing-grid-3 {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

.comparison-table th {
    background: white;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
    background: rgba(21, 110, 220, 0.04);
}

.comparison-table th.highlight {
    color: var(--primary-color);
    font-size: 1.25rem;
    text-transform: none;
    letter-spacing: normal;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
    width: 35%;
}

.row-group td {
    background: #f1f5f9;
    font-weight: 700 !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b !important;
    padding: 0.75rem 2rem !important;
}

.comparison-summary {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    color: var(--text-secondary);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

@media (max-width: 768px) {
    .comparison {
        padding: 4rem 1rem;
    }

    .comparison-stat-card {
        padding: 1.5rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Landing Hero & Workflow Steps (Standardized) */
.landing-hero {
    padding: 10rem 2rem 6rem;
    text-align: center;
    background: var(--background-light);
}

.landing-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.workflow-step {
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.workflow-step:nth-child(even) .step-text {
    direction: ltr;
    text-align: left;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.step-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}



.value-carousel {
    overflow: hidden;
    margin-top: 2rem;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scrollCarousel 25s linear infinite;
}

.carousel-item {
    padding: 1rem 3rem;
    white-space: nowrap;
    font-weight: 500;
    font-size: 1.5rem;
    color: #1060e2;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}