:root {
    --primary: #4F46E5;
    /* Indigo 600 */
    --primary-hover: #4338CA;
    --secondary: #10B981;
    /* Emerald 500 */
    --dark: #111827;
    /* Gray 900 */
    --light: #F9FAFB;
    /* Gray 50 */
    --text-main: #374151;
    /* Gray 700 */
    --text-muted: #6B7280;
    /* Gray 500 */
    --white: #ffffff;
    --border: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 16px;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.2s;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 99px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

/* Pricing Header */
.pricing-header {
    text-align: center;
    padding: 80px 0 60px;
}

.pricing-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.1;
}

.pricing-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Toggle */
.pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 99px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.toggle-label {
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.discount-badge {
    background: #DCFCE7;
    color: #166534;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 99px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    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(--text-muted);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Cards */
.pricing-cards {
    padding-bottom: 80px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    align-items: start;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 10;
}

.card.popular:hover {
    transform: scale(1.02) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 99px;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3);
}

.card-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: var(--dark);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    top: -10px;
    position: relative;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 4px;
}

.features {
    list-style: none;
    margin-bottom: 32px;
}

.features li {
    padding: 10px 0;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
}

.features li.highlight {
    color: var(--dark);
    font-weight: 500;
}

.check-icon {
    color: var(--secondary);
    font-weight: bold;
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.4;
}

.btn-card {
    display: block;
    text-align: center;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.btn-card:hover {
    background: var(--border);
}

.btn-card.primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-card.primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

/* Founders Club */
.founders-club {
    padding: 0 0 80px;
}

.founder-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-radius: var(--radius);
    padding: 48px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.founder-content {
    flex: 1;
    z-index: 1;
}

.badge-vip {
    background: #F59E0B;
    color: #451a03;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
}

.founder-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.founder-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 600px;
}

.founder-features {
    list-style: none;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.founder-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.founder-features .check-icon {
    color: #F59E0B;
}

.founder-action {
    z-index: 1;
}

.btn-founder {
    display: inline-block;
    background: #F59E0B;
    color: #451a03;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-founder:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    background: #fbbf24;
}

/* FAQ */
.faq {
    padding-bottom: 80px;
    text-align: center;
}

.faq h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    text-align: left;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 2rem;
    }

    .founder-card {
        flex-direction: column;
        padding: 32px;
        text-align: center;
    }

    .founder-features {
        justify-content: center;
    }
}

/* Features Matrix */
.features-matrix {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    color: var(--dark);
    margin-bottom: 48px;
}

.matrix-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.matrix-section {
    margin-bottom: 0;
}

.category-title {
    background: var(--light);
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    width: 300px;
    position: sticky;
    left: 0;
    background: var(--white);
    border-right: 1px solid var(--border);
    font-weight: 500;
}

.comparison-table thead th {
    background: var(--light);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.value-cell {
    color: var(--text-main);
}

.status-icon {
    font-size: 1.25rem;
    font-weight: bold;
}

.status-icon.success {
    color: var(--secondary);
}

.status-icon.error {
    color: #EF4444;
}

.status-icon.warning {
    color: #F59E0B;
}

.status-icon.locked {
    font-size: 1rem;
}

.loading-state {
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive FAQ adjustment */
@media (max-width: 768px) {

    .comparison-table th,
    .comparison-table td {
        padding: 12px 16px;
        min-width: 120px;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 160px;
    }
}