@layer base, layout, components, animations, utilities;

@layer base {
  :root {
    --bg: #0b0b12;
    --bg-alt: #0f0f1a;
    --panel: #131324;
    --panel-hover: #1a1a30;
    --text: #e8e8ff;
    --text-secondary: #c0c0e0;
    --muted: #b9b9d7;
    --primary: #5b5bd6;
    --primary-2: #7b5bd6;
    --primary-glow: rgba(91, 91, 214, 0.25);
    --outline: rgba(255, 255, 255, 0.08);
    --outline-hover: rgba(255, 255, 255, 0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 10px 30px rgba(91, 91, 214, 0.15);
    --glass-bg: rgba(19, 19, 36, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);
    --danger: #ff6b6b;
    --success: #51cf66;
    --hero-grad-1: rgba(91, 91, 214, 0.25);
    --hero-grad-2: rgba(123, 91, 214, 0.15);
    --logo-filter: grayscale(100%) opacity(0.8);
    --logo-filter-hover: grayscale(0%) opacity(1);
    --syntax: #1e1e2e;
  }



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

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  html,
  body {
    height: 100%;
  }

  body {
    margin: 0;
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

  }

  img,
  picture {
    max-width: 100%;
    height: auto;
  }

  a {
    color: #c9c9ff;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  a:hover {
    text-decoration: underline;
  }


  h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    transition: color 0.3s ease;
  }

  :focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
  }

  ::selection {
    background: var(--primary);
    color: white;
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}

@layer animations {
  @keyframes mesh-shift {
    0% { background-position: 0% 50%, 100% 50%, 50% 0%; }
    33% { background-position: 100% 50%, 0% 50%, 50% 100%; }
    66% { background-position: 50% 0%, 50% 100%, 0% 50%; }
    100% { background-position: 0% 50%, 100% 50%, 50% 0%; }
  }

  @keyframes float-drift-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(40px, -30px) rotate(8deg); }
    50% { transform: translate(-20px, 20px) rotate(-4deg); }
    75% { transform: translate(30px, 40px) rotate(6deg); }
  }

  @keyframes float-drift-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, -40px) rotate(-6deg); }
    66% { transform: translate(20px, 30px) rotate(4deg); }
  }

  @keyframes float-drift-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(30px, -25px) rotate(12deg) scale(1.08); }
  }

  @keyframes pulse-glow {
    0%, 100% { opacity: 0.08; }
    50% { opacity: 0.15; }
  }


  @keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
  }


  @keyframes section-line {
    0% { transform: scaleX(0); opacity: 0; }
    100% { transform: scaleX(1); opacity: 1; }
  }

  @keyframes grid-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.12; }
  }

  @keyframes accent-pulse {
    0%, 100% { box-shadow: 0 0 4px var(--primary-glow); }
    50% { box-shadow: 0 0 14px var(--primary-glow); }
  }

}

@layer layout {
  .container {
    width: min(1280px, 94%);
    margin-inline: auto;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--outline);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    transition: padding 0.3s ease;
  }



  .site-footer {
    border-top: none;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 32px 0;
    transition: background-color 0.3s ease;
    position: relative;
  }

  .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary-2), var(--primary), transparent);
    opacity: 0.3;
  }

  .footer-inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-meta {
    display: flex;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
  }

  .footer-links {
    display: flex;
    gap: 1rem;
  }

  .footer-links a {
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
  }

  .footer-links a:hover {
    background: var(--outline);
    text-decoration: none;
  }

  .section {
    padding: 80px 0;
    position: relative;
    box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.35);
  }

  .section .container {
    position: relative;
    z-index: 1;
  }

  .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--outline), transparent);
    opacity: 0;
  }

  .section:first-of-type::before {
    display: none;
  }

  .section.alt {
    background: var(--bg-alt);
    position: relative;
  }


  .section.alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
  }


  .hero {
    position: relative;
    padding: clamp(64px, 12vh, 140px) 0 72px;
  }

  .hero-inner {
    display: grid;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .hero-bg {
    position: absolute;
    inset: -50% -50%;
    background:
      radial-gradient(600px 400px at 20% 30%, var(--hero-grad-1), transparent 50%),
      radial-gradient(500px 300px at 80% 70%, var(--hero-grad-2), transparent 50%),
      radial-gradient(400px 400px at 50% 0%, var(--hero-grad-1), transparent 50%);
    background-size: 200% 200%, 200% 200%, 200% 200%;
    animation: mesh-shift 20s ease-in-out infinite;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 0;
  }

  .hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  .hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
    transition: background 0.3s ease;
  }

  .hero-shape-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -15%;
    left: -8%;
    animation: float-drift-1 14s ease-in-out infinite;
  }

  .hero-shape-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary-2), transparent 70%);
    top: 30%;
    right: -5%;
    animation: float-drift-2 18s ease-in-out infinite;
  }

  .hero-shape-3 {
    width: 180px;
    height: 180px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: radial-gradient(circle, var(--primary), transparent 60%);
    bottom: 5%;
    left: 35%;
    animation: float-drift-3 12s ease-in-out infinite;
  }


  .hero-gradient {
    position: absolute;
    inset: auto -10% -20% -10%;
    height: 300px;
    background: radial-gradient(600px 200px at 50% 0, var(--hero-grad-1), transparent 60%);
    pointer-events: none;
    z-index: -1;
    transition: background 0.3s ease;
  }

  .about {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }
}

@layer components {
  .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 2rem;
    flex-shrink: 0;
  }

  .brand-logo {
    height: 44px;
    width: auto;
  }

  .brand-logo.small {
    height: 28px;
  }

  .nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
  }

  .nav a {
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    color: var(--text-secondary);
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav a:hover {
    background: var(--outline);
    text-decoration: none;
  }

  .nav .btn-ghost {
    border: 1px solid var(--outline);
  }

  .language-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.65rem;
  }

  .lang-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .lang-link:hover {
    color: var(--text);
    background: var(--outline);
  }

  .lang-link.active {
    color: var(--primary);
  }

  .lang-separator {
    color: var(--muted);
    font-size: 0.8rem;
  }


  .nav-toggle {
    display: none;
    background: none;
    color: var(--text);
    border: 1px solid var(--outline);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .nav-toggle:hover {
    background: var(--outline);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 0 0 0.6rem;
  }


  .lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--muted);
    max-width: 70ch;
  }

  .cta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1rem;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
  }

  .btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .btn:hover {
    text-decoration: none;
  }

  .btn:active {
    transform: scale(0.97);
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    box-shadow: var(--shadow);
  }

  .btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
  }

  .btn-outline {
    border-color: var(--outline);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
  }

  .btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-glow);
    transform: translateY(-2px);
  }

  .btn-ghost {
    color: var(--text-secondary);
  }

  .btn-ghost:hover {
    color: var(--text);
    background: var(--outline);
  }

  .btn.small {
    padding: 0.5rem 0.7rem;
    font-weight: 600;
    font-size: 0.95rem;
  }

  .btn.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
  }

  .section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 0.3rem;
    display: inline-block;
  }

  .section-title-wrap {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .section-title-accent {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    border-radius: 2px;
    margin: 0.5rem auto 0;
    animation: accent-pulse 3s ease-in-out infinite;
  }

  @media (prefers-reduced-motion: reduce) {
    .section-title-accent {
      animation: none;
    }
  }

  .section-kicker {
    color: var(--muted);
    margin: 0 0 1.2rem;
  }

  .cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(12, 1fr);
  }

  .card {
    position: relative;
    grid-column: span 12;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
  }

  .card:hover {
    background: var(--panel-hover);
    border-color: var(--outline-hover);
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--primary-glow);
  }

  .card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: var(--radius);
    pointer-events: none;
    transition: border-color 0.3s ease;
  }

  .card:hover::after {
    border-color: var(--primary);
    box-shadow:
      inset 3px 3px 0 -1px var(--primary),
      inset -3px -3px 0 -1px var(--primary);
  }

  .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-glow);
    color: var(--primary);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
  }

  .card-icon svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
  }

  .card:hover .card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
  }

  .card:hover .card-icon svg {
    transform: scale(1.1);
  }

  .card h3 {
    margin: 0 0 0.3rem;
  }

  .card p {
    color: var(--muted);
  }

  #risk-resilience .cyber-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  @media (min-width: 700px) {
    .card {
      grid-column: span 6;
    }
  }

  @media (min-width: 1000px) {
    .card {
      grid-column: span 3;
    }

    #services .card,
    #hardening .card {
      grid-column: span 4;
    }
  }

  .bullets {
    margin: 0.6rem 0 0 1.1rem;
  }

  .bullets li {
    margin: 0.3rem 0;
  }

  .muted {
    color: var(--muted);
  }

  .hidden {
    display: none;
  }

  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .fade-up.show {
    opacity: 1;
    transform: none;
  }

  .cards .fade-up:nth-child(1) { transition-delay: 0s; }
  .cards .fade-up:nth-child(2) { transition-delay: 0.08s; }
  .cards .fade-up:nth-child(3) { transition-delay: 0.16s; }
  .cards .fade-up:nth-child(4) { transition-delay: 0.24s; }

  .founders-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    margin-top: 1rem;
  }

  .founder-card {
    grid-column: span 12;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
  }

  .founder-card:hover {
    background: var(--panel-hover);
    border-color: var(--outline-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
  }

  .founder-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--outline);
    display: block;
    margin: 0 auto 0.6rem;
    transition: border-color 0.3s ease;
  }

  .founder-card:hover .founder-photo {
    border-color: var(--primary);
  }

  .role {
    color: var(--muted);
    margin-top: -0.4rem;
  }

  @media (min-width: 800px) {
    .founder-card {
      grid-column: span 4;
    }
  }

  .service-guarantees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--outline);
  }

  .guarantee-item {
    text-align: center;
    padding: 0.8rem;
    background: var(--primary-glow);
    border: 1px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .guarantee-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
  }

  .comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
  }

  .comparison-section {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: background 0.3s ease;
  }

  .comparison-title {
    margin: 0 0 1rem;
    font-size: 1.2rem;
  }

  .comparison-title.traditional {
    color: var(--danger);
  }

  .comparison-title.managed {
    color: var(--success);
  }

  .comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .comparison-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--outline);
  }

  .comparison-list li:last-child {
    border-bottom: none;
  }

  @media (max-width: 768px) {
    .comparison-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  }

  .roi-metrics {
    margin-top: 2rem;
  }

  .roi-metrics h3 {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    counter-reset: metric;
  }

  .metric-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .metric-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.15), transparent 70%);
    pointer-events: none;
  }

  .metric-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(91, 91, 214, 0.3);
  }

  .metric-number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .metric-label {
    font-size: 0.9rem;
    margin-top: 0.6rem;
    opacity: 0.9;
    line-height: 1.4;
  }

  .evolution-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 2rem 0;
    position: relative;
  }

  .timeline-step {
    flex: 1;
    max-width: 400px;
    position: relative;
  }

  .timeline-step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(100% + 0px);
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    z-index: 1;
  }

  .timeline-step:last-child::after {
    display: none;
  }

  .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-glow);
  }

  .step-content {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: background 0.3s ease;
  }

  .step-content h3 {
    margin: 0 0 0.5rem;
  }

  .step-problems,
  .step-benefits {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
  }

  .problem-tag {
    background: var(--danger);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .benefit-tag {
    background: var(--success);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .timeline-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
  }

  @media (max-width: 768px) {
    .evolution-timeline {
      flex-direction: column;
    }
    .timeline-arrow {
      transform: rotate(90deg);
    }
  }

  .partnership-benefits {
    margin-top: 3rem;
  }

  .partnership-benefits h3 {
    text-align: center;
    margin-bottom: 2rem;
  }

  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .benefit-item {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
  }

  .benefit-item:hover {
    background: var(--panel-hover);
    border-color: var(--outline-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
  }

  .benefit-item h4 {
    margin: 0 0 0.5rem;
    color: var(--primary);
  }

  .benefit-item p {
    color: var(--muted);
    margin: 0;
  }

  .result-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
  }

  .metric {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow);
  }

  .trust-indicators {
    margin: 2rem 0;
  }

  .trust-section {
    margin-bottom: 2rem;
  }

  .trust-section h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
  }

  .trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .trust-badge {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--outline);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .trust-badge:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
  }

  .section-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--outline) 1px, transparent 1px),
      linear-gradient(90deg, var(--outline) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    animation: grid-pulse 8s ease-in-out infinite;
  }

  @media (prefers-reduced-motion: reduce) {
    .section-grid-bg {
      animation: none;
    }
  }

  .section-grid-bg + .container {
    position: relative;
    z-index: 1;
  }

  .cyber-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
  }

  .cyber-card {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px);
  }

  .cyber-card.show {
    opacity: 1;
    transform: translateY(0);
  }

  .cyber-card:nth-child(1) { transition-delay: 0s; }
  .cyber-card:nth-child(2) { transition-delay: 0.1s; }
  .cyber-card:nth-child(3) { transition-delay: 0.2s; }
  .cyber-card:nth-child(4) { transition-delay: 0.3s; }

  .cyber-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow:
      0 0 30px var(--primary-glow),
      0 0 60px var(--primary-glow);
  }

  .cyber-card.show:hover {
    transform: translateY(-4px);
  }

  .cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
  }

  .cyber-card.show::before {
    left: 100%;
  }

  .cyber-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--outline);
    color: var(--primary);
    transition: all 0.3s ease;
  }

  .cyber-card-icon svg {
    width: 24px;
    height: 24px;
  }

  .cyber-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
    line-height: 1.3;
  }

  .cyber-card-kw {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.5;
    max-width: 28ch;
    margin: 0 auto;
  }

  .cyber-number {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.3rem;
  }

  .cyber-label {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.4;
  }

  .trust-badge.sla {
    background: linear-gradient(135deg, var(--success), #40c057);
    color: white;
    border-color: var(--success);
  }

  .trust-badge.cert {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border-color: var(--primary);
  }

  .contact-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
  }

  .contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
  }

  .contact-option {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
  }

  .contact-option:hover {
    border-color: var(--outline-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
  }

  .contact-option.primary {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-glow), rgba(123, 91, 214, 0.05));
  }

  .contact-option h3 {
    margin: 0 0 1rem;
    color: var(--text);
  }

  .contact-option p {
    color: var(--muted);
    margin: 0 0 1.5rem;
  }

  .contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--outline);
  }

  .contact-detail {
    text-align: center;
  }

  .contact-detail strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--primary);
  }

  .contact-detail a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
  }

  .contact-detail a:hover {
    color: var(--primary);
  }

  @media (max-width: 768px) {
    .contact-info {
      flex-direction: column;
      gap: 1rem;
    }
    .contact-options {
      grid-template-columns: 1fr;
    }
  }


  @media (max-width: 768px) {
    .cyber-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }

    .cyber-card {
      padding: 1.5rem 1rem;
    }
  }

  @media (max-width: 480px) {
    .cyber-grid {
      grid-template-columns: 1fr;
    }
  }
}

@layer utilities {
  @media (max-width: 860px) {
    .nav-toggle {
      display: inline-flex;
    }

    .nav {
      display: flex;
      position: absolute;
      right: 4%;
      top: 58px;
      background: var(--panel);
      border: 1px solid var(--outline);
      border-radius: 14px;
      padding: 0.6rem;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
      flex-direction: column;
      align-items: stretch;
      min-width: 220px;
      opacity: 0;
      transform: translateY(-12px) scale(0.96);
      pointer-events: none;
      transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav.open {
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }

    .nav a {
      padding: 0.6rem 0.8rem;
      border-radius: var(--radius-sm);
    }

    .language-switcher {
      justify-content: center;
      margin: 0.5rem 0;
      padding: 0.6rem;
      border-top: 1px solid var(--outline);
      border-bottom: 1px solid var(--outline);
    }

    .section {
      padding: 60px 0;
    }
  }

  @media (max-width: 480px) {
    .hero h1 {
      font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .btn.large {
      padding: 0.8rem 1.2rem;
      font-size: 1rem;
    }
  }
}
