:root {
  color-scheme: dark;
  --background: #07111f;
  --foreground: #f5f8fc;
  --muted: #8fa3bd;
  --border: rgb(151 181 218 / 14%);
  --blue: #73a7ff;
  --mint: #75e2cf;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, a { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px),
    radial-gradient(circle at 82% 5%, rgb(67 128 255 / 11%), transparent 30rem),
    #07111f;
  background-size: 52px 52px, 52px 52px, auto, auto;
}
.page-shell::before { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(180deg, rgb(7 17 31 / 8%) 0%, #07111f 92%); }
.ambient { position: absolute; z-index: 0; width: 34rem; height: 34rem; border-radius: 999px; pointer-events: none; filter: blur(110px); opacity: .15; }
.ambient-one { top: 5rem; right: -15rem; background: #4c8eff; }
.ambient-two { top: 34rem; left: -20rem; background: #42d2bb; }
.topbar, .hero, .tools-section, .about-section, footer { position: relative; z-index: 1; width: min(1180px, calc(100% - 64px)); margin-inline: auto; }

.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 82px; border-bottom: 1px solid var(--border); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgb(150 184 229 / 35%); border-radius: 10px; background: linear-gradient(145deg, rgb(115 167 255 / 25%), rgb(117 226 207 / 9%)); box-shadow: inset 0 1px rgb(255 255 255 / 12%), 0 8px 24px rgb(19 76 156 / 18%); color: #dfeaff; font-family: var(--font-mono); font-size: 15px; }
.brand-mark.small { width: 31px; height: 31px; border-radius: 9px; font-size: 13px; }
.main-nav { display: flex; gap: 32px; color: #9bacc2; font-size: 14px; }
.main-nav a, .footer-links a { transition: color 180ms ease; }
.main-nav a:hover, .footer-links a:hover { color: #f3f7fd; }
.topbar-actions { display: flex; justify-content: flex-end; gap: 10px; }
.language-button, .contact-button, .primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 13px; font-weight: 600; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.language-button { gap: 7px; height: 38px; padding: 0 12px; border: 1px solid var(--border); background: rgb(255 255 255 / 3%); color: #aebdd1; cursor: pointer; }
.language-button svg, .contact-button svg, .primary-action svg, .secondary-action svg { width: 15px; height: 15px; }
.language-button:hover, .secondary-action:hover { border-color: rgb(124 168 226 / 34%); background: rgb(255 255 255 / 6%); }
.contact-button { gap: 7px; height: 38px; padding: 0 15px; background: #e8f1ff; color: #07111f; }
.contact-button:hover, .primary-action:hover { transform: translateY(-1px); background: #fff; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; gap: 68px; min-height: 690px; padding: 88px 0 92px; }
.hero-copy { max-width: 650px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid rgb(117 226 207 / 18%); border-radius: 999px; background: rgb(57 155 151 / 7%); color: #93cfc9; font-size: 11px; font-weight: 600; letter-spacing: .03em; }
.hero-badge svg { width: 13px; height: 13px; }
.eyebrow, .section-eyebrow { margin: 30px 0 17px; color: #7794b7; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin: 0; color: #f7f9fc; font-size: clamp(48px, 5.2vw, 76px); font-weight: 580; letter-spacing: -.065em; line-height: 1.05; }
.hero h1 > span { display: block; }
.hero h1 strong { display: block; background: linear-gradient(92deg, #f6f9fd 0%, #80afff 48%, #77d9ca 100%); background-clip: text; color: transparent; font-weight: inherit; }
.hero-description { max-width: 580px; margin: 24px 0 0; color: #9aadc4; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.primary-action, .secondary-action { gap: 9px; min-height: 46px; padding: 0 18px; }
.primary-action { background: #e8f1ff; color: #07111f; }
.secondary-action { border: 1px solid var(--border); background: rgb(255 255 255 / 3%); color: #c4d2e3; }

.hero-visual { position: relative; perspective: 1200px; }
.visual-window { position: relative; z-index: 2; overflow: hidden; border: 1px solid rgb(132 169 218 / 20%); border-radius: 18px; background: linear-gradient(145deg, rgb(17 36 58 / 95%), rgb(8 20 34 / 97%)); box-shadow: 0 42px 90px rgb(0 0 0 / 36%), inset 0 1px rgb(255 255 255 / 6%); transform: rotateY(-4deg) rotateX(1deg); transform-origin: center; }
.window-bar { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 17px; border-bottom: 1px solid var(--border); background: rgb(255 255 255 / 1.5%); }
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 7px; height: 7px; border-radius: 999px; background: #334862; }
.window-dots span:first-child { background: #5279ac; }
.window-status { display: flex; align-items: center; gap: 7px; color: #7f96b1; font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.window-status i, .tool-status i { width: 5px; height: 5px; border-radius: 50%; background: #68dbc4; box-shadow: 0 0 10px #68dbc4; }
.window-content { padding: 43px 38px 36px; }
.command-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgb(117 167 236 / 24%); border-radius: 13px; background: linear-gradient(145deg, rgb(82 139 226 / 20%), rgb(84 190 176 / 8%)); color: #96bdff; font-family: var(--font-mono); font-size: 15px; }
.command-label { margin: 25px 0 10px; color: #617d9e; font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em; }
.window-content h2 { max-width: 360px; margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.035em; line-height: 1.35; }
.window-content > p:not(.command-label) { margin: 13px 0 0; color: #8499b3; font-size: 13px; line-height: 1.75; }
.command-line { display: flex; align-items: center; gap: 5px; height: 48px; margin-top: 29px; padding: 0 15px; border: 1px solid rgb(129 166 216 / 14%); border-radius: 10px; background: rgb(2 10 19 / 42%); color: #77d9ca; font-family: var(--font-mono); font-size: 12px; }
.command-muted { color: #7390b1; }
.command-line i { width: 6px; height: 15px; background: var(--mint); animation: blink 1.1s steps(1) infinite; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feature-pills span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid rgb(139 175 220 / 10%); border-radius: 7px; background: rgb(255 255 255 / 2.5%); color: #6cd6c1; font-size: 9px; }
.feature-pills b { color: #8298b3; font-weight: 500; }
.visual-orbit { position: absolute; z-index: 0; border: 1px solid rgb(105 161 236 / 11%); border-radius: 50%; }
.orbit-one { inset: -40px -55px; }
.orbit-two { inset: -92px -112px; opacity: .55; }

.tools-section { padding: 102px 0 112px; border-top: 1px solid var(--border); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.section-eyebrow { margin: 0 0 16px; }
.section-heading h2, .about-copy h2 { max-width: 720px; margin: 0; color: #f2f6fc; font-size: clamp(35px, 4vw, 52px); font-weight: 560; letter-spacing: -.05em; line-height: 1.12; }
.section-heading > p, .about-copy > p:last-child { margin: 0; color: #8fa3bd; font-size: 14px; line-height: 1.8; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.tool-card { position: relative; display: flex; min-height: 294px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 25px; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(145deg, rgb(255 255 255 / 4.5%), rgb(255 255 255 / 1.5%)); transition: transform 220ms ease, border-color 220ms ease, background 220ms ease; }
.tool-card::before { position: absolute; top: -70px; right: -70px; width: 170px; height: 170px; border-radius: 50%; background: #4f9bec; content: ""; filter: blur(80px); opacity: .05; }
.tool-card:hover { transform: translateY(-4px); border-color: rgb(115 167 255 / 28%); background: linear-gradient(145deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2%)); }
.tool-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.tool-icon, .email-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgb(116 162 224 / 18%); border-radius: 12px; background: rgb(106 162 237 / 8%); color: #83aff4; font-family: var(--font-mono); font-size: 15px; }
.tool-status { display: flex; align-items: center; gap: 7px; color: #7187a3; font-family: var(--font-mono); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.tool-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.tool-card p { max-width: 300px; margin: 0; color: #8296af; font-size: 13px; line-height: 1.75; }
.tool-number { position: absolute; right: 21px; bottom: 16px; color: rgb(123 153 190 / 22%); font-family: var(--font-mono); font-size: 30px; font-weight: 700; letter-spacing: -.06em; }

.about-section { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 100px; padding: 110px 0; border-top: 1px solid var(--border); }
.about-copy > p:last-child { max-width: 600px; margin-top: 24px; }
.email-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 112px; padding: 22px; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(145deg, rgb(255 255 255 / 4.5%), rgb(255 255 255 / 2%)); transition: transform 200ms ease, border-color 200ms ease; }
.email-card:hover { transform: translateY(-3px); border-color: rgb(115 167 255 / 28%); }
.email-card small, .email-card strong { display: block; }
.email-card small { margin-bottom: 7px; color: #7790ad; font-size: 10px; }
.email-card strong { color: #eaf2fc; font-size: 15px; font-weight: 600; }
.email-card > svg { width: 18px; height: 18px; color: #7b94b1; }

footer { display: flex; align-items: center; justify-content: space-between; min-height: 122px; border-top: 1px solid var(--border); color: #70859f; font-size: 11px; }
.footer-brand span:last-child { display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { color: #b8c6d8; font-size: 12px; font-weight: 600; }
.footer-brand small { color: #647a94; font-size: 9px; font-weight: 400; }
.footer-links { display: flex; align-items: center; gap: 22px; }
.footer-links a { color: #8da1ba; }

@keyframes blink { 0%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 64px; padding-top: 80px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(640px, 100%); margin-inline: auto; }
  .section-heading, .about-section { grid-template-columns: 1fr; gap: 34px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .tool-card:last-child { grid-column: span 2; }
}

@media (max-width: 680px) {
  .topbar, .hero, .tools-section, .about-section, footer { width: min(100% - 36px, 1180px); }
  .topbar { grid-template-columns: 1fr auto; height: 72px; }
  .main-nav, .contact-button { display: none; }
  .hero { min-height: auto; padding: 68px 0 80px; }
  .hero h1 { font-size: clamp(43px, 13vw, 60px); letter-spacing: -.06em; }
  .hero-description { font-size: 14px; line-height: 1.75; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .window-content { padding: 31px 23px 25px; }
  .window-content h2 { font-size: 20px; }
  .visual-window { transform: none; }
  .tools-section, .about-section { padding: 80px 0; }
  .section-heading h2, .about-copy h2 { font-size: 36px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card, .tool-card:last-child { min-height: 250px; grid-column: auto; }
  .email-card { grid-template-columns: auto 1fr; }
  .email-card > svg { display: none; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 24px; padding: 34px 0; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 10px; }
}
