@import 'tailwindcss'; @import 'fumadocs-ui/css/ocean.css'; @import 'fumadocs-ui/css/preset.css'; /* ===== Landing Page Styles ===== */ .landing { --landing-max: 1200px; --landing-accent: #3b82f6; --landing-accent-dark: #2563eb; color: var(--color-fd-foreground); background: var(--color-fd-background); } /* Navbar */ .landing-nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--color-fd-background) 80%, transparent); border-bottom: 1px solid var(--color-fd-border); } .landing-nav-inner { max-width: var(--landing-max); margin: 0 auto; padding: 0.875rem 1.5rem; display: flex; align-items: center; justify-content: space-between; } .landing-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.125rem; color: var(--color-fd-foreground); text-decoration: none; } .landing-nav-links { display: flex; align-items: center; gap: 1.5rem; } .landing-nav-links a { color: var(--color-fd-muted-foreground); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.15s; } .landing-nav-links a:hover { color: var(--color-fd-foreground); } .landing-lang-switch { padding: 0.25rem 0.75rem; border: 1px solid var(--color-fd-border); border-radius: 6px; font-size: 0.75rem !important; } /* Hero */ .landing-hero { max-width: var(--landing-max); margin: 0 auto; padding: 5rem 1.5rem 3rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3rem; } .landing-hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; } .landing-gradient { background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .landing-hero-sub { max-width: 600px; margin: 1.25rem auto 0; font-size: 1.125rem; line-height: 1.6; color: var(--color-fd-muted-foreground); } .landing-hero-cta { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; } .landing-btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; background: var(--landing-accent); color: #fff; border-radius: 8px; font-weight: 600; font-size: 0.9375rem; text-decoration: none; transition: background 0.15s, transform 0.1s; } .landing-btn-primary:hover { background: var(--landing-accent-dark); transform: translateY(-1px); } .landing-btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border: 1px solid var(--color-fd-border); color: var(--color-fd-foreground); border-radius: 8px; font-weight: 600; font-size: 0.9375rem; text-decoration: none; transition: border-color 0.15s, background 0.15s; } .landing-btn-secondary:hover { background: var(--color-fd-accent); border-color: var(--color-fd-muted-foreground); } .landing-hero-image { width: 100%; max-width: 1000px; } .landing-hero-image img { width: 100%; border-radius: 12px; border: 1px solid var(--color-fd-border); box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.3); } /* Stats */ .landing-stats { max-width: var(--landing-max); margin: 0 auto; padding: 3rem 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } .landing-stat { text-align: center; padding: 1.5rem; border-radius: 12px; background: var(--color-fd-card); border: 1px solid var(--color-fd-border); } .landing-stat-value { font-size: 1.75rem; font-weight: 800; color: var(--landing-accent); } .landing-stat-label { margin-top: 0.25rem; font-size: 0.875rem; color: var(--color-fd-muted-foreground); } /* Sections */ .landing-section { max-width: var(--landing-max); margin: 0 auto; padding: 4rem 1.5rem; } .landing-section-title { font-size: 2rem; font-weight: 700; text-align: center; letter-spacing: -0.02em; } .landing-section-sub { text-align: center; color: var(--color-fd-muted-foreground); margin-top: 0.5rem; font-size: 1rem; } /* Feature Cards */ .landing-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; } .landing-feature-card { padding: 1.5rem; border-radius: 12px; border: 1px solid var(--color-fd-border); background: var(--color-fd-card); text-decoration: none; color: var(--color-fd-foreground); transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s; } .landing-feature-card:hover { border-color: var(--landing-accent); box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1); transform: translateY(-2px); } .landing-feature-icon { display: inline-flex; padding: 0.5rem; border-radius: 8px; background: color-mix(in srgb, var(--landing-accent) 12%, transparent); color: var(--landing-accent); margin-bottom: 0.75rem; } .landing-feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.375rem; } .landing-feature-card p { font-size: 0.8125rem; line-height: 1.5; color: var(--color-fd-muted-foreground); } /* Database Badges */ .landing-db-grid { display: flex; flex-wrap: wrap; gap: 0.625rem; justify-content: center; margin-top: 2rem; max-width: 800px; margin-left: auto; margin-right: auto; } .landing-db-badge { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.5rem 0.875rem; border-radius: 999px; border: 1px solid var(--color-fd-border); font-size: 0.8125rem; font-weight: 500; color: var(--color-fd-muted-foreground); background: var(--color-fd-card); transition: border-color 0.15s; } .landing-db-badge:hover { border-color: var(--landing-accent); color: var(--color-fd-foreground); } .landing-db-more { border-style: dashed; } /* Comparison Table */ .landing-comparison { margin-top: 2rem; overflow-x: auto; } .landing-comparison table { width: 100%; border-collapse: collapse; font-size: 0.875rem; } .landing-comparison th, .landing-comparison td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-fd-border); } .landing-comparison th { font-weight: 600; color: var(--color-fd-muted-foreground); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; } .landing-comparison td:first-child { font-weight: 500; } .landing-highlight-col { background: color-mix(in srgb, var(--landing-accent) 6%, transparent); color: var(--landing-accent) !important; font-weight: 600 !important; } /* Screenshots */ .landing-screenshots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } .landing-screenshot-item img { width: 100%; border-radius: 10px; border: 1px solid var(--color-fd-border); transition: transform 0.2s; } .landing-screenshot-item img:hover { transform: scale(1.02); } /* Footer CTA */ .landing-footer-cta { text-align: center; padding: 5rem 1.5rem; margin: 2rem auto; max-width: var(--landing-max); border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--landing-accent) 8%, transparent), color-mix(in srgb, #8b5cf6 8%, transparent)); border: 1px solid var(--color-fd-border); } .landing-footer-cta h2 { font-size: 2rem; font-weight: 700; } .landing-footer-cta p { color: var(--color-fd-muted-foreground); margin-top: 0.5rem; } /* Footer */ .landing-footer { border-top: 1px solid var(--color-fd-border); padding: 1.5rem; } .landing-footer-inner { max-width: var(--landing-max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; } .landing-footer-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.875rem; } .landing-footer-links { display: flex; gap: 1.5rem; } .landing-footer-links a { color: var(--color-fd-muted-foreground); text-decoration: none; font-size: 0.8125rem; transition: color 0.15s; } .landing-footer-links a:hover { color: var(--color-fd-foreground); } /* Responsive */ @media (max-width: 768px) { .landing-hero-title { font-size: 2.25rem; } .landing-stats { grid-template-columns: repeat(2, 1fr); } .landing-features-grid { grid-template-columns: 1fr; } .landing-screenshots { grid-template-columns: 1fr; } .landing-comparison { font-size: 0.8125rem; } } @media (min-width: 769px) and (max-width: 1024px) { .landing-features-grid { grid-template-columns: repeat(2, 1fr); } }