:root {
    --bg-color: #FDFBF7;
    --text-main: #2C2421;
    --text-muted: #6C5B52;
    --accent: #E8341A;
    --accent-hover: #C92C15;
    --card-bg: #FFFFFF;
    --border-color: #E6DED8;

    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

*:focus,
*:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}


body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.nav-logo {
    max-height: 32px;
    width: auto;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
}

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

.nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

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

.btn-nav {
    background: var(--text-main);
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-nav:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

@media (max-width: 760px) {
    .nav-menu {
        display: none;
    }
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 0 6rem;
    overflow: hidden;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 1.5rem;
    margin-bottom: 5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero-subtext {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-cta .btn {
    width: auto;
    min-width: 160px;
    margin-bottom: 0;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: white;
    transform: translateY(-1px);
}

/* Marquee Styles */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    width: fit-content;
    animation: scroll 40s linear infinite;
}

/* Fade Masks */
.marquee-fade-left,
.marquee-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15vw;
    z-index: 2;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-item {
    flex-shrink: 0;
    width: 320px;
    height: 200px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 36, 33, 0.08);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(calc(-50% - 1rem));
    }

    100% {
        transform: translateX(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .marquee-item {
        width: 260px;
        height: 160px;
    }
}

/* Base Layout */
.pricing-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem 0;
}

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

.pricing-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-main);
}

/* Toggle Switch */
.toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

.toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.toggle-label.active {
    color: var(--text-main);
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

input:checked+.slider {
    background-color: var(--text-main);
}

input:checked+.slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(44, 36, 33, 0.03), 0 1px 3px rgba(44, 36, 33, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.popular {
    border-color: rgba(232, 52, 26, 0.25);
    box-shadow: 0 15px 40px rgba(232, 52, 26, 0.06), 0 2px 6px rgba(44, 36, 33, 0.03);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 4px 10px rgba(232, 52, 26, 0.2);
}

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

.card-header h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.price-container {
    margin-bottom: 2rem;
    min-height: 80px;
}

.price-display {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.25rem;
}

.price-display.hidden {
    display: none;
}

.currency {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.custom-amount {
    font-size: 2.5rem;
    padding-bottom: 0.5rem;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-subtext {
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 1.125rem;
    text-align: center;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(232, 52, 26, 0.15);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 16px rgba(232, 52, 26, 0.25);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: #FAFAFA;
    transform: translateY(-1px);
}

.feature-divider {
    background: var(--border-color);
    margin-bottom: 2rem;
    width: 100%;
}

/* Feature List */
.feature-list {
    list-style: none;
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.4;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

.footer-note {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-note p {
    font-size: 0.95rem;
    color: var(--text-muted);
}


/* Testimonials */
.testimonials {
    margin-top: 6rem;
    padding: 6rem 1.5rem 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-main);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-style: italic;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name {
    font-weight: 600;
    color: var(--text-main);
}

.user-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer CTA */
.footer-cta {
    margin: 8rem auto;
    padding: 0 1.5rem;
    max-width: 1100px;
}

.cta-card {
    background: var(--text-main);
    color: white;
    padding: 4rem 2rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(44, 36, 33, 0.15);
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-card .btn-primary {
    display: inline-block;
    width: auto;
    min-width: 200px;
    background: white;
    color: var(--text-main);
}

.cta-card .btn-primary:hover {
    background: var(--accent);
    color: white;
}

@media (max-width: 900px) {

    .pricing-grid,
    .testimonials-grid,
    .cta-card,
    .faq-container,
    .hero-content {
        max-width: 550px;
        width: 100%;
        margin: 0 auto;
    }

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

    .testimonials-grid {
        gap: 1rem;
    }

    .pricing-header h1 {
        font-size: 2.5rem;
    }

    .cta-card h2 {
        font-size: 2rem;
    }
}

/* FAQ Section */
.faq-section {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.faq-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-main);
}

.faq-container {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.2s ease;
}

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

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    min-height: 0;
}

.faq-answer-inner p {
    padding-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 1.75rem;
    }

    .faq-question {
        font-size: 1.05rem;
    }
}

/* Footer Section */
.footer {
    padding: 3rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-color);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 500px) {

    .testimonials,
    .footer-cta {
        padding-left: 0px;
        padding-right: 0px;
    }

    .testimonials-grid,
    .testimonial-card,
    .cta-card {
        max-width: none !important;
        width: 100% !important;
    }
}