:root {
    --primary-color: #3662FF;
    --primary-gradient: linear-gradient(135deg, #3662FF 0%, #2b4fd5 100%);
    --secondary-color: #00E676;
    --secondary-gradient: linear-gradient(135deg, #00E676 0%, #02c666 100%);
    --dark-bg: #121212;
    --dark-gradient: linear-gradient(135deg, #1E1E24 0%, #121212 100%);
    --light-bg: #ffffff;
    --text-color: #1A1A1A;
    --light-text: #f9f9f9;
    --accent-color: #FF3366;
    --accent-gradient: linear-gradient(135deg, #FF3366 0%, #e62e5c 100%);
    --code-bg: #f0f4f9;
    --code-keyword: #FF3366;
    --code-string: #00E676;
    --code-comment: #6c757d;
    --code-type: #9c27b0;
    --code-function: #FF9900;
    --terminal-bg: #252A37;
    --terminal-text: #e9ecef;
    --include-color: #3662FF;
    --build-color: #00E676;
    --gutter-sm: 1rem;
    --gutter-md: 2rem;
    --gutter-lg: 3rem;
    --border-radius: 8px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    --font-sans: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

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

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SF-Pro-Display-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/SF-Pro-Display-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, var(--include-color), var(--build-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--secondary-color);
    transform: translateY(-1px);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--gutter-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover:before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--light-text);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--light-text);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Header and Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.98));
    box-shadow: 0 4px 30px rgba(0, 118, 255, 0.1);
    padding: 0.8rem 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
    position: relative;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 245, 255, 0.9));
    box-shadow: var(--shadow-sm);
    transform-origin: left center;
}

.logo a:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.logo .include {
    color: var(--primary-color);
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 118, 255, 0.2);
}

.logo .build {
    color: var(--secondary-color);
    position: relative;
    text-shadow: 0 1px 2px rgba(92, 184, 92, 0.2);
}

.logo a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0.6rem;
    right: 0.6rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 4px;
    opacity: 0.8;
}

.logo a:hover:after {
    transform: scaleX(0); /* Keep it hidden even on hover */
}

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

.nav-links a {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 4px;
    opacity: 0.8;
}

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

.nav-links a:hover:after {
    transform: scaleX(1);
}

.github-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #2b4fd5, #3662FF); 
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius);
    transform: translateY(0);
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(54, 98, 255, 0.2) !important;
}

.github-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(54, 98, 255, 0.3) !important;
    background: linear-gradient(135deg, #3662FF, #4b82ff); 
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Add an animated highlight to active nav link */
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active:after {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Add a subtle glow effect to the header on scroll */
@keyframes headerGlow {
    0% { box-shadow: 0 4px 20px rgba(0, 118, 255, 0.0); }
    50% { box-shadow: 0 4px 25px rgba(0, 118, 255, 0.15); }
    100% { box-shadow: 0 4px 20px rgba(0, 118, 255, 0.0); }
}

nav.scrolled {
    animation: headerGlow 5s infinite;
}

/* Hero section */
.hero {
    padding: 10rem 0 6rem;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/grid-pattern.svg');
    opacity: 0.04;
    pointer-events: none;
}

.hero:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 90% 5%, rgba(54, 98, 255, 0.15), transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(0, 230, 118, 0.1), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    position: relative;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    position: relative;
}

.hero h1:before {
    content: '< >';
    position: absolute;
    top: -1.5rem;
    left: 0;
    font-size: 1.2rem;
    font-family: var(--font-mono);
    font-weight: 400;
    color: var(--accent-color);
    opacity: 0.6;
}

.code-block {
    background-color: var(--code-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 1.3rem;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    transform: perspective(1000px) rotateX(0deg);
    backdrop-filter: blur(10px);
}

.code-block:hover {
    box-shadow: var(--shadow-md);
    transform: perspective(1000px) rotateX(2deg);
}

.code-block:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 30px;
    background: linear-gradient(135deg, transparent, var(--code-bg) 40%);
    border-bottom-left-radius: 20px;
    z-index: 2;
}

.code-block pre {
    margin: 0;
    position: relative;
    z-index: 1;
}

.code-block code {
    display: block;
}

.keyword {
    color: var(--code-keyword);
    font-weight: 700;
}

.string {
    color: var(--code-string);
    font-weight: 500;
}

.comment {
    color: var(--code-comment);
    font-style: italic;
}

.type {
    color: var(--code-type);
    font-weight: 500;
}

.function {
    color: var(--code-function);
    font-weight: 700;
}

.tagline {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    z-index: 1;
}

.tagline:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background-color: rgba(0, 230, 118, 0.2);
    bottom: 2px;
    left: 0;
    z-index: -1;
    transform: skew(-15deg);
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
}

/* Terminal styling */
.terminal {
    flex: 1;
    background-color: var(--terminal-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 550px;
    perspective: 1000px;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.terminal:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) translateY(-10px);
    box-shadow: var(--shadow-lg), 
                0 0 20px rgba(54, 98, 255, 0.1),
                0 0 60px rgba(54, 98, 255, 0.05);
}

.terminal:after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.2;
    z-index: -1;
}

.terminal:before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    z-index: -1;
}

.terminal-header {
    background-color: #1c1f26;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.terminal-button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.terminal-button:hover {
    transform: scale(1.1);
}

.close {
    background: var(--accent-gradient);
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.4);
}

.minimize {
    background: linear-gradient(135deg, #FFD60A 0%, #FFC20A 100%);
    box-shadow: 0 0 10px rgba(255, 214, 10, 0.4);
}

.maximize {
    background: var(--secondary-gradient);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

.terminal-title {
    color: var(--terminal-text);
    font-size: 13px;
    margin-left: 10px;
    font-family: var(--font-mono);
    opacity: 0.8;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.terminal-content {
    padding: 1.2rem;
    font-family: var(--font-mono);
    color: var(--terminal-text);
    font-size: 0.95rem;
    line-height: 1.7;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 20%);
}

.terminal-line {
    display: block;
    margin-bottom: 0.6rem;
    position: relative;
    overflow: hidden;
}

.prompt {
    color: var(--secondary-color);
    margin-right: 10px;
    font-weight: bold;
}

.build-output {
    color: #5CB8FF;
    position: relative;
}

.build-success {
    color: var(--secondary-color);
    font-weight: bold;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background-color: var(--secondary-color);
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Features section */
#features {
    padding: 8rem 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

#features:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
                transparent, 
                rgba(54, 98, 255, 0.1) 20%, 
                rgba(54, 98, 255, 0.3) 50%, 
                rgba(54, 98, 255, 0.1) 80%, 
                transparent);
}

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

.feature {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent 30%, rgba(0, 0, 0, 0.02));
    z-index: -1;
    border-bottom-left-radius: 50px;
}

.feature:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.1);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 16px;
    margin-bottom: 1.8rem;
    color: white;
    position: relative;
    box-shadow: 0 8px 15px rgba(54, 98, 255, 0.2);
    transform: rotate(-5deg);
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: rotate(0deg) scale(1.1);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature h3 {
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.feature h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.feature:hover h3:after {
    width: 100%;
}

.feature p {
    margin-bottom: 0;
    color: #666;
    font-size: 1.05rem;
}

/* Dark sections */
.dark-section {
    background-color: var(--light-bg);
    color: var(--text-color);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.dark-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/grid-pattern.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.dark-section:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.03), transparent);
    pointer-events: none;
    z-index: 0;
}

.dark-section a:not(.btn) {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.dark-section a:not(.btn):hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Get started section */
.code-example {
    background-color: var(--terminal-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-tabs {
    display: flex;
    background-color: #1c1f26;
    border-bottom: 1px solid #3e4451;
}

.code-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--terminal-text);
    cursor: pointer;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.code-tab:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.code-tab:hover:after {
    width: 40%;
}

.code-tab.active {
    background-color: var(--terminal-bg);
    color: white;
    font-weight: 600;
}

.code-tab.active:after {
    width: 80%;
}

.code-content {
    padding: 1.5rem;
    font-family: var(--font-mono);
    color: var(--terminal-text);
    font-size: 0.95rem;
    overflow-x: auto;
    position: relative;
}

.code-pane {
    display: none;
    transition: all 0.5s ease;
    opacity: 0;
}

.code-pane.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.command {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Examples section */
#examples {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

#examples:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.07) 50%, transparent);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.example-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 1;
    overflow: hidden;
}

.example-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, transparent, rgba(54, 98, 255, 0.02) 40%);
    z-index: -1;
}

.example-card:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.example-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.1);
}

.example-card:hover:after {
    transform: scaleX(1);
}

.example-card h3 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.example-card p {
    margin-bottom: 1.8rem;
    color: #666;
}

.example-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

.example-link:after {
    content: '→';
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.example-link:hover {
    color: var(--secondary-color);
}

.example-link:hover:after {
    transform: translateX(4px);
}

/* Comparison section */
#comparison {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-top: 1px solid rgba(54, 98, 255, 0.1);
    border-bottom: 1px solid rgba(54, 98, 255, 0.1);
}

#comparison h2 {
    position: relative;
}

#comparison h2:after {
    background: var(--accent-gradient);
    width: 80px;
}

.comparison-table {
    margin-top: 4rem;
    overflow-x: auto;
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.comparison-table::-webkit-scrollbar {
    height: 8px;
}

.comparison-table::-webkit-scrollbar-track {
    background: rgba(54, 98, 255, 0.05);
    border-radius: 4px;
}

.comparison-table::-webkit-scrollbar-thumb {
    background: rgba(54, 98, 255, 0.2);
    border-radius: 4px;
}

.comparison-table::-webkit-scrollbar-thumb:hover {
    background: rgba(54, 98, 255, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: white;
}

th, td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

thead th {
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

thead th:first-child {
    border-top-left-radius: var(--border-radius);
}

thead th:last-child {
    border-top-right-radius: var(--border-radius);
}

tbody tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background-color: rgba(54, 98, 255, 0.03);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(54, 98, 255, 0.1);
    z-index: 2;
    position: relative;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:nth-child(odd) {
    background-color: rgba(54, 98, 255, 0.02);
}

tbody td:first-child {
    font-weight: 600;
    color: var(--text-color);
}

.good {
    color: var(--secondary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.good:before {
    content: ''; 
    display: inline-block;
    width: 6px;
    height: 24px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    position: absolute;
    left: -15px;
    opacity: 0.5;
}

.medium {
    color: #FFC107;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.medium:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background-color: #FFC107;
    border-radius: 3px;
    position: absolute;
    left: -15px;
    opacity: 0.5;
}

.bad {
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.bad:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background-color: var(--accent-color);
    border-radius: 3px;
    position: absolute;
    left: -15px;
    opacity: 0.5;
}

.comparison-quote {
    margin-top: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(54, 98, 255, 0.1);
}

blockquote {
    font-size: 1.8rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 3rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.6;
    color: var(--text-color);
}

blockquote:before, blockquote:after {
    content: '"';
    position: absolute;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(54, 98, 255, 0.1);
    line-height: 1;
}

blockquote:before {
    left: 0;
    top: 0;
}

blockquote:after {
    right: 0;
    bottom: -30px;
    transform: rotate(180deg);
}

/* Documentation section */
#docs {
    padding: 8rem 0;
    position: relative;
}

.docs-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.docs-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 1;
}

.docs-card:before {
    content: '';
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='%233662FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.08;
    transition: all 0.5s ease;
    transform: rotate(-15deg);
}

.docs-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-md);
}

.docs-card:hover:before {
    opacity: 0.15;
    transform: rotate(0deg) scale(1.2);
}

.docs-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.docs-card h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.docs-card:hover h3:after {
    width: 100%;
}

.docs-card p {
    margin-bottom: 0;
    color: #666;
    font-size: 1.05rem;
}

/* Community section */
#community {
    position: relative;
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.community-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.community-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    z-index: -1;
}

.community-link svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.community-link span {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.01em;
}

.community-link:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.15);
}

.community-link:hover svg {
    transform: scale(1.2);
}

.github:hover {
    color: #fff;
    background-color: rgba(33, 33, 33, 0.2);
}

.twitter:hover {
    color: #1DA1F2;
    background-color: rgba(29, 161, 242, 0.1);
}

.discord:hover {
    color: #7289da;
    background-color: rgba(114, 137, 218, 0.1);
}

/* Footer */
footer {
    background: var(--light-bg);
    color: var(--text-color);
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0.8;
}

footer .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    gap: 3rem;
}

.footer-logo a {
    display: inline-block;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    position: relative;
    text-decoration: none;
}

.footer-logo a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: rgba(54, 98, 255, 0.15);
    bottom: 3px;
    left: 0;
    z-index: 0;
    transform: skew(-15deg);
}

.footer-logo .include {
    color: var(--primary-color);
    position: relative;
}

.footer-logo .build {
    color: var(--secondary-color);
    position: relative;
}

.footer-tagline {
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    max-width: 300px;
}

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

.footer-column h4 {
    margin-bottom: 1.2rem;
    color: var(--text-color);
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
}

.footer-column a {
    color: var(--secondary-text);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-column a:before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.footer-column a:hover {
    color: var(--primary-color);
    padding-left: 18px;
}

.footer-column a:hover:before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    grid-column: 1 / -1;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
    text-align: center;
    background: linear-gradient(90deg, transparent, rgba(54, 98, 255, 0.05), transparent);
    border-radius: 5px;
}

.footer-bottom p {
    margin-bottom: 0;
    color: var(--secondary-text);
    font-size: 0.9rem;
    position: relative;
    display: inline-block;
}

.footer-bottom p:before,
.footer-bottom p:after {
    content: '•';
    color: var(--secondary-color);
    margin: 0 0.75rem;
    position: relative;
    top: -1px;
    opacity: 0.8;
}

/* Responsive styles adjustment for footer */
@media (max-width: 768px) {
    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-tagline {
        max-width: 100%;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-column h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column a:before {
        display: none;
    }
    
    .footer-column a:hover {
        padding-left: 0;
        color: var(--primary-color);
    }
}

@media (max-width: 576px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive styles */
@media (max-width: 1280px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 14px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content,
    .terminal {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .features-grid,
    .examples-grid,
    .docs-cards {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .features-grid,
    .examples-grid,
    .docs-cards {
        grid-template-columns: 1fr;
    }
    
    .community-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 3rem;
    }
    
    .terminal {
        transform: none !important;
    }
    
    .terminal:hover {
        transform: translateY(-10px) !important;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 var(--gutter-sm);
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .feature, 
    .example-card, 
    .docs-card {
        padding: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Mobile navigation */
nav.mobile-active {
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    z-index: 100;
    transform: translateY(0);
    animation: slideDown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-links.active a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    text-align: center;
}

.nav-links.active a:last-child {
    border-bottom: none;
}

.nav-links.active .github-link {
    margin-top: 1rem;
    justify-content: center;
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Add a hover effect to the mobile toggle */
.mobile-nav-toggle:hover span {
    background-color: var(--primary-color);
}

/* Examples Page Specific Styles */
.examples-hero {
    background-color: var(--light-bg);
    color: var(--text-color);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.examples-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/grid-pattern.svg');
    background-size: cover;
    opacity: 0.04;
    z-index: 0;
}

.examples-hero:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 90% 5%, rgba(54, 98, 255, 0.15), transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(0, 230, 118, 0.1), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

#examples-showcase {
    padding: 5rem 0;
    position: relative;
}

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

.example-details {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.example-tag {
    background: rgba(54, 98, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.code-snippet {
    background: var(--terminal-bg);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
    max-height: 220px;
    overflow-y: auto;
}

.code-snippet::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-snippet::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.code-snippet::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.code-snippet::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.code-snippet pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.code-snippet code {
    color: var(--terminal-text);
}

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

.suggestion-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.suggestion-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-color);
    opacity: 0.6;
    z-index: 1;
}

.suggestion-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.2);
}

.suggestion-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.suggestion-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.cta-section {
    text-align: center;
    padding: 7rem 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 1;
}

.cta-section:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: radial-gradient(ellipse at bottom, rgba(54, 98, 255, 0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    z-index: 2;
    color: var(--text-color);
}

.cta-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.cta-section p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    color: var(--secondary-text);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

/* Community links in CTA section */
.cta-section .community-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.cta-section .community-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 160px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cta-section .community-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.01), transparent);
    z-index: -1;
}

.cta-section .community-link svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    color: var(--primary-color);
}

.cta-section .community-link span {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: var(--text-color);
}

.cta-section .community-link:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.2);
}

.cta-section .community-link:hover svg {
    transform: scale(1.2);
}

.cta-section .github:hover {
    background-color: rgba(33, 33, 33, 0.03);
}

.cta-section .twitter:hover {
    color: #1DA1F2;
    background-color: rgba(29, 161, 242, 0.05);
}

.cta-section .discord:hover {
    color: #7289da;
    background-color: rgba(114, 137, 218, 0.05);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-section h2 {
        font-size: 2.5rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-section .community-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-section .community-link {
        width: 80%;
        flex-direction: row;
        justify-content: center;
        padding: 1rem;
    }
}

/* Media queries for examples page */
@media (max-width: 1024px) {
    .large-grid {
        grid-template-columns: 1fr;
    }
    
    .suggestions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .suggestions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .examples-hero {
        padding: 7rem 0 3rem;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.2);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.3);
}

.guide-item .faq-question {
    padding: 1.5rem;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guide-item .faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    flex: 1;
    padding-right: 1rem;
}

.guide-item .faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.guide-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* Responsive styles for guide page */
@media (max-width: 768px) {
    .guide-categories {
        flex-direction: column;
        align-items: stretch;
    }
    
    .guide-categories a {
        text-align: center;
    }
}

#modify-examples {
    padding: 4rem 0;
    position: relative;
    background-color: white;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#modify-examples h2 {
    position: relative;
    margin-bottom: 1rem;
    display: inline-block;
}

#modify-examples h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40%;
    height: 3px;
    background: var(--secondary-gradient);
    border-radius: 2px;
    opacity: 0.7;
}

.github-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), #4b82ff);
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(54, 98, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    text-decoration: none;
}

.github-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.github-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(54, 98, 255, 0.3);
    background: linear-gradient(135deg, #4b82ff, var(--primary-color));
    color: white;
}

.github-cta:hover:before {
    transform: translateX(100%);
}

.github-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.github-cta:hover svg {
    transform: scale(1.2);
}

/* FAQ and Collapsible Card Styling */
.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background-color: white;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.2);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.3);
}

.faq-question {
    padding: 1.5rem;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-toggle:before, .faq-toggle:after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-toggle:before {
    top: 11px;
    left: 0;
    width: 24px;
    height: 2px;
}

.faq-toggle:after {
    top: 0;
    left: 11px;
    width: 2px;
    height: 24px;
}

.faq-item.active .faq-toggle:after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.faq-answer ul, .faq-answer ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-answer ul {
    list-style-type: disc;
}

.faq-answer ol {
    list-style-type: decimal;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer code {
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

/* Media queries for FAQ page */
@media (max-width: 768px) {
    .faq-categories {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faq-category {
        text-align: center;
    }
    
    .faq-category.active:after {
        bottom: -0.5rem;
    }
}

/* API Reference Page Styles */
.api-function-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background-color: #fff;
}

.api-function-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.2);
}

.api-function-item.active {
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.3);
}

.api-function-item .faq-question {
    padding: 1.5rem;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.api-function-item.active .faq-question {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.api-function-item .faq-question:hover {
    background-color: rgba(0, 118, 255, 0.02);
}

.api-function-item .faq-question h3 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-color);
}

.api-function-item .api-brief {
    margin: 0.5rem 0 0;
    color: var(--secondary-text);
    font-size: 0.95rem;
    line-height: 1.4;
    padding-right: 2.5rem;
}

.api-function-item .faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.api-function-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 2000px;
}

.api-function-item .faq-toggle {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Guide styles */
.guide-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.guide-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.2);
}

.guide-item.active {
    box-shadow: var(--shadow-md);
    border-color: rgba(54, 98, 255, 0.3);
}

.guide-section {
    display: none;
}

.guide-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.guide-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

/* FAQ Categories and Tabs */
.faq-categories, .api-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.faq-category, .api-categories a {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background-color: rgba(54, 98, 255, 0.05);
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.faq-category:hover, .api-categories a:hover {
    background-color: rgba(54, 98, 255, 0.1);
    transform: translateY(-2px);
}

.faq-category.active, .api-categories a.active {
    background-color: var(--primary-color);
    color: white;
}

.faq-category.active:after, .api-categories a.active:after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary-color);
}

.faq-hero, .api-hero, .examples-hero {
    background-color: var(--light-bg);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.faq-hero:before, .api-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/grid-pattern.svg');
    opacity: 0.05;
    pointer-events: none;
}

#faq-content, #api-content {
    padding: 4rem 0;
}

/* Add after the .api-function-item .faq-toggle styles */
.api-function-item .faq-toggle:before,
.api-function-item .faq-toggle:after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.api-function-item .faq-toggle:before {
    top: 11px;
    left: 0;
    width: 24px;
    height: 2px;
}

.api-function-item .faq-toggle:after {
    top: 0;
    left: 11px;
    width: 2px;
    height: 24px;
}

.api-function-item.active .faq-toggle:after {
    transform: rotate(90deg);
    opacity: 0;
}

/* Function signature and API docs */
.function-signature {
    font-family: var(--font-mono);
    background-color: var(--code-bg);
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius);
    margin: 0 0 1.5rem 0;
    border-left: 3px solid var(--primary-color);
    overflow-x: auto;
}

.function-signature code {
    font-weight: 600;
    color: var(--primary-color);
}

.api-params h4, .api-returns h4, .api-example h4 {
    font-size: 1rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--secondary-text);
}

.api-params ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.api-params li code, .api-returns p code {
    font-family: var(--font-mono);
    background-color: rgba(0, 118, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.api-example pre {
    margin: 0.5rem 0 0;
    padding: 1rem;
    background-color: var(--code-bg);
    border-radius: var(--border-radius);
    overflow-x: auto;
}

.api-toc {
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(240, 244, 249, 0.7);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(54, 98, 255, 0.1);
}

.api-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    margin-top: 1.5rem;
}

.api-toc li {
    position: relative;
}

.api-toc a {
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding-left: 0;
}

.api-toc a:before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.api-toc a:hover {
    padding-left: 18px;
}

.api-toc a:hover:before {
    opacity: 1;
    transform: translateX(0);
}

/* Guide Items and Sections */
.guide-item .faq-question {
    padding: 1.5rem;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guide-item .faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    flex: 1;
    padding-right: 1rem;
}

.guide-item .faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.guide-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* User Guide styling */
.guide-hero {
    background-color: var(--light-bg);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.guide-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/grid-pattern.svg');
    opacity: 0.05;
    pointer-events: none;
}

#guide-content {
    padding: 4rem 0;
}

.guide-container {
    margin-bottom: 4rem;
}

/* Guide section categories and navigation */
.guide-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.guide-categories a {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background-color: rgba(54, 98, 255, 0.05);
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.guide-categories a:hover {
    background-color: rgba(54, 98, 255, 0.1);
    transform: translateY(-2px);
}

.guide-categories a.active {
    background-color: var(--primary-color);
    color: white;
}

.guide-categories a.active:after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary-color);
}

/* Code snippet and documentation styling */
.code-snippet {
    background-color: var(--code-bg);
    border-radius: 6px;
    margin: 1rem 0;
    overflow: hidden;
}

.code-snippet pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
}

.code-snippet code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--code-text);
}

.code-snippet .keyword {
    color: #c678dd;
}

.code-snippet .string {
    color: #98c379;
}

.code-snippet .comment {
    color: #7f848e;
    font-style: italic;
}

.code-snippet .type {
    color: #e5c07b;
}

.code-snippet .function {
    color: #61afef;
}

.code-snippet .command {
    color: #56b6c2;
}

/* Responsive adjustments for code snippets */
@media (max-width: 768px) {
    .code-snippet pre {
        padding: 0.75rem;
    }
    
    .code-snippet code {
        font-size: 0.8rem;
    }
}

/* Add styles for FAQ and API sections to match guide behavior */
.faq-section, .api-section {
    display: none;
}

.faq-section.active, .api-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* GitHub link should not have underline on hover */
.nav-links .github-link:after {
    display: none;
}

/* Add an animated highlight to active nav link */
.nav-links a.active {
    color: var(--primary-color);
}

.indicator {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-right: 4px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    position: relative;
    top: 1px;
}

.good .indicator {
    color: var(--secondary-color);
}

.medium .indicator {
    color: #FFC107;
}

.bad .indicator {
    color: var(--accent-color);
}