/* ── Roam Dream — AI High-Frequency Trading System ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font:16px/1.6 "Inter_Regular",arial,sans-serif;color:#1e293b;background:#fff;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}

:root{
  --primary:#D97706;
  --primary-dark:#B45309;
  --primary-light:#FFFBEB;
  --dark:#0F172A;
  --dark2:#1E293B;
  --gray:#64748B;
  --gray-light:#F1F5F9;
  --gray-border:#E2E8F0;
  --blue:#2563EB;
  --blue-light:#EFF6FF;
  --green:#16A34A;
  --green-light:#F0FDF4;
  --red:#EF4444;
  --red-light:#FEF2F2;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 1px 3px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);
  --shadow-md:0 4px 6px rgba(0,0,0,.05),0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:0 10px 25px rgba(0,0,0,.08),0 4px 10px rgba(0,0,0,.04);
  --shadow-xl:0 20px 50px rgba(0,0,0,.1);
}

@font-face{font-family:Inter_Light;src:url('../font/Inter-Light-7.otf')}
@font-face{font-family:Inter_Regular;src:url('../font/Inter-Regular-9.otf')}
@font-face{font-family:Inter_Bold;src:url('../font/Inter-Bold-4.otf')}

.container{max-width:1280px;width:90%;margin:0 auto}
.section-title{font-family:"Inter_Bold";font-size:48px;line-height:1.15;color:var(--dark);text-align:center;margin-bottom:16px}
.section-subtitle{font-family:"Inter_Light";font-size:20px;color:var(--gray);text-align:center;max-width:640px;margin:0 auto 64px;line-height:1.6}

/* ── Header ── */
.navbar{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(15,23,42,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.06)}
.navbar .container{display:flex;align-items:center;justify-content:space-between;height:72px}
.navbar .logo{font-family:"Inter_Bold";font-size:22px;color:#fff;letter-spacing:-.5px}
.nav-links{display:flex;align-items:center;gap:32px}
.nav-links a{font-family:"Inter_Regular";font-size:15px;color:rgba(255,255,255,.75);transition:color .2s}
.nav-links a:hover{color:#fff}
.nav-cta{display:inline-flex;align-items:center;padding:10px 24px;background:var(--primary);color:#fff;font-family:"Inter_Bold";font-size:14px;border-radius:var(--radius-sm);transition:all .25s}
.nav-cta:hover{background:var(--primary-dark);transform:translateY(-1px)}

/* ── Hero ── */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;background:linear-gradient(135deg,var(--dark) 0%,#2d1f06 50%,var(--dark) 100%);overflow:hidden;padding:120px 0 80px}
.hero::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(ellipse 60% 50% at 50% 40%,rgba(217,119,6,.12) 0%,transparent 70%)}
.hero-bg-pattern{position:absolute;inset:0;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='19' y='0' width='2' height='40' fill='%23fff'/%3E%3Crect x='0' y='19' width='40' height='2' fill='%23fff'/%3E%3C/svg%3E")}
.hero .container{position:relative;z-index:2}
.hero-badge{display:inline-block;padding:6px 16px;background:rgba(217,119,6,.15);border:1px solid rgba(217,119,6,.3);border-radius:50px;font-family:"Inter_Regular";font-size:14px;color:rgba(255,255,255,.8);margin-bottom:28px}
.hero h1{font-family:"Inter_Bold";font-size:clamp(40px,6vw,72px);line-height:1.1;color:#fff;max-width:900px;margin:0 auto 24px}
.hero h1 span{color:var(--primary)}
.hero p{font-family:"Inter_Light";font-size:clamp(18px,2.5vw,24px);color:rgba(255,255,255,.65);max-width:640px;margin:0 auto 40px;line-height:1.6}
.hero-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.btn-primary{display:inline-flex;align-items:center;gap:8px;padding:16px 36px;background:var(--primary);color:#fff;font-family:"Inter_Bold";font-size:17px;border-radius:var(--radius-sm);transition:all .25s}
.btn-primary:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 8px 25px rgba(217,119,6,.35)}
.btn-secondary{display:inline-flex;align-items:center;gap:8px;padding:16px 36px;background:transparent;color:#fff;font-family:"Inter_Bold";font-size:17px;border-radius:var(--radius-sm);border:1px solid rgba(255,255,255,.2);transition:all .25s}
.btn-secondary:hover{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.35)}
.hero-visual{margin-top:56px}
.hero-visual img{border-radius:var(--radius);box-shadow:var(--shadow-xl);border:1px solid rgba(255,255,255,.08)}

/* ── Problem ── */
.problem{padding:120px 0;background:#fff}
.problem-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:64px}
.problem-card{text-align:center;padding:40px 32px;border-radius:var(--radius);background:var(--gray-light);transition:all .3s}
.problem-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.problem-card .icon-wrap{width:64px;height:64px;margin:0 auto 24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px}
.problem-card .icon-wrap.red{background:var(--red-light);color:var(--red)}
.problem-card .icon-wrap.amber{background:var(--primary-light);color:var(--primary)}
.problem-card .icon-wrap.blue{background:var(--blue-light);color:var(--blue)}
.problem-card h3{font-family:"Inter_Bold";font-size:22px;color:var(--dark);margin-bottom:12px}
.problem-card p{font-family:"Inter_Light";font-size:16px;color:var(--gray);line-height:1.6}

/* ── Architecture ── */
.architecture{padding:120px 0;background:var(--gray-light)}
.arch-diagram{display:flex;align-items:center;justify-content:center;gap:0;margin-top:64px;flex-wrap:wrap}
.arch-layer{flex:1;min-width:200px;max-width:300px;text-align:center;padding:40px 24px;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-md);margin:0 12px}
.arch-layer .arch-icon{width:56px;height:56px;margin:0 auto 16px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:26px}
.arch-layer .arch-icon.amber{background:var(--primary-light);color:var(--primary)}
.arch-layer .arch-icon.blue{background:var(--blue-light);color:var(--blue)}
.arch-layer .arch-icon.green{background:var(--green-light);color:var(--green)}
.arch-layer h3{font-family:"Inter_Bold";font-size:20px;color:var(--dark);margin-bottom:8px}
.arch-layer p{font-family:"Inter_Light";font-size:14px;color:var(--gray);line-height:1.5}
.arch-arrow{font-size:24px;color:var(--primary);font-family:"Inter_Bold";flex-shrink:0}

/* ── Split Section ── */
.split-section{display:flex;align-items:center;gap:80px;margin-top:64px}
.split-section.reverse{flex-direction:row-reverse}
.split-section .split-text{flex:0 0 420px}
.split-section .split-text h2{font-family:"Inter_Bold";font-size:36px;color:var(--dark);margin-bottom:20px}
.split-section .split-text .badge{display:inline-block;padding:4px 12px;background:var(--primary-light);color:var(--primary);font-family:"Inter_Bold";font-size:13px;border-radius:6px;margin-bottom:16px}
.split-section .split-visual{flex:1;min-width:0}
.split-section .split-visual img{border-radius:var(--radius);box-shadow:var(--shadow-lg)}
.cms-features{padding:120px 0;background:#fff}

.feature-list{margin-top:24px}
.feature-list li{font-family:"Inter_Regular";font-size:15px;color:var(--dark2);padding:10px 0 10px 28px;position:relative;border-bottom:1px solid var(--gray-border)}
.feature-list li:last-child{border-bottom:none}
.feature-list li::before{content:'';position:absolute;left:0;top:18px;width:12px;height:2px;border-radius:1px;background:var(--primary)}

/* ── Strategy Types ── */
.strategies{padding:120px 0;background:var(--gray-light)}
.strategy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:64px}
.strategy-card{padding:36px 28px;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);transition:all .3s;text-align:center}
.strategy-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.strategy-card .st-icon{width:56px;height:56px;margin:0 auto 20px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:26px}
.strategy-card .st-icon.amber{background:var(--primary-light);color:var(--primary)}
.strategy-card .st-icon.blue{background:var(--blue-light);color:var(--blue)}
.strategy-card .st-icon.green{background:var(--green-light);color:var(--green)}
.strategy-card .st-icon.red{background:var(--red-light);color:var(--red)}
.strategy-card h3{font-family:"Inter_Bold";font-size:20px;color:var(--dark);margin-bottom:10px}
.strategy-card p{font-family:"Inter_Light";font-size:15px;color:var(--gray);line-height:1.6}

/* ── Risk Management ── */
.risk{padding:120px 0;background:var(--dark)}
.risk .section-title{color:#fff}
.risk .section-subtitle{color:rgba(255,255,255,.55)}
.risk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:64px}
.risk-card{padding:36px 28px;border-radius:var(--radius);border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);transition:all .3s;text-align:center}
.risk-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(0,0,0,.3);border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.05)}
.risk-card .risk-icon{width:56px;height:56px;margin:0 auto 20px;display:flex;align-items:center;justify-content:center;border-radius:14px;font-size:28px}
.risk-card .risk-icon.amber{background:rgba(217,119,6,.15)}
.risk-card .risk-icon.blue{background:rgba(37,99,235,.15)}
.risk-card .risk-icon.green{background:rgba(22,163,74,.15)}
.risk-card .risk-icon img{width:28px;height:28px}
.risk-card h3{font-family:"Inter_Bold";font-size:20px;color:#fff;margin-bottom:10px}
.risk-card p{font-family:"Inter_Light";font-size:15px;color:rgba(255,255,255,.55);line-height:1.6}

/* ── Dashboard ── */
.dashboard{padding:120px 0;background:var(--dark2);overflow:hidden}
.dashboard .section-title{color:#fff}
.dashboard .section-subtitle{color:rgba(255,255,255,.55)}
.dashboard-showcase{display:flex;align-items:center;gap:80px;margin-top:64px}
.dashboard-showcase .dash-img{flex:1;min-width:0}
.dashboard-showcase .dash-img img{border-radius:var(--radius);box-shadow:var(--shadow-xl);border:1px solid rgba(255,255,255,.1)}
.dashboard-showcase .dash-text{flex:0 0 380px}
.dashboard-showcase .dash-text h3{font-family:"Inter_Bold";font-size:32px;color:#fff;margin-bottom:20px}
.dashboard-showcase .dash-text p{font-family:"Inter_Light";font-size:17px;color:rgba(255,255,255,.6);line-height:1.7;margin-bottom:16px}
.dash-list{list-style:none}
.dash-list li{font-family:"Inter_Regular";font-size:15px;color:rgba(255,255,255,.75);padding:8px 0 8px 28px;position:relative}
.dash-list li::before{content:'';position:absolute;left:0;top:16px;width:12px;height:2px;border-radius:1px;background:var(--primary)}

/* ── How It Works ── */
.how{padding:120px 0;background:#fff}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:64px;position:relative}
.steps::before{content:'';position:absolute;top:40px;left:calc(12.5% + 32px);right:calc(12.5% + 32px);height:2px;background:var(--gray-border)}
.step{text-align:center;position:relative;z-index:1}
.step-num{width:80px;height:80px;margin:0 auto 24px;border-radius:50%;background:#fff;border:2px solid var(--gray-border);display:flex;align-items:center;justify-content:center;font-family:"Inter_Bold";font-size:28px;color:var(--primary);transition:all .3s}
.step:hover .step-num{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 8px 25px rgba(217,119,6,.25)}
.step h3{font-family:"Inter_Bold";font-size:18px;color:var(--dark);margin-bottom:8px}
.step p{font-family:"Inter_Light";font-size:14px;color:var(--gray);line-height:1.5}

/* ── Use Cases ── */
.usecases{padding:120px 0;background:var(--gray-light)}
.usecase-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:64px}
.usecase-card{padding:32px 24px;border-radius:var(--radius);background:#fff;text-align:center;transition:all .3s;box-shadow:var(--shadow)}
.usecase-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.usecase-card .uc-icon{width:56px;height:56px;margin:0 auto 20px;background:var(--primary-light);border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:26px}
.usecase-card h3{font-family:"Inter_Bold";font-size:18px;color:var(--dark);margin-bottom:8px}
.usecase-card p{font-family:"Inter_Light";font-size:14px;color:var(--gray);line-height:1.5}

/* ── Contact CTA ── */
.contact-cta{padding:120px 0;text-align:center;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%)}
.contact-cta h2{font-family:"Inter_Bold";font-size:clamp(32px,5vw,48px);color:#fff;margin-bottom:16px}
.contact-cta p{font-family:"Inter_Light";font-size:20px;color:rgba(255,255,255,.8);max-width:560px;margin:0 auto 40px;line-height:1.6}
.contact-cta .btn-primary{font-size:18px;padding:18px 44px;background:#fff;color:var(--primary)}
.contact-cta .btn-primary:hover{background:var(--primary-light);box-shadow:0 8px 25px rgba(0,0,0,.15)}

/* ── Footer ── */
.footer{background:var(--dark);padding:40px 0}
.footer .container{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}
.footer .copyright{font-family:"Inter_Regular";font-size:14px;color:rgba(255,255,255,.5)}
.footer #lang-switcher{position:relative;z-index:1000}

/* ── Responsive ── */
@media (max-width:1024px){
  .problem-grid,.strategy-grid,.risk-grid{grid-template-columns:repeat(2,1fr)}
  .usecase-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .steps::before{display:none}
  .split-section,.split-section.reverse{flex-direction:column;gap:40px}
  .split-section .split-text{flex:auto}
  .arch-diagram{flex-direction:column;gap:16px}
  .arch-arrow{transform:rotate(90deg)}
  .dashboard-showcase{flex-direction:column;gap:40px}
  .dashboard-showcase .dash-text{flex:auto}
  .section-title{font-size:36px}
}
@media (max-width:768px){
  .navbar .container{height:60px}
  .nav-links{display:none}
  .problem-grid,.strategy-grid,.risk-grid,.usecase-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .hero{padding:100px 0 60px;min-height:auto}
  .hero h1{font-size:32px}
  .hero p{font-size:16px}
  .section-title{font-size:30px}
  .section-subtitle{font-size:16px;margin-bottom:40px}
  .problem,.architecture,.cms-features,.strategies,.risk,.dashboard,.how,.usecases,.contact-cta{padding:72px 0}
  .hero-visual{margin-top:32px}
  .hero-buttons{flex-direction:column;align-items:center}
  .split-section .split-text h2{font-size:28px}
}
@media (max-width:480px){
  .container{width:94%}
  .hero h1{font-size:28px}
  .section-title{font-size:26px}
  .step-num{width:64px;height:64px;font-size:22px}
}
