/* WEBANOIC WordPress Theme — Layout Styles */

/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(13, 15, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: white;
  font-family: var(--font-display);
}

.site-branding:hover {
  color: var(--accent);
}

.site-branding-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 200, 255, 0.2);
  border-radius: 0.25rem;
}

/* Main Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-navigation a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--accent);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
  width: 100%;
}

/* CTA Button */
.header-cta {
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: background 0.2s ease;
}

.header-cta:hover {
  background: #00B8E6;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--background);
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--background), rgba(13, 15, 20, 0.85), rgba(13, 15, 20, 0.4));
  z-index: 2;
}

.hero-overlay-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), transparent, var(--background));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 80vh;
  padding-top: 6rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease forwards;
}

.hero-label-line {
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-size: 4rem;
  line-height: 0.9;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease 100ms forwards;
  opacity: 0;
}

.hero-subheadline {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 32rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  animation: fadeUp 0.7s ease 200ms forwards;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
  animation: fadeUp 0.7s ease 300ms forwards;
  opacity: 0;
}

.hero-cta-primary,
.hero-cta-secondary {
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-cta-primary {
  background: var(--accent);
  color: var(--accent-foreground);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.hero-cta-primary:hover {
  background: #00B8E6;
}

.hero-cta-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeUp 0.7s ease 500ms forwards;
  opacity: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.7s ease 400ms forwards;
  opacity: 0;
  transform: scale(0.95);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 28rem;
}

.hero-visual-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.3), transparent 70%);
  filter: blur(40px);
  transform: scale(1.2);
  z-index: -1;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(0, 200, 255, 0.4));
}

/* Cert badges ticker */
.cert-badges {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 15, 20, 0.8);
  backdrop-filter: blur(12px);
  z-index: 20;
}

.cert-badges-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  overflow-x: auto;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.cert-badges-label {
  white-space: nowrap;
  margin-right: 1rem;
  flex-shrink: 0;
}

.cert-badge {
  flex-shrink: 0;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(0, 200, 255, 0.2);
  color: rgba(0, 200, 255, 0.6);
  font-size: 0.625rem;
  white-space: nowrap;
  font-family: var(--font-mono);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 20;
}

.scroll-indicator:hover {
  color: var(--accent);
}

.scroll-indicator-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.scroll-indicator-icon {
  width: 1rem;
  height: 1rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.5rem); }
}

/* Section spacing */
.section {
  padding: 6rem 0;
  position: relative;
}

.section.section-alt {
  background: var(--secondary);
}

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

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-label-line {
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: 3.5rem;
  line-height: 1.1;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-right {
    display: none;
  }
  
  .hero-headline {
    font-size: 3rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-headline {
    font-size: 2rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
