:root {
    --brand-color: #4f46e5;
    --brand-color-light: #6366f1;
    --brand-color-dark: #4338ca;

    --color-slate-900: #0f172a;
    --color-slate-700: #334155;
    --color-slate-500: #64748b;
    --color-slate-300: #cbd5e1;
    --color-slate-100: #f1f5f9;
    --color-slate-50: #f8fafc;

    --color-white: #ffffff;
    --color-black: #000000;

    --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-sans);
    line-height: 1.6;
    background-color: var(--color-slate-50);
    color: var(--color-slate-700);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-slate-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 150ms ease-in-out;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--brand-color);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--brand-color-dark);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-slate-900);
    border-color: var(--color-slate-300);
}

.btn-secondary:hover {
    background-color: var(--color-slate-100);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}


/* --- Header & Navigation --- */
.main-header {
    background-color: var(--color-slate-50);
    border-bottom: 1px solid var(--color-slate-100);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    background-color: rgba(248, 250, 252, 0.8);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-slate-900);
    text-decoration: none;
}

.logo svg {
    color: var(--brand-color);
}

.nav-links {
    display: none; /* Mobile first */
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-slate-700);
    font-weight: 500;
    transition: color 150ms ease;
}

.nav-links a:hover {
    color: var(--brand-color);
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
}


/* --- Hero Section --- */
.hero-section {
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--color-slate-500);
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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


/* --- Trusted By Section --- */
.trusted-by-section {
    padding: 3rem 0;
}

.trusted-by-title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-slate-500);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.logos-grid img {
    max-width: 120px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 200ms ease;
}

.logos-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--brand-color-light);
    color: var(--color-white);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-slate-500);
}


/* --- Features Section --- */
.features-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-slate-100);
    color: var(--brand-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--color-slate-500);
}


/* --- Product Screenshot Section --- */
.product-screenshot-section {
    padding: 3rem 0;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    border: 1px solid var(--color-slate-100);
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 980px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-slate-300);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--brand-color);
    border-width: 2px;
}

.featured-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-color);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 999px;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-slate-500);
}

.plan-price .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-slate-900);
}

.plan-description {
    color: var(--color-slate-500);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.plan-features svg {
    color: var(--brand-color);
}

/* --- Testimonial Section --- */
.testimonial-section {
    background-color: var(--color-white);
    padding: 6rem 0;
}

.testimonial-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-content blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-slate-900);
    border: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.testimonial-content cite {
    font-style: normal;
}

.cite-name {
    display: block;
    font-weight: 600;
    color: var(--color-slate-900);
}

.cite-title {
    color: var(--color-slate-500);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 6rem 0;
}

.faq-accordion {
    max-width: 700px;
    margin: 0 auto;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-slate-900);
    cursor: pointer;
}

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

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--color-slate-500);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--color-slate-900);
    color: var(--color-slate-300);
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-column .logo {
    color: var(--color-white);
}

.footer-tagline {
    margin-top: 1rem;
    max-width: 250px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-slate-300);
    text-decoration: none;
    transition: color 150ms ease;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid var(--color-slate-700);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}


/* --- Responsive Styles --- */
@media (min-width: 640px) {
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .hero-headline {
        font-size: 3.5rem;
    }

    .logos-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}
