:root { --primary: #7463ed; --primary-dark: #5c4ace; --text: #25223d; --text-muted: #78748d; }
body { background: #f7f6fc; color: #25223d; font-family: 'Segoe UI', sans-serif; }
a { color: #6654d9; }
.sidebar { background: #fff; border-right: 1px solid #eeebfa; box-shadow: none; }
.brand-icon, .landing-brand-icon { background: #eeebff; color: #7a68ee; box-shadow: none; border-radius: 50%; }
.brand-text, .landing-brand { color: #7160dc; }
.nav-link { border-radius: 12px; color: #77728b; }
.nav-link.active { background: #eeebff; color: #6653db; box-shadow: none; }
.nav-link.active::before { display: none; }
.nav-link:hover { background: #f5f3ff; color: #6653db; }
.topbar { background: rgba(255,255,255,.95); border-bottom: 1px solid #eeebfa; box-shadow: none; }
.topbar h1 { color: #29253e; font-weight: 600; }
.page-content { padding: 32px; }
.welcome-section { position: relative; overflow: hidden; min-height: 275px; background: linear-gradient(160deg, #fdfcff 0%, #e1dbff 50%, #9987fa 100%); border: 0; border-radius: 22px; padding: 44px; box-shadow: none; }
.welcome-section::before, .welcome-section::after { content: ''; position: absolute; width: 270px; height: 310px; border-radius: 45% 55% 65% 35%; background: linear-gradient(150deg, #c4baff, #8b78f3); opacity: .4; pointer-events: none; }
.welcome-section::before { right: -100px; top: -130px; transform: rotate(35deg); }
.welcome-section::after { left: -170px; bottom: -190px; }
.welcome-section > * { position: relative; z-index: 1; }
.welcome-label { color: #6754c8; letter-spacing: 2px; font-size: 11px; }
.welcome-section h1 { color: #27223e; font-size: clamp(28px,3.1vw,44px); font-weight: 600; letter-spacing: -1.5px; }
.welcome-section h1 span { color: #6552cd; }
.welcome-section p { color: #655b80; max-width: 480px; line-height: 1.8; }
.welcome-button, .feature-primary, .submit-button, .choose-button, .auth-button, .dashboard-action-button, .empty-button, .landing-nav-button, .home-btn-primary, .cta-button { background: #7763ed; border-color: #7763ed; border-radius: 9px; color: #fff; box-shadow: 0 5px 15px #7763ed20; }
.welcome-button:hover, .feature-primary:hover, .submit-button:hover, .auth-button:hover, .home-btn-primary:hover { background: #604bd4; border-color: #604bd4; color: white; }
.stat-card, .feature-card, .quick-card, .recent-card, .dashboard-chart, .recent-table-card, .upload-card, .side-card, .history-card, .about-card, .technology-card, .process-card { background: #fff; border: 1px solid #ece9f6; border-radius: 16px; box-shadow: 0 5px 22px #34286304; }
.stat-card { padding: 25px; }
.stat-value, .feature-value { color: #393052; font-weight: 600; }
.stat-label, .feature-label { font-size: 10px; letter-spacing: 1.3px; color: #8a819b; }
.quick-action { background: #faf9ff; border: 1px solid #efecfb; border-radius: 12px; }
.quick-action.primary { background: #eee9ff; color: #50419a; }
.quick-action-icon { background: #eae4ff; color: #7965df; }
.upload-zone { background: linear-gradient(140deg,#fcfbff,#efeaff); border: 1px dashed #b5a7ee; border-radius: 16px; }
.upload-symbol, .feature-icon, .workflow-icon { background: #eae4ff; color: #7b65e6; border-radius: 14px; box-shadow: none; }
.about-hero { border: 0; background: linear-gradient(140deg,#f8f6ff,#e4dcff); border-radius: 18px; }
.about-label, .technology, .chart-badge { background: #f0ebff; color: #7965d5; border-color: #e7defa; }
.home-info-banner, .feature-note, .note { background: #eee9fc; color: #766891; border: 0; }
.landing-page { background: #fff; }
.landing-nav { max-width: 1180px; margin: auto; background: #fff; border: 0; box-shadow: none; padding: 24px 32px; }
.landing-brand { font-size: 20px; }
.landing-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; text-align: center; max-width: 1180px; margin: 0 auto; gap: 34px; padding: 72px 36px 40px; border-radius: 22px; background: linear-gradient(180deg,#fff 0%,#e5dfff 40%,#9784fa 100%); }
.landing-hero::before, .landing-hero::after { content:''; position:absolute; width:330px; height:440px; border-radius:45% 55% 30% 70%; background:linear-gradient(135deg,#e1daff,#9580fa); top:120px; pointer-events:none; opacity:.8; }
.landing-hero::before { left:-210px; transform:rotate(20deg); }
.landing-hero::after { right:-210px; transform:rotate(-20deg); }
.hero-content, .hero-visual { position:relative; z-index:1; width:100%; }
.home-badge { color:#7b68b6; background:#ffffff80; border:1px solid #ded5f9; font-size:10px; letter-spacing:1.2px; }
.home-title { color:#252138; font-weight:600; font-size:clamp(34px,5vw,58px); letter-spacing:-2px; line-height:1.15; }
.home-title span { color:#6250bd; }
.home-description { margin:20px auto; max-width:600px; color:#655979; font-size:15px; }
.hero-content .home-actions, .hero-trust { justify-content:center; }
.hero-trust { color:#554775; font-size:12px; }
.hero-trust i { color:#6652b8; }
.hero-visual { max-width:460px; margin:auto; }
.scan-card { background:#ffffffcc; border:1px solid #ffffff; border-radius:18px; box-shadow:0 12px 40px #6250ba20; padding:20px; transform:none; }
.scan-preview { height:145px; background:linear-gradient(145deg,#e8e2ff,#b4a4ef); }
.scan-header strong, .scan-result strong { color:#4c3d79; }
.landing-stats { max-width:1060px; margin:28px auto 0; background:#fff; border:0; box-shadow:none; }
.landing-stat strong { color:#6d59cf; }
.landing-section { max-width:1180px; padding:64px 32px; margin:auto; }
.landing-section-soft { background:#f8f7fb; border-radius:22px; }
.section-heading h2 { color:#28223c; font-size:30px; font-weight:600; letter-spacing:-.8px; }
.section-heading > span { background:#fff; border:1px solid #ddd6ef; padding:5px 12px; border-radius:8px; color:#84789c; font-size:10px; }
.workflow-card { background:linear-gradient(180deg,#eee9ff,#fcfbff); border:1px solid #eee9fa; border-radius:12px; box-shadow:none; padding:32px 24px; }
.workflow-card h3, .landing-feature h3 { color:#393047; font-size:17px; }
.workflow-number { color:#ab97ec; }
.landing-feature { border:1px solid #f0edf7; border-radius:14px; background:linear-gradient(150deg,#eee9ff 0%,#fff 75%); padding:28px; }
.technology-section { background:#f5f2ff; color:#53416e; border-radius:20px; margin:32px auto; max-width:1116px; padding:48px; }
.technology-section h2, .technology-section h2 span { color:#57458a; }
.technology-section p { color:#7d7092; }
.technology-pills span { background:#fff; color:#7966a9; border:1px solid #e2daef; }
.landing-cta { background:linear-gradient(130deg,#f0eaff,#a18cf5); border-radius:20px; max-width:1116px; margin:40px auto; color:#4b386e; box-shadow:none; }
.landing-cta h2, .landing-cta p { color:#4b386e; }
.auth-brand { background:linear-gradient(150deg,#f2edff,#9985ef); color:#40315f; }
.auth-brand h1, .auth-brand p { color:#4b3b6b; }
:focus-visible { outline:3px solid #a191ef; outline-offset:3px; }
@media(max-width:768px) { .page-content { padding:20px; } .welcome-section { padding:28px; min-height:260px; gap:24px; flex-direction:column; align-items:flex-start; } .landing-hero { border-radius:0 0 20px 20px; padding:48px 22px 30px; } .landing-nav { padding:20px; } .landing-section { padding:44px 22px; } .technology-section,.landing-cta { margin:24px 16px; padding:28px; } .home-title { letter-spacing:-1px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; } }
/* Reference-inspired content structure; existing visual tokens are retained. */
.landing-section-nav { display:flex; flex-wrap:wrap; justify-content:center; gap:18px; font-size:12px; }
.landing-section-nav a { color:inherit; }
.landing-nav { gap:20px; }
.landing-hero { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); text-align:left; align-items:center; }
.hero-content .home-actions,.hero-trust { justify-content:flex-start; }
.hero-visual { max-width:460px; }
.landing-page section[id] { scroll-margin-top:30px; }
.structured-footer { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:32px; text-align:left; max-width:1116px; margin:auto; }
.structured-footer a { display:block; margin-top:10px; }
.structured-footer p { font-size:13px; margin-top:12px; max-width:300px; }
.structured-footer small { grid-column:1/-1; }
@media(max-width:1000px) { .landing-nav { flex-wrap:wrap; } .landing-section-nav { order:3; width:100%; } }
@media(max-width:768px) { .landing-hero { grid-template-columns:1fr; text-align:center; } .hero-content .home-actions,.hero-trust { justify-content:center; } .structured-footer { grid-template-columns:1fr; padding:28px; } .landing-section-nav { gap:14px; } }
.workspace-layout .app-shell { display:block; }
.workspace-layout .sidebar { position:relative; width:100%; height:auto; display:flex; flex-direction:row; align-items:center; gap:24px; padding:18px 32px; z-index:10; border-right:0; border-bottom:1px solid var(--border); transform:none; }
.workspace-layout .sidebar-brand { padding:0; border:0; flex-shrink:0; }
.workspace-layout .sidebar-nav { display:flex; flex:1; flex-direction:row; align-items:center; justify-content:center; gap:5px; padding:0; }
.workspace-layout .nav-section-title { display:none; }
.workspace-layout .nav-link { width:auto; margin:0; padding:10px 12px; font-size:12px; gap:7px; white-space:nowrap; }
.workspace-layout .sidebar-bottom { padding:0; border:0; }
.workspace-layout .user-mini { display:none; }
.workspace-layout .logout-link { margin:0; padding:10px; font-size:12px; }
.workspace-layout .main-content { margin-left:0; width:100%; min-width:0; }
.workspace-layout .topbar { position:relative; padding:20px 32px; height:auto; }
.workspace-layout .page-content { max-width:1250px; margin:auto; }
.workspace-breadcrumb { display:flex; gap:10px; font-size:12px; margin-bottom:18px; color:var(--muted); }
.journey-navigation { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:28px; }
.journey-navigation>a { display:flex; align-items:center; gap:12px; padding:20px; background:white; border:1px solid var(--border); border-radius:14px; color:var(--text); min-width:0; }
.journey-navigation>a[aria-current] { border-color:var(--purple); background:var(--purple-light); }
.journey-navigation>a>span { color:var(--purple); font-size:20px; }
.journey-navigation strong,.journey-navigation small { display:block; }
.journey-navigation strong { font-size:13px; }
.journey-navigation small { color:var(--muted); margin-top:4px; font-size:11px; }
.journey-navigation i { margin-left:auto; color:var(--purple); }
.page-section-navigation { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px; }
.page-section-navigation:empty { display:none; }
.page-section-navigation a { background:white; border:1px solid var(--border); border-radius:8px; padding:7px 12px; font-size:12px; }
.workspace-layout h2[id] { scroll-margin-top:25px; }
.workspace-layout .page-intro { align-items:flex-start; flex-wrap:wrap; }
.workspace-layout .analyzer-page>.page-intro,.workspace-layout .history-page>.page-intro { display:block; }
.workspace-next-step { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px; margin-top:36px; background:var(--purple-light); border-radius:18px; }
.workspace-next-step h2 { font-size:22px; margin-top:10px; }
.workspace-next-step p { color:var(--muted); font-size:13px; margin:0; }
.workspace-footer { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding:30px 0 10px; color:var(--muted); font-size:12px; }
.workspace-footer nav { display:flex; flex-wrap:wrap; gap:18px; }
.workspace-layout .history-card { overflow-x:auto; }
@media(max-width:1100px) { .workspace-layout .sidebar { gap:12px; padding:16px 20px; flex-wrap:wrap; } .workspace-layout .sidebar-nav { order:3; flex-basis:100%; justify-content:flex-start; flex-wrap:wrap; } .workspace-layout .sidebar-bottom { margin-left:auto; } }
@media(max-width:600px) { .journey-navigation { grid-template-columns:1fr; gap:8px; } .journey-navigation>a { padding:13px 16px; } .workspace-next-step { flex-direction:column; align-items:flex-start; } .workspace-layout .topbar { padding:18px 20px; } .workspace-layout .sidebar .nav-link { font-size:11px; padding:8px; } .workspace-layout .sidebar:not(.open) .sidebar-nav { display:none; } .workspace-layout .mobile-menu-btn { display:flex; } }
@media(min-width:601px) { .workspace-layout .mobile-menu-btn { display:none; } }
