/* ==========================================
   BlueNautics LLC — Premium Minimal Corporate
   ========================================== */

:root{
  --bg: #070b14;
  --bg2: #0b1220;
  --card: rgba(255,255,255,0.06);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --border: rgba(255,255,255,0.12);

  --accent: #4cc9f0;
  --accent3: #4361ee;

  --shadow: 0 10px 30px rgba(0,0,0,0.40);
  --radius-lg: 18px;
  --radius-md: 14px;

  --container: 1140px;
  --header-h: 74px;

  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 450px at 12% 12%, rgba(76, 201, 240, 0.18), rgba(0,0,0,0)),
    radial-gradient(700px 500px at 80% 10%, rgba(67, 97, 238, 0.18), rgba(0,0,0,0)),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: 0.92; }

code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.95em;
  color: rgba(255,255,255,0.85);
}

/* Container */
.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Scroll progress bar */
.scroll-progress{
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent3));
  z-index: 9999;
  opacity: 0.9;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 20, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner{
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.45));
}

.brand-name{
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.nav{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-menu{
  display: flex;
  list-style: none;
  gap: 18px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link{
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.nav-link:hover{
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.06);
}

.nav-link.active{
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
}

/* Mobile nav */
.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-lines{
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  position: relative;
  margin: 0 auto;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:"";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.85);
}

.nav-toggle-lines::before{ top: -6px; }
.nav-toggle-lines::after{ top: 6px; }

/* Hero */
.hero{
  position: relative;
  padding: 54px 0 30px;
  overflow: hidden;
}

.hero-inner{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding-top: 18px;
}

.hero-title{
  margin: 0;
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

/* Subline under title */
.hero-subline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 0.95rem;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  box-shadow: 0 0 0 4px rgba(76,201,240,0.16);
}

.hero-subtitle{
  margin: 14px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 54ch;
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 600;
  transition: transform 160ms var(--ease), background 160ms var(--ease), border 160ms var(--ease);
  cursor: pointer;
}

.btn-primary{
  background: linear-gradient(135deg, rgba(76, 201, 240, 0.30), rgba(67, 97, 238, 0.25));
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
}

.btn-primary:hover{ transform: translateY(-1px); }

.btn-secondary{
  background: rgba(255,255,255,0.06);
}

.btn-secondary:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
}

.btn-ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.86);
}

.btn-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.05);
}

/* Right column logo card hugs logo */
.hero-right{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-card{
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
  max-width: 520px;
}

.hero-card-top{
  display: flex;
  justify-content: center;
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(76, 201, 240, 0.20), rgba(0,0,0,0));
}

.hero-card-top-only{
  padding: 18px 18px;
}

.hero-logo{
  width: min(440px, 92%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55));
}

.hero-fade{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 60px;
  background: linear-gradient(180deg, rgba(0,0,0,0), var(--bg2));
  pointer-events: none;
}

/* Sections */
.section{ padding: 70px 0; }

.section-alt{
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-head{
  margin-bottom: 18px;
  max-width: 70ch;
}

.section-title{
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
}

.section-subtitle{
  margin: 10px 0 0;
  color: var(--muted);
}

/* Cards */
.card{
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}

.card-title{
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

.card-text{
  margin: 10px 0 0;
  color: rgba(255,255,255,0.74);
}

/* About grid */
.about-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-grid .card{ padding: 18px; }

.about-grid-4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Verticals */
.verticals-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Equal height + aligned pills */
.vertical{
  padding: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.vertical-top{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Icon badge */
.icon-badge{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(76, 201, 240, 0.22), rgba(67, 97, 238, 0.18));
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  flex: 0 0 auto;
}

.badge-icon{
  width: 24px;
  height: 24px;
  display: block;
  color: rgba(255,255,255,0.92);
}

.card-meta{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vertical .card-meta{
  margin-top: auto;
  padding-top: 14px;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.78);
  font-weight: 600;
  font-size: 0.90rem;
}

/* Timeline */
.timeline{ padding: 18px; }

.timeline-item{
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  padding: 14px 6px;
}

.timeline-item + .timeline-item{
  border-top: 1px solid rgba(255,255,255,0.08);
}

.timeline-dot{
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  box-shadow: 0 0 0 4px rgba(67,97,238,0.14);
}

.timeline-title{
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.timeline-text{
  margin: 6px 0 0;
  color: rgba(255,255,255,0.74);
}

.timeline-footer{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Profiles */
.profiles-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* =========================
   Business Profile alignment
   ========================= */
.profile-card{
  padding: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border 180ms var(--ease);
}

.profile-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}

.profile-top{
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Keep subtitles consistent so the Download row aligns */
.profile-card .card-text{
  min-height: 44px;
}

/* Push Download row to the bottom */
.profile-action{
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,0.86);
  font-weight: 700;
  padding-top: 16px;
}

/* =========================
   CONTACT (UPDATED: 4 cards)
   ========================= */

/* 2x2 grid on desktop, 1 column on mobile */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Contact cards */
.contact-grid .card{
  padding: 18px;
}

/* Header row: Name + LinkedIn icon */
.contact-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-role{
  color: rgba(255,255,255,0.70);
  font-weight: 600;
  margin-top: 6px;
}

/* Email/link styling */
.contact-grid a{
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.22);
  text-underline-offset: 4px;
}

.contact-grid a:hover{
  text-decoration-color: rgba(76,201,240,0.55);
}

/* LinkedIn icon link */
.social-link{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 160ms var(--ease), background 160ms var(--ease), border 160ms var(--ease);
  flex: 0 0 auto;
}

.social-link:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}

.social-icon{
  width: 18px;
  height: 18px;
  display: block;
  color: rgba(255,255,255,0.86);
}

/* Footer */
.footer{
  padding: 34px 0 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.14);
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo{
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.45));
}

.footer-name{
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-tagline{
  color: rgba(255,255,255,0.70);
  font-size: 0.92rem;
}

.footer-right{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-link{
  color: rgba(255,255,255,0.72);
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 180ms var(--ease);
}

.footer-link:hover{
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.90);
}

.footer-bottom{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,0.66);
  font-size: 0.92rem;
}

.back-to-top{
  color: rgba(255,255,255,0.78);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.18);
  text-underline-offset: 4px;
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }

  .hero-right{
    order: -1;
    justify-content: center;
  }

  .hero-card{
    max-width: 560px;
  }

  .about-grid{
    grid-template-columns: 1fr;
  }

  .about-grid-4{
    grid-template-columns: 1fr;
  }

  .verticals-grid{ grid-template-columns: 1fr; }
  .profiles-grid{ grid-template-columns: 1fr; }

  /* Contact: stack to 1 column on smaller screens */
  .contact-grid{ grid-template-columns: 1fr; }

  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right{ justify-content: flex-start; }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu{
    position: absolute;
    right: 20px;
    top: calc(var(--header-h) - 6px);
    background: rgba(7, 11, 20, 0.90);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.45);
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
  }

  .nav-menu.open{ display: flex; }

  .nav-link{
    width: 100%;
    padding: 10px 12px;
  }

  .nav{
    position: relative;
    margin-left: auto;
  }
}

@media (max-width: 520px){
  .brand-name{ display: none; }
  .brand{ min-width: unset; }
}
