/* ========================================
   BUSYRISE — MAIN STYLESHEET
   Author: Biplab Kirtania | Busyrise
   ======================================== */

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --primary: #f2f20d;
  --primary-dark: #c8c808;
  --primary-glow: rgba(242, 242, 13, 0.25);
  --bg-dark: #07070a;
  --bg-dark-2: #0d0d14;
  --bg-dark-3: #111118;
  --glass-bg: rgba(15, 15, 22, 0.6);
  --glass-border: rgba(242, 242, 13, 0.12);
  --glass-border-hover: rgba(242, 242, 13, 0.35);
  --text-primary: #f0f0f8;
  --text-secondary: #8888a8;
  --text-muted: #50507a;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-2xl: 3rem;
  --shadow-glow: 0 0 40px rgba(242, 242, 13, 0.15);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

/* ---- SELECTION ---- */
::selection {
  background: var(--primary);
  color: var(--bg-dark);
}

/* ---- CUSTOM CURSOR ---- */
#cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: difference;
}

#cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(242, 242, 13, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
}

body:hover #cursor {
  opacity: 1;
}

a:hover~#cursor,
button:hover~#cursor {
  width: 20px;
  height: 20px;
}

/* ---- PRELOADER ---- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.logo-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  box-shadow: 0 0 30px var(--primary-glow), inset 0 0 30px rgba(242, 242, 13, 0.1);
  animation: loaderPulse 1.5s ease-in-out infinite;
  overflow: hidden;
  padding: 8px;
}

.logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(242, 242, 13, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  animation: fillBar 2s ease-in-out forwards;
}

@keyframes loaderPulse {

  0%,
  100% {
    box-shadow: 0 0 20px var(--primary-glow);
  }

  50% {
    box-shadow: 0 0 50px rgba(242, 242, 13, 0.4);
  }
}

@keyframes fillBar {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

/* ---- TYPOGRAPHY ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #ffbb00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(242, 242, 13, 0.1);
  border: 1px solid rgba(242, 242, 13, 0.2);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 52ch;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-center {
  text-align: center;
}

/* ---- GLASSMORPHISM ---- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: inherit;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(242, 242, 13, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(242, 242, 13, 0.4);
}

.btn-primary .material-symbols-outlined {
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.btn-primary:hover .material-symbols-outlined {
  transform: translateX(3px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* ---- NAVBAR ---- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

#navbar.scrolled {
  background: rgba(7, 7, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(242, 242, 13, 0.1);
}

#navbar.hidden {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(10deg) scale(1.05);
}

.nav-brand {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 100%;
  height: 1.5px;
  background: var(--primary);
  transition: right 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  right: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(242, 242, 13, 0.12), transparent 60%);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(96, 96, 255, 0.08), transparent 60%);
  bottom: -50px;
  left: -50px;
  animation-delay: -4s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-40px) scale(1.05);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 242, 13, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 242, 13, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(242, 242, 13, 0.08);
  border: 1px solid rgba(242, 242, 13, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-unit {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-3d {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  transform-style: preserve-3d;
  animation: heroCardFloat 6s ease-in-out infinite;
}

@keyframes heroCardFloat {

  0%,
  100% {
    transform: translateY(0) rotateY(0deg);
  }

  25% {
    transform: translateY(-15px) rotateY(2deg);
  }

  75% {
    transform: translateY(-8px) rotateY(-2deg);
  }
}

.hero-founder-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(242, 242, 13, 0.05);
}

.hero-founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.5s;
}

.hero-founder-img:hover img {
  filter: brightness(1);
}

.founder-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(7, 7, 10, 0.8), transparent);
}

/* Float Cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 15, 22, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(242, 242, 13, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: floatCard 4s ease-in-out infinite;
  white-space: nowrap;
}

.float-card .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.5rem;
}

.float-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.float-card-sub {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.float-card-1 {
  top: 8%;
  left: -15%;
  animation-delay: 0s;
}

.float-card-2 {
  top: 50%;
  right: -18%;
  animation-delay: -2s;
}

.float-card-3 {
  bottom: 8%;
  left: -12%;
  animation-delay: -1s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Hero scroll */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: scrollBounce 2s infinite;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  80% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ---- TRUST STRIP ---- */
.trust-strip {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(242, 242, 13, 0.05);
  border-bottom: 1px solid rgba(242, 242, 13, 0.05);
  background: rgba(242, 242, 13, 0.02);
  overflow: hidden;
}

.marquee-wrapper {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s;
  cursor: default;
}

.marquee-item:hover {
  color: var(--primary);
}

.marquee-item .material-symbols-outlined {
  font-size: 1.2rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---- SERVICES ---- */
.services-section {
  background: var(--bg-dark-2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(242, 242, 13, 0.1);
}

.service-card-featured {
  background: linear-gradient(135deg, rgba(242, 242, 13, 0.06) 0%, rgba(15, 15, 22, 0.8) 100%);
  border-color: rgba(242, 242, 13, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(242, 242, 13, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.service-icon .material-symbols-outlined {
  font-size: 2rem;
  color: var(--primary);
}

.service-card:hover .service-icon {
  background: rgba(242, 242, 13, 0.18);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.service-features li .material-symbols-outlined {
  font-size: 0.9rem;
  color: var(--primary);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 0.8rem;
}

.service-link .material-symbols-outlined {
  font-size: 1rem;
}

.service-bg-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(242, 242, 13, 0.08) 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
  border-radius: 50%;
  pointer-events: none;
}

/* ---- WHY SECTION ---- */
.why-section {
  background: var(--bg-dark);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2.5rem 0;
}

.why-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-icon {
  width: 48px;
  height: 48px;
  background: rgba(242, 242, 13, 0.08);
  border: 1px solid rgba(242, 242, 13, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.why-icon .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.4rem;
}

.why-feature:hover .why-icon {
  background: rgba(242, 242, 13, 0.15);
}

.why-feature h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.why-feature p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metric-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.metric-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.metric-card-lg {
  grid-column: 1 / 2;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(242, 242, 13, 0.08), rgba(15, 15, 22, 0.9));
  border-color: rgba(242, 242, 13, 0.2);
}

.metric-card-highlight {
  background: var(--primary);
  border-color: var(--primary);
  margin-top: -1.5rem;
}

.metric-card-highlight .metric-num,
.metric-card-highlight .metric-label {
  color: var(--bg-dark);
}

.metric-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-card-lg .metric-num {
  font-size: 3rem;
}

.metric-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ---- FOUNDER SECTION ---- */
.founder-section {
  background: var(--bg-dark-3);
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(242, 242, 13, 0.05) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.founder-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.founder-main-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--glass-border);
}

.founder-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.founder-main-img:hover img {
  transform: scale(1.03);
}

.founder-logo-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--bg-dark-3);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.founder-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-side-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.founder-side-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--glass-border);
}

.founder-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.founder-side-img:hover img {
  transform: scale(1.05);
}

/* Bio */
.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.founder-bio h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-primary);
  margin: 0.25rem 0;
}

.founder-title {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.founder-quote {
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

.founder-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.founder-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-secondary);
}

.social-btn svg {
  width: 16px;
  height: 16px;
}

.social-btn:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.social-btn:hover svg {
  fill: var(--bg-dark);
}

/* ---- PORTFOLIO ---- */
.portfolio-section {
  background: var(--bg-dark-2);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.portfolio-card-wide {
  grid-column: 1 / 3;
}

.portfolio-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.portfolio-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
}

.portfolio-card-wide .portfolio-img {
  aspect-ratio: 16/9;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: brightness(0.7);
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 10, 0.95) 30%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  gap: 0.5rem;
  opacity: 1;
}

.portfolio-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}

.portfolio-overlay h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
}

.portfolio-overlay p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: none;
}

.portfolio-card-wide .portfolio-overlay p {
  display: block;
}

.portfolio-overlay .btn {
  margin-top: 0.75rem;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay .btn {
  opacity: 1;
  transform: translateY(0);
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  background: var(--bg-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.testimonial-stars {
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ff9500);
  color: var(--bg-dark);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  font-size: 0.9rem;
  display: block;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- CTA ---- */
.cta-section {
  background: var(--bg-dark-2);
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(242, 242, 13, 0.06) 0%, rgba(15, 15, 22, 0.95) 60%);
  border: 1px solid rgba(242, 242, 13, 0.2);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(242, 242, 13, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 40ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cta-avatars {
  display: flex;
}

.cta-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ff9500);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark-2);
  margin-left: -8px;
}

.cta-avatar:first-child {
  margin-left: 0;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(242, 242, 13, 0.06);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 28ch;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social svg {
  width: 14px;
  height: 14px;
}

.footer-social:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.25s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-newsletter h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.footer-newsletter p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.25s;
  font-family: var(--font-body);
}

.newsletter-form input:focus {
  border-color: rgba(242, 242, 13, 0.4);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form button {
  background: var(--primary);
  color: var(--bg-dark);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.newsletter-form button:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.newsletter-form button .material-symbols-outlined {
  font-size: 1.1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.25s;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact .material-symbols-outlined {
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom strong {
  color: var(--primary);
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.25s;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ---- BACK TO TOP ---- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--bg-dark);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(242, 242, 13, 0.3);
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

#back-to-top:hover {
  transform: translateY(-4px);
}

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 15, 22, 0.95);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  z-index: 9999;
  transition: transform 0.4s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ---- AOS (Data Animation) ---- */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animated {
  opacity: 1;
  transform: translateY(0);
}

[data-aos][data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos][data-aos-delay="150"] {
  transition-delay: 0.15s;
}

[data-aos][data-aos-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos][data-aos-delay="250"] {
  transition-delay: 0.25s;
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="zoom-in"] {
  transform: scale(0.92);
}

[data-aos="fade-right"].aos-animated {
  transform: translateX(0);
}

[data-aos="fade-left"].aos-animated {
  transform: translateX(0);
}

[data-aos="zoom-in"].aos-animated {
  transform: scale(1);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 2rem;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-card-3d {
    max-width: 380px;
  }

  .float-card-1 {
    left: -5%;
  }

  .float-card-2 {
    right: -5%;
  }

  .float-card-3 {
    left: -5%;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .founder-card {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card-wide {
    grid-column: auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(7, 7, 10, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(242, 242, 13, 0.1);
    padding: 2rem;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .nav-link {
    font-size: 1.1rem;
  }
}

@media (max-width: 680px) {
  :root {
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .hero-card-3d {
    max-width: 100%;
  }

  .float-card {
    display: none;
  }

  .founder-side-imgs {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card-lg {
    grid-column: unset;
    margin-top: 0;
  }

  .metric-card-highlight {
    margin-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .nav-container {
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .hero-card-3d {
    aspect-ratio: 3/4;
  }
}

/* ---- WHATSAPP FLOAT BUTTON ---- */
.whatsapp-float {
  position: fixed;
  bottom: 5rem;
  right: 1.75rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: waPulse 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.7);
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.whatsapp-tooltip {
  background: rgba(15, 15, 22, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #f0f0f8;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  order: -1;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes waPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@media (max-width: 680px) {
  .whatsapp-float {
    bottom: 4.5rem;
    right: 1.25rem;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* ---- ABOUT SECTION GRID ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}