/* ============================================================ ApolloNvim – style.css Web: apollo-nvim.lukan.cz Design: Dark space / cosmic theme inspired by Dracula ============================================================ */ /* ──────────────────────────────────────────────────────────── 1. CSS CUSTOM PROPERTIES (Design Tokens) ──────────────────────────────────────────────────────────── */ :root { /* Backgrounds */ --bg-primary: #0d0d1a; --bg-secondary: #12122a; --bg-card: #1e1e3a; --bg-nav: rgba(13, 13, 26, 0.95); /* Brand colours */ --purple: #bd93f9; --purple-dark: #9b6fd4; --pink: #ff79c6; --green: #50fa7b; --cyan: #8be9fd; --orange: #ffb86c; --yellow: #f1fa8c; /* Text */ --text: #f8f8f2; --text-muted: #6272a4; --text-secondary: #cdd6f4; /* Accents */ --border: rgba(189, 147, 249, 0.2); --glow: rgba(189, 147, 249, 0.3); /* Spacing */ --nav-height: 70px; --section-pad: 80px 20px; --max-width: 1200px; --radius: 12px; --radius-sm: 8px; /* Transitions */ --transition: all 0.3s ease; --transition-slow: all 0.6s ease; } /* ──────────────────────────────────────────────────────────── 2. RESET & BASE ──────────────────────────────────────────────────────────── */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; } body { background-color: var(--bg-primary); color: var(--text); font-family: "Inter", system-ui, -apple-system, sans-serif; line-height: 1.6; min-height: 100vh; overflow-x: hidden; } img, svg, video { display: block; max-width: 100%; } a { color: var(--purple); text-decoration: none; transition: var(--transition); } a:hover { color: var(--pink); } ul, ol { list-style: none; } button, input, select, textarea { font: inherit; border: none; outline: none; background: transparent; } button { cursor: pointer; } /* ──────────────────────────────────────────────────────────── 3. CUSTOM SCROLLBAR ──────────────────────────────────────────────────────────── */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: var(--bg-secondary); } ::-webkit-scrollbar-thumb { background: var(--purple-dark); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--purple); } /* Firefox */ * { scrollbar-width: thin; scrollbar-color: var(--purple-dark) var(--bg-secondary); } /* ──────────────────────────────────────────────────────────── 4. TYPOGRAPHY ──────────────────────────────────────────────────────────── */ /* Google Fonts import expected in HTML: Inter + JetBrains Mono */ h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; } h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); } h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); } h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); } h4 { font-size: 1.25rem; } h5 { font-size: 1.1rem; } h6 { font-size: 1rem; } .gradient-text { background: linear-gradient(135deg, var(--purple), var(--pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } p { color: var(--text-secondary); max-width: 68ch; } code, kbd, pre, samp { font-family: "JetBrains Mono", "Fira Code", "Cascadia Code", monospace; font-size: 0.9em; } /* ──────────────────────────────────────────────────────────── 5. NAVIGATION ──────────────────────────────────────────────────────────── */ .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); background: var(--bg-nav); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); display: flex; align-items: center; } .navbar__inner { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; } /* Logo */ .navbar__logo { display: flex; align-items: center; gap: 10px; font-family: "JetBrains Mono", monospace; font-size: 1.15rem; font-weight: 700; color: var(--text); white-space: nowrap; text-decoration: none; } .navbar__logo:hover { color: var(--purple); } .navbar__logo-icon { font-size: 1.5rem; line-height: 1; } .navbar__logo-text span { color: var(--purple); } /* Nav links */ .navbar__links { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; } .navbar__link { position: relative; padding: 6px 14px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); border-radius: 6px; white-space: nowrap; transition: var(--transition); } .navbar__link::after { content: ""; position: absolute; bottom: 2px; left: 14px; right: 14px; height: 2px; background: linear-gradient(90deg, var(--purple), var(--pink)); border-radius: 1px; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; } .navbar__link:hover { color: var(--text); } .navbar__link:hover::after, .navbar__link.active::after { transform: scaleX(1); } .navbar__link.active { color: var(--purple); } /* CTA in nav */ .navbar__cta { padding: 8px 20px; background: linear-gradient(135deg, var(--purple), var(--pink)); color: var(--bg-primary) !important; font-weight: 700; border-radius: 8px; transition: var(--transition); } .navbar__cta::after { display: none; } .navbar__cta:hover { opacity: 0.85; transform: translateY(-1px); box-shadow: 0 4px 20px var(--glow); } /* Hamburger */ .navbar__hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; gap: 6px; background: transparent; border: none; cursor: pointer; padding: 4px; border-radius: 6px; transition: var(--transition); } .navbar__hamburger:hover { background: var(--border); } .navbar__hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); transform-origin: center; } /* Hamburger → X */ .navbar__hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .navbar__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); } .navbar__hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } /* Mobile menu */ .navbar__mobile-menu { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--bg-nav); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; flex-direction: column; gap: 4px; z-index: 999; transform: translateY(-8px); opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none; } .navbar__mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); pointer-events: all; } .navbar__mobile-menu .navbar__link { padding: 10px 14px; font-size: 1rem; } /* ──────────────────────────────────────────────────────────── 6. HERO SECTION ──────────────────────────────────────────────────────────── */ .hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-height) + 40px) 20px 80px; overflow: hidden; } /* Particle canvas */ #particles-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; } /* Subtle radial gradient overlay */ .hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient( ellipse 80% 60% at 50% 40%, rgba(189, 147, 249, 0.08) 0%, transparent 70% ), radial-gradient( ellipse 50% 50% at 20% 80%, rgba(255, 121, 198, 0.05) 0%, transparent 60% ); pointer-events: none; z-index: 0; } .hero__content { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; } .hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; background: rgba(189, 147, 249, 0.12); border: 1px solid var(--border); border-radius: 999px; font-size: 0.85rem; font-family: "JetBrains Mono", monospace; color: var(--purple); letter-spacing: 0.03em; } .hero__title { font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; } .hero__title .gradient-text { display: block; } .hero__subtitle { font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--text-secondary); max-width: 56ch; text-align: center; } /* CTA buttons */ .hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; } /* Scroll indicator */ .hero__scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; z-index: 1; } .hero__scroll-arrow { width: 24px; height: 24px; border-right: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(45deg); animation: hero-scroll-bounce 1.8s ease-in-out infinite; opacity: 0.7; } @keyframes hero-scroll-bounce { 0%, 100% { transform: rotate(45deg) translateY(-4px); opacity: 0.4; } 50% { transform: rotate(45deg) translateY(4px); opacity: 0.9; } } /* ──────────────────────────────────────────────────────────── 7. UTILITY BUTTONS ──────────────────────────────────────────────────────────── */ .btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; background: linear-gradient(135deg, var(--purple), var(--pink)); color: #0d0d1a; font-weight: 700; font-size: 0.95rem; border-radius: var(--radius-sm); border: none; cursor: pointer; transition: var(--transition); text-decoration: none; white-space: nowrap; } .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(189, 147, 249, 0.4); opacity: 0.92; color: #0d0d1a; } .btn-primary:active { transform: translateY(-1px); } .btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: transparent; color: var(--text); font-weight: 600; font-size: 0.95rem; border-radius: var(--radius-sm); border: 1px solid var(--border); cursor: pointer; transition: var(--transition); text-decoration: none; white-space: nowrap; } .btn-secondary:hover { border-color: var(--purple); color: var(--purple); background: rgba(189, 147, 249, 0.07); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(189, 147, 249, 0.15); } .btn-secondary:active { transform: translateY(0); } /* Icon buttons */ .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border); color: var(--text-secondary); transition: var(--transition); } .btn-icon:hover { border-color: var(--purple); color: var(--purple); background: rgba(189, 147, 249, 0.07); } /* ──────────────────────────────────────────────────────────── 8. SECTIONS ──────────────────────────────────────────────────────────── */ .section { padding: var(--section-pad); } .section--alt { background: var(--bg-secondary); } .section__inner { max-width: var(--max-width); margin: 0 auto; } /* Section title with gradient underline */ .section-title { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 12px; } .section-title__line { display: block; width: 60px; height: 3px; background: linear-gradient(90deg, var(--purple), var(--pink)); border-radius: 2px; margin-top: 12px; } .section-title--center { text-align: center; } .section-title--center .section-title__line { margin-left: auto; margin-right: auto; } .section__subtitle { font-size: 1.05rem; color: var(--text-secondary); margin-top: 12px; max-width: 60ch; } .section__subtitle--center { text-align: center; margin-left: auto; margin-right: auto; } /* ──────────────────────────────────────────────────────────── 9. CARDS ──────────────────────────────────────────────────────────── */ .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: var(--transition); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); position: relative; overflow: hidden; } .card::before { content: ""; position: absolute; inset: 0; background: linear-gradient( 135deg, rgba(189, 147, 249, 0.04), transparent 60% ); pointer-events: none; border-radius: inherit; } .card:hover { transform: translateY(-4px); border-color: rgba(189, 147, 249, 0.45); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(189, 147, 249, 0.15), 0 0 40px rgba(189, 147, 249, 0.12); } .card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--text); } .card__body { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; } /* ──────────────────────────────────────────────────────────── 10. FEATURE GRID ──────────────────────────────────────────────────────────── */ .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; } .feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; transition: var(--transition); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25); position: relative; overflow: hidden; } .feature-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--purple), var(--pink)); border-radius: var(--radius) var(--radius) 0 0; opacity: 0; transition: opacity 0.3s ease; } .feature-card:hover { transform: translateY(-4px); border-color: rgba(189, 147, 249, 0.4); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 40px rgba(189, 147, 249, 0.1); } .feature-card:hover::before { opacity: 1; } /* Feature icon */ .feature-icon { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient( 135deg, rgba(189, 147, 249, 0.2), rgba(255, 121, 198, 0.1) ); border: 1px solid rgba(189, 147, 249, 0.3); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; } .feature-card__title { font-size: 1.1rem; font-weight: 700; color: var(--text); } .feature-card__body { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; flex: 1; } /* ──────────────────────────────────────────────────────────── 11. CODE / TERMINAL BLOCKS ──────────────────────────────────────────────────────────── */ .terminal-block { background: #0a0a16; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; font-family: "JetBrains Mono", monospace; font-size: 0.875rem; line-height: 1.7; } /* Terminal header bar */ .terminal-block__header { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--border); } .terminal-block__dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; } .terminal-block__dot--red { background: #ff5f57; } .terminal-block__dot--yellow { background: #febc2e; } .terminal-block__dot--green { background: #28c840; } .terminal-block__title { margin-left: 8px; font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.05em; } .terminal-block__body { padding: 20px 24px; overflow-x: auto; } .terminal-block__body::-webkit-scrollbar { height: 4px; } /* Syntax highlighting */ .token-prompt { color: var(--purple); } .token-cmd { color: var(--green); } .token-flag { color: var(--cyan); } .token-string { color: var(--yellow); } .token-comment { color: var(--text-muted); font-style: italic; } .token-keyword { color: var(--pink); } .token-number { color: var(--orange); } .token-output { color: var(--text-secondary); } /* Inline code */ :not(.terminal-block) code { background: rgba(189, 147, 249, 0.12); border: 1px solid rgba(189, 147, 249, 0.2); border-radius: 4px; padding: 2px 7px; font-size: 0.85em; color: var(--purple); } /* ──────────────────────────────────────────────────────────── 12. TABS (CZ / EN language switcher) ──────────────────────────────────────────────────────────── */ .tabs { display: flex; flex-direction: column; gap: 0; } .tabs__nav { display: flex; gap: 0; border-bottom: 1px solid var(--border); overflow-x: auto; } .tabs__nav::-webkit-scrollbar { height: 0; } .tabs__btn { padding: 11px 22px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); background: transparent; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; transition: var(--transition); white-space: nowrap; letter-spacing: 0.02em; } .tabs__btn:hover { color: var(--text); } .tabs__btn.active { color: var(--purple); border-bottom-color: var(--purple); background: rgba(189, 147, 249, 0.05); } .tabs__content { padding-top: 24px; } .tabs__panel { display: none; animation: tabFadeIn 0.3s ease; } .tabs__panel.active { display: block; } @keyframes tabFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } /* ──────────────────────────────────────────────────────────── 13. PLUGIN LIST ──────────────────────────────────────────────────────────── */ .plugin-list { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; } .plugin-item { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: var(--transition); cursor: default; } .plugin-item:hover { background: rgba(189, 147, 249, 0.06); border-color: var(--border); } .plugin-item__icon { font-size: 1.2rem; flex-shrink: 0; width: 28px; text-align: center; } .plugin-item__name { font-family: "JetBrains Mono", monospace; font-size: 0.9rem; font-weight: 600; color: var(--cyan); min-width: 200px; flex-shrink: 0; } .plugin-item__desc { font-size: 0.88rem; color: var(--text-secondary); flex: 1; } .plugin-item__badge { flex-shrink: 0; } /* ──────────────────────────────────────────────────────────── 14. TIMELINE (changelog / novinky) ──────────────────────────────────────────────────────────── */ .timeline { position: relative; padding-left: 36px; margin-top: 40px; } /* Vertical line */ .timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 10px; width: 2px; background: linear-gradient( 180deg, var(--purple), rgba(189, 147, 249, 0.1) ); border-radius: 2px; } .timeline__item { position: relative; margin-bottom: 36px; } /* Dot */ .timeline__item::before { content: ""; position: absolute; left: -31px; top: 8px; width: 14px; height: 14px; background: var(--purple); border: 3px solid var(--bg-primary); border-radius: 50%; box-shadow: 0 0 12px var(--glow); transition: var(--transition); } .timeline__item:hover::before { transform: scale(1.3); box-shadow: 0 0 20px rgba(189, 147, 249, 0.6); } .timeline__header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; } .timeline__version { font-family: "JetBrains Mono", monospace; font-size: 0.8rem; font-weight: 700; padding: 3px 10px; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: var(--bg-primary); border-radius: 999px; } .timeline__date { font-size: 0.82rem; color: var(--text-muted); } .timeline__title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; } .timeline__body { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; } .timeline__body ul { margin-top: 8px; padding-left: 18px; list-style: disc; display: flex; flex-direction: column; gap: 4px; } /* ──────────────────────────────────────────────────────────── 15. KEYBOARD SHORTCUTS TABLE ──────────────────────────────────────────────────────────── */ .shortcuts-table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); margin-top: 28px; } .shortcuts-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; } .shortcuts-table thead { background: rgba(189, 147, 249, 0.08); } .shortcuts-table th { padding: 13px 20px; text-align: left; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--purple); border-bottom: 1px solid var(--border); white-space: nowrap; } .shortcuts-table td { padding: 12px 20px; color: var(--text-secondary); border-bottom: 1px solid rgba(189, 147, 249, 0.07); vertical-align: middle; } .shortcuts-table tr:last-child td { border-bottom: none; } .shortcuts-table tbody tr { transition: background 0.2s ease; } .shortcuts-table tbody tr:hover { background: rgba(189, 147, 249, 0.05); } /* Key badge */ kbd, .key { display: inline-flex; align-items: center; padding: 3px 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-bottom-width: 2px; border-radius: 5px; font-family: "JetBrains Mono", monospace; font-size: 0.8rem; color: var(--text); line-height: 1.4; white-space: nowrap; } .shortcut-keys { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; } .shortcut-keys .key-sep { font-size: 0.75rem; color: var(--text-muted); } /* ──────────────────────────────────────────────────────────── 16. BADGES & PILLS ──────────────────────────────────────────────────────────── */ .badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1.4; white-space: nowrap; } .badge--purple { background: rgba(189, 147, 249, 0.15); border: 1px solid rgba(189, 147, 249, 0.3); color: var(--purple); } .badge--green { background: rgba(80, 250, 123, 0.12); border: 1px solid rgba(80, 250, 123, 0.25); color: var(--green); } .badge--cyan { background: rgba(139, 233, 253, 0.12); border: 1px solid rgba(139, 233, 253, 0.25); color: var(--cyan); } .badge--pink { background: rgba(255, 121, 198, 0.12); border: 1px solid rgba(255, 121, 198, 0.25); color: var(--pink); } .badge--orange { background: rgba(255, 184, 108, 0.12); border: 1px solid rgba(255, 184, 108, 0.25); color: var(--orange); } .badge--yellow { background: rgba(241, 250, 140, 0.12); border: 1px solid rgba(241, 250, 140, 0.25); color: var(--yellow); } /* ──────────────────────────────────────────────────────────── 17. FOOTER ──────────────────────────────────────────────────────────── */ .footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 60px 20px 32px; } .footer__inner { max-width: var(--max-width); margin: 0 auto; } .footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); } .footer__brand-name { font-family: "JetBrains Mono", monospace; font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; } .footer__brand-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; max-width: 28ch; } .footer__col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; } .footer__links { display: flex; flex-direction: column; gap: 10px; } .footer__link { font-size: 0.9rem; color: var(--text-secondary); transition: var(--transition); } .footer__link:hover { color: var(--purple); transform: translateX(3px); } .footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; flex-wrap: wrap; gap: 12px; } .footer__copy { font-size: 0.85rem; color: var(--text-muted); } .footer__copy a { color: var(--purple); } .footer__bottom-links { display: flex; gap: 20px; } .footer__bottom-link { font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); } .footer__bottom-link:hover { color: var(--purple); } /* ──────────────────────────────────────────────────────────── 18. UTILITY CLASSES ──────────────────────────────────────────────────────────── */ /* Text colour helpers */ .text-purple { color: var(--purple) !important; } .text-green { color: var(--green) !important; } .text-cyan { color: var(--cyan) !important; } .text-pink { color: var(--pink) !important; } .text-orange { color: var(--orange) !important; } .text-yellow { color: var(--yellow) !important; } .text-muted { color: var(--text-muted) !important; } /* Display */ .d-flex { display: flex; } .d-grid { display: grid; } .d-none { display: none; } .d-block { display: block; } /* Flex helpers */ .align-center { align-items: center; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; } .flex-wrap { flex-wrap: wrap; } .gap-8 { gap: 8px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } /* Text alignment */ .text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; } /* Spacing */ .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-48 { margin-top: 48px; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-48 { margin-bottom: 48px; } /* Visibility (JS-toggled) */ .fade-in { animation: fadeIn 0.5s ease both; } .slide-up { animation: slideUp 0.5s ease both; } /* Glow border */ .glow-border { border-color: var(--purple) !important; box-shadow: 0 0 0 1px var(--glow), 0 0 24px var(--glow); } /* Divider */ .divider { height: 1px; background: var(--border); margin: 40px 0; border: none; } /* Monospace span */ .mono { font-family: "JetBrains Mono", monospace; font-size: 0.88em; } /* ──────────────────────────────────────────────────────────── 19. LOADING SCREEN ──────────────────────────────────────────────────────────── */ .loading-screen { position: fixed; inset: 0; z-index: 9999; background: var(--bg-primary); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; transition: opacity 0.5s ease, visibility 0.5s ease; } .loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; } .loading-screen__logo { font-size: 4rem; animation: spin-slow 3s linear infinite; } .loading-screen__text { font-family: "JetBrains Mono", monospace; font-size: 1rem; color: var(--purple); letter-spacing: 0.1em; } .loading-screen__bar { width: 200px; height: 2px; background: rgba(189, 147, 249, 0.15); border-radius: 1px; overflow: hidden; } .loading-screen__bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--purple), var(--pink)); border-radius: 1px; animation: loading-fill 1.5s ease forwards; } @keyframes loading-fill { to { width: 100%; } } /* ──────────────────────────────────────────────────────────── 20. RESPONSIVE – TABLET (≤ 768px) ──────────────────────────────────────────────────────────── */ @media (max-width: 768px) { :root { --section-pad: 60px 16px; } /* Nav */ .navbar__links { display: none; } .navbar__hamburger { display: flex; } /* Hero */ .hero__actions { flex-direction: column; align-items: center; } /* Feature grid */ .feature-grid { grid-template-columns: 1fr; gap: 16px; } /* Plugin list */ .plugin-item { flex-wrap: wrap; } .plugin-item__name { min-width: unset; } /* Footer */ .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } /* Table */ .shortcuts-table th, .shortcuts-table td { padding: 10px 14px; } /* Timeline */ .timeline { padding-left: 28px; } } /* ──────────────────────────────────────────────────────────── 21. RESPONSIVE – MOBILE (≤ 480px) ──────────────────────────────────────────────────────────── */ @media (max-width: 480px) { :root { --section-pad: 48px 16px; } .hero { padding-bottom: 60px; } .hero__title { font-size: 2.4rem; } /* Footer */ .footer__top { grid-template-columns: 1fr; gap: 28px; } .footer__bottom { flex-direction: column; align-items: flex-start; } .footer__bottom-links { gap: 12px; } /* Buttons */ .btn-primary, .btn-secondary { width: 100%; justify-content: center; } /* Tabs */ .tabs__btn { padding: 10px 14px; font-size: 0.85rem; } /* Timeline */ .timeline { padding-left: 24px; } .timeline__item::before { left: -27px; } } /* ──────────────────────────────────────────────────────────── 22. ACCESSIBILITY & REDUCED MOTION ──────────────────────────────────────────────────────────── */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } html { scroll-behavior: auto; } } /* Focus visible */ :focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 4px; } /* High contrast selection */ ::selection { background: rgba(189, 147, 249, 0.3); color: var(--text); } /* ──────────────────────────────────────────────────────────── 23. CONTAINER HELPER ──────────────────────────────────────────────────────────── */ .container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; } /* ──────────────────────────────────────────────────────────── 24. PAGE HERO (sub-pages – no particles canvas) ──────────────────────────────────────────────────────────── */ .page-hero { padding: calc(var(--nav-height) + 60px) 20px 60px; text-align: center; background: radial-gradient( ellipse 80% 60% at 50% 40%, rgba(189, 147, 249, 0.1) 0%, transparent 70% ), var(--bg-primary); position: relative; overflow: hidden; } .page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient( 180deg, transparent 60%, var(--bg-primary) 100% ); pointer-events: none; } .page-hero__content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; } .page-hero__title { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; background: linear-gradient(135deg, var(--text) 30%, var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .page-hero__subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 52ch; text-align: center; } /* ──────────────────────────────────────────────────────────── 25. NOTICE BOXES (warning, info) ──────────────────────────────────────────────────────────── */ .warning-box, .info-box { display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; border-radius: var(--radius-sm); font-size: 0.94rem; line-height: 1.65; } .warning-box { background: rgba(255, 184, 108, 0.07); border: 1px solid rgba(255, 184, 108, 0.28); color: var(--orange); } .info-box { background: rgba(139, 233, 253, 0.07); border: 1px solid rgba(139, 233, 253, 0.24); color: var(--text-secondary); } .warning-box strong, .info-box strong { display: block; margin-bottom: 4px; font-size: 1rem; color: inherit; } .warning-box p, .info-box p { margin: 0; color: inherit; max-width: none; } .warning-box__icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; } /* ──────────────────────────────────────────────────────────── 26. INSTALLATION PAGE COMPONENTS ──────────────────────────────────────────────────────────── */ .install-section { margin-bottom: 48px; } .install-desc { color: var(--text-secondary); font-size: 0.97rem; margin: 12px 0 24px; max-width: 62ch; } /* Prerequisite cards */ .prereq-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px; } .prereq-card__icon { width: 36px; height: 36px; min-width: 36px; border-radius: 50%; background: linear-gradient( 135deg, rgba(189, 147, 249, 0.2), rgba(255, 121, 198, 0.1) ); border: 1px solid rgba(189, 147, 249, 0.3); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--purple); font-size: 0.85rem; } /* Steps */ .steps { display: flex; flex-direction: column; gap: 0; position: relative; } .steps::before { content: ""; position: absolute; left: 22px; top: 44px; bottom: 44px; width: 2px; background: linear-gradient( 180deg, var(--purple), rgba(189, 147, 249, 0.05) ); border-radius: 2px; z-index: 0; } .step-card { display: flex; gap: 20px; position: relative; z-index: 1; padding-bottom: 32px; } .step-card:last-child { padding-bottom: 0; } .step-card__number { flex-shrink: 0; width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--border); color: var(--purple); font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); } .step-card:hover .step-card__number { border-color: var(--purple); background: rgba(189, 147, 249, 0.1); box-shadow: 0 0 16px rgba(189, 147, 249, 0.25); } .step-card__content { flex: 1; padding-top: 8px; } .step-card__content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--text); } .step-card__content p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; max-width: none; } .step-card__content .terminal-block { margin-top: 10px; } /* FAQ */ .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; } .faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.3s ease, box-shadow 0.3s ease; } .faq-item[open] { border-color: rgba(189, 147, 249, 0.4); box-shadow: 0 4px 20px rgba(189, 147, 249, 0.08); } .faq-item summary { padding: 18px 22px; font-size: 0.96rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text); user-select: none; transition: color 0.2s ease; } .faq-item summary::-webkit-details-marker { display: none; } .faq-item summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; color: var(--purple); flex-shrink: 0; transition: transform 0.3s ease; } .faq-item[open] summary::after { content: "−"; } .faq-item summary:hover { color: var(--purple); } .faq-item p { padding: 0 22px 18px; border-top: 1px solid var(--border); padding-top: 16px; font-size: 0.93rem; color: var(--text-secondary); line-height: 1.72; max-width: none; } .faq-item p a { color: var(--purple); } .faq-item p a:hover { color: var(--pink); } .faq-item code { background: rgba(189, 147, 249, 0.1); border: 1px solid rgba(189, 147, 249, 0.18); border-radius: 4px; padding: 1px 6px; font-size: 0.85em; color: var(--purple); font-family: "JetBrains Mono", monospace; } /* Tabs variant (tab-btn / tab-content) */ .tabs__buttons { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; } .tab-btn { padding: 11px 22px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); background: transparent; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; transition: var(--transition); white-space: nowrap; letter-spacing: 0.02em; } .tab-btn:hover { color: var(--text); } .tab-btn.active { color: var(--purple); border-bottom-color: var(--purple); background: rgba(189, 147, 249, 0.05); } .tab-content { display: none; animation: tabFadeIn 0.3s ease; } .tab-content.active { display: block; } /* ──────────────────────────────────────────────────────────── 27. PLUGIN PAGE COMPONENTS ──────────────────────────────────────────────────────────── */ /* Filter buttons */ .filter-btns { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0; } .filter-btn { padding: 7px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; border: 1px solid var(--border); color: var(--text-muted); background: transparent; cursor: pointer; transition: var(--transition); letter-spacing: 0.02em; } .filter-btn:hover { color: var(--text); border-color: rgba(189, 147, 249, 0.5); background: rgba(189, 147, 249, 0.07); } .filter-btn.active { background: rgba(189, 147, 249, 0.15); border-color: var(--purple); color: var(--purple); } /* Plugin cards grid */ .plugins-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-top: 24px; } .plugin-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: var(--transition); position: relative; overflow: hidden; } .plugin-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient( 135deg, rgba(189, 147, 249, 0.04), transparent 60% ); pointer-events: none; border-radius: inherit; } .plugin-card:hover { transform: translateY(-4px); border-color: rgba(189, 147, 249, 0.42); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(189, 147, 249, 0.1); } .plugin-card.hidden { display: none; } .plugin-card__header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .plugin-card__icon { font-size: 1.4rem; flex-shrink: 0; } .plugin-card__header > div { display: flex; flex-direction: column; gap: 4px; flex: 1; } .plugin-card__name { font-family: "JetBrains Mono", monospace; font-size: 0.92rem; font-weight: 700; color: var(--cyan); margin: 0; } .plugin-card__desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; flex: 1; max-width: none; margin: 0; } .plugin-card__link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--border); color: var(--purple); font-size: 1rem; transition: var(--transition); flex-shrink: 0; margin-left: auto; text-decoration: none; } .plugin-card__link:hover { border-color: var(--purple); background: rgba(189, 147, 249, 0.1); color: var(--pink); transform: translateX(2px); } /* Coc extension tags */ .coc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; } .coc-tags .badge { cursor: pointer; text-decoration: none; transition: var(--transition); } .coc-tags .badge:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(189, 147, 249, 0.2); } /* Theme grid */ .themes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; } .theme-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: var(--transition); } .theme-card:hover { transform: translateY(-4px); border-color: rgba(189, 147, 249, 0.4); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 32px rgba(189, 147, 249, 0.08); } .theme-card__preview { display: flex; gap: 6px; } .theme-card__preview span { display: block; width: 24px; height: 24px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.08); flex-shrink: 0; } .theme-card__info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .theme-card__name { font-size: 0.95rem; font-weight: 700; color: var(--text); } .theme-card__link { display: inline-block; font-size: 0.78rem; color: var(--purple); font-family: "JetBrains Mono", monospace; text-decoration: none; transition: var(--transition); margin-top: auto; } .theme-card__link:hover { color: var(--pink); } /* ──────────────────────────────────────────────────────────── 28. MOBILE NAVBAR (alternate class name used in HTML) ──────────────────────────────────────────────────────────── */ .navbar__mobile { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--bg-nav); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; flex-direction: column; gap: 4px; z-index: 999; } .navbar__mobile:not([hidden]) { display: flex; } .navbar__mobile ul { display: flex; flex-direction: column; gap: 4px; } .navbar__mobile a { display: block; padding: 10px 14px; color: var(--text-secondary); font-size: 1rem; font-weight: 500; border-radius: 6px; transition: var(--transition); } .navbar__mobile a:hover, .navbar__mobile a.active { color: var(--purple); background: rgba(189, 147, 249, 0.07); } /* ──────────────────────────────────────────────────────────── 29. FOOTER ALTERNATE CLASSES (used in HTML) ──────────────────────────────────────────────────────────── */ .footer__inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); } .footer__brand { display: flex; flex-direction: column; gap: 10px; } .footer__logo { font-family: "JetBrains Mono", monospace; font-size: 1.1rem; font-weight: 700; color: var(--text); } .footer__brand p { font-size: 0.9rem; color: var(--text-muted); max-width: 28ch; margin: 0; } .footer__made { font-size: 0.85rem; color: var(--text-muted) !important; } .footer__col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; } .footer__col ul { display: flex; flex-direction: column; gap: 10px; } .footer__col a { font-size: 0.9rem; color: var(--text-secondary); transition: var(--transition); } .footer__col a:hover { color: var(--purple); transform: translateX(3px); } .footer__bottom { max-width: var(--max-width); margin: 24px auto 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; } .footer__bottom p { font-size: 0.85rem; color: var(--text-muted); max-width: none; } /* ──────────────────────────────────────────────────────────── 30. TERMINAL EXTRAS (token classes, pre styling, copy btn) ──────────────────────────────────────────────────────────── */ .terminal-block pre { margin: 0; padding: 18px 22px; background: transparent; overflow-x: auto; } .terminal-block pre code { color: var(--green); font-size: 0.875rem; line-height: 1.7; white-space: pre; display: block; background: transparent; border: none; padding: 0; } .token-command { color: var(--purple); font-weight: 600; } .token-path { color: var(--green); } .copy-btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; font-size: 0.76rem; font-weight: 600; font-family: "JetBrains Mono", monospace; color: var(--text-muted); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 5px; cursor: pointer; transition: var(--transition); white-space: nowrap; flex-shrink: 0; margin-left: auto; } .copy-btn:hover { color: var(--purple); border-color: rgba(189, 147, 249, 0.4); background: rgba(189, 147, 249, 0.08); } .copy-btn.copied { color: var(--green); border-color: rgba(80, 250, 123, 0.3); } /* plugin-list used in instalace.html */ .plugin-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; } .plugin-list li a { display: block; padding: 9px 14px; background: rgba(189, 147, 249, 0.05); border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: "JetBrains Mono", monospace; font-size: 0.85rem; color: var(--purple); transition: var(--transition); } .plugin-list li a:hover { background: rgba(189, 147, 249, 0.1); border-color: var(--purple); color: var(--pink); } /* btn-sm */ .btn-sm { padding: 7px 14px !important; font-size: 0.82rem !important; } /* Loading screen aliases */ .loading-rocket { font-size: 4rem; animation: spin-slow 3s linear infinite; display: block; text-align: center; } .loading-bar { width: 200px; height: 2px; background: rgba(189, 147, 249, 0.15); border-radius: 1px; overflow: hidden; margin: 0 auto; } .loading-bar__fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--purple), var(--pink)); border-radius: 1px; animation: loading-fill 1.5s ease forwards; } /* ──────────────────────────────────────────────────────────── 31. RESPONSIVE ADDITIONS FOR NEW COMPONENTS ──────────────────────────────────────────────────────────── */ @media (max-width: 768px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; } .plugins-grid { grid-template-columns: 1fr; } .themes-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .steps::before { left: 20px; } .step-card { gap: 14px; } .step-card__number { width: 40px; height: 40px; min-width: 40px; } } @media (max-width: 480px) { .footer__inner { grid-template-columns: 1fr; gap: 28px; } .themes-grid { grid-template-columns: 1fr 1fr; } .filter-btns { gap: 6px; } .filter-btn { padding: 6px 12px; font-size: 0.78rem; } .page-hero__title { font-size: 2rem; } } /* ──────────────────────────────────────────────────────────── 32. BACK TO TOP BUTTON ──────────────────────────────────────────────────────────── */ .back-to-top { position: fixed; bottom: 28px; right: 28px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--pink)); color: #0d0d1a; font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 16px rgba(189, 147, 249, 0.3); } .back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; } .back-to-top:hover { box-shadow: 0 6px 24px rgba(189, 147, 249, 0.5); transform: translateY(-3px); } /* Loading screen fade-out */ .loading-screen.fade-out { opacity: 0; visibility: hidden; pointer-events: none; } /* Animate-on-scroll - visible state (used by IntersectionObserver) */ .animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; } .animate-on-scroll.visible { opacity: 1; transform: translateY(0); } .animate-on-scroll.delay-1 { transition-delay: 0.1s; } .animate-on-scroll.delay-2 { transition-delay: 0.2s; } .animate-on-scroll.delay-3 { transition-delay: 0.3s; } .animate-on-scroll.delay-4 { transition-delay: 0.4s; } .animate-on-scroll.delay-5 { transition-delay: 0.5s; } /* copy-btn--auto (auto-generated by JS) */ .copy-btn--auto { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); } /* ──────────────────────────────────────────────────────────── 33. INDEX.HTML SPECIFIC COMPONENTS ──────────────────────────────────────────────────────────── */ /* Hero extras */ .hero__description { font-size: 1.05rem; color: var(--text-secondary); text-align: center; max-width: 50ch; line-height: 1.65; } .hero__description strong { color: var(--purple); } .hero__cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; } .hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; background: rgba(189, 147, 249, 0.12); border: 1px solid var(--border); border-radius: 999px; font-size: 0.85rem; font-family: "JetBrains Mono", monospace; color: var(--purple); letter-spacing: 0.03em; } /* Editions grid */ .editions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 48px; } .edition-card { position: relative; } .edition-card--highlighted { border-color: rgba(189, 147, 249, 0.4) !important; box-shadow: 0 0 40px rgba(189, 147, 249, 0.12) !important; } .edition-card__badge { margin-bottom: 12px; } .edition-card__title { font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 12px; } .edition-card__desc { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px; max-width: none; } .edition-card__features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; font-size: 0.92rem; color: var(--text-secondary); } .edition-card__features li { display: flex; align-items: center; gap: 8px; } .edition-card__btn { display: block; text-align: center; width: 100%; margin-top: auto; } /* Stats section */ .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; max-width: 700px; margin: 0 auto; } .stat-item__number { display: block; font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 800; font-family: "JetBrains Mono", monospace; background: linear-gradient(135deg, var(--purple), var(--pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 8px; } .stat-item__label { display: block; font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; } /* Community grid */ .community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 48px; } .community-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; cursor: pointer; } .community-card__icon { font-size: 2rem; line-height: 1; } .community-card__title { font-size: 1.15rem; font-weight: 700; color: var(--text); } .community-card__desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; flex: 1; max-width: none; } .community-card__link { font-size: 0.85rem; color: var(--purple); font-family: "JetBrains Mono", monospace; margin-top: auto; transition: var(--transition); } .community-card:hover .community-card__link { color: var(--pink); } .section-header { margin-bottom: 0; } @media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr 1fr 1fr; gap: 16px; } .editions-grid { grid-template-columns: 1fr; } } @media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; gap: 20px; } .hero__cta { flex-direction: column; align-items: center; } } /* Install subheading + checklist (nová instalace bez tabů) */ .install-subheading { font-size: 1.05rem; font-weight: 700; color: var(--cyan); margin: 28px 0 14px; display: flex; align-items: center; gap: 8px; } .install-checklist { margin-bottom: 20px; } .install-checklist__intro { background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--purple); border-radius: var(--radius-sm); padding: 18px 22px; font-size: 0.93rem; line-height: 1.9; color: var(--text-secondary); max-width: none; margin: 0; } .install-checklist__intro a { color: var(--purple); } .install-checklist__intro strong { color: var(--text); } /* ──────────────────────────────────────────────────────────── 34. GUIDE CARDS (Instalační návody na instalace.html) ──────────────────────────────────────────────────────────── */ .guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); gap: 28px; margin-top: 48px; } .guide-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; } .guide-card:hover { border-color: rgba(189, 147, 249, 0.45); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 40px rgba(189, 147, 249, 0.08); transform: translateY(-3px); } .guide-card__header { display: flex; align-items: center; gap: 14px; padding: 22px 24px; background: rgba(189, 147, 249, 0.04); border-bottom: 1px solid var(--border); } .guide-card__icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; } .guide-card__header > div { display: flex; flex-direction: column; gap: 5px; } .guide-card__title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0; } .guide-card__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; } .guide-card__body > p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.65; max-width: none; margin: 0; } .guide-card__subtitle { font-size: 0.88rem; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: 0.05em; margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--border); } /* Remove border-top from first subtitle */ .guide-card__body .guide-card__subtitle:first-of-type { border-top: none; padding-top: 0; } .guide-card__body .terminal-block { margin: 0; } .guide-card__body .info-box { font-size: 0.88rem; padding: 14px 16px; } /* Guide CTA */ .guide-cta { margin-top: 48px; padding: 32px; text-align: center; background: linear-gradient( 135deg, rgba(189, 147, 249, 0.07), rgba(255, 121, 198, 0.04) ); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 20px; } .guide-cta p { font-size: 1rem; color: var(--text-secondary); max-width: none; margin: 0; } .guide-cta a { text-decoration: none; } .guide-cta > div, .guide-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; } .guide-cta p { width: 100%; text-align: center; } @media (max-width: 900px) { .guides-grid { grid-template-columns: 1fr; } } @media (max-width: 480px) { .guide-card__header { padding: 16px 18px; } .guide-card__body { padding: 18px; } .guide-cta { padding: 24px 16px; } }