/* styles.css */
:root {
    --accent-color: #acbeab;
    --navbar-color: #7a8b78;
    --footer-bg: #f1f3f4;
    --footer-border: #d1d5db;
    --section-bg: #f5f5f5;
    --card-bg: #ffffff;
}

.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accent-color {
    color: var(--accent-color);
}

.bg-accent {
    background-color: var(--accent-color);
}

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

.border-navbar {
    border-color: var(--navbar-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-navbar {
    color: var(--navbar-color);
}

.hover:text-navbar:hover {
    color: var(--navbar-color);
}

.bg-footer {
    background-color: var(--footer-bg);
}

.border-footer {
    border-color: var(--footer-border);
}

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

.bg-card {
    background-color: var(--card-bg);
}

.hover:text-accent:hover {
    color: var(--accent-color);
}

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

.bg-navbar {
    background-color: var(--navbar-color);
}

.hover:bg-navbar:hover {
    background-color: var(--navbar-color);
}

.font-sans {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.hero-image {
    max-height: 550px;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center 50%;
}

.team-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 50%;
    max-height: 500px;
}

/* FAQ Accordion Animation Styles */
.faq-content-inner {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    overflow: hidden;
}

.faq-icon {
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.faq-toggle {
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.faq-toggle:hover .faq-icon {
    transform: scale(1.1);
}

.faq-toggle:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Subtle Highlighting Styles */
.highlight-subtle {
    background: linear-gradient(90deg, rgba(172, 190, 171, 0.08) 0%, rgba(172, 190, 171, 0.03) 100%);
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
    transition: all 0.2s ease;
}

.highlight-subtle:hover {
    background: linear-gradient(90deg, rgba(172, 190, 171, 0.12) 0%, rgba(172, 190, 171, 0.05) 100%);
    border-left-color: var(--navbar-color);
}

.highlight-card {
    border: 1px solid rgba(172, 190, 171, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(172, 190, 171, 0.1) inset;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    border-color: rgba(172, 190, 171, 0.4);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(172, 190, 171, 0.15) inset;
    transform: translateY(-1px);
}

.highlight-badge {
    background: rgba(172, 190, 171, 0.15);
    border: 1px solid rgba(172, 190, 171, 0.3);
    color: var(--navbar-color);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.highlight-icon {
    color: var(--accent-color);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.highlight-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.highlight-price {
    position: relative;
}

.highlight-price::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent-color);
    border-radius: 2px;
    opacity: 0.5;
}

.highlight-text {
    color: var(--navbar-color);
    font-weight: 600;
}

.highlight-section {
    background: linear-gradient(135deg, rgba(172, 190, 171, 0.05) 0%, rgba(255, 255, 255, 1) 50%, rgba(172, 190, 171, 0.03) 100%);
    border-top: 2px solid rgba(172, 190, 171, 0.15);
}

.highlight-important {
    background: rgba(172, 190, 171, 0.08);
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

/* Pricing Tabs Styles - Fresh Modern Design */
.pricing-tab {
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 12px;
    margin: 0 4px;
    background: white;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: #374151;
    isolation: isolate;
}

.pricing-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--navbar-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

/* Ensure text content is above gradient - text nodes need explicit styling */
.pricing-tab {
    position: relative;
    z-index: 2;
}

.pricing-tab:hover:not(.active) {
    color: var(--navbar-color);
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(122, 139, 120, 0.15);
}

.pricing-tab:hover:not(.active)::before {
    opacity: 0.05;
}

.pricing-tab.active {
    color: #ffffff !important;
    border-color: var(--navbar-color);
    font-weight: 700 !important;
    box-shadow: 
        0 12px 32px rgba(122, 139, 120, 0.25),
        0 4px 12px rgba(122, 139, 120, 0.15);
    transform: translateY(-2px) scale(1.05);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Force white text on active tab - target all possible text elements */
.pricing-tab.active {
    color: #ffffff !important;
}

.pricing-tab.active span,
.pricing-tab.active * {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Ensure text is above gradient */
.pricing-tab.active {
    z-index: 10;
}

.pricing-tab.active::before {
    z-index: 1;
}

.pricing-tab.active::before {
    opacity: 1;
}

.pricing-tab.active:hover {
    color: white !important;
    font-weight: 700 !important;
    transform: translateY(-4px) scale(1.06);
    box-shadow: 
        0 16px 40px rgba(122, 139, 120, 0.3),
        0 6px 16px rgba(122, 139, 120, 0.2);
}

.pricing-tab.active:hover,
.pricing-tab.active:hover * {
    color: white !important;
    font-weight: 700 !important;
}

.pricing-tab:focus {
    outline: 3px solid rgba(172, 190, 171, 0.5);
    outline-offset: 3px;
}

.pricing-tab:active {
    transform: translateY(-2px) scale(1.02);
}

.tab-panel {
    display: block;
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-panel.hidden {
    display: none;
}

/* Tab navigation container styling */
.tab-panels {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: visible;
    margin-top: 12px;
    border: 1px solid #f0f0f0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Site banner styles */
.site-banner {
    position: fixed;
    left: 0;
    right: 0;
    top: 0; /* JS will set actual top based on header height */
    background: linear-gradient(90deg, rgba(122,139,120,1), rgba(172,190,171,1));
    color: white;
    z-index: 45;
    padding: 1rem 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.site-banner .banner-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.site-banner.hidden {
    display: none;
}

/* Theme variants for banner color - black or orange */
.site-banner.theme-black {
    background: linear-gradient(90deg, #0b0b0b, #161616);
    color: #ffffff;
}

.site-banner.theme-orange {
    background: linear-gradient(90deg, #ff7a00, #ff9a3c);
    color: #ffffff;
}

/* Blinking animation (applied only when config requests it) */
@keyframes bannerBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.site-banner.blink .banner-text {
    /* slower and gentler blink */
    animation: bannerBlink 1.2s ease-in-out infinite;
}

/* Slightly reduce banner text on very small screens */
@media (max-width: 420px) {
    .site-banner .banner-text { font-size: 0.95rem; }
}


/* Responsive adjustments for pricing tables on small screens */
/* Keep the price column on a single line and slightly reduce font-size on mobile */
[data-table] th,
[data-table] td {
    vertical-align: middle;
}

[data-table] th:last-child,
[data-table] td:last-child {
    white-space: nowrap;
}

@media (max-width: 640px) {
    /* Reduce overall table text for mobile */
    [data-table] th,
    [data-table] td {
        font-size: 0.9rem;
        padding: 0.45rem 0.5rem;
    }

    /* Slightly smaller price text to help avoid wrapping */
    [data-table] th:last-child,
    [data-table] td:last-child {
        font-size: 0.95rem;
    }

    /* Make pricing panels use a bit tighter spacing on mobile */
    .tab-panel {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Slightly smaller tab labels on small screens */
    .pricing-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}
