/* Reset and Base Styles - Updated for deployment test */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-900: #1e3a8a;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --green-500: #10b981;
    --green-600: #059669;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --yellow-500: #f59e0b;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;
    --container-max-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 50;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--gray-900);
}

.logo {
    width: 2rem;
    height: 2rem;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.btn-primary {
    background: var(--blue-600);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--gray-50);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--blue-50) 0%, white 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--blue-600);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Demo Terminal */
.demo-terminal {
    background: var(--gray-900);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 100%;
}

.terminal-header {
    background: var(--gray-800);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.btn-close { background: var(--red-500); }
.btn-minimize { background: var(--yellow-500); }
.btn-maximize { background: var(--green-500); }

.terminal-title {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.terminal-content {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 1rem;
}

.prompt {
    color: var(--green-500);
    font-weight: 600;
}

.command {
    color: var(--blue-100);
    margin-left: 0.5rem;
}

.terminal-output {
    margin: 1rem 0;
}

.alert-problem {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.icon-error {
    color: var(--red-500);
    font-weight: bold;
}

.icon-check {
    color: var(--green-500);
    font-weight: bold;
}

.rule-name {
    color: white;
    font-weight: 600;
    margin-left: 0.5rem;
}

.problem-desc {
    color: var(--gray-300);
    margin: 0.25rem 0;
    padding-left: 1rem;
}

.expert-advice {
    color: var(--yellow-500);
    margin: 0.25rem 0;
    padding-left: 1rem;
}

.quick-fix {
    color: var(--green-500);
    margin: 0.25rem 0;
    padding-left: 1rem;
}

.fix-preview {
    padding-left: 1rem;
}

.fix-summary {
    color: var(--gray-300);
    margin: 0.25rem 0;
    padding-left: 1rem;
}

/* Problem Section */
.problem {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.problem h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.problem-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.problem-stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.problem-stat p {
    font-size: 1.125rem;
    color: var(--gray-700);
}

/* Solution Section */
.solution {
    padding: var(--section-padding);
}

.solution h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.solution-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.solution-demo {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 3rem;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.before, .after {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.before h4, .after h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.before h4 {
    color: var(--red-600);
}

.after h4 {
    color: var(--green-600);
}

.code-block {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.5;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.code-block code {
    background: none;
    padding: 0;
    font-size: inherit;
}

.problems {
    padding: 1rem 0;
}

.problem-item {
    color: var(--red-600);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.improvements {
    padding: 1rem 0;
}

.improvement-item {
    color: var(--green-600);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.features h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.features-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
}

.feature-card.featured {
    border: 2px solid var(--blue-500);
    transform: scale(1.05);
}

.feature-badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-600);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: var(--blue-100);
    color: var(--blue-700);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Use Cases Section */
.use-cases {
    padding: var(--section-padding);
}

.use-cases h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.use-case-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--blue-500);
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.use-case-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.use-case-benefit {
    background: var(--green-50);
    color: var(--green-700);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.pricing h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.pricing-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.5rem;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: 0.4s;
    border-radius: 1.5rem;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 1rem;
    width: 1rem;
    left: 0.25rem;
    bottom: 0.25rem;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle input:checked + .toggle-slider {
    background-color: var(--blue-600);
}

.toggle input:checked + .toggle-slider:before {
    transform: translateX(1.5rem);
}

.founding-label {
    color: var(--green-600);
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--blue-500);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-600);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.pricing-desc {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.pricing-price {
    margin-bottom: 2rem;
    text-align: center;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
}

.regular-price {
    display: none;
}

.founding-price {
    display: inline;
    color: var(--green-600);
}

.price-period {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.savings {
    background: var(--green-100);
    color: var(--green-700);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-check {
    color: var(--green-500);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-cta {
    width: 100%;
    text-align: center;
}

.pricing-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
}

.pricing-note code {
    background: var(--gray-100);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.pricing-faq {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.pricing-faq h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--gray-900);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.faq-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.faq-item p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Quick Start Section */
.quick-start {
    padding: var(--section-padding);
}

.quick-start h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

.quick-start-steps {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--blue-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.quick-start-result {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 1rem;
}

.quick-start-result h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    text-align: center;
}

.result-preview {
    display: grid;
    gap: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.result-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Social Proof Section */
.social-proof {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.social-proof h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.testimonial-content {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.875rem;
}

.testimonial-author strong {
    color: var(--gray-900);
    display: block;
}

.testimonial-author span {
    color: var(--gray-500);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-600);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Final CTA Section */
.final-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.final-cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.final-cta .btn-primary {
    background: white;
    color: var(--blue-600);
}

.final-cta .btn-primary:hover {
    background: var(--gray-100);
}

.final-cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.final-cta .btn-secondary:hover {
    background: white;
    color: var(--blue-600);
}

.final-cta-guarantees {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.guarantee-icon {
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-brand p {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: white;
}

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .before-after {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .final-cta-guarantees {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Pricing Toggle Logic */
body.regular-pricing .founding-price {
    display: none;
}

body.regular-pricing .regular-price {
    display: inline;
}

body.regular-pricing .founding-only {
    display: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
