﻿:root {
      --primary: #7C3AED;
      --primary-rgb: 124, 58, 237;
      --theme-color: rgb(147,51,234);
      --accent: #06B6D4;
      --accent-rgb: 6, 182, 212;
      --bg-dark: #0B1026;
      --bg-card: #17113A;
      --bg-light: #1E1B4B;
      --text-light: #F8FAFC;
      --text-muted: #C4B5FD;
      --glass-bg: rgba(23, 17, 58, 0.7);
      --glass-border: rgba(196, 181, 253, 0.15);
      --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-dark);
      color: var(--text-light);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 100;
      background: rgba(11, 16, 38, 0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--glass-border);
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 16px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }

    .logo img {
      display: block;
      height: 40px;
      width: auto;
      max-width: 160px;
      object-fit: contain;
      flex-shrink: 0;
    }

    .logo span {
      display: inline-block;
      font-size: 20px;
      font-weight: 800;
      line-height: 1;
      color: var(--text-light);
      letter-spacing: 0.5px;
      white-space: nowrap;
    }

    .desktop-nav {
      display: flex;
      gap: 32px;
    }

    .desktop-nav a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-muted);
    }

    .desktop-nav a:hover {
      color: var(--accent);
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .nav-cta {
      background: linear-gradient(135deg, var(--primary), var(--theme-color));
      color: #fff;
      padding: 10px 20px;
      border-radius: 50px;
      font-size: 14px;
      font-weight: 600;
      box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    }

    .nav-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
    }

    .menu-toggle span {
      display: block;
      width: 24px;
      height: 2px;
      background-color: var(--text-light);
      transition: 0.3s;
    }

    
    .drawer-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 200;
      visibility: hidden;
      transition: visibility 0.3s;
    }

    .drawer-menu.active {
      visibility: visible;
    }

    .drawer-backdrop {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(11, 16, 38, 0.8);
      backdrop-filter: blur(4px);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .drawer-menu.active .drawer-backdrop {
      opacity: 1;
    }

    .drawer-content {
      position: absolute;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: var(--bg-card);
      border-right: 1px solid var(--glass-border);
      padding: 24px;
      display: flex;
      flex-direction: column;
      transition: left 0.3s ease-out;
    }

    .drawer-menu.active .drawer-content {
      left: 0;
    }

    .drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 32px;
    }

    .drawer-close {
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 28px;
      cursor: pointer;
    }

    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .drawer-nav a {
      font-size: 16px;
      color: var(--text-muted);
      font-weight: 500;
      padding: 8px 0;
    }

    .drawer-nav a:hover {
      color: var(--accent);
    }

    .drawer-footer {
      margin-top: auto;
      font-size: 12px;
      color: var(--text-muted);
      text-align: center;
      border-top: 1px solid rgba(255,255,255,0.05);
      padding-top: 20px;
    }

    
    .hero-layout-03 {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 120px 24px 80px;
      background: radial-gradient(circle at 50% 50%, #17113A 0%, #0B1026 100%);
      overflow: hidden;
    }

    
    .hero-layout-03::before {
      content: '';
      position: absolute;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
      top: 10%;
      left: 10%;
      z-index: 1;
    }

    .hero-layout-03::after {
      content: '';
      position: absolute;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 75%);
      bottom: 10%;
      right: 5%;
      z-index: 1;
    }

    .hero-grid-overlay {
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
      background-size: 40px 40px;
      background-position: center;
      z-index: 2;
    }

    .glass-panel {
      position: relative;
      z-index: 5;
      background: var(--glass-bg);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid var(--glass-border);
      border-radius: 32px;
      padding: 56px 40px;
      max-width: 920px;
      width: 100%;
      text-align: center;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    }

    .hero-tags {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 24px;
    }

    .hero-tag {
      background: rgba(124, 58, 237, 0.15);
      border: 1px solid rgba(124, 58, 237, 0.3);
      color: var(--text-muted);
      padding: 6px 14px;
      border-radius: 50px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    .hero-title {
      font-size: clamp(32px, 5vw, 48px);
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 20px;
      color: var(--text-light);
      letter-spacing: -0.5px;
    }

    .hero-title span {
      background: linear-gradient(135deg, var(--accent) 0%, #C4B5FD 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
      font-size: clamp(15px, 2.5vw, 18px);
      color: var(--text-muted);
      max-width: 700px;
      margin: 0 auto 36px;
      line-height: 1.6;
    }

    .hero-buttons {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-bottom: 48px;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--theme-color));
      color: #fff;
      padding: 14px 28px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
      box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(124, 58, 237, 0.5);
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text-light);
      padding: 14px 28px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.2);
    }

    
    .hero-data-blocks {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      border-top: 1px solid var(--glass-border);
      padding-top: 36px;
    }

    .data-block {
      text-align: center;
    }

    .data-val {
      font-size: clamp(20px, 4vw, 32px);
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
      margin-bottom: 8px;
    }

    .data-label {
      font-size: 13px;
      color: var(--text-muted);
    }

    
    .brokers-bar {
      background: var(--bg-card);
      border-y: 1px solid var(--glass-border);
      padding: 30px 24px;
    }

    .brokers-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 24px;
    }

    .broker-item {
      display: flex;
      align-items: center;
      gap: 10px;
      filter: grayscale(1) opacity(0.6);
      transition: 0.3s;
    }

    .broker-item:hover {
      filter: grayscale(0) opacity(1);
    }

    .broker-item span {
      font-weight: 700;
      font-size: 18px;
      letter-spacing: 0.5px;
    }

    
    .calc-section {
      padding: 100px 24px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-title {
      text-align: center;
      font-size: 36px;
      font-weight: 800;
      margin-bottom: 12px;
    }

    .section-desc {
      text-align: center;
      color: var(--text-muted);
      max-width: 600px;
      margin: 0 auto 56px;
    }

    .calc-card {
      background: var(--bg-card);
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      padding: 40px;
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 40px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

    .calc-inputs {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .input-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .input-group label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-muted);
    }

    .calc-select, .calc-range {
      width: 100%;
      background: var(--bg-dark);
      border: 1px solid var(--glass-border);
      color: var(--text-light);
      padding: 12px;
      border-radius: 8px;
      outline: none;
    }

    .calc-results {
      background: var(--bg-light);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;
    }

    .result-num {
      font-size: 48px;
      font-weight: 800;
      color: var(--accent);
      margin: 16px 0;
    }

    
    .steps-section {
      background: #090e21;
      padding: 100px 24px;
    }

    .steps-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }

    .step-card {
      background: var(--bg-card);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      padding: 32px;
      position: relative;
    }

    .step-num {
      position: absolute;
      top: 24px;
      right: 24px;
      font-size: 48px;
      font-weight: 900;
      color: rgba(6, 182, 212, 0.1);
      line-height: 1;
    }

    .step-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    
    .news-section {
      padding: 100px 24px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .articles-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 32px;
    }

    .article-card {
      background: var(--bg-card);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .article-image {
      position: relative;
      width: 100%;
      height: 200px;
      overflow: hidden;
    }

    .article-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: 0.3s;
    }

    .article-card:hover .article-image img {
      transform: scale(1.05);
    }

    .article-meta {
      position: absolute;
      bottom: 12px;
      left: 12px;
      background: rgba(11, 16, 38, 0.8);
      backdrop-filter: blur(4px);
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 12px;
    }

    .article-content {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .article-title {
      font-size: 18px;
      font-weight: 700;
      line-height: 1.4;
      margin-bottom: 12px;
    }

    .article-desc {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 20px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .article-footer {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid rgba(255,255,255,0.05);
      padding-top: 16px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .article-tag-chip {
      background: rgba(6, 182, 212, 0.1);
      color: var(--accent);
      padding: 2px 8px;
      border-radius: 4px;
    }

    
    .footer {
      background: #060918;
      border-top: 1px solid var(--glass-border);
      padding: 80px 24px 30px;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.2fr repeat(3, 1fr);
      gap: 48px;
    }

    .footer-desc {
      margin-top: 16px;
      color: var(--text-muted);
      font-size: 14px;
      line-height: 1.6;
    }

    .footer-col h4 {
      font-size: 16px;
      margin-bottom: 24px;
    }

    .footer-col ul {
      list-style: none;
    }

    .footer-col ul li {
      margin-bottom: 12px;
    }

    .footer-col ul li a {
      color: var(--text-muted);
      font-size: 14px;
    }

    .footer-col ul li a:hover {
      color: var(--accent);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.05);
      margin-top: 60px;
      padding-top: 30px;
    }

    .footer-bottom-container {
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
    }

    .footer-risk-warning {
      margin-top: 20px;
      font-size: 12px;
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.02);
      padding: 16px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.05);
      text-align: justify;
    }

    
    @media (max-width: 991px) {
      .desktop-nav, .nav-cta {
        display: none;
      }
      .menu-toggle {
        display: flex;
      }
      .calc-card {
        grid-template-columns: 1fr;
      }
      .steps-grid {
        grid-template-columns: 1fr;
      }
      .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
      }
    }

    @media (max-width: 768px) {
      .hero-data-blocks {
        grid-template-columns: 1fr;
        gap: 24px;
      }
    }