:root {
    --primary-color: #1A1A1A;
    --secondary-color: #2A2A2A;
    
    --light-grey-bg: #F8F9FA;
    --lighter-grey-bg: #FFFFFF;
    --dark-grey-bg: #2A2A2A;
    --darker-grey-bg: #1A1A1A;

    --accent-color: #2563EB;
    --accent-hover: #1D4ED8;
    --text-color: #ffffff;

    --card-dark-bg: #2A2A2A;
    --card-dark-text: #ffffff;

    --card-light-bg: #ffffff;
    --card-light-text: #1A1A1A;
    
    --gradient-overlay: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

header {
    background-color: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    padding: 0.7rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.header-login:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.header-login:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.header-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.header-menu-toggle:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.header-menu-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
}

.header-menu-bar {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-menu-toggle[aria-expanded="true"] .header-menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-menu-toggle[aria-expanded="true"] .header-menu-bar:nth-child(2) {
    opacity: 0;
}

.header-menu-toggle[aria-expanded="true"] .header-menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-menu {
    display: none;
}

@media (min-height: 1px) {
    html:not([scrollTop="0"]) header {
        height: 70px;
    }

    html:not([scrollTop="0"]) .logo-image {
        height: 40px;
    }
}

.logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

header.scrolled .logo-image {
    height: 40px;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.hero {
    text-align: center;
    /* Top padding matches the fixed header so the copy centers in the visible hero. */
    padding: 100px 1.5rem 0;
    background-image: var(--gradient-overlay), url('https://storage.googleapis.com/ticketing-files/hero_images/weticket_hero_desktop.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    position: relative;
    z-index: 1;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 100%;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    margin-bottom: 2.5rem;
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: min(600px, 100%);
    animation: fadeInUp 0.8s ease-out 0.4s;
    animation-fill-mode: both;
}

.hero .cta-button {
    animation: fadeInUp 0.8s ease-out 0.6s;
    animation-fill-mode: both;
}

section {
    padding: 4rem 5%;
}

.pricing {
    background-color: #2A2A2A;
    color: var(--text-color);
    position: relative;
    z-index: 1;
    padding: 6rem 5%;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.pricing-tab {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-color);
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.pricing-tab:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-color);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.pricing-tab:hover::before {
    opacity: 0.1;
}

.pricing-tab.active {
    background: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    border-color: var(--accent-color);
}

.pricing-content {
    position: relative;
}

.pricing-panel {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.pricing-panel.active {
    display: block;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card.premium {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.07));
    border: 1px solid rgba(37, 99, 235, 0.25);
    position: relative;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.pricing-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1) 0%, 
        transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-card-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    margin-bottom: 0.75rem;
}

.pricing-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.pricing-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.feature-icon {
    color: var(--accent-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.pricing-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-details {
    flex: 1;
}

.feature-details h4 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
}

.per-unit {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ticket-tiers {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.ticket-tiers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.05) 0%, 
        transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.ticket-tiers h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    z-index: 1;
}

.tiers-grid {
    position: relative;
    z-index: 1;
}

.tier-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.tier-card:hover::before {
    transform: scaleX(1);
}

.tier-range {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tier-range-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.tier-range-value {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.tier-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
}

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

/* Mobile Adjustments */
@media (max-width: 768px) {
    .pricing {
        padding: 4rem 1rem;
    }

    .pricing-tabs {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2.5rem;
    }

    .pricing-tab {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        text-align: center;
    }

    .pricing-card {
        padding: 2rem;
    }

    .pricing-card.premium {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .pricing-card-header {
        margin-bottom: 2rem;
    }

    .pricing-card-header h3 {
        font-size: 1.25rem;
    }

    .pricing-feature {
        padding: 1.25rem;
        gap: 1.5rem;
    }

    .feature-details h4 {
        font-size: 1rem;
    }

    .price {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .pricing {
        padding: 3rem 1rem;
    }

    .pricing-tab {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card.premium {
        padding: 1.75rem;
    }

    .pricing-feature {
        padding: 1rem;
        gap: 1rem;
    }

    .price {
        font-size: 2rem;
    }
}

/* Add this to your existing CSS */
.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(37, 99, 235, 0.08) 0%, 
        transparent 50%);
    pointer-events: none;
}

.pricing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.portal {
    background-color: var(--light-grey-bg);
    color: var(--darker-grey-bg);
    position: relative;
    z-index: 1;
}

.organizer {
    background-color: var(--lighter-grey-bg);
    color: var(--darker-grey-bg);
    position: relative;
    z-index: 1;
}

.consumer {
    background-color: var(--dark-grey-bg);
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.scanning {
    background-color: var(--darker-grey-bg);
    color: var(--text-color);
    position: relative;
    z-index: 1;
}


.sections {
    text-align: center;
    padding: 4rem 5%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
    color: inherit;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.portal .section-title {
    color: var(--darker-grey-bg);
}

.organizer .section-title {
    color: var(--darker-grey-bg);
}

.consumer .section-title,
.scanning .section-title {
    color: var(--text-color);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background-color: var(--card-dark-bg);
    color: var(--text-color);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.price-card:hover::before {
    transform: scaleX(1);
}

.price-card h3 {
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.price-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--card-light-bg);
    color: var(--darker-grey-bg);
    padding: 3rem;
    border-radius: 24px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: 2rem;
    color: var(--accent-color);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--accent-hover);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--darker-grey-bg);
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
}

/* Dark theme feature cards */
.consumer .feature-card,
.scanning .feature-card {
    background-color: var(--card-dark-bg);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.consumer .feature-card h3,
.scanning .feature-card h3 {
    color: var(--text-color);
}

.consumer .feature-card p,
.scanning .feature-card p {
    color: rgba(255, 255, 255, 0.9);
}

.consumer .feature-card .feature-icon,
.scanning .feature-card .feature-icon {
    color: var(--accent-color);
}

.consumer .feature-card:hover .feature-icon,
.scanning .feature-card:hover .feature-icon {
    color: var(--accent-hover);
}

/* Add subtle patterns to sections */
.portal::before,
.organizer::before,
.consumer::before,
.scanning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.02;
    background-image: radial-gradient(var(--accent-color) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* Animation for feature cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(0.1s * var(--i, 1));
    opacity: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .feature-card {
        padding: 2rem;
        min-height: 280px;
    }

    .feature-icon {
        margin-bottom: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.15rem;
    }

    .feature-card p {
        font-size: 1rem;
    }
}

.scanning-features ul {
    list-style: none;
    text-align: left;
}

.scanning-features li {
    margin-bottom: 0.5rem;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
}

footer {
    background-color: var(--darker-grey-bg);
    color: var(--text-color);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-item-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-row {
    margin-bottom: 1rem;
}

.footer-text,
a.footer-text:link,
a.footer-text:visited {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.footer-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.footer-text:hover::after {
    transform: scaleX(1);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Add subtle animation to footer logo */
.weticket-short-logo-container img {
    transition: transform 0.3s ease;
}

.weticket-short-logo-container:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        height: 80px;
    }

    .header-content {
        padding: 0 1rem;
    }

    .logo-image {
        height: 40px;
    }

    .header-login-bar {
        display: none;
    }

    .header-menu-toggle {
        display: inline-flex;
    }

    .header-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 0.75rem 1rem 1rem;
        background-color: rgba(30, 30, 30, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    }

    .header-menu.is-open {
        display: block;
    }

    .header-menu .header-login {
        width: 100%;
        font-size: 0.95rem;
        padding: 0.9rem 1.25rem;
    }

    .footer-item-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-column {
        width: 100%;
        text-align: center;
    }

    .footer-text::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }

    .footer-text:hover::after {
        transform: translateX(-50%) scaleX(1);
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
        min-width: 180px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero .cta-button {
        min-width: 170px;
        font-size: 0.95rem;
        padding: 0.8rem 1.5rem;
    }

    .pre-footer .cta-button {
        min-width: 200px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .pricing-cards {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .price-card {
        max-width: 100%;
        min-height: 180px;
        padding: 2rem;
    }

    .price-card h3 {
        font-size: 3rem;
    }

    .price-card p {
        font-size: 1.1rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-square-logo {
        justify-content: center;
    }

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

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .sections {
        padding: 2rem 5%;
    }
}

/* New pre-footer section */
.pre-footer {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pre-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.2) 0%, 
        rgba(255,255,255,0.1) 50%,
        rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.pre-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 50% 50%, 
        rgba(255,255,255,0.1) 0%, 
        transparent 50%);
    z-index: 1;
}

.pre-footer-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.pre-footer h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pre-footer p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pre-footer .cta-button {
    background-color: var(--text-color);
    color: var(--accent-color);
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    border: 2px solid var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 280px;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pre-footer .cta-button svg {
    transition: transform 0.3s ease;
}

.pre-footer .cta-button:hover {
    background-color: transparent;
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.pre-footer .cta-button:hover svg {
    transform: translateX(4px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .pre-footer {
        padding: 4rem 1.5rem;
    }

    .pre-footer h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .pre-footer p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .pre-footer .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-width: 240px;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

[data-scroll] {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Main Content Fix */
main {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

/* Responsive Layout */
@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Center overflow cards */
    .cards-grid:has(> :nth-child(4)) {
        justify-content: center;
    }
}

/* Add this at the root level */
html {
    scroll-behavior: smooth;
    --scroll: 0px;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        animation: calculate-scroll-var linear both;
        animation-timeline: scroll();
    }
}

@keyframes calculate-scroll-var {
    to {
        --scroll: 30px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.modal-content-contact {
    background-color: var(--lighter-grey-bg);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    z-index: 1;
}

/* Contact Form Modal Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-message {
    margin-top: 1rem;
    text-align: center;
}

.pricing-card.centered {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.pricing-card.centered .pricing-feature {
    justify-content: center;
    text-align: center;
}

.pricing-card.centered .feature-icon {
    margin-bottom: 1rem;
}

.pricing-card.centered .feature-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-tiers {
    padding: 1rem 0;
}

.tier-item {
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.tier-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.tier-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.tier-range {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tier-range-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.tier-range-value {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.tier-fee {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.fee-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
}

.fee-type {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.tier-divider {
    height: 1px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05), 
        transparent);
    margin: 0.5rem 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .tier-item {
        padding: 1rem;
    }

    .tier-range {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        gap: 0.375rem;
    }

    .tier-range-label,
    .tier-range-value {
        font-size: 1.1rem;
    }

    .tier-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .tier-fee {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .tier-item {
        padding: 1rem;
    }

    .tier-range {
        font-size: 1rem;
        gap: 0.25rem;
    }

    .tier-range-label,
    .tier-range-value {
        font-size: 1rem;
    }

    .fee-amount {
        font-size: 2rem;
    }

    .fee-type {
        font-size: 0.8rem;
    }

    .tier-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .tier-fee {
        align-items: flex-start;
    }
}

.pricing-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tier-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tier-card.premium {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.07));
    border: 1px solid rgba(37, 99, 235, 0.25);
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.tier-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1) 0%, 
        transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.tier-card.premium .tier-card-content {
    position: relative;
    z-index: 1;
}

.tier-card.premium .tier-range {
    margin-bottom: 1.5rem;
}

.tier-card.premium .tier-range-label {
    font-size: 1.1rem;
}

.tier-card.premium .tier-range-value {
    font-size: 1.5rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .pricing-tiers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .tier-card {
        padding: 1.5rem;
    }

    .tier-card.premium {
        padding: 2rem;
        margin: 0.5rem 0;
    }

    .tier-card.premium .tier-range {
        font-size: 1.3rem;
    }

    .tier-card.premium .fee-amount {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .tier-card {
        padding: 1.25rem;
    }

    .tier-card.premium {
        padding: 1.75rem;
    }

    .tier-card.premium .tier-range {
        font-size: 1.2rem;
    }

    .tier-card.premium .fee-amount {
        font-size: 2rem;
    }
}

.standard-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.premium-tier {
    padding: 2rem;
    background: rgba(37, 99, 235, 0.05);
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    position: relative;
}

.premium-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tier-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.tier-card.premium {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.07));
    border: 1px solid rgba(37, 99, 235, 0.25);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    padding: 2.5rem;
}

.tier-range {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tier-range-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.tier-range-value {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.tier-fee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.fee-amount {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--accent-color);
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
}

.fee-type {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.tier-card.premium .tier-range {
    margin-bottom: 1.5rem;
}

.tier-card.premium .tier-range-label {
    font-size: 1.1rem;
}

.tier-card.premium .tier-range-value {
    font-size: 1.5rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .standard-tiers {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .premium-tier {
        padding: 1.5rem;
    }

    .tier-card {
        padding: 1.5rem;
    }

    .tier-card.premium {
        padding: 2rem;
        margin: 1rem 0;
    }

    .tier-range {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .fee-amount {
        font-size: 2rem;
    }

    .tier-card.premium .tier-range {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    .tier-card.premium .fee-amount {
        font-size: 2.1rem;
    }
}

@media (max-width: 480px) {
    .standard-tiers {
        grid-template-columns: 1fr;
    }

    .tier-card {
        padding: 1.25rem;
    }

    .tier-card.premium {
        padding: 1.75rem;
    }

    .premium-label {
        font-size: 0.8rem;
        padding: 0.4rem 1.25rem;
    }
}

/* Footer Styles */
.footer {
  background: var(--footer-background-color, #f7f9fa);
  color: var(--footer-text-color, #2c2c2c);
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1800px;
  margin: 0 auto;
  padding: 32px 40px 16px 40px;
}

.footer-columns {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  flex: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 180px;
}

.footer-col-logo {
  min-width: 260px;
}

.footer-logo {
  margin-bottom: 16px;
  max-width: 260px;
}

.footer-logo svg {
  width: auto;
  height: auto;
}

.footer-links span,
.footer-col span,
.footer-col a,
.footer-col a:link,
.footer-col a:visited {
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 4px;
  transition: color 0.2s;
  text-decoration: none;
  display: block;
}
.footer-links span:hover,
.footer-col span:hover,
.footer-col a:hover {
  color: #2563EB;
}

.footer-logo-circular {
  margin-left: 40px;
  display: flex;
  align-items: center;
}
.footer-logo-circular svg {
  width: 140px;
  height: 140px;
}

.footer-copyright {
  color: var(--footer-text-color, #2c2c2c);
  font-size: 0.95rem;
  margin-top: 24px;
  opacity: 0.8;
}

@media (max-width: 1200px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 16px 12px 16px;
  }
  .footer-columns {
    gap: 32px;
  }
  .footer-logo-circular {
    margin: 32px 0 0 0;
    align-self: flex-start;
  }
}
@media (max-width: 800px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    padding: 24px 16px 8px 16px;
  }
  .footer-columns {
    flex-direction: column;
    gap: 16px;
  }
  .footer-logo-circular {
    margin: 24px 0 0 0;
    align-self: flex-start;
  }
}
