﻿:root {
      --primary: #1E40AF;
      --secondary: #06B6D4;
      --bg-main: #071629;
      --bg-card: #0F172A;
      --text: #F8FAFC;
      --text-muted: rgba(248, 250, 252, 0.7);
      --accent: #7DD3FC;
      --theme-color: rgb(225,112,85);
      --border: rgba(6, 182, 212, 0.15);
    }
    
    *,*::before,*::after{box-sizing:border-box;}
    html{width:100%;overflow-x:hidden;scroll-behavior:smooth;}
    body{width:100%;margin:0;overflow-x:hidden;background-color:var(--bg-main);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;}
    img{max-width:100%;height:auto;}

    
    .site-header{
      position:sticky;
      top:0;
      z-index:1000;
      width:100%;
      background:rgba(7,22,41,0.92);
      backdrop-filter:blur(16px);
      border-bottom:1px solid var(--border);
    }
    .header-inner{
      width:min(1200px, calc(100% - 32px));
      min-height:72px;
      margin:0 auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
    }
    .logo{
      display:inline-flex;
      align-items:center;
      gap:12px;
      min-width:0;
      max-width:100%;
      text-decoration:none;
      flex-shrink:0;
    }
    .logo img{
      display:block;
      height:40px;
      width:auto;
      max-width:150px;
      object-fit:contain;
      flex-shrink:0;
    }
    .logo span{
      display:inline-block;
      font-size:18px;
      font-weight:800;
      line-height:1.2;
      color:#ffffff;
      white-space:nowrap;
      max-width:180px;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .desktop-nav-wrap{
      flex:1 1 auto;
      min-width:0;
      display:flex;
      justify-content:flex-end;
      overflow:hidden;
    }
    .desktop-nav{
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:8px;
      max-width:100%;
      overflow-x:auto;
      overflow-y:hidden;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      white-space:nowrap;
    }
    .desktop-nav::-webkit-scrollbar{display:none;}
    .desktop-nav a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 13px;
      border-radius:999px;
      color:rgba(248, 250, 252, 0.85);
      text-decoration:none;
      font-size:14px;
      font-weight:700;
      line-height:1;
      white-space:nowrap;
      flex:0 0 auto;
      transition:all 0.25s ease;
    }
    .desktop-nav a:hover{
      color:var(--secondary);
      background:rgba(6, 182, 212, 0.1);
    }
    .mobile-menu-btn{
      display:none;
      width:44px;
      height:44px;
      border:0;
      border-radius:14px;
      background:rgba(6, 182, 212, 0.12);
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      cursor:pointer;
      flex:0 0 auto;
    }
    .mobile-menu-btn span{
      display:block;
      width:20px;
      height:2px;
      border-radius:99px;
      background:var(--secondary);
    }
    .mobile-nav-mask{
      position:fixed;
      inset:0;
      z-index:1100;
      background:rgba(7, 22, 41, 0.8);
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transition:opacity .25s ease, visibility .25s ease;
    }
    .mobile-drawer{
      position:fixed;
      top:0;
      left:0;
      z-index:1110;
      width:min(86vw, 360px);
      height:100vh;
      height:100dvh;
      max-width:90vw;
      background:var(--bg-card);
      color:var(--text);
      transform:translateX(-105%);
      transition:transform .28s ease;
      box-shadow:24px 0 60px rgba(7, 22, 41, 0.5);
      display:flex;
      flex-direction:column;
      overflow:hidden;
      border-right:1px solid var(--border);
    }
    .drawer-head{
      min-height:76px;
      padding:16px 16px 14px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      border-bottom:1px solid var(--border);
      flex:0 0 auto;
    }
    .drawer-logo{min-width:0;}
    .drawer-logo img{height:34px;max-width:120px;}
    .drawer-logo span{font-size:16px;max-width:145px;color:#ffffff;}
    .drawer-close{
      width:40px;
      height:40px;
      border:0;
      border-radius:14px;
      background:rgba(6, 182, 212, 0.1);
      color:var(--text);
      font-size:26px;
      line-height:1;
      cursor:pointer;
      flex:0 0 auto;
    }
    .drawer-body{
      flex:1 1 auto;
      min-height:0;
      overflow-y:auto;
      overflow-x:hidden;
      -webkit-overflow-scrolling:touch;
      padding:14px;
    }
    .drawer-nav{
      display:flex;
      flex-direction:column;
      gap:8px;
    }
    .drawer-nav a{
      display:flex;
      align-items:center;
      width:100%;
      min-height:48px;
      padding:13px 14px;
      border-radius:14px;
      background:rgba(6, 182, 212, 0.05);
      color:var(--text);
      text-decoration:none;
      font-size:15px;
      font-weight:700;
      line-height:1.35;
      white-space:normal;
      word-break:break-word;
      overflow-wrap:anywhere;
      transition:all 0.25s ease;
    }
    .drawer-nav a:hover{
      background:rgba(6, 182, 212, 0.15);
      color:var(--accent);
    }
    body.drawer-open{overflow:hidden;touch-action:none;}
    body.drawer-open .mobile-nav-mask{opacity:1;visibility:visible;pointer-events:auto;}
    body.drawer-open .mobile-drawer{transform:translateX(0);}

    
    .hero-layout-12 {
      background: radial-gradient(circle at 50% 20%, #1e293b 0%, #071629 80%);
      padding: 64px 0;
      border-bottom: 1px solid var(--border);
    }
    .hero-container {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
    }
    .hero-header-section {
      text-align: center;
      margin-bottom: 48px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }
    .hero-tag {
      display: inline-block;
      padding: 6px 16px;
      background: rgba(6, 182, 212, 0.12);
      border: 1px solid rgba(6, 182, 212, 0.3);
      color: var(--secondary);
      font-size: 14px;
      font-weight: bold;
      border-radius: 999px;
      margin-bottom: 18px;
      letter-spacing: 1px;
    }
    .hero-title {
      font-size: clamp(32px, 4.5vw, 56px);
      font-weight: 800;
      line-height: 1.15;
      margin: 0 0 16px;
      color: #ffffff;
      text-shadow: 0 4px 12px rgba(7, 22, 41, 0.5);
    }
    .hero-title span {
      background: linear-gradient(135deg, #06B6D4 0%, #7DD3FC 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.6;
      margin: 0 auto 32px;
      max-width: 640px;
    }
    .hero-btn-group {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 28px;
      border-radius: 12px;
      font-weight: 700;
      font-size: 15px;
      text-decoration: none;
      transition: all 0.25s ease;
      cursor: pointer;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
      color: #ffffff;
      box-shadow: 0 4px 14px rgba(30, 64, 175, 0.4);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(30, 64, 175, 0.6);
    }
    .btn-secondary {
      background: rgba(15, 23, 42, 0.6);
      color: var(--text);
      border: 1px solid var(--border);
    }
    .btn-secondary:hover {
      background: var(--bg-card);
      border-color: var(--secondary);
    }

    
    .dashboard-center {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 24px;
      margin-top: 40px;
    }
    .dash-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 24px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    .dash-card h3 {
      font-size: 16px;
      font-weight: 700;
      margin: 0 0 16px;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
      border-bottom: 1px solid rgba(6, 182, 212, 0.1);
      padding-bottom: 12px;
    }
    .dash-card h3::before {
      content: '';
      display: inline-block;
      width: 4px;
      height: 16px;
      background: var(--secondary);
      border-radius: 2px;
    }
    
    
    .dash-latest { grid-column: span 5; }
    .dash-broker { grid-column: span 7; }
    .dash-tools { grid-column: span 4; }
    .dash-tags { grid-column: span 4; }
    .dash-stats { grid-column: span 4; }

    
    .dash-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .dash-list-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 14px;
      border-radius: 10px;
      background: rgba(6, 182, 212, 0.04);
      border: 1px solid rgba(6, 182, 212, 0.06);
      text-decoration: none;
      color: var(--text);
      transition: all 0.2s ease;
      gap: 12px;
    }
    .dash-list-item:hover {
      background: rgba(6, 182, 212, 0.1);
      border-color: var(--secondary);
      transform: translateX(4px);
    }
    .dash-list-item .title {
      font-size: 14px;
      font-weight: 600;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .dash-list-item .time {
      font-size: 12px;
      color: var(--text-muted);
      flex-shrink: 0;
    }

    
    .broker-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    .broker-item {
      padding: 16px;
      border-radius: 12px;
      background: rgba(30, 64, 175, 0.1);
      border: 1px solid rgba(30, 64, 175, 0.2);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .broker-name {
      font-weight: 700;
      font-size: 14px;
    }
    .broker-rate {
      color: var(--secondary);
      font-size: 14px;
      font-weight: bold;
      background: rgba(6, 182, 212, 0.1);
      padding: 4px 8px;
      border-radius: 6px;
    }

    
    .tool-links {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .tool-link-btn {
      display:flex;
      align-items: center;
      gap: 12px;
      padding: 12px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 10px;
      text-decoration: none;
      color: var(--text);
      transition: all 0.2s ease;
    }
    .tool-link-btn:hover {
      background: rgba(6, 182, 212, 0.08);
      border-color: var(--secondary);
    }
    .tool-link-btn .icon {
      font-size: 20px;
      background: var(--primary);
      width: 36px;
      height: 36px;
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .tool-link-btn span {
      font-size: 13px;
      font-weight: 600;
    }

    
    .tags-container {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .tag-bubble {
      display: inline-block;
      padding: 6px 12px;
      background: rgba(6, 182, 212, 0.08);
      border: 1px solid rgba(6, 182, 212, 0.15);
      border-radius: 8px;
      color: var(--accent);
      font-size: 12px;
      text-decoration: none;
      transition: all 0.2s ease;
    }
    .tag-bubble:hover {
      background: var(--secondary);
      color: #071629;
      transform: translateY(-2px);
    }

    
    .stats-flex {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      height: calc(100% - 38px);
    }
    .stat-box {
      background: rgba(6, 182, 212, 0.04);
      border: 1px solid rgba(6, 182, 212, 0.08);
      padding: 12px;
      border-radius: 10px;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .stat-val {
      font-size: 20px;
      font-weight: 800;
      color: var(--secondary);
      margin-bottom: 4px;
    }
    .stat-lbl {
      font-size: 11px;
      color: var(--text-muted);
    }

    
    .trust-section {
      padding: 80px 0;
      background: #0F172A;
    }
    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }
    .section-title h2 {
      font-size: 32px;
      font-weight: 800;
      color: #ffffff;
      margin: 0 0 12px;
    }
    .section-title p {
      color: var(--text-muted);
      font-size: 16px;
      max-width: 600px;
      margin: 0 auto;
    }
    .trust-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
    }
    .trust-card {
      background: var(--bg-main);
      border: 1px solid var(--border);
      padding: 32px;
      border-radius: 16px;
      transition: all 0.25s ease;
    }
    .trust-card:hover {
      transform: translateY(-5px);
      border-color: var(--secondary);
    }
    .trust-card .icon-wrap {
      width: 48px;
      height: 48px;
      background: rgba(6, 182, 212, 0.1);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--secondary);
      font-size: 24px;
      margin-bottom: 20px;
    }
    .trust-card h3 {
      font-size: 18px;
      margin: 0 0 12px;
      color: #ffffff;
    }
    .trust-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin: 0;
    }

    
    .news-stream-section {
      padding: 80px 0;
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
    }
    .grid-articles {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      margin-top: 40px;
    }
    .article-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: all 0.3s ease;
    }
    .article-card:hover {
      transform: translateY(-4px);
      border-color: var(--secondary);
    }
    .article-img {
      height: 200px;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .article-img::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
    }
    .article-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .article-title {
      font-size: 18px;
      font-weight: 700;
      color: #ffffff;
      text-decoration: none;
      line-height: 1.4;
      margin-bottom: 12px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .article-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.5;
      margin: 0 0 20px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .article-meta {
      margin-top: auto;
      border-top: 1px solid rgba(6, 182, 212, 0.1);
      padding-top: 14px;
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: var(--text-muted);
    }
    .meta-tags {
      display: flex;
      gap: 6px;
    }
    .meta-tag-item {
      color: var(--secondary);
      text-decoration: none;
    }

    
    .site-footer{
      position:relative;
      z-index:1;
      width:100%;
      background:#071629;
      color:#e5e7eb;
      padding:56px 0 24px;
      overflow:hidden;
      border-top:1px solid var(--border);
    }
    .footer-inner{
      width:min(1200px, calc(100% - 32px));
      margin:0 auto;
      display:grid;
      grid-template-columns:minmax(260px,1.35fr) repeat(3, minmax(150px,1fr));
      gap:28px;
      align-items:start;
    }
    .footer-brand{min-width:0;}
    .footer-brand p{
      margin:16px 0 0;
      color:rgba(229,231,235,.74);
      line-height:1.8;
      font-size:14px;
      word-break:break-word;
      overflow-wrap:anywhere;
    }
    .footer-logo span{color:#ffffff;}
    .footer-column{min-width:0;}
    .footer-column h3{margin:0 0 14px;font-size:15px;color:#ffffff;}
    .footer-column ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
    .footer-column li{min-width:0;}
    .footer-column a,.footer-column span{
      display:inline;
      color:rgba(229,231,235,.74);
      text-decoration:none;
      font-size:14px;
      line-height:1.55;
      white-space:normal;
      word-break:break-word;
      overflow-wrap:anywhere;
    }
    .footer-column a:hover{color:#ffffff;}
    .footer-bottom{
      width:min(1200px, calc(100% - 32px));
      margin:32px auto 0;
      padding-top:20px;
      border-top:1px solid rgba(255,255,255,.12);
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      color:rgba(229,231,235,.62);
      font-size:13px;
    }
    .footer-bottom p{margin:0;min-width:0;word-break:break-word;overflow-wrap:anywhere;}
    .footer-bottom a{color:rgba(229,231,235,.74);text-decoration:none;word-break:break-word;overflow-wrap:anywhere;}

    @media (max-width: 900px){
      .header-inner{width:min(100% - 24px, 1200px);min-height:64px;gap:12px;}
      .desktop-nav-wrap,.desktop-nav{display:none !important;}
      .mobile-menu-btn{display:inline-flex !important;}
      .logo img{height:34px;max-width:118px;}
      .logo span{font-size:16px;max-width:145px;}
      .footer-inner{grid-template-columns:1fr 1fr;gap:24px;}
      .footer-brand{grid-column:1 / -1;}
      .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px;}
      
      .dashboard-center { grid-template-columns: 1fr; }
      .dash-latest, .dash-broker, .dash-tools, .dash-tags, .dash-stats { grid-column: span 12; }
      .grid-articles { grid-template-columns: 1fr; }
    }
    @media (max-width: 640px){
      .footer-inner{grid-template-columns:1fr;}
    }
    @media (max-width: 420px){
      .mobile-drawer{width:88vw;}
      .logo span{max-width:112px;}
      .drawer-logo span{max-width:118px;}
      .footer-inner,.footer-bottom{width:min(100% - 24px, 1200px);}
    }