/* Bractos Identity Setup */
:root {
  --bg-dark: #050505;
  --bg-panel: #0a0a0a;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --accent-teal: #00cece;
  --accent-glow: #00cece;
  --grid-color: rgba(255, 255, 255, 0.03);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --card-hover-border: rgba(0, 206, 206, 0.3);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}

.glow-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 206, 206, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
  animation: float 15s infinite ease-in-out;
}

.orb-1 {
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 100, 206, 0.08) 0%, transparent 70%);
  animation-delay: -5s;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
}

.text-gradient {
  background: linear-gradient(90deg, #fff, #a0a0a0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-glow);
  box-shadow: 0 0 15px rgba(0, 206, 206, 0.2);
}

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

.btn-secondary:hover {
  color: #fff;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.status-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 206, 206, 0.1);
  color: var(--accent-teal);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 206, 206, 0.2);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

/* Sections */
section {
  padding: var(--space-xl) 0;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  /* Offset for calc spacing */
}

h1 {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero p.subhead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

.trust-item {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--accent-teal);
  border-radius: 50%;
  display: inline-block;
}

/* Services */
.section-header {
  margin-bottom: 4rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

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

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: default;
}

.card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.card ul {
  list-style: none;
}

.card li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  opacity: 0.7;
}

/* Why Bractos */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.why-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Focus Areas (Stats) */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.focus-tile {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
}

.focus-tile:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.focus-val {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  display: block;
}

.focus-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact */
.contact-panel {
  background: linear-gradient(145deg, #0f0f0f, #080808);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 4rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-panel h2 {
  margin-bottom: 1rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s;
}

.social-icon:hover {
  background: #fff;
  color: #000;
}

/* Footer */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-links {
  margin-bottom: 1rem;
}

/* Animations */
@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-20px, 20px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  .grid-bg {
    background-size: 20px 20px;
  }

  .nav-links {
    display: none;
  }

  /* Simplified mobile nav for now */
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-row {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}