/* Base styles */
:root {
    --bg-primary: #f9fafb;
    --fg-primary: #252f3f;
    --accent-primary: #5850e8;
    --accent-light: #f8f8f8;
    --surface-dark: #202838;
    --surface-light: #f0f0f0;
    --text-light: #485060;
    --border-color: #e5e7eb;
    --green-success: #10b981;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    background-color: var(--bg-primary);
    color: var(--fg-primary);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-light);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4c39d5;
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #4c39d5;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(88, 80, 232, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: 0.625rem;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-light);
    color: var(--fg-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--fg-primary);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.secondary-button:hover {
    background-color: var(--fg-primary);
    color: white;
}

/* Header Navigation */
header {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

header a {
    color: var(--fg-primary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f9fafb 0%, #f0f0f0 100%);
    padding-top: 2rem;
    padding-bottom: 0;
    overflow: hidden;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--fg-primary);
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #5850e8, #4c39d5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content > p {
    font-size: 1.25rem;
    max-width: 500px;
    line-height: 1.6;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-badges .flex {
    align-items: center;
}

.trust-badges svg {
    flex-shrink: 0;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(88, 80, 232, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #5850e8, #4c39d5);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(88, 80, 232, 0.1);
    transform: translateY(-4px);
}

.testimonial-card img {
    border-radius: 50%;
    object-fit: cover;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(88, 80, 232, 0.1);
    transform: translateY(-8px);
}

.pricing-card-featured {
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(88, 80, 232, 0.15);
    transform: scale(1.02);
}

.pricing-card ul li {
    color: var(--fg-primary);
}

/* Comparison Links */
.comparison-link {
    display: block;
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.comparison-link:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(88, 80, 232, 0.1);
    transform: translateY(-4px);
}

/* Utility Classes */
.max-w-7xl {
    max-width: 80rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-4 {
    gap: 1rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.text-7xl {
    font-size: 4.5rem;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-900 {
    color: var(--fg-primary);
}

.text-white {
    color: white;
}

.text-green-600 {
    color: #16a34a;
}

.text-red-600 {
    color: #dc2626;
}

.text-indigo-600 {
    color: #4f46e5;
}

.bg-white {
    background-color: white;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-indigo-600 {
    background-color: #4f46e5;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-indigo-50 {
    background-color: #eef2ff;
}

.bg-green-600 {
    background-color: #16a34a;
}

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

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

.border-t {
    border-top: 1px solid var(--border-color);
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-800 {
    border-color: #1f2937;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-90 {
    opacity: 0.9;
}

.opacity-95 {
    opacity: 0.95;
}

.transition-colors {
    transition-property: color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.hover\:text-white:hover {
    color: white;
}

.hover\:text-gray-900:hover {
    color: var(--fg-primary);
}

.hover\:text-indigo-700:hover {
    color: #4338ca;
}

.hover\:opacity-100:hover {
    opacity: 1;
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.hover\:bg-indigo-700:hover {
    background-color: #4338ca;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:flex-row {
        flex-direction: row;
    }

    .hidden {
        display: none;
    }
}

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

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:text-5xl {
        font-size: 3rem;
    }

    .md\:text-6xl {
        font-size: 3.75rem;
    }

    .md\:mt-0 {
        margin-top: 0;
    }

    .md\:gap-12 {
        gap: 3rem;
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lg\:py-32 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .lg\:text-7xl {
        font-size: 4.5rem;
    }

    .lg\:block {
        display: block;
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

@media (min-width: 1024px) {
    .lg\:gap-12 {
        gap: 3rem;
    }

    .lg\:mb-12 {
        margin-bottom: 3rem;
    }
}

/* Sticky header adjustment */
@media (max-width: 768px) {
    header nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hidden.md\:flex {
        display: none;
    }
}

/* Focus states for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header,
    footer {
        display: none;
    }
}
