/*site.css*/

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

  :root {
    --navy: #0B1F3A;
    --navy-mid: #163354;
    --blue: #1A5CDB;
    --blue-light: #E8EFFC;
    --teal: #0E8A6C;
    --teal-light: #E3F5EF;
    --amber: #D97B0F;
    --amber-light: #FEF3E2;
    --text: #0B1F3A;
    --text-muted: #4A5568;
    --text-light: #718096;
    --border: #DDE3EE;
    --surface: #F7F9FC;
    --white: #FFFFFF;
    --radius: 10px;
    --radius-lg: 16px;
  }
  .is-es,
  .is-fr,
  .is-en,
  .is-en,
  .is-pt,
  .is-de,
  .is-nl {
    display: none;
  }  
  .lang-es .is-es,
  .lang-fr .is-fr,
  .lang-en .is-en,
  .lang-cn .is-en,
  .lang-pt .is-pt,
  .lang-de .is-de,
  .lang-nl .is-nl {
    display: block;
  }  
  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
  }

  /* NAV */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-logo {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--navy);
    letter-spacing: -0.5px;
    text-decoration: none;
  }
  .nav-links {
    display: flex; gap: 2rem; list-style: none;
  }
  .nav-links a {
    font-size: 14px; color: var(--text-muted);
    text-decoration: none; font-weight: 400;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--blue); }
  .nav-cta {
    background: var(--blue);
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500 !important;
    font-size: 14px !important;
  }
  .nav-cta:hover { background: #1448b0 !important; color: white !important; }

  /* HERO */
  .hero {
    background: var(--navy);
    color: white;
    padding: 100px 2rem 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 110%, #1A5CDB22 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(26,92,219,0.2);
    border: 1px solid rgba(26,92,219,0.4);
    color: #93b4f7;
    font-size: 13px; font-weight: 500;
    padding: 6px 14px; border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
  }
  .hero-badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #4d90ff;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }
  .hero h1 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    max-width: 760px;
    margin-left: auto; margin-right: auto;
  }
  .hero h1 em {
    font-style: italic;
    color: #7aaeff;
  }
  .hero p {
    font-size: 18px; font-weight: 300;
    color: #a8bcd8;
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.6;
  }
  .hero-actions {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  }
  .btn-primary {
    background: var(--blue);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px; font-weight: 500;
    padding: 13px 28px;
    border-radius: 8px; border: none;
    cursor: pointer; text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.1s;
  }
  .btn-primary:hover { background: #1448b0; }
  .btn-secondary {
    background: transparent;
    color: #a8bcd8;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px; font-weight: 400;
    padding: 13px 28px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer; text-decoration: none;
    display: inline-block;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-secondary:hover { border-color: rgba(255,255,255,0.35); color: white; }

  .hero-trust {
    margin-top: 60px;
    display: flex; align-items: center; justify-content: center;
    gap: 32px; flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 40px;
  }
  .trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: #7a94b8; font-weight: 400;
  }
  .trust-icon {
    width: 18px; height: 18px;
    background: rgba(26,92,219,0.3);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .trust-icon svg { width: 10px; height: 10px; }

  /* SECTIONS */
  section { padding: 80px 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }

  .section-label {
    font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: 12px;
  }
  .section-title {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(26px, 3.5vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--navy);
    margin-bottom: 16px;
  }
  .section-sub {
    font-size: 17px; color: var(--text-muted);
    max-width: 540px; line-height: 1.65;
    font-weight: 300;
  }
  .section-header { margin-bottom: 48px; }

  /* COMPLIANCE STRIP */
  .compliance-strip {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 32px 2rem;
  }
  .compliance-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    gap: 40px; flex-wrap: wrap;
  }
  .compliance-label {
    font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-light);
  }
  .compliance-tags {
    display: flex; flex-wrap: wrap; gap: 10px;
  }
  .ctag {
    font-size: 13px; font-weight: 500;
    padding: 6px 14px; border-radius: 6px;
    background: white; border: 1px solid var(--border);
    color: var(--text-muted);
  }
  .ctag.blue { background: var(--blue-light); border-color: #c0d0f5; color: #1A4EAA; }
  .ctag.teal { background: var(--teal-light); border-color: #b0ddd0; color: #0A6E57; }
  .ctag.amber { background: var(--amber-light); border-color: #f5d8a0; color: #A85D00; }

  /* FEATURE SECTIONS */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  .feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .feature-card:hover {
    border-color: #c0d0f5;
    box-shadow: 0 4px 20px rgba(26,92,219,0.07);
  }
  .feature-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    font-size: 18px;
  }
  .icon-blue { background: var(--blue-light); }
  .icon-teal { background: var(--teal-light); }
  .icon-amber { background: var(--amber-light); }
  .icon-navy { background: #e8edf5; }
  .feature-card h3 {
    font-size: 16px; font-weight: 500;
    color: var(--navy); margin-bottom: 8px;
  }
  .feature-card p {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.6; font-weight: 300;
  }
  .feature-list {
    margin-top: 12px; padding: 0; list-style: none;
  }
  .feature-list li {
    font-size: 13px; color: var(--text-muted);
    padding: 3px 0;
    display: flex; align-items: flex-start; gap: 8px;
  }
  .feature-list li::before {
    content: '';
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--blue); flex-shrink: 0;
    margin-top: 7px;
  }

  /* HIGHLIGHT BLOCK */
  .highlight-block {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    color: white;
  }
  .highlight-block h2 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.2; letter-spacing: -0.5px;
    margin-bottom: 16px;
  }
  .highlight-block h2 em { font-style: italic; color: #7aaeff; }
  .highlight-block p {
    color: #a8bcd8; font-size: 16px;
    font-weight: 300; line-height: 1.65;
    margin-bottom: 28px;
  }
  .highlight-list { list-style: none; padding: 0; }
  .highlight-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 14px; color: #c4d4ea;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .highlight-list li:last-child { border-bottom: none; }
  .check {
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(14,138,108,0.3);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 1px;
  }
  .check svg { width: 10px; height: 10px; }

  /* API SECTION */
  .api-section { background: var(--surface); }
  .api-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: center;
  }
  .code-block {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 28px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.7;
    color: #a8bcd8;
    overflow: hidden;
  }
  .code-comment { color: #4a6a9a; }
  .code-key { color: #7aaeff; }
  .code-value { color: #7de8c3; }
  .code-str { color: #f7c78a; }

  /* STATS */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
  }
  .stat-item {
    background: white;
    padding: 32px 24px;
    text-align: center;
  }
  .stat-num {
    font-family: 'Fraunces', serif;
    font-size: 40px; font-weight: 500;
    color: var(--navy); line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
  }
  .stat-label {
    font-size: 13px; color: var(--text-muted);
    font-weight: 400;
  }

  /* CTA SECTION */
  .cta-section {
    background: var(--blue);
    text-align: center;
    padding: 100px 2rem;
    color: white;
  }
  .cta-section h2 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.5px; line-height: 1.15;
    margin-bottom: 16px;
  }
  .cta-section h2 em { font-style: italic; color: #b8d0ff; }
  .cta-section p {
    font-size: 17px; font-weight: 300;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
  }
  .btn-white {
    background: white; color: var(--blue);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px; font-weight: 500;
    padding: 13px 28px; border-radius: 8px;
    text-decoration: none; display: inline-block;
    transition: background 0.2s;
  }
  .btn-white:hover { background: #f0f4ff; }

  /* FOOTER */
  footer {
    background: var(--navy);
    color: #7a94b8;
    padding: 40px 2rem;
    text-align: center;
    font-size: 13px;
  }
  footer a { color: #7a94b8; text-decoration: none; }
  footer a:hover { color: white; }

  /* DIVIDERS */
  .section-divider {
    width: 48px; height: 3px;
    background: var(--blue);
    border-radius: 2px;
    margin-bottom: 32px;
  }

  @media (max-width: 768px) {
    .nav-links { display: none; }
    .highlight-block { grid-template-columns: 1fr; padding: 36px 28px; }
    .api-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 60px 1.25rem; }
  }



  /* LANGUAGE SWITCHER */
  .lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
  }
  .lang-btn {
    display: flex; align-items: center; gap: 6px;
    height: 32px; padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    white-space: nowrap;
  }
  .lang-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
  }
  .lang-btn svg {
    width: 12px; height: 12px;
    transition: transform 0.2s;
    flex-shrink: 0;
  }
  .lang-switcher.open .lang-btn {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
  }
  .lang-switcher.open .lang-btn svg { transform: rotate(180deg); }

  .lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(11,31,58,0.10);
    padding: 6px;
    min-width: 148px;
    z-index: 200;
  }
  .lang-switcher.open .lang-dropdown { display: block; }

  .lang-option {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px; font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
  }
  .lang-option:hover {
    background: var(--blue-light);
    color: var(--blue);
  }
  .lang-option.active {
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 500;
  }
  .lang-option .lang-flag {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
  }
  .lang-option .lang-check {
    margin-left: auto;
    width: 14px; height: 14px;
    opacity: 0;
    color: var(--blue);
  }
  .lang-option.active .lang-check { opacity: 1; }

  /* mobile: hide nav links, keep lang switcher visible */
  @media (max-width: 768px) {
    .lang-dropdown { right: 0; left: auto; }
  }
