/* =========================================
   BosonWave Technologies - Homepage Styles
   ========================================= */

   :root {
    --bg: #07111f;
    --bg-soft: #0b1728;
    --card: #0f1d30;
    --card-light: #ffffff;
    --text: #eef5ff;
    --text-dark: #102037;
    --muted: #8ea0b8;
    --muted-dark: #617087;
    --line: rgba(255, 255, 255, 0.10);
    --line-dark: #dce5ef;
    --primary: #4dd4ff;
    --primary-dark: #0aa7d8;
    --secondary: #8d7cff;
    --accent: #32e0a1;
    --max-width: 1180px;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
  }
  
  img {
    display: block;
    width: 100%;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  ul {
    list-style: none;
  }
  
  .container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
  }
  
  /* Header */
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 17, 31, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }
  
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  
  .brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #06101d;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
  }
  
  .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
  }
  
  .brand-text strong {
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.02rem;
  }
  
  .brand-text small {
    color: #8ca0ba;
    font-size: 0.72rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-top: 4px;
  }
  
  .main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #b8c6d8;
    font-size: 0.93rem;
  }
  
  .main-nav a {
    transition: 0.25s ease;
  }
  
  .main-nav a:hover {
    color: #ffffff;
  }
  
  /* Buttons */
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.25s ease;
  }
  
  .btn:hover {
    transform: translateY(-2px);
  }
  
  .btn-small {
    min-height: 42px;
    padding: 0 17px;
    font-size: 0.9rem;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--primary), #4c8dff);
    color: #06101d;
    box-shadow: 0 14px 34px rgba(77, 212, 255, 0.22);
  }
  
  .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
  }
  
  .btn-ghost {
    color: #dce8f8;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
  }
  
  .btn-light {
    background: #ffffff;
    color: #101c2c;
  }
  
  /* Hero */
  
  .hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 15% 20%, rgba(79, 132, 255, 0.12), transparent 35%),
      linear-gradient(180deg, #07111f 0%, #091526 100%);
    color: var(--text);
    padding: 104px 0 84px;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
  }
  
  .hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.22;
  }
  
  .hero-glow-one {
    width: 380px;
    height: 380px;
    background: var(--primary);
    right: 4%;
    top: 14%;
  }
  
  .hero-glow-two {
    width: 260px;
    height: 260px;
    background: var(--secondary);
    left: -8%;
    bottom: 5%;
  }
  
  .hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: 64px;
  }
  
  .eyebrow {
    display: inline-block;
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  
  .hero .eyebrow,
  .dark-section .eyebrow,
  .cta-section .eyebrow {
    color: var(--primary);
  }
  
  .hero h1,
  .section h2,
  .cta-section h2 {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.045em;
  }
  
  .hero h1 {
    font-size: clamp(3.2rem, 6vw, 5.4rem);
    line-height: 0.98;
    max-width: 760px;
  }
  
  .hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #ffffff, var(--primary) 70%);
    -webkit-background-clip: text;
    background-clip: text;
  }
  
  .hero-copy {
    max-width: 650px;
    color: #9eafc5;
    font-size: 1.09rem;
    margin-top: 28px;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
  }
  
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
  
  .hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  
  .hero-stats strong {
    font-size: 0.94rem;
  }
  
  .hero-stats span {
    color: #7f93ad;
    font-size: 0.78rem;
  }
  
  .hero-visual {
    position: relative;
    min-height: 560px;
  }
  
  .image-card {
    overflow: hidden;
    border-radius: 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  
  .main-image {
    position: absolute;
    inset: 24px 0 0 48px;
  }
  
  .main-image img {
    height: 100%;
    min-height: 530px;
    object-fit: cover;
  }
  
  .main-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(5,15,28,0.52));
  }
  
  .floating-card {
    position: absolute;
    z-index: 5;
    min-width: 210px;
    padding: 16px 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 24, 41, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 20px 40px rgba(0,0,0,0.24);
  }
  
  .floating-card small {
    color: #8498b2;
    display: block;
    font-size: 0.72rem;
  }
  
  .floating-card strong {
    color: #ffffff;
    font-size: 0.88rem;
  }
  
  .floating-card-top {
    top: 5px;
    right: -24px;
  }
  
  .floating-card-bottom {
    left: 0;
    bottom: 28px;
  }
  
  .status-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 7px rgba(50, 224, 161, 0.12);
  }
  
  .mini-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #06101d;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
  }
  
  /* Trusted strip */
  
  .trusted-strip {
    background: #0a1423;
    color: #dbe6f4;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  
  .trusted-inner {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }
  
  .trusted-inner p {
    color: #7f92aa;
    font-size: 0.86rem;
  }
  
  .tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }
  
  .tech-list span {
    font-size: 0.77rem;
    color: #c5d2e2;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    padding: 7px 11px;
  }
  
  /* Generic section */
  
  .section {
    padding: 104px 0;
  }
  
  .section-heading {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 72px;
    align-items: end;
    margin-bottom: 52px;
  }
  
  .section h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.05;
    color: #0d1b2f;
  }
  
  .section-heading p,
  .about-copy p,
  .security-copy > p {
    color: var(--muted-dark);
    font-size: 1.02rem;
  }
  
  /* Services */
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  
  .service-card {
    position: relative;
    min-height: 430px;
    padding: 28px;
    border-radius: var(--radius-md);
    background: #f8fbff;
    border: 1px solid #e4ebf3;
    transition: 0.3s ease;
    overflow: hidden;
  }
  
  .service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 44px rgba(17, 40, 69, 0.10);
    border-color: #c9d7e6;
  }
  
  .service-number {
    position: absolute;
    right: 22px;
    top: 20px;
    color: #c3ceda;
    font-size: 0.76rem;
    font-weight: 800;
  }
  
  .service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    margin-bottom: 54px;
    background: #eaf6fb;
    color: #0a8db5;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
  }
  
  .service-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.28rem;
    margin-bottom: 14px;
  }
  
  .service-card p {
    color: #66768b;
    font-size: 0.91rem;
  }
  
  .service-card ul {
    margin-top: 22px;
    display: grid;
    gap: 9px;
  }
  
  .service-card li {
    position: relative;
    padding-left: 18px;
    color: #35455b;
    font-size: 0.84rem;
    font-weight: 600;
  }
  
  .service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-dark);
  }
  
  .accent-card {
    background: linear-gradient(180deg, #effcff 0%, #f6f3ff 100%);
  }
  
  .wide-card {
    grid-column: 1 / -1;
    min-height: 350px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    padding: 0;
    background: #0b1728;
    border-color: #0b1728;
    color: #ffffff;
  }
  
  .wide-card:hover {
    border-color: #0b1728;
  }
  
  .wide-card-content {
    padding: 42px;
    position: relative;
  }
  
  .wide-card .service-icon {
    margin-bottom: 34px;
    background: rgba(77,212,255,0.10);
    color: var(--primary);
  }
  
  .wide-card h3 {
    font-size: 1.8rem;
  }
  
  .wide-card p {
    max-width: 680px;
    color: #a4b5c9;
    font-size: 0.98rem;
  }
  
  .pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
  }
  
  .pill-row span {
    border: 1px solid rgba(255,255,255,0.12);
    color: #c8d5e5;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.77rem;
  }
  
  .wide-card-image {
    min-height: 100%;
  }
  
  .wide-card-image img {
    height: 100%;
    object-fit: cover;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    opacity: 0.82;
  }
  
  /* Dark capability section */
  
  .dark-section {
    background:
      radial-gradient(circle at 85% 20%, rgba(141,124,255,0.14), transparent 30%),
      #07111f;
    color: #ffffff;
  }
  
  .capability-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 76px;
    align-items: center;
  }
  
  .dark-section h2 {
    color: #ffffff;
    margin-bottom: 22px;
  }
  
  .capability-copy > p {
    color: #91a5bd;
    max-width: 610px;
  }
  
  .capability-list {
    margin-top: 38px;
    display: grid;
    gap: 8px;
  }
  
  .capability-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,0.09);
  }
  
  .capability-item > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(77,212,255,0.08);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.73rem;
  }
  
  .capability-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  
  .capability-item p {
    color: #8296af;
    font-size: 0.86rem;
  }
  
  .capability-visual {
    position: relative;
    min-height: 620px;
  }
  
  .image-stack-main {
    position: absolute;
    inset: 0 0 78px 42px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  
  .image-stack-main img {
    height: 100%;
    object-fit: cover;
  }
  
  .image-stack-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(3, 12, 24, 0.45));
  }
  
  .architecture-panel {
    position: absolute;
    left: 0;
    right: 38px;
    bottom: 0;
    padding: 20px;
    border-radius: 18px;
    background: rgba(12, 28, 47, 0.92);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 55px rgba(0,0,0,0.30);
  }
  
  .panel-header,
  .panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  
  .panel-header {
    font-size: 0.78rem;
    color: #a8b9cb;
  }
  
  .panel-status {
    color: var(--accent);
  }
  
  .architecture-flow {
    display: grid;
    grid-template-columns: repeat(7, auto);
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 18px 0;
  }
  
  .architecture-flow div {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: #d9e6f5;
    border-radius: 9px;
    padding: 9px 10px;
    font-size: 0.72rem;
  }
  
  .architecture-flow span {
    color: var(--primary);
  }
  
  .panel-footer {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  
  .panel-footer span {
    font-size: 0.69rem;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(77,212,255,0.07);
    color: #9fddf0;
  }
  
  /* Security section */
  
  .security-section {
    background: #f8fbff;
  }
  
  .security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 74px;
    align-items: center;
  }
  
  .security-visual {
    position: relative;
    min-height: 560px;
  }
  
  .security-visual img {
    height: 560px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 24px 55px rgba(17, 40, 69, 0.12);
  }
  
  .security-badge {
    position: absolute;
    right: -28px;
    bottom: 32px;
    background: #081626;
    color: #ffffff;
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.20);
  }
  
  .security-badge strong,
  .security-badge span {
    display: block;
  }
  
  .security-badge span {
    color: #8297ae;
    font-size: 0.77rem;
    margin-top: 3px;
  }
  
  .security-copy h2 {
    margin-bottom: 22px;
  }
  
  .check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 30px 0;
  }
  
  .check-grid div {
    padding: 13px 14px;
    border: 1px solid var(--line-dark);
    border-radius: 12px;
    color: #34465d;
    background: #ffffff;
    font-size: 0.84rem;
    font-weight: 600;
  }
  
  .text-link {
    color: #067da4;
    font-weight: 800;
    font-size: 0.92rem;
  }
  
  /* About */
  
  .about-section {
    background: #ffffff;
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  
  .about-copy {
    display: grid;
    gap: 18px;
  }
  
  /* CTA */
  
  .cta-section {
    padding: 40px 0 90px;
    background: #ffffff;
  }
  
  .cta-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 56px;
    border-radius: 30px;
    color: #ffffff;
    background:
      radial-gradient(circle at 85% 30%, rgba(77,212,255,0.24), transparent 32%),
      linear-gradient(135deg, #08182a 0%, #0a2940 100%);
  }
  
  .cta-box::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    right: -110px;
    bottom: -120px;
    background: rgba(141, 124, 255, 0.14);
  }
  
  .cta-box > * {
    position: relative;
    z-index: 2;
  }
  
  .cta-box h2 {
    color: #ffffff;
    max-width: 720px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
  }
  
  .cta-box p {
    color: #a8bacd;
    max-width: 720px;
    margin-top: 15px;
  }
  
  .cta-actions {
    min-width: 290px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .cta-phone {
    color: #b5c7d9;
    text-align: center;
    font-size: 0.88rem;
  }
  
  /* Footer */
  
  .site-footer {
    background: #06101d;
    color: #ffffff;
    padding: 52px 0;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
    gap: 50px;
    align-items: end;
  }
  
  .footer-brand p {
    color: #7f93aa;
    font-size: 0.84rem;
    max-width: 360px;
    margin-top: 16px;
  }
  
  .footer-links {
    display: grid;
    gap: 10px;
    color: #9fb0c4;
    font-size: 0.86rem;
  }
  
  .footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #6f829a;
    font-size: 0.78rem;
  }
  
  /* Responsive */
  
  @media (max-width: 1080px) {
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .wide-card {
      grid-column: 1 / -1;
    }
  
    .hero-grid,
    .capability-grid,
    .security-grid {
      gap: 44px;
    }
  
    .hero h1 {
      font-size: clamp(3rem, 6vw, 4.6rem);
    }
  }
  
  @media (max-width: 900px) {
    .main-nav {
      display: none;
    }
  
    .hero-grid,
    .capability-grid,
    .security-grid,
    .section-heading,
    .about-grid {
      grid-template-columns: 1fr;
    }
  
    .hero {
      padding-top: 76px;
    }
  
    .hero-visual {
      min-height: 520px;
    }
  
    .hero-stats {
      max-width: 620px;
    }
  
    .section-heading {
      gap: 20px;
    }
  
    .wide-card {
      grid-template-columns: 1fr;
    }
  
    .wide-card-image {
      min-height: 320px;
    }
  
    .wide-card-image img {
      border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
  
    .capability-visual {
      min-height: 560px;
    }
  
    .security-badge {
      right: 20px;
    }
  
    .cta-box {
      align-items: flex-start;
      flex-direction: column;
    }
  
    .cta-actions {
      min-width: 0;
      width: 100%;
    }
  
    .footer-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-meta {
      align-items: flex-start;
    }
  }
  
  @media (max-width: 640px) {
    .container {
      width: min(calc(100% - 28px), var(--max-width));
    }
  
    .site-header .btn-small {
      display: none;
    }
  
    .nav-wrap {
      min-height: 70px;
    }
  
    .hero {
      padding: 62px 0 58px;
    }
  
    .hero h1 {
      font-size: 2.7rem;
    }
  
    .hero-copy {
      font-size: 1rem;
    }
  
    .hero-actions {
      flex-direction: column;
      align-items: stretch;
    }
  
    .hero-stats {
      grid-template-columns: 1fr;
    }
  
    .hero-visual {
      min-height: 440px;
      margin-top: 16px;
    }
  
    .main-image {
      inset: 0;
    }
  
    .main-image img {
      min-height: 430px;
    }
  
    .floating-card-top {
      top: 18px;
      right: 12px;
    }
  
    .floating-card-bottom {
      left: 12px;
      bottom: 18px;
    }
  
    .trusted-inner {
      align-items: flex-start;
      flex-direction: column;
    }
  
    .tech-list {
      justify-content: flex-start;
    }
  
    .section {
      padding: 76px 0;
    }
  
    .services-grid {
      grid-template-columns: 1fr;
    }
  
    .service-card {
      min-height: 0;
    }
  
    .wide-card {
      grid-column: auto;
    }
  
    .wide-card-content {
      padding: 30px;
    }
  
    .capability-visual {
      min-height: 470px;
    }
  
    .image-stack-main {
      inset: 0 0 88px 0;
    }
  
    .architecture-panel {
      right: 10px;
      left: 10px;
    }
  
    .architecture-flow {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
    }
  
    .security-visual,
    .security-visual img {
      min-height: 420px;
      height: 420px;
    }
  
    .check-grid {
      grid-template-columns: 1fr;
    }
  
    .cta-box {
      padding: 34px 24px;
    }
  
    .cta-box h2 {
      font-size: 2.25rem;
    }
  }
  