:root {
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-accent: #fef3c7;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 48px -12px rgba(0, 0, 0, 0.18);
    --shadow-color: 0 8px 32px -4px rgba(99, 102, 241, 0.2);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --gradient-accent: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn-lg {
    padding: 1.125rem 2.75rem;
    font-size: 1.125rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

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

.lang-toggle {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #e0e7ff 100%);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.lang-toggle:hover {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.4);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:not(.btn-github)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-github):hover::after {
    width: 100%;
}

.nav-links a:not(.btn-github):hover {
    color: var(--primary-color);
}

.nav-links .btn-github {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--text-primary);
    color: white !important;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
}

.nav-links .btn-github:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.3);
    color: white !important;
}

.nav-links .btn-github:hover::after {
    width: 0;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    padding: 10rem 0 8rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-title .gradient-text::after {
    content: ' ';
    white-space: pre;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-subtitle {
    font-size: 1.375rem;
    line-height: 1.5;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2.75rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -10px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 5rem;
    justify-content: center;
    margin-top: 4rem;
    padding: 3rem 4rem;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 0 1.5rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: var(--border-color);
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Section Styles */
.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.375rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-weight: 400;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Comparison Section */
.comparison-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.comparison-card {
    background: white;
    border-radius: 28px;
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid var(--border-light);
}

.comparison-card.after {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.card-header .icon {
    font-size: 3rem;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
}

.comparison-card.after .card-header .icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.card-header h3 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 1.25rem 0;
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.comparison-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.6;
}

.comparison-card.after .comparison-list li::before {
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Section */
.features-section {
    padding: 7rem 0;
    background: white;
}

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

.feature-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1.5px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
    background: white;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.75rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.0625rem;
}

/* Benchmark Section */
.benchmark-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.benchmark-section .section-title {
    color: var(--text-primary);
}

.benchmark-section .section-subtitle {
    color: var(--text-secondary);
}

.benchmark-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 5rem;
    margin-top: 4rem;
    align-items: center;
}

.benchmark-chart {
    position: relative;
}

.benchmark-chart img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.benchmark-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benchmark-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benchmark-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.2);
}

.metric-name {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.metric-comparison {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.metric-cortex {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-vs {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 600;
}

.metric-langmem {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
}

.metric-improvement {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--success-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.metric-improvement::before {
    content: '↗';
    font-size: 1.5rem;
}

.benchmark-note {
    text-align: center;
    margin-top: 3.5rem;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Workflow Section */
.how-it-works-section {
    padding: 6rem 0;
    background: white;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 4rem;
    flex-wrap: wrap;
    position: relative;
}

.workflow-step {
    flex: 1;
    min-width: 220px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.workflow-step:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-12px) scale(1.02);
    z-index: 2;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px -6px rgba(99, 102, 241, 0.5);
}

.step-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.workflow-arrow {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 -1rem;
    z-index: 0;
    opacity: 0.6;
}

/* Screenshots Section */
.screenshots-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.screenshot-hero {
    margin-top: 4rem;
    margin-bottom: 4rem;
    text-align: center;
}

.screenshot-hero img {
    width: 100%;
    max-width: 1000px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease;
}

.screenshot-hero img:hover {
    transform: scale(1.02);
}

.screenshot-caption {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.screenshot-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.screenshot-card img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.screenshot-card:hover img {
    transform: scale(1.03);
}

.screenshot-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.screenshot-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Ecosystem Section */
.ecosystem-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, white 100%);
}

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

.ecosystem-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.ecosystem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.ecosystem-card:hover::before {
    opacity: 0.03;
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.ecosystem-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ecosystem-card:hover .ecosystem-icon {
    transform: scale(1.1) rotate(-5deg);
}

.ecosystem-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    position: relative;
}

.card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 0.3125rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.4);
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.feature-tags li {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #e0e7ff 100%);
    color: var(--primary-color);
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s;
}

.feature-tags li:hover {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    transform: translateY(-2px);
}

/* Use Cases Section */
.use-cases-section {
    padding: 6rem 0;
    background: white;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.use-case-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.use-case-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1);
}

.use-case-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    position: relative;
}

/* Get Started Section */
.get-started-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 4rem;
}

.step-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-xl);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-badge {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 24px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.4);
}

.step-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.code-block {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 2rem;
    border-radius: 16px;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-block code {
    font-size: 0.9375rem;
    line-height: 1.7;
    white-space: pre;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-link-card:hover::before {
    transform: scaleY(1);
}

.quick-link-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.link-icon {
    font-size: 2.75rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-link-card:hover .link-icon {
    transform: scale(1.15) rotate(-5deg);
}

.quick-link-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.quick-link-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.75rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.cta-content p {
    font-size: 1.5rem;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    font-weight: 400;
}

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

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-primary:hover {
    box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.github-stats {
    font-size: 1.125rem;
    opacity: 0.9;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

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

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    color: white;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
    font-size: 0.9375rem;
}

.footer-section a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 5rem;
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 2.5rem;
        padding: 2.5rem 2rem;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-value {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 2.75rem;
    }

    .section-subtitle {
        font-size: 1.125rem;
    }

    .comparison-grid,
    .benchmark-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .workflow-diagram {
        flex-direction: column;
    }

    .workflow-arrow {
        transform: rotate(90deg);
        margin: -0.5rem 0;
    }

    .cta-content h2 {
        font-size: 3rem;
    }

    .cta-content p {
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .features-grid,
    .ecosystem-grid,
    .use-cases-grid,
    .quick-links,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 3rem;
    }

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

    .stat-value {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

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