﻿:root {
      --primary: #0EA5E9;
      --secondary: #38BDF8;
      --bg-light: #DFF6FF;
      --bg-dark: #082F49;
      --text-dark: #0F172A;
      --text-light: #F8FAFC;
      --highlight: #BAE6FD;
      --accent: rgb(66,66,66);
      --border-color: rgba(14, 165, 233, 0.15);
      --card-bg: rgba(255, 255, 255, 0.95);
      --shadow-sm: 0 2px 8px rgba(8, 47, 73, 0.04);
      --shadow-md: 0 10px 30px rgba(8, 47, 73, 0.08);
      --shadow-lg: 0 20px 40px rgba(8, 47, 73, 0.12);
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { width: 100%; overflow-x: hidden; font-family: var(--font-family); scroll-behavior: smooth; }
    body { width: 100%; margin: 0; overflow-x: hidden; background: #F8FAFC; color: var(--text-dark); line-height: 1.6; }
    img { max-width: 100%; height: auto; display: block; }
    a { color: var(--primary); text-decoration: none; transition: all 0.3s ease; }
    a:hover { color: var(--secondary); }

    
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      width: 100%;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }
    .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: var(--bg-dark);
      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 16px;
      border-radius: 999px;
      color: #334155;
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      flex: 0 0 auto;
    }
    .desktop-nav a:hover, .desktop-nav a.active {
      background: var(--bg-light);
      color: var(--bg-dark);
    }
    .mobile-menu-btn {
      display: none;
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: 14px;
      background: rgba(15, 23, 42, 0.08);
      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: #111827;
    }
    .mobile-nav-mask {
      position: fixed;
      inset: 0;
      z-index: 1100;
      background: rgba(15, 23, 42, 0.56);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.25s ease, visibility 0.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: #ffffff;
      color: #111827;
      transform: translateX(-105%);
      transition: transform 0.28s ease;
      box-shadow: 24px 0 60px rgba(15, 23, 42, 0.24);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .drawer-head {
      min-height: 76px;
      padding: 16px 16px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-bottom: 1px solid rgba(15, 23, 42, 0.08);
      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; }
    .drawer-close {
      width: 40px;
      height: 40px;
      border: 0;
      border-radius: 14px;
      background: rgba(15, 23, 42, 0.08);
      color: #111827;
      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(15, 23, 42, 0.045);
      color: #111827;
      text-decoration: none;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.35;
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
    }
    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); }

    .site-footer {
      position: relative;
      z-index: 1;
      width: 100%;
      background: var(--bg-dark);
      color: #e5e7eb;
      padding: 56px 0 24px;
      overflow: hidden;
    }
    .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, 0.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, 0.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, 0.12);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      color: rgba(229, 231, 235, 0.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, 0.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; }
    }
    @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); }
    }

    
    .hero-layout-10 {
      position: relative;
      background: radial-gradient(circle at 80% 20%, #1e40af 0%, #030712 100%);
      padding: 100px 0 160px;
      color: var(--text-light);
      text-align: center;
      overflow: hidden;
    }
    .hero-layout-10::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(14, 165, 233, 0.15) 1px, transparent 0);
      background-size: 24px 24px;
      opacity: 0.7;
      pointer-events: none;
    }
    .hero-container {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      position: relative;
      z-index: 5;
    }
    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(14, 165, 233, 0.2);
      border: 1px solid rgba(56, 189, 248, 0.4);
      color: var(--secondary);
      font-size: 13px;
      font-weight: 700;
      padding: 6px 16px;
      border-radius: 99px;
      margin-bottom: 24px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .hero-title {
      font-size: clamp(32px, 5vw, 56px);
      font-weight: 800;
      line-height: 1.15;
      margin: 0 auto 20px;
      max-width: 900px;
      background: linear-gradient(135deg, #ffffff 40%, var(--secondary) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: -1px;
    }
    .hero-subtitle {
      font-size: clamp(16px, 2vw, 20px);
      color: rgba(248, 250, 252, 0.85);
      max-width: 700px;
      margin: 0 auto 40px;
      line-height: 1.6;
    }
    
    .hero-floating-island {
      position: absolute;
      bottom: -60px;
      left: 50%;
      transform: translateX(-50%);
      width: min(1140px, calc(100% - 32px));
      background: rgba(8, 47, 73, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(14, 165, 233, 0.35);
      border-radius: 24px;
      padding: 30px 40px;
      box-shadow: 0 25px 50px -12px rgba(8, 47, 73, 0.5);
      display: grid;
      grid-template-columns: 1.2fr 2fr;
      align-items: center;
      gap: 32px;
      text-align: left;
      z-index: 10;
    }
    .island-action {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .island-buttons {
      display: flex;
      gap: 12px;
    }
    .btn-main {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: #ffffff;
      font-weight: 700;
      padding: 14px 28px;
      border-radius: 12px;
      font-size: 15px;
      box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
      text-align: center;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .btn-main:hover {
      transform: translateY(-2px);
      box-shadow: 0 15px 25px rgba(14, 165, 233, 0.4);
      color: #ffffff;
    }
    .btn-sub {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--text-light);
      font-weight: 700;
      padding: 14px 24px;
      border-radius: 12px;
      font-size: 15px;
      text-align: center;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .btn-sub:hover {
      background: rgba(255, 255, 255, 0.2);
      color: #ffffff;
    }
    .island-metrics {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      border-left: 1px solid rgba(255, 255, 255, 0.15);
      padding-left: 32px;
    }
    .metric-item h4 {
      font-size: 28px;
      font-weight: 800;
      color: var(--secondary);
      margin: 0 0 4px;
      line-height: 1.1;
    }
    .metric-item p {
      font-size: 13px;
      color: rgba(248, 250, 252, 0.7);
      margin: 0;
    }
    .accent-dot { color: var(--accent); font-weight: bold; } 

    
    .section-below-hero {
      padding-top: 120px;
    }

    
    .section-container {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      padding: 80px 0;
    }
    .section-header {
      text-align: center;
      max-width: 700px;
      margin: 0 auto 50px;
    }
    .section-header h2 {
      font-size: 32px;
      font-weight: 800;
      color: var(--bg-dark);
      margin: 0 0 16px;
    }
    .section-header p {
      color: #64748b;
      font-size: 16px;
      margin: 0;
    }

    
    .calculator-box {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 24px;
      padding: 40px;
      box-shadow: var(--shadow-md);
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 40px;
      align-items: center;
    }
    .calc-form {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .form-group label {
      font-size: 14px;
      font-weight: 700;
      color: var(--bg-dark);
    }
    .form-group select, .form-group input {
      padding: 12px 16px;
      border: 1px solid rgba(15, 23, 42, 0.15);
      border-radius: 10px;
      font-size: 15px;
      background: #FFFFFF;
      color: var(--text-dark);
      outline: none;
      transition: border-color 0.3s;
    }
    .form-group select:focus, .form-group input:focus {
      border-color: var(--primary);
    }
    .calc-result {
      background: var(--bg-light);
      border-radius: 16px;
      padding: 30px;
      border-left: 6px solid var(--primary);
    }
    .calc-result-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--bg-dark);
      margin-bottom: 8px;
      text-transform: uppercase;
    }
    .calc-amount {
      font-size: 42px;
      font-weight: 900;
      color: var(--bg-dark);
      line-height: 1;
      margin-bottom: 20px;
    }
    .calc-amount span { font-size: 18px; font-weight: 700; color: #64748b; }
    .calc-note {
      font-size: 13px;
      color: #475569;
      margin: 0;
    }

    
    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .feature-card {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 20px;
      padding: 32px 24px;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
    }
    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
      border-color: var(--secondary);
    }
    .feature-icon {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      background: var(--bg-light);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      margin-bottom: 24px;
    }
    .feature-card h3 {
      font-size: 18px;
      font-weight: 800;
      color: var(--bg-dark);
      margin: 0 0 12px;
    }
    .feature-card p {
      font-size: 14px;
      color: #64748b;
      margin: 0;
      line-height: 1.6;
    }

    
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .broker-card {
      background: #FFFFFF;
      border: 1px solid rgba(15, 23, 42, 0.08);
      border-radius: 20px;
      padding: 24px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .broker-head {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .broker-logo-box {
      width: 60px;
      height: 60px;
      background: #F1F5F9;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .broker-info h3 {
      margin: 0 0 4px;
      font-size: 18px;
      font-weight: 800;
      color: var(--bg-dark);
    }
    .broker-info p {
      margin: 0;
      font-size: 13px;
      color: #64748b;
    }
    .broker-specs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      background: var(--bg-light);
      padding: 14px;
      border-radius: 12px;
    }
    .spec-item span {
      display: block;
      font-size: 11px;
      color: #475569;
    }
    .spec-item strong {
      font-size: 14px;
      color: var(--bg-dark);
    }
    .broker-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: auto;
    }
    .broker-rate {
      color: var(--primary);
      font-weight: 800;
      font-size: 16px;
    }
    .btn-broker {
      background: var(--bg-dark);
      color: #ffffff;
      font-size: 12px;
      font-weight: 700;
      padding: 8px 16px;
      border-radius: 8px;
    }
    .btn-broker:hover {
      background: var(--primary);
    }

    
    .article-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }
    .article-card {
      background: #FFFFFF;
      border-radius: 16px;
      border: 1px solid rgba(15, 23, 42, 0.08);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      transition: all 0.3s;
    }
    .article-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
    }
    .article-image {
      position: relative;
      padding-top: 56.25%; 
      background: #E2E8F0;
      overflow: hidden;
    }
    .article-image img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .article-tag {
      position: absolute;
      top: 14px;
      left: 14px;
      background: var(--primary);
      color: #FFFFFF;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 99px;
    }
    .article-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .article-card h3 {
      font-size: 18px;
      font-weight: 800;
      color: var(--bg-dark);
      margin: 0 0 12px;
      line-height: 1.4;
    }
    .article-summary {
      font-size: 14px;
      color: #64748b;
      margin: 0 0 20px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .article-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid #F1F5F9;
      padding-top: 16px;
      font-size: 13px;
      color: #94a3b8;
      margin-top: auto;
    }
    .article-meta span {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    
    .cta-banner {
      background: linear-gradient(135deg, var(--bg-dark) 0%, #1e3a8a 100%);
      color: var(--text-light);
      border-radius: 24px;
      padding: 60px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .cta-banner::before {
      content: '';
      position: absolute;
      top: -10%;
      right: -10%;
      width: 300px;
      height: 300px;
      border-radius: 50%;
      background: rgba(14, 165, 233, 0.15);
      filter: blur(50px);
    }
    .cta-content {
      position: relative;
      z-index: 5;
      max-width: 650px;
      margin: 0 auto;
    }
    .cta-content h2 {
      font-size: 36px;
      font-weight: 800;
      margin-bottom: 16px;
    }
    .cta-content p {
      color: rgba(248, 250, 252, 0.8);
      font-size: 16px;
      margin-bottom: 32px;
    }

    
    @media (max-width: 1024px) {
      .hero-floating-island {
        grid-template-columns: 1fr;
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        margin: 40px auto 0;
        text-align: center;
      }
      .island-metrics {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 24px;
      }
      .section-below-hero { padding-top: 60px; }
      .calculator-box { grid-template-columns: 1fr; }
      .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .grid-3, .article-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 640px) {
      .island-buttons { flex-direction: column; }
      .island-metrics { grid-template-columns: 1fr; gap: 16px; }
      .grid-4, .grid-3, .article-grid { grid-template-columns: 1fr; }
      .cta-banner { padding: 40px 20px; }
    }