/* Base styles */
:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo i {
    color: var(--primary);
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 768px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Features Section */
.features {
    background: var(--bg-white);
    padding: 4rem 2rem;
}

.features h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

.features-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: box-shadow 0.3s;
}

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

.feature-card i {
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Providers Section */
.providers {
    padding: 4rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.providers h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
}

.providers .subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin: 1rem 0 3rem;
}

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

.provider-card {
    background: var(--bg-white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 2rem;
    background: var(--bg-white);
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: var(--text-secondary);
}

.price {
    margin-top: 1rem;
}

.price .amount {
    font-size: 2.25rem;
    font-weight: 800;
}

.price .period {
    color: var(--text-secondary);
}

.card-features {
    padding: 2rem;
    background: var(--bg-gray);
}

.card-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

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

.card-features i {
    color: #10b981;
}

button {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background: var(--primary-hover);
}

/* Custom Text Section */
.custom-text {
    background: var(--bg-white);
    padding: 4rem 2rem;
}

.custom-text h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.text-content {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.text-content p {
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: var(--bg-white);
    border-top: 1px solid #e5e7eb;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: auto;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .providers-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}