/*
Theme Name: AngleOut
Theme URI: https://angleout.io
Description: Exact WordPress replica of the AngleOut B2B SEO landing page.
Version: 1.0.0
Author: AngleOut
Author URI: https://angleout.io
License: GNU General Public License v2 or later
Text Domain: angleout
*/

/* ─── Global Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', Helvetica, sans-serif;
  background: #ffffff;
  color: #031226;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c2c2c2; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #999; }

/* ─── Keyframes ─── */
@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes scrollDown {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}
@keyframes shimmer {
  0%, 90%, 100% { transform: translateX(-150%); }
  30%, 60%      { transform: translateX(150%); }
}
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes blobFloat1 {
  0%, 100% { transform: translateY(0)   translateX(0)   scale(1); }
  50%       { transform: translateY(-20px) translateX(20px) scale(1.05); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translateY(0)  translateX(0)    scale(1); }
  50%       { transform: translateY(20px) translateX(-20px) scale(1.1); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25%       { transform: scale(1.15) rotate(5deg); }
  75%       { transform: scale(1.15) rotate(-5deg); }
}

/* ─── Utility ─── */
.animate-fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.22,1,0.36,1) forwards; }
.opacity-0 { opacity: 0; }
.translate-y-8 { transform: translateY(2rem); }

/* ─── Animate on scroll ─── */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate][data-delay="1"] { transition-delay: 0.15s; }
[data-animate][data-delay="2"] { transition-delay: 0.25s; }
[data-animate][data-delay="3"] { transition-delay: 0.35s; }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.5s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.1);
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.5rem;
  min-height: 72px;
  position: relative;
  width: 100%;
  transition: all 0.5s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
}
.nav-logo img {
  height: 96px;
  object-fit: contain;
  transition: all 0.3s ease;
}
.site-header.scrolled .nav-logo img {
  height: 80px;
  filter: brightness(0);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-link {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: white;
  transition: all 0.3s ease;
  position: relative;
}
.nav-link:hover { background: rgba(255,255,255,0.1); }
.nav-link.active { font-weight: 700; background: rgba(255,255,255,0.1); }
.site-header.scrolled .nav-link { color: #031226; }
.site-header.scrolled .nav-link:hover { background: rgba(3,18,38,0.05); }
.site-header.scrolled .nav-link.active { background: rgba(3,18,38,0.05); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: white;
  color: black;
  border-radius: 9999px;
  border: 1px solid white;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.nav-cta:hover { transform: scale(1.05); background: rgba(255,255,255,0.95); }
.site-header.scrolled .nav-cta { background: #031226; color: white; border-color: #031226; }
.nav-cta img { width: 16px; height: 16px; }
.site-header.scrolled .nav-cta img { filter: invert(1); }

.nav-desktop { display: flex; align-items: center; justify-content: space-between; flex: 1; max-width: 1266px; padding-left: 2.5rem; gap: 2rem; }

/* Mobile menu */
.hamburger {
  display: none;
  padding: 0.625rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  color: white;
  transition: all 0.3s ease;
  z-index: 60;
}
.site-header.scrolled .hamburger { background: rgba(0,0,0,0.05); color: black; }
.hamburger svg { width: 24px; height: 24px; }
.hamburger:hover { background: rgba(255,255,255,0.2); }
.site-header.scrolled .hamburger:hover { background: rgba(0,0,0,0.1); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #0f1829;
  z-index: 40;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu .nav-link { font-size: 1.25rem; padding: 1.5rem 2rem; width: 100%; text-align: center; color: white; }
.mobile-menu .nav-cta { font-size: 1.125rem; padding: 1rem 2rem; }
.mobile-menu .nav-cta img { filter: none; }

@media (max-width: 767px) {
  .hamburger { display: flex; }
  .nav-desktop { display: none; }
  .mobile-menu { display: flex; }
  .site-header nav { padding: 0 1rem; }
}

/* ─── Accordion ─── */
.accordion-item { border-top: 1px solid; }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.375rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
  background: none;
}
.accordion-trigger svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.accordion-trigger[aria-expanded="true"] svg { transform: rotate(45deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content-inner { padding: 0 2.5rem 2rem; }

/* Dark accordion (services section) */
.accordion-dark .accordion-item { border-color: rgba(255,255,255,0.1); }
.accordion-dark .accordion-trigger { color: white; }
.accordion-dark .accordion-item:hover { background: rgba(255,255,255,0.02); }
.accordion-dark .accordion-content-inner { color: rgba(255,255,255,0.7); font-size: 1.125rem; line-height: 1.75; font-family: 'Montserrat', Helvetica, sans-serif; }

/* White accordion (FAQ section) */
.accordion-white .accordion-item { border-color: #c2c2c2; transition: all 0.3s; }
.accordion-white .accordion-trigger { color: #1e1e1e; }
.accordion-white .accordion-item.open {
  background: linear-gradient(0deg, rgba(210,233,255,1) 0%, rgba(245,245,249,1) 100%);
  backdrop-filter: blur(2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 1px 0 0 rgba(255,255,255,0.32), inset 0 -1px 1px rgba(0,0,0,0.13), inset -1px 0 1px rgba(0,0,0,0.11);
}
.accordion-white .accordion-content-inner { color: #1e1e1e; font-size: 1.125rem; line-height: 1.75; font-family: 'Montserrat', Helvetica, sans-serif; }

/* ─── Carousel ─── */
.carousel-wrapper { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease-out;
}
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: #d1d5db;
  border: none; cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active { width: 32px; background: #031226; }

/* ─── Wall of Love ─── */
.scroll-col-up   { animation: scrollUp   30s linear infinite; }
.scroll-col-down { animation: scrollDown 35s linear infinite; }
.scroll-col-up2  { animation: scrollUp   32s linear infinite; }

/* ─── Footer Glow ─── */
.footer-glow { position: relative; overflow: hidden; }

/* ─── Button Base ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(0.95); }
.btn-dark { background: #031226; color: white; border-color: #031226; padding: 0.875rem 1.75rem; font-size: 1.125rem; }
.btn-white { background: white; color: #031226; border-color: white; padding: 0.875rem 1.75rem; font-size: 1.125rem; box-shadow: 0 0 20px rgba(255,255,255,0.1); }
.btn-white-sm { background: white; color: black; border-color: white; padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-ghost { background: transparent; color: white; padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: none; }

/* ─── Check/Arrow icons in comparison ─── */
.check-icon { color: white; flex-shrink: 0; width: 20px; height: 20px; }
.arrow-down-icon { color: #c8cfda; flex-shrink: 0; width: 20px; height: 20px; }

/* ─── Comparison badges ─── */
.comparison-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border-radius: 0.5rem;
  font-family: 'Poppins', Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #c8cfda;
  color: #1e1e1e;
}
.comparison-badge:hover { background: #b0b9c5; }
.comparison-badge.active { background: #1e1e1e; color: white; transform: scale(1.1); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.comparison-badge:first-child { transform: rotate(-6deg); }
.comparison-badge:first-child.active { transform: rotate(-6deg) scale(1.1); }
.comparison-badge:last-child { transform: rotate(-1deg); }
.comparison-badge:last-child.active { transform: rotate(-1deg) scale(1.1); }

/* ─── AngleOut "With" label ─── */
.with-angleout-label {
  position: absolute;
  top: -4rem; left: -43px;
  width: 287px; height: 96px;
  transform: rotate(-4.92deg);
  z-index: 10;
}
.with-angleout-label-bg {
  position: absolute; top: 2px; left: -1px;
  width: 288px; height: 91px;
  background: white; border-radius: 144px / 46px;
  border: 3px solid #0f1829;
  transform: rotate(-6.07deg);
}
.with-angleout-label-text {
  position: absolute; top: 26px; left: 39px;
  height: 43px; display: flex; align-items: center;
  font-family: 'Poppins', Helvetica, sans-serif;
  font-weight: 600; font-size: 1.775rem; color: #132d39;
  white-space: nowrap;
  transform: rotate(-6.42deg);
}

/* ─── Testimonial card (Wall of Love) ─── */
.testimonial-card {
  background: white;
  border-radius: 13px;
  box-shadow: 0 10.4px 31.19px rgba(0,0,0,0.08);
  flex-shrink: 0;
  padding: 1.625rem;
}
.testimonial-card .t-avatar {
  width: 62px; height: 62px;
  border-radius: 9999px;
  object-fit: cover;
}
.testimonial-card .t-name {
  font-family: 'Inter', Helvetica, sans-serif;
  font-weight: 700; font-size: 1.04rem;
  color: black; letter-spacing: -0.03em;
}
.testimonial-card .t-handle {
  font-family: 'Inter', Helvetica, sans-serif;
  font-weight: 400; font-size: 1.04rem;
  color: #8e8e8e; letter-spacing: -0.03em;
}
.testimonial-card .t-text {
  font-family: 'Roboto', Helvetica, sans-serif;
  font-weight: 400; font-size: 1.169rem;
  color: black; line-height: 1.75rem;
  letter-spacing: -0.035em;
  margin-top: 0.5rem;
}

/* ─── Results carousel card ─── */
.result-card {
  flex-shrink: 0;
  width: 480px;
  background: white;
  border-radius: 12px;
  border-width: 3.74px;
  border-style: solid;
  padding: 1.25rem;
}

/* ─── Large testimonial card (How We Help) ─── */
.large-testimonial-card {
  border-width: 5px;
  border-style: solid;
  border-radius: 2rem;
  overflow: hidden;
  background: white;
  transition: all 0.5s ease;
}
.large-testimonial-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); transform: scale(1.01); }
