:root {
    --primary: #7C2DBF;
    --primary-hover: #602296;
    --accent: #AF93DA;
    --dark-text: #1F2937;
    --light-text: #6B7280;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --border: #E5E7EB;

    --font-main: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.center-text {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Navbar */
.navbar {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-text);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 50px;
    /* Adjusted for the new logo image */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--light-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:not(.btn):hover,
.nav-links a.active {
    /* Added active state */
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background-color: #fdfbfd;
    background-image: radial-gradient(var(--accent) 0.5px, transparent 0.5px), radial-gradient(var(--accent) 0.5px, #fdfbfd 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    /* Subtle dot pattern */
    overflow: hidden;
}



.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    padding-right: 20px;
}

.hero-title {
    font-size: 3rem;
    /* Slightly smaller */
    color: #111;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    position: relative;
}

.parallax-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Sections General */
.section {
    padding: 60px 0;
    /* Reduced from 100px */
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto 40px;
    /* Reduced margin */
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    /* Reduced gap */
}

.feature-card {
    background: var(--white);
    padding: 24px;
    /* Reduced padding */
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.icon-box {
    margin-bottom: 20px;
    width: 56px;
    /* Slightly smaller */
    height: 56px;
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Integration */
.integration {
    background-color: var(--bg-light);
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr;
    /* Add image later if needed, for now centered text block style */
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.check-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.check-list li {
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    /* Changed from center */
    gap: 8px;
}

.check-list li::before {
    content: "✓";
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
    /* Prevent shrinking */
    margin-top: 2px;
    /* Align with text top */
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    position: relative;
    transform: scale(1.05);
}

.pricing-card.popular::after {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.price span {
    font-size: 1rem;
    color: var(--light-text);
    font-weight: 500;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 32px;
}


.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--light-text);
    padding-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-item.active .faq-question::after {
    content: "-";
}

/* Contact */
.contact-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-box h2 {
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
.footer {
    background-color: #f3f4f6;
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--dark-text);
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: var(--light-text);
}

.footer-col a:hover {
    color: var(--primary);
}

.socials span {
    margin-right: 16px;
    font-weight: 600;
    cursor: pointer;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
    color: var(--light-text);
    font-size: 0.875rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: transparent;
    border-radius: 50%;
    color: var(--light-text);
    transition: all 0.3s ease;
    /* Ensure they don't override the general footer-col a display:block if specific class is used */
    display: flex !important;
    margin-bottom: 0 !important;
}

.social-icon:hover {
    color: var(--primary);
    background-color: rgba(111, 66, 193, 0.1);
}

/* Detailed Feature Rows (Features Page - ZigZag) */
.features-detailed-container {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-top: 50px;
}

.feature-detailed-row {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Alternate order for even rows */
.feature-detailed-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-detailed-text {
    flex: 1;
}

.feature-detailed-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #fff;
    border: 1px solid #f3f3f3;
}

.feature-detailed-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.feature-detailed-image:hover img {
    transform: scale(1.02);
}

.feature-detailed-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.feature-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #fdf4ff;
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-detailed-title {
    font-size: 1.75rem;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.feature-detailed-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    font-weight: 500;
}

.feature-detailed-desc {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1rem;
}

.feature-detailed-list-title {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
    display: block;
}

.feature-detailed-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.feature-detailed-list li {
    display: flex;
    align-items: flex-start;
    /* Changed from center */
    gap: 10px;
    color: #4b5563;
    font-size: 0.95rem;
}

.feature-detailed-list li svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
    /* Align with text */
}

.feature-closing-summary {
    text-align: center;
    max-width: 800px;
    margin: 80px auto 40px;
    padding: 40px;
    background: linear-gradient(135deg, #fdf4ff 0%, #fff 100%);
    border-radius: 24px;
    border: 1px solid #f3e8ff;
}

.feature-closing-summary h2 {
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.feature-closing-summary p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 0;
}

.feature-closing-tagline {
    font-weight: 700;
    color: var(--primary);
    margin-top: 24px;
    display: block;
    font-size: 1.25rem;
}

/* Responsive */

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 90px;
        right: 20px;
        left: auto;
        width: 260px !important;
        /* Force width override */
        background-color: var(--white);
        flex-direction: column;
        padding: 24px;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border: 1px solid var(--border);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        gap: 16px;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a:not(.btn) {
        display: block;
        font-size: 1.1rem;
    }

    .nav-links .btn {
        display: block !important;
        width: 100%;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 100%;
        /* Ensure full width on mobile */
        width: 100%;
        margin: 0 auto 30px;
        /* Add margin bottom */
        display: block !important;
        /* Ensure it's not hidden */
        padding: 0 20px;
        /* Prevent image edge touching */
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }
}

@media (max-width: 600px) {

    /* Flatten Pricing Card: Make it look like a simple section */
    .pricing-card-single {
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        margin: 20px auto 40px !important;
    }

    .pricing-card-single::before {
        display: none !important;
        /* Remove top gradient line */
    }

    .pricing-header-single {
        padding: 0 !important;
    }

    .pricing-body-single {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 20px !important;
        border-top: none !important;
        /* Remove separator */
    }

    .plan-price {
        font-size: 2.5rem;
        color: var(--dark-text);
        /* Make it standard text color if desired, or keep primary */
        justify-content: center;
    }

    .pricing-features-list li {
        justify-content: flex-start;
        /* Changed back to left align */
        text-align: left;
    }

    .pricing-features-list,
    .pricing-perfect-for {
        text-align: left;
    }

    .tags-container {
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .social-icons {
        justify-content: center;
    }

    .feature-detailed-row,
    .feature-detailed-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }

    /* Duplicates removed - relying on flattened styles above */

    /* Index Pricing Card adjustments for mobile */
    .pricing-header,
    .pricing-features,
    .pricing-btn-area {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pricing-header {
        padding-top: 30px;
    }

    .section {
        padding: 40px 0;
    }
}

/* Standard Mobile Devices (Most modern phones: 390px - 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
        /* Better fit for hero */
    }

    .section-title {
        font-size: 1.6rem;
    }

    .plan-price {
        font-size: 2rem;
        /* Fixes overflow for ₹199 /month */
    }

    .plan-name {
        font-size: 1.5rem;
    }
}



/* Small Mobile Devices (e.g. iPhone SE, Galaxy Fold outer) */
@media (max-width: 380px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-box {
        padding: 20px;
    }

    /* flattened pricing card overrides padding */

    .plan-price {
        font-size: 2rem;
    }

    .hero-image {
        padding: 0 10px;
        /* Even smaller padding for hero image */
    }
}

/* Dashboard Mockup Section */
.dashboard-overview {
    text-align: center;
    padding-bottom: 40px;
}

.dashboard-img-container {
    max-width: 1000px;
    margin: 40px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.dashboard-img-container img {
    width: 100%;
    display: block;
}

/* New Features Grid (4 col) */
.features-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f3f3f3;
    transition: all 0.2s ease;
}

.feature-box:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #e5e5e5;
    transform: translateY(-2px);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: #fdf4ff;
    /* Light purple tint */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-box h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.5;
}

/* Integration Section */
.integration-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.integration-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.integration-text p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.integration-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.integration-list li svg {
    color: var(--primary);
}


/* Integration Images & Connection */
.integration-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align images and arrow */
    gap: 16px;
    /* Reduced gap slightly to accommodate arrow */
}

.integration-link {
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

.integration-link:hover {
    transform: translateY(-2px);
}

.integration-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: block;
    /* Removes bottom space */
}

.connection-arrow {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.connection-arrow svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce {
    animation: bounce 1.5s infinite;
}

/* Single Pricing Card */
.pricing-single-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pricing-card-wide {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Stronger shadow */
    padding: 0;
    max-width: 500px;
    width: 100%;
    position: relative;
    /* For the border accent if needed */
    overflow: visible;
    /* Changed from hidden to prevent clipping */
    border: 2px solid #f0f0f0;
    height: auto;
    /* Ensure height grows with content */
}

.pricing-header {
    padding: 40px 40px 20px;
    text-align: left;
}

.pricing-header h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #111;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.pricing-period {
    font-size: 1rem;
    color: var(--light-text);
    font-weight: 500;
}

.pricing-features {
    padding: 0 40px 30px;
}

.pricing-features ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    /* Changed from center */
    gap: 10px;
    color: #4b5563;
}

.pricing-features ul li svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
    /* Align with text */
}

.pricing-btn-area {
    padding: 20px 40px 40px;
}

.pricing-btn-area .btn {
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: white;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
}

.pricing-btn-area .btn:hover {
    background: var(--primary-hover);
}

/* Testimonials Section */
.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    position: relative;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    margin-bottom: 20px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    /* Prevent shrinking in mobile flex container */
    display: block;
    /* Ensure it renders block */
}

.reviewer-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.reviewer-info span {
    font-size: 0.85rem;
    color: var(--light-text);
}

@media (max-width: 900px) {
    .integration-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .integration-list {
        display: inline-block;
        text-align: left;
    }
}

/* Pricing Page (Single Plan Overhaul) */
.pricing-card-single {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    padding: 60px;
    margin: 40px auto 80px;
    max-width: 900px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card-single::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, #a855f7 100%);
}

.plan-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}

.plan-price .period {
    font-size: 1.25rem;
    color: #6b7280;
    font-weight: 500;
    white-space: normal !important;
    /* Force wrap */
    display: inline-block !important;
}

.plan-desc {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.pricing-body-single {
    text-align: left;
    border-top: 1px solid #f3f4f6;
    padding-top: 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.pricing-features-list h3,
.pricing-perfect-for h3 {
    font-size: 1.25rem;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.pricing-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    /* Changed from center */
    gap: 12px;
    font-size: 1rem;
    color: #374151;
}

.pricing-features-list li svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
    /* Align with text */
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.perfect-tag {
    background: #f3f4f6;
    padding: 8px 16px;
    border-radius: 20px;
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Pricing Value Section Overhaul */
.pricing-value-section {
    margin-bottom: 100px;
}

.value-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--dark-text);
}

.value-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    text-align: center;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #e5e7eb;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #fdf4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}

.value-item h4 {
    font-size: 1.125rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.value-item p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Modern List */
.value-list-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.modern-list-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    display: flex;
    align-items: flex-start;
    /* Changed from center */
    gap: 16px;
    font-size: 1.05rem;
    color: var(--dark-text);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.check-icon {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
    background: #fdf4ff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    /* Prevent shrinking */
    margin-top: -2px;
    /* Slight adjustment */
}

/* Start Now CTA */
.start-now-cta {
    text-align: center;
    background: var(--dark-text);
    color: white;
    padding: 60px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.start-now-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.start-now-cta p {
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   MOBILE LAYOUT FIX (SAFE)
   ========================= */

@media (max-width: 900px) {

    /* ---------- HOME PAGE ---------- */

    /* Hero: force same vertical flow as Features */
    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px;
        text-align: center;
    }

    .hero-text {
        order: 2;
        padding: 0;
    }

    .hero-image {
        order: 1;
        width: 100%;
        margin: 0 auto;
    }

    .parallax-img {
        width: 100%;
        height: auto;
        transform: none !important;
    }

    /* Features grid on Home */
    .features-grid-large {
        grid-template-columns: 1fr !important;
    }

    /* Integration section */
    .integration-section {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    /* ---------- PRICING PAGE ---------- */

    /* Single pricing card layout */
    .pricing-body-single {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    /* Value cards stack cleanly */
    .value-grid-cards {
        grid-template-columns: 1fr !important;
    }

    .value-list-modern {
        grid-template-columns: 1fr !important;
    }

    /* Pricing header spacing */
    .plan-price {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    /* ---------- GLOBAL SAFETY ---------- */

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {

    .hero-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .plan-price {
        font-size: 2.1rem;
    }
}
