Files
site/css/hudra.css
T

271 lines
19 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:root {
--blue-950: #06184f;
--blue-900: #082477;
--blue-800: #0a35ad;
--blue-700: #0b45d8;
--blue-600: #1358f2;
--blue-500: #2e6dff;
--blue-100: #dfe9ff;
--blue-50: #f2f6ff;
--ink: #10182c;
--muted: #5c667d;
--line: #dfe4ef;
--surface: #ffffff;
--soft: #f6f8fc;
--shadow: 0 24px 70px rgba(8, 35, 108, .16);
--radius-xl: 32px;
--radius-lg: 22px;
--radius-md: 15px;
--container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
color: var(--ink);
background: var(--surface);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -60px; padding: 10px 14px; background: #fff; color: var(--blue-800); border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }
.site-header {
position: sticky;
top: 0;
z-index: 100;
border-bottom: 1px solid rgba(223, 228, 239, .75);
background: rgba(255, 255, 255, .88);
backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--blue-950); text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.brand img { border-radius: 11px; box-shadow: 0 8px 24px rgba(11, 69, 216, .18); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #344057; text-decoration: none; font-weight: 650; font-size: .95rem; }
.site-nav a:hover { color: var(--blue-700); }
.nav-button { padding: 10px 16px; color: #fff !important; background: var(--blue-700); border-radius: 11px; box-shadow: 0 8px 18px rgba(11, 69, 216, .22); }
.menu-button { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); background: #fff; border-radius: 12px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 3px; }
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; background: linear-gradient(180deg, #fff 0%, #f7f9ff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(#95afff 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, black, transparent 72%); }
.hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 68px; align-items: center; }
.hero-copy h1, .section-heading h2, .privacy-grid h2, .cta-card h2 { margin: 0; font-size: clamp(2.7rem, 6vw, 5.35rem); line-height: .98; letter-spacing: -.06em; }
.hero-copy h1 em { display: block; color: var(--blue-700); font-style: normal; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.07rem, 1.7vw, 1.27rem); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--blue-700); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 3px; background: currentColor; border-radius: 99px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 21px; border-radius: 14px; text-decoration: none; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 21px; fill: currentColor; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); box-shadow: 0 14px 28px rgba(11, 69, 216, .27); }
.button-secondary { color: var(--blue-900); border: 1px solid #cbd8fb; background: #fff; }
.button-light { color: var(--blue-900); background: #fff; box-shadow: 0 14px 28px rgba(0,0,0,.12); }
.microcopy { margin: 17px 0 0; color: #7a8498; font-size: .86rem; }
.hero-visual { position: relative; min-height: 535px; display: flex; align-items: center; }
.browser-window { position: relative; z-index: 2; width: 100%; overflow: hidden; border: 1px solid rgba(154, 174, 228, .6); border-radius: 24px; background: #fff; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.browser-bar { height: 60px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 0 17px; border-bottom: 1px solid var(--line); background: #f8f9fd; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #c8ceda; }
.address-bar { height: 32px; display: flex; align-items: center; padding: 0 14px; border: 1px solid #e1e5ee; border-radius: 9px; color: #8992a3; background: #fff; font-size: .78rem; }
.browser-bar img { border-radius: 8px; }
.browser-content { min-height: 420px; display: grid; grid-template-columns: 145px 1fr; }
.canvas-sidebar { padding: 25px 18px; background: #f6f7fb; border-right: 1px solid var(--line); }
.skeleton { height: 10px; margin-bottom: 16px; border-radius: 10px; background: #dbe0ea; }
.skeleton.short { width: 62%; margin-bottom: 28px; background: #b9c8f2; }
.canvas-page { position: relative; padding: 27px 28px; }
.page-toolbar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 26px; }
.toolbar-pill { padding: 6px 11px; border-radius: 8px; color: #667188; background: #eef1f6; font-size: .72rem; font-weight: 750; }
.toolbar-pill.active { color: #fff; background: var(--blue-700); }
.page-title { width: 53%; height: 22px; border-radius: 10px; background: #202b43; }
.page-line { width: 66%; height: 9px; margin-top: 17px; border-radius: 10px; background: #d7dce7; }
.page-line.wide { width: 88%; margin-top: 22px; }
.page-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.page-card { height: 108px; border: 1px solid #dde3ef; border-radius: 14px; background: linear-gradient(145deg, #f8faff, #eef3ff); }
.hudra-panel { position: absolute; right: 22px; bottom: 23px; width: 215px; padding: 16px; border: 1px solid #cdd9fb; border-radius: 16px; background: #fff; box-shadow: 0 20px 45px rgba(8, 35, 108, .18); }
.panel-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--blue-950); }
.panel-heading img { border-radius: 8px; }
.hudra-panel button { width: 100%; margin-top: 8px; padding: 9px 10px; border: 1px solid #d7e0f8; border-radius: 9px; color: #29406f; background: #f5f8ff; font-size: .72rem; text-align: left; }
.floating-card { position: absolute; z-index: 3; display: grid; gap: 1px; min-width: 165px; padding: 14px 17px; border: 1px solid #dbe3f7; border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: 0 16px 35px rgba(8,35,108,.16); backdrop-filter: blur(10px); }
.floating-card strong { color: var(--blue-800); }
.floating-card span { color: var(--muted); font-size: .78rem; }
.card-fast { left: -35px; bottom: 38px; }
.card-clean { right: -25px; top: 32px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(20px); opacity: .26; }
.hero-glow-one { width: 340px; height: 340px; right: -90px; top: 35px; background: #2d68ff; }
.hero-glow-two { width: 250px; height: 250px; left: 36%; bottom: -130px; background: #8eb0ff; }
.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: grid; gap: 2px; padding: 25px 26px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { color: var(--blue-950); font-size: .95rem; }
.trust-grid span { color: var(--muted); font-size: .8rem; }
.section { padding: 108px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 690px; margin-bottom: 50px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .privacy-grid h2, .cta-card h2 { font-size: clamp(2.35rem, 4.7vw, 4.2rem); }
.section-heading p { margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { min-height: 280px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 12px 34px rgba(19, 37, 81, .06); }
.feature-card-large { grid-row: span 2; min-height: 580px; background: linear-gradient(165deg, #fff 0%, #f1f5ff 100%); }
.feature-card-accent { grid-column: span 2; min-height: 210px; display: flex; align-items: center; gap: 30px; color: #fff; border: 0; background: linear-gradient(135deg, var(--blue-700), var(--blue-950)); }
.feature-card-accent img { flex: 0 0 auto; filter: drop-shadow(0 12px 20px rgba(0,0,0,.2)); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 25px; color: var(--blue-700); border-radius: 15px; background: var(--blue-50); }
.feature-icon svg { width: 27px; fill: currentColor; }
.feature-card h3 { margin: 0; font-size: 1.36rem; letter-spacing: -.025em; }
.feature-card p { margin: 13px 0 0; color: var(--muted); }
.feature-card-accent p { color: rgba(255,255,255,.78); }
.mini-ui { display: grid; gap: 12px; margin-top: 70px; }
.mini-ui span { padding: 15px 16px; color: var(--blue-900); border: 1px solid #cfdbfb; border-radius: 12px; background: #fff; font-weight: 750; box-shadow: 0 10px 25px rgba(8,35,108,.08); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 24px; align-items: center; }
.steps article { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.step-number { margin-bottom: 45px; color: var(--blue-700); font-size: .8rem; font-weight: 900; letter-spacing: .16em; }
.steps h3 { margin: 0; font-size: 1.4rem; }
.steps p { margin-bottom: 0; color: var(--muted); }
.step-arrow { color: #9cabc9; font-size: 1.8rem; }
.privacy-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 80px; align-items: center; }
.privacy-lead { max-width: 650px; margin: 24px 0; color: var(--muted); font-size: 1.12rem; }
.text-link { color: var(--blue-700); text-decoration: none; font-weight: 800; }
.text-link span { display: inline-block; transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }
.privacy-card { padding: 33px; border: 1px solid #ccd8fa; border-radius: var(--radius-xl); background: linear-gradient(160deg, #f8faff, #edf3ff); }
.privacy-item { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid #d6def1; }
.privacy-item:first-child { padding-top: 0; }
.privacy-item:last-child { padding-bottom: 0; border-bottom: 0; }
.check { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--blue-700); font-weight: 900; }
.privacy-item strong { color: var(--blue-950); }
.privacy-item p { margin: 3px 0 0; color: var(--muted); font-size: .9rem; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.faq-list details { border-bottom: 1px solid #dbe0e9; }
.faq-list summary { position: relative; padding: 24px 42px 24px 0; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 780; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--blue-700); font-size: 1.6rem; font-weight: 400; }
.faq-list details[open] summary::after { content: ""; }
.faq-list details p { margin: -8px 45px 24px 0; color: var(--muted); }
.cta-section { padding: 42px 0 110px; background: var(--soft); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 52px 56px; color: #fff; border-radius: var(--radius-xl); background: radial-gradient(circle at 80% 20%, #396dff 0, transparent 34%), linear-gradient(135deg, var(--blue-700), var(--blue-950)); box-shadow: 0 28px 60px rgba(8,35,108,.22); }
.cta-card h2 { max-width: 780px; font-size: clamp(2.2rem, 4vw, 3.7rem); }
.cta-card p { margin: 16px 0 0; color: rgba(255,255,255,.78); }
.eyebrow.light { color: #bcd0ff; }
.site-footer { padding: 68px 0 25px; color: #c8d1e8; background: #07132f; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { max-width: 420px; color: #98a6c5; }
.footer-brand small a { color: #fff; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.footer-links div { display: grid; align-content: start; gap: 11px; }
.footer-links strong { margin-bottom: 8px; color: #fff; }
.footer-links a { color: #aeb9d1; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 55px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #7f8eaf; font-size: .78rem; }
.footer-bottom span:last-child { max-width: 670px; text-align: right; }
@media (max-width: 980px) {
.hero-grid, .privacy-grid, .faq-layout { grid-template-columns: 1fr; }
.hero { padding-top: 70px; }
.hero-copy { max-width: 760px; }
.hero-visual { max-width: 760px; min-height: 500px; }
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.feature-card-large { grid-row: auto; min-height: 360px; }
.feature-card-accent { grid-column: span 2; }
.steps { grid-template-columns: 1fr; }
.step-arrow { transform: rotate(90deg); justify-self: center; }
.trust-grid { grid-template-columns: repeat(2, 1fr); }
.trust-grid > div:nth-child(2) { border-right: 0; }
.trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
.container { width: min(calc(100% - 28px), var(--container)); }
.site-nav { position: absolute; left: 14px; right: 14px; top: 68px; display: none; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 20px 45px rgba(8,35,108,.14); }
.site-nav.open { display: grid; }
.menu-button { display: block; }
.hero { padding: 58px 0 66px; }
.hero-copy h1 { font-size: clamp(2.85rem, 14vw, 4.5rem); }
.hero-visual { min-height: auto; padding-top: 38px; }
.browser-content { grid-template-columns: 84px 1fr; }
.canvas-sidebar { padding-inline: 10px; }
.canvas-page { padding: 20px 16px; }
.hudra-panel { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 20px; }
.floating-card { display: none; }
.feature-grid { grid-template-columns: 1fr; }
.feature-card, .feature-card-large { min-height: auto; }
.feature-card-accent { grid-column: auto; flex-direction: column; align-items: flex-start; }
.mini-ui { margin-top: 35px; }
.section { padding: 78px 0; }
.trust-grid { grid-template-columns: 1fr; }
.trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
.trust-grid > div:last-child { border-bottom: 0; }
.cta-card { align-items: flex-start; flex-direction: column; padding: 38px 28px; }
.footer-grid { grid-template-columns: 1fr; }
.footer-bottom { flex-direction: column; }
.footer-bottom span:last-child { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
/* Hudra presenter dashboard preview */
.presentation-window { transform: rotate(1deg); }
.presenter-dashboard { min-height: 430px; padding: 16px; background: #eaf0fb; }
.dashboard-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 10px 12px; color: #fff; border-radius: 12px; background: linear-gradient(135deg, var(--blue-800), var(--blue-950)); }
.dashboard-brand { display: flex; align-items: center; gap: 9px; font-size: .82rem; }
.dashboard-brand img { border-radius: 7px; }
.dashboard-clock { font-variant-numeric: tabular-nums; font-size: .8rem; font-weight: 850; }
.dashboard-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(145px, .65fr); gap: 13px; }
.current-slide, .next-preview, .timer-card, .control-row { border: 1px solid #d2dcf2; border-radius: 13px; background: #fff; }
.current-slide { padding: 12px; }
.preview-label { display: block; margin-bottom: 8px; color: #65769b; font-size: .62rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.slide-screen { aspect-ratio: 16 / 9; padding: 22px; overflow: hidden; border-radius: 9px; background: linear-gradient(145deg, #fff, #edf3ff); box-shadow: inset 0 0 0 1px #dce4f5; }
.slide-kicker { color: var(--blue-700); font-size: .48rem; font-weight: 900; letter-spacing: .12em; }
.slide-heading { width: 72%; height: 13px; margin-top: 13px; border-radius: 5px; background: var(--blue-950); }
.slide-copy { width: 58%; height: 5px; margin-top: 8px; border-radius: 4px; background: #aab8d4; }
.slide-copy.wide { width: 87%; margin-top: 14px; }
.slide-image-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.slide-image-row span { aspect-ratio: 16 / 8; border-radius: 7px; background: linear-gradient(135deg, #bcd0ff, #dce7ff); }
.presenter-sidebar { display: grid; gap: 10px; align-content: start; }
.next-preview { padding: 10px; }
.next-screen { aspect-ratio: 16 / 9; padding: 12px; border-radius: 8px; background: #f2f6ff; box-shadow: inset 0 0 0 1px #dce4f5; }
.next-screen span { display: block; height: 5px; margin-bottom: 7px; border-radius: 4px; background: #afbedb; }
.next-screen span:first-child { width: 70%; height: 8px; background: var(--blue-900); }
.next-screen span:last-child { width: 55%; }
.timer-card { display: flex; align-items: end; justify-content: space-between; padding: 13px; }
.timer-card span { color: #65769b; font-size: .65rem; font-weight: 750; }
.timer-card strong { color: var(--blue-800); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.control-row { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 7px; padding: 8px; }
.control-row button { height: 30px; color: #fff; border: 0; border-radius: 8px; background: var(--blue-700); font-weight: 900; }
.control-row span { color: #65769b; font-size: .7rem; font-weight: 800; text-align: center; }
.presentation-mini-ui span { display: flex; justify-content: space-between; gap: 18px; }
.presentation-mini-ui b { color: var(--blue-700); }
@media (max-width: 760px) {
.presentation-window { transform: none; }
.presenter-dashboard { min-height: 350px; padding: 10px; }
.dashboard-main { grid-template-columns: 1fr; }
.presenter-sidebar { grid-template-columns: 1fr 1fr; }
.control-row { grid-column: 1 / -1; }
.slide-screen { padding: 16px; }
}