:root {
    --primary-color: #000000;
    --background-color: #f5f5f5;
    --text-color: #000000;
    --text-color-secondary: #666666;
    --gray-light: #d3d3d3;
    --gray-medium: #666666;
    --card-bg: #ffffff;
    --section-bg: #ffffff;
    --contact-bg:rgb(36, 31, 31);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --input-bg: #f5f5f5;
    --plan-border-color:rgba(95, 95, 95, 0.2);
    --title-gradient: linear-gradient(
        60deg,
        #1E1E1E 0%,
        #000000 100%
    );
    --background-color-rgb: 255, 255, 255;
    --border-gradient: linear-gradient(90deg, rgba(30,30,30,0) 0%, rgba(0,0,0,1) 49%, rgba(30,30,30,0) 100%);
}

/* Dark theme variables */
[data-theme="dark"] {
    --primary-color: #ffffff;
    --background-color: #0A0A0A;
    --text-color: #ffffff;
    --text-color-secondary: #aaa;
    --gray-light: #333333;
    --gray-medium: #888888;
    --card-bg: #181818;
    --section-bg: #0D0C0C;
    --contact-bg: #121212;
    --nav-bg: rgba(10, 10, 10, 0.9);
    --input-bg:#222222;
    --plan-border-color:rgba(170, 170, 170, 0.2);
    --title-gradient: linear-gradient(
        60deg,
        #C8C8C8 0%,
        #ffffff 100%
    );
    --background-color-rgb: 10, 10, 10;
    --border-gradient: linear-gradient(90deg, rgba(200,200,200,0) 0%, rgba(255,255,255,1) 49%, rgba(200,200,200,0) 100%);
}

[data-theme="light"] {
    --spark-opacity: 0.6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--background-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: url('images/fire-cursor.png'), auto;
}

.navbar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: transparent;
}

.logo {
    position: relative;
    height: 80px;
    width: auto;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    transition: opacity 0.3s ease;
}

/* Show/hide logos based on theme */
.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

/* Dark mode switches */
[data-theme="dark"] .logo-dark {
    display: block;
}

[data-theme="dark"] .logo-light {
    display: none;
}

/* Remove the old gradient from logo */
.logo {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

.nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.sign-in {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.get-started, .btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.get-started {
    background: var(--primary-color);
    color: var(--background-color);
    border: 2px solid transparent;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff3366;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}

.header-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.hero {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    z-index: 2;
    padding: 0 2rem 16rem;
    text-align: center;
    width: 100%;
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Add theme-specific opacity */
[data-theme="light"] #canvas {
    opacity: 0.3;  /* 50% opacity in light mode */
}

[data-theme="dark"] #canvas {
    opacity: 1.0;  /* 100% opacity in dark mode */
}


.hero h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    padding: 1em 0 0;
    background: var(--title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--gray-medium);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 4rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: var(--background-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-color);
    border-color: var(--card-bg);
    transform: translateY(-1px);
}

/* Update the dark mode specific styles */
[data-theme="dark"] .btn-primary {
    background: var(--text-color);
    color: var(--background-color);
}

[data-theme="dark"] .btn-primary:hover {
    background: var(--background-color);
    color: var(--text-color);
    border-color: var(--text-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-align: center;
    text-transform: uppercase;
}

.section-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-medium);
    text-align: center;
}

.features {
    padding: 8rem 2rem;
    background: var(--section-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Features Section */
.features-list {
    display: grid;
    container-type: inline-size;
    grid-template-columns: 10fr 1fr 1fr 1fr 1fr 1fr;
    gap: 8px;
    list-style-type: none;
    justify-content: center;
    padding: 0;
    height: clamp(300px, 40dvh, 474px);
    width: auto;
    margin: 0;
    transition: grid-template-columns 0.6s linear;
}

.features-list li {
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
    min-width: 80px;
    border-radius: 8px;
    border: 1px solid color-mix(in hsl, canvas, canvasText 50%);
}

.features-list li:first-child {
    margin-left: 16px; /* Adjust the value as needed */
}

.features-list article {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem;
    overflow: hidden;
}

.features-list h3 {
    position: absolute;
    top: 1rem;
    left: 2rem;
    transform-origin: 0 50%;
    rotate: 90deg;
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    white-space: nowrap;
}

.features-list svg {
    width: 18px;
    fill: none;
}

.features-list p {
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: left;
    text-wrap: balance;

}

[data-active='true'] p {
    opacity: 1;
    transition-delay: 0.15s;
}

.features-list img {
    opacity: 0.1; /* Set images to 10% visibility when collapsed */
    scale: 1.1;
    transition: scale 0.3s ease;
    position: absolute;
    pointer-events: none;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask: radial-gradient(100% 100% at 100% 0, #fff, #0000);
}

[data-active='true'] article {
    opacity: 1;
}

[data-active='true'] img {
    filter: grayscale(0) brightness(1);
    scale: 1;
    transition-delay: 0.15s;
    opacity: 1; /* Set images to full visibility when expanded */
}

.services {
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid span {
    padding: 1rem;
    background: var(--section-bg);
    border-radius: 10px;
    font-weight: 500;
}

.theme-switch {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
    background: var(--background-color);
    padding: 0.75rem;
    border-radius: 50%;
    border: 2px solid var(--gray-medium);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.theme-toggle {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun-icon, .moon-icon {
    width: 24px;
    height: 24px;
}

.theme-toggle svg {
    width: 28px;
    height: 28px;
    stroke-width: 2px;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

.theme-switch:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.get-started:hover {
    background: var(--background-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Add these new styles */
.pricing {
    padding: 8rem 2rem;
    background: linear-gradient(var(--section-bg), var(--section-bg)) padding-box,
                var(--title-gradient) border-box;
    width: 100%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    max-width: 1800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.pricing-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--background-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-card h3 {
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.05em;
    background: var(--title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-medium);
}

.price-description {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin: 0.5rem 0 1.5rem;
    font-weight: 300;
}

.faq {
    position: relative;
    padding: 8rem 2rem;
    border-bottom: 2px solid transparent;
    background: linear-gradient(var(--background-color), var(--background-color)) padding-box,
                var(--title-gradient) border-box;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}


/* Update for dark mode */
[data-theme="dark"] .faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

/* Ensure the FAQ content stays above the border */
.faq .container,
.faq .section-header {
    position: relative;
    z-index: 2;
}

.faq .section-header {
    margin-bottom: 4rem;
}


.faq .container {
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.accordion-item {
    background: var(--background-color);
    border-radius: .4rem;
    padding: 0 2rem;
}

.accordion-item hr {
    border: 1px solid var(--gray-light);
}

.accordion-link {
    font-size: 1.6rem;
    color: var(--text-color);
    text-decoration: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
}

.accordion-link h3 {
    font-weight: 500;
    font-size: 1.2rem;
}

.accordion-link i {
    color: var(--text-color);
    padding: .5rem;
}

.accordion-link .ion-md-arrow-down {
    display: none;
}

.answer {
    max-height: 0;
    overflow: hidden;
    position: relative;
    transition: max-height 650ms;
}

.answer p {
    color: var(--gray-medium);
    font-size: 1rem;
    padding: 0 0 2rem 0;
    line-height: 1.6;
}

.accordion-item.active .answer {
    max-height: 20rem;
}

.accordion-item.active .accordion-link .ion-md-arrow-forward {
    display: none;
}

.accordion-item.active .accordion-link .ion-md-arrow-down {
    display: block;
}

/* Update footer layout */
.footer {
    background: var(--section-bg);
    padding: 4rem 2rem;
    position: relative;
    width: 100%;
    max-width: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Top row with 2 columns */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* Left side - logo and headquarters */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-self: start;
}

/* Right side - social icons */
.social-icons {
    display: flex;
    gap: 1rem;
    justify-self: end;
}

/* Bottom row - copyright */
.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        justify-self: center;
        align-items: center;
    }

    .social-icons {
        justify-self: center;
    }
}

/* Add hover effects */
.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Social Icons */
.social-icon {
    width: 24px;
    height: 24px;
    color: var(--gray-medium);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Update Badge Group styles */
.badge-group {
    display: inline-flex;
    align-items: center;
    background: var(--background-color);
    border: 1px solid var(--gray-light);
    border-radius: 100px;
    padding: 4px;
}

.badge-item {
    padding: 6px 12px;
    font-size: 14px;
    color: var(--gray-medium);
    font-weight: 500;
}

/* Dark mode specific styles */
[data-theme="dark"] .badge-group {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}



/* emoji Scroll */
.emoji {
    padding: 1rem 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: none;
}

.emoji-scroll {
    width: 100%;
    display: flex;
    place-items: center;
    margin: 0;
    padding: 6px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 12.5%, black 87.5%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12.5%, black 87.5%, transparent 100%);
}

.emoji-track {
    display: flex;
    gap: 80px;
    padding: 0;
    margin: 0;
    list-style: none;
    animation: scroll 20s linear infinite;
    will-change: transform;
}

.emoji-logo {
    flex: 0 0 auto;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem;
}

.emoji-logo img {
    width: 200px; /* Adjust size as needed */
    height: auto;
    display: block;
    margin: 0 auto;
}




/* Logo Scroll */
.trusted-by {
    padding: 2rem 0; /* Consistent padding for both themes */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: none;
    color: #333; /* Dark text for light mode */
}

[data-theme="dark"] .trusted-by {
    color: #fff; /* Light text for dark mode */
}

.logo-scroll {
    width: 100%;
    display: flex;
    place-items: center;
    margin: 0;
    padding: 6px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 12.5%, black 87.5%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12.5%, black 87.5%, transparent 100%);
}

.logo-track {
    display: flex;
    gap: 80px;
    padding: 0;
    margin: 0;
    list-style: none;
    animation: scroll 20s linear infinite;
    will-change: transform;
}

.client-logo {
    flex: 0 0 auto;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem;
}

.client-logo img {
    width: 200px; /* Adjust size as needed */
    height: auto;
    display: block;
    margin: 0 auto;
}

.logo-light {
    opacity: 1;
}

.logo-dark {
    opacity: 0;
}

[data-theme="dark"] .logo-light {
    opacity: 0;
}

[data-theme="dark"] .logo-dark {
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 40px)); }
}

/* Ensure smooth animation */
.logo-track {
    animation-play-state: running;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/* Update service item styles */
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--text-color);
}

.service-item:hover {
    transform: translateY(-5px);
}

/* Update social icon styles */
.social-icon {
    width: 24px;
    height: 24px;
    color: var(--gray-medium);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Update FAQ styles */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
    cursor: pointer;
}

.faq-header {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* Restore Trello Preview Section */
.trello-preview {
    padding: 8rem 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    max-width: none;
}

.preview-content {
    flex: 1;
}

.preview-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.preview-image img {
    width: 100%;
    height: auto;
}

/* Add gradient text styles */
h1, h2, h3, .logo {
    background: var(--title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.1em 0;
    line-height: 1.2;
}

/* Make sure headings maintain proper contrast in cards */
.feature-card h4,
.pricing-card h3,
.service-item span {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--text-color);
}

/* Optional: Add hover effect to make gradients more dynamic */
h1:hover, h2:hover, h3:hover, .logo:hover {
    background-size: 200% auto;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Add responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
        padding: 0 1rem;
    }
    
    .logo {
        height: 3.5rem;
    }
    
    .footer-brand .logo {
        height: 3rem;
    }
    
    .footer {
        padding: 4rem 2rem;
    }
    
    .footer-brand {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .headquarters {
        margin-bottom: 1.5rem;
    }
    
    .features,
    .pricing,
    .services,
    .how-it-works,
    .contact,
    .faq {
        padding: 3rem 1rem;
    }
    
    /* Reduce bottom padding specifically for features section */
    .features {
        padding-bottom: 0.5rem;
    }
    
    .trusted-by {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .features-accordion {
        width: 100%;
    }
    
    .accordion-items,
    .add-ons_image-wrapper {
        width: 100%;
    }
    
    .add-ons_image-wrapper {
        margin-top: 2rem;
        margin-left: 0;
    }
    
    .faq .container {
        width: 100%;
    }
    
    .accordion-item {
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
        justify-content: center;
    }
    
    .logo {
        margin: 0 auto;
    }
    
    .badge-group {
        display: none;
    }
    
    .nav-right {
        display: none;
    }
    
    /* Hide features-list on mobile */
    .features-list {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 4rem 1rem 8rem;
    }
    
    /* Further adjustments for smaller mobile screens */
    .faq {
        padding: 6rem 0.5rem;
    }
    
    .faq .container {
        padding: 0 0.5rem;
    }
    
    .accordion-item {
        padding: 0 0.5rem;
    }
    
    /* Move logo even closer to top on smaller mobile */
    .navbar {
        padding: 0.5rem 0;
    }
    
    /* Make logo even larger on smaller mobile devices */
    .logo {
        height: 4rem;
    }
    
    .footer-brand .logo {
        height: 3.5rem;
    }
    
    /* Add more bottom padding after the headquarters text on smaller mobile */
    .headquarters {
        margin-bottom: 2rem;
    }
    
    /* Further reduce padding for trusted-by section on smaller mobile */
    .trusted-by {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    /* Further reduce bottom padding for features on smaller mobile */
    .features {
        padding-bottom: 1rem;
    }
}

/* Add base section styles with radial gradient */
section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-gradient);
}

[data-theme="dark"] section::before,
[data-theme="dark"] section::after {
    background: var(--border-gradient);
}

/* Adjust dark mode gradient */
[data-theme="dark"] section::before {
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0) 60%
    );
}

/* Ensure section content stays above gradient */
section > * {
    position: relative;
    z-index: 1;
}

/* Adjust specific sections that might need different treatment */
.hero::before {
    opacity: 0.7;
    width: 200%;
    height: 200%;
}

.pricing::before {
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 70%
    );
}

/* Add top padding to features section */
.features {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Update responsive styles */
@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem 8rem;
    }
    
    .features {
        padding-top: 6rem;
    }
}

/* Add headquarters styles */
.footer-brand-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.headquarters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.la-icon {
    width: 24px;
    height: 24px;
    transform: translateY(-1px);
}

/* Show/hide based on theme */
.la-dark {
    display: none;
}

.la-light {
    display: block;
}

[data-theme="dark"] .la-dark {
    display: block;
}

[data-theme="dark"] .la-light {
    display: none;
}

/* Update footer bottom styles */
.footer-bottom {
    margin-top: 1rem;
    text-align: center;
    color: var(--gray-medium);
}

.footer-bottom .studio-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .studio-link:hover {
    color: var(--primary-color);
}

.footer-bottom .footer-links {
    margin-left: 1rem;
}

.footer-bottom .footer-links a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .footer-links a:hover {
    color: var(--primary-color);
}

/* Update responsive styles */
@media (max-width: 768px) {
    .footer-brand-content {
        align-items: center;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom .footer-links {
        margin-left: 0;
        margin-top: 0.5rem;
        display: block;
    }
}

/* Remove extra space after last FAQ item */
.accordion-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.accordion-item:last-child .answer {
    padding-bottom: 0;
}

.accordion-item:last-child hr {
    display: none;
}

/* Add FAQ footer section styles */
.faq-footer {
    text-align: center;
    margin-top: 4rem;
    padding: 4rem 0 0;
    position: relative;
}

.faq-footer h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.faq-footer h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.faq-footer .book-call {
    margin-top: 1rem;
    min-width: 200px;
}

/* Update theme switch styles */
.theme-switch {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
    background: var(--background-color);
    padding: 0.75rem;
    border-radius: 50%;
    border: 2px solid var(--gray-medium);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.theme-toggle {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark mode specific styles */
[data-theme="dark"] .theme-switch {
    background: var(--gray-light);
    border-color: var(--gray-medium);
}

/* Update plan icon styles */
.plan-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -3rem -2rem -2rem;
    padding: 0;
}

.plan-icon img {
    width: 300px;
    height: 300px;
    transition: opacity 0.3s ease;
    margin: 0;
    padding: 0;
}

/* Show/hide based on theme */
.plan-dark {
    display: none;
}

.plan-light {
    display: block;
}

[data-theme="dark"] .plan-dark {
    display: block;
}

[data-theme="dark"] .plan-light {
    display: none;
}

/* Update trusted by section styles */
.trusted-by h2 {
    padding-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.5em;
    font-size: 1rem;
    color: var(--gray-medium);
    background: var(--title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact section styles */
.contact {
    background-color: var(--section-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Create a pseudo-element for the masked grid background */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

/* Add dark mode specific grid color */
[data-theme="dark"] .contact::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.contact-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.contact-tagline {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.contact-info h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    margin-top: 40px;
}

.contact-detail-group {
    margin-bottom: 30px;
}

.contact-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.contact-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.social-icon-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon-text:hover {
    color: var(--primary-color);
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--contact-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--gray-light);
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    background-color: var(--input-bg);
    border: 2px solid var(--gray-light);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

#contact-form .btn-primary {
    width: 100%;
    padding: 14px 24px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .contact-form-container {
        width: 100%;
    }
    
    .contact-info h2 {
        font-size: 32px;
    }
}

/* Update hero GIF styles */
.hero-gif {
    margin-top: 3rem;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-gif img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .hero-gif {
        max-width: 150px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 4rem;
}

/* Remove or adjust the gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    background: transparent;
    z-index: -1;
}

/* Add border styles to sections */
.services,
.trello-preview,
.pricing,
.faq {
    position: relative;
    border-bottom: 2px solid transparent;
    background: linear-gradient(var(--border-gradient), var(--border-gradient)) padding-box,
                var(--title-gradient) border-box;
    width: 100%;
    max-width: none;
}

/* Adjust section padding to prevent border overlap */
.features {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.services {
    padding: 8rem 2rem;
}

.trello-preview {
    padding: 8rem 2rem;
}

.pricing {
    padding: 8rem 2rem;
    background: var(--section-bg);
    margin-bottom: 0;
}

.faq {
    padding: 8rem 2rem;
    margin-top: 0;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .features,
    .services,
    .trello-preview,
    .pricing,
    .faq,
    .contact {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    
    /* Reduce padding for trusted-by section on mobile */
    .trusted-by {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 991px) {
    .features-accordion {
        flex-direction: column;
    }

    .accordion-items,
    .add-ons_image-wrapper {
        flex: 0 0 100%;
    }

    .add-ons_image-wrapper {
        height: 400px;
        position: relative;
        top: 0;
    }
}

/* New Features Accordion Styles */
.features-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 10rem;
}

.features-content {
    flex: 1;
    margin-right: 20px;
}

.features-image {
    flex: 1;
    max-width: 50%;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 1s ease-in-out, opacity 0.3s ease;
}

.feature-img:hover {
    transform: translateY(-16px);
}

.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item-new {
    display: block;
    border-bottom: 1px solid var(--gray-light);
    text-decoration: none;
    color: var(--text-color);
}

.accordion-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 0;
    cursor: pointer;
}

.accordion-header-new h4 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: normal;
}

.accordion-icon {
    position: relative;
    width: 18px;
    height: 18px;
}

.accordion-icon svg {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary-color);
    transition: opacity 0.3s ease;
}

.minus-icon {
    opacity: 0;
}

.accordion-item-new.active .plus-icon {
    opacity: 0;
}

.accordion-item-new.active .minus-icon {
    opacity: 1;
}

.accordion-content-new {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding-bottom: 0;
}

.accordion-item-new.active .accordion-content-new {
    max-height: 1000px;
    padding-bottom: 1.75rem;
}

.accordion-content-new p {
    color: var(--gray-medium);
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
    }
    
    .features-image {
        order: -1;
        margin-bottom: 2rem;
    }
}

/* How it works section styles */
.how-it-works {
    padding: 8rem 2rem;
    background: var(--section-bg);
}

.howitworks_component {
    max-width: 1200px;
    margin: 0 auto;
}

.w-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.text-style-tagline {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.heading-style-h4 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.text-size-medium {
    font-size: 1.125rem;
    line-height: 1.6;
}

.text-color-gray600 {
    color: var(--gray-medium);
}

.howitworks_item-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.howitworks_item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.howitworks_item-icon-wrapper {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    position: relative;
}

.howitworks_item-icon-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    transition: opacity 0.3s ease;
}

/* Light theme (default) */
.howitworks_item-icon-wrapper .icon-light {
    opacity: 1;
}

.howitworks_item-icon-wrapper .icon-dark {
    opacity: 0;
}

/* Dark theme */
[data-theme="dark"] .howitworks_item-icon-wrapper .icon-light {
    opacity: 0;
}

[data-theme="dark"] .howitworks_item-icon-wrapper .icon-dark {
    opacity: 1;
}

.howitworks_item-text-wrapper {
    flex: 1;
}

.text-weight-medium {
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--text-color);
}

.howitworks_lightbox-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: linear-gradient(var(--background-color), var(--background-color)) padding-box,
                var(--border-gradient) border-box;
}

.howitworks_lightbox-image:hover {
    transform: scale(1.05) rotate(3deg); /* Slightly enlarge and rotate the image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add a shadow */
    border-color: var(--primary-color); /* Change border color */
}

/* Responsive styles */
@media (max-width: 991px) {
    .w-layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .howitworks_lightbox {
        order: -1;
    }
}

/* Light/Dark theme icon visibility */
.icon-light {
    opacity: 1;
}

.icon-dark {
    opacity: 0;
}

[data-theme="dark"] .icon-light {
    opacity: 0;
}

[data-theme="dark"] .icon-dark {
    opacity: 1;
}

/* Remove this duplicate class */
- .howitworks_item {
-     display: flex;
-     align-items: flex-start;
-     gap: 1rem;
- }
- 
- .howitworks_item-icon-wrapper {
-     flex-shrink: 0;
-     color: var(--primary-color);
-     position: relative;
-     width: 44px;
-     height: 44px;
- }

.calendar-icon {
    width: 18px;
    height: 18px;
    margin-left: 4px;
}

#submit-request-icon {
    width: 44px;
    height: 44px;
}

.icon-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
}

.icon-light,
.icon-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.icon-light {
    opacity: 1;
}

.icon-dark {
    opacity: 0;
}

[data-theme="dark"] .icon-light {
    opacity: 0;
}

[data-theme="dark"] .icon-dark {
    opacity: 1;
}

.service-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    text-transform: uppercase;
}

.social-icon-text {
    font-size: 24px; /* Adjust size as needed */
    color: currentColor; /* Use the current text color */
    text-decoration: none;
    display: inline-block;
    line-height: 1;
    margin: 0 8px; /* Adjust spacing as needed */
}

.pricing-features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features-list li {
    margin-bottom: 1rem;
    color: var(--gray-medium);
}

.privacy-policy {
    position: relative;
    padding: 8rem 2rem;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.policy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    width: 100%;
    border-radius: 8px;
    background-color: var(--card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.policy-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.policy-section ul {
    margin-top: 1rem;
    margin-left: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.75rem;
    color: var(--gray-medium);
}

.contact-details a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

/* Apply grid background to pricing section */
.pricing {
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

[data-theme="dark"] .pricing::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.pricing-grid {
    position: relative;
    z-index: 1;
}

/* Apply grid background to how it works section */
.how-it-works {
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

[data-theme="dark"] .how-it-works::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.howitworks_component {
    position: relative;
    z-index: 1;
}

/* Apply grid background to features section */
.features {
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

[data-theme="dark"] .features::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.features-container, .features-list {
    position: relative;
    z-index: 1;
}

/* Apply grid background to FAQ section */
.faq {
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

[data-theme="dark"] .faq::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.faq .container, .faq-accordion {
    position: relative;
    z-index: 1;
}

/* Apply grid background to services section */
.services {
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

[data-theme="dark"] .services::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.services-grid {
    position: relative;
    z-index: 1;
}

/* Custom Pricing Section Styles */
.plans {
    background-color: var(--background-color); /* Match website background */
    color: var(--text-color); /* Match website text color */
    padding: 60px 0; /* Adjust padding as needed */
    font-family: 'Poppins', sans-serif; /* Match website font */
}

.custom-pricing-container {
    max-width: 1250px; /* Adjust container width */
    margin: 0 auto;
    padding: 0 20px;
}

.custom-pricing-header {
    text-align: center;
    margin-bottom: 40px; /* Space below header */
}

/* Style for the optional header elements if uncommented */
.custom-pricing-header img {
    position: absolute; /* Example if using the ellipse */
    /* Add positioning styles */
}

.custom-pricing-header h2 {
    font-size: 1.5rem; /* Adjust size */
    text-transform: uppercase;
    color: var(--text-color);
    position: relative; /* Example if using the ellipse */
}


.custom-pricing-tiers {
    display: flex;
    flex-direction: column; /* Stack tiers vertically */
    gap: 1px; /* Creates the thin border effect between tiers */
    background-color: var(--plan-border-color); /* Adjusted fallback for light mode border */
    border: 1px solid var(--plan-border-color); /* Adjusted fallback for light mode border */
    border-radius: 8px; /* Optional rounded corners */
    overflow: hidden; /* For rounded corners */
}

.custom-pricing-tier {
    background-color: var(--card-bg); /* Use theme card background */
    padding: 25px 40px; /* Padding inside each tier */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px; /* Space between elements when wrapped */
    background-size: cover; /* For optional background image */
    background-repeat: no-repeat;
    background-position: left;
}

.custom-pricing-tier.tier-highlight {
     /* Slightly different background/border if needed, or use the background image */
     /* border-color:rgb(150, 150, 150); */
     position: relative; /* Needed if adding pseudo-elements or absolutely positioned items */
}

.tier-details {
    display: flex;
    align-items: center; /* Align items vertically */
    gap: 30px; /* Space between name/price and optional image */
    flex-basis: 30%; /* Adjust basis */
    flex-grow: 1;
}

.tier-name-price { 
    /* Container for name and price if using best choice image */
}

.tier-name {
    font-size: 1.8rem; /* Adjust size */
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color); /* White text */
}

.tier-highlight .tier-name {
    color:rgb(122, 122, 122); 
}

.tier-price {
    font-size: 1.1rem; /* Adjust size */
    color: var(--text-color-secondary); /* Use variable for price color */
    font-weight: 500;
}

.best-choice-img { /* Style for the optional "Best Choice" image */
    height: 80px; /* Adjust size */
    opacity: 0.7;
}

.tier-features {
    flex-basis: 40%; /* Adjust basis */
    flex-grow: 1;
}

.tier-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px; /* Space between features */
    color: var(--text-color); /* White text for features */
    font-size: 0.95rem;
}

.tier-features li:last-child {
    margin-bottom: 0;
}

.tier-features .checkmark-icon {
    margin-right: 10px;
    width: 18px; /* Adjust icon size */
    height: auto;
    flex-shrink: 0;
}

.tier-cta {
    flex-basis: 20%; /* Adjust basis */
    text-align: right;
    flex-grow: 1;
}

.custom-btn-primary {
    display: inline-flex; /* Use inline-flex for alignment */
    align-items: center; /* Vertically center icon and text */
    justify-content: center; /* Horizontally center content */
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--background-color);
    border-radius: 50px; /* Fully rounded */
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    gap: 8px; /* Space between icon and text */
}

.custom-btn-primary:hover {
    background: var(--background-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    border: 2px solid var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .custom-pricing-tier {
        flex-direction: column; /* Stack elements vertically */
        align-items: flex-start; /* Align items to the left */
        padding: 20px;
    }
    .tier-details, .tier-features, .tier-cta {
        flex-basis: 100%; /* Take full width */
    }
    .tier-cta {
        text-align: left; /* Align button to the left */
        margin-top: 15px;
    }
    .tier-details {
        gap: 15px;
    }
    .best-choice-img {
        height: 60px; /* Smaller image on mobile */
    }
}

@media (max-width: 768px) {
    .tier-name {
        font-size: 1.5rem;
    }
    .tier-price {
        font-size: 1rem;
    }
    .custom-btn-primary {
        width: 100%; /* Make button full width */
    }
}

