@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   CSS Variables & Theme Management
   ========================================================================== */
:root {
  /* Light Theme (Default) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F8F8;
  --bg-accent: #FFF4EF;
  --text-primary: #111111;
  --text-secondary: #666666;
  --accent-color: #FF6B00;
  --accent-hover: #E65A00;
  --card-bg: #FFFFFF;
  --card-border: rgba(0, 0, 0, 0.05);
  --nav-bg: rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
  --cta-gradient: linear-gradient(135deg, #FF6B00 0%, #FF9A5A 100%);
  --border-subtle: rgba(0,0,0,0.08);
  --mesh-opacity: 0.4;
}

[data-theme="dark"] {
  /* Dark Theme */
  --bg-primary: #0B0B0B;
  --bg-secondary: #121212;
  --bg-accent: #1A120E;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --accent-color: #FF7A1A;
  --accent-hover: #FFA24C;
  --card-bg: #181818;
  --card-border: rgba(255, 255, 255, 0.05);
  --nav-bg: rgba(18, 18, 18, 0.7);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.4);
  --glass-border: rgba(255, 255, 255, 0.03);
  --cta-gradient: linear-gradient(135deg, #FF7A1A 0%, #B84700 100%);
  --border-subtle: rgba(255,255,255,0.08);
  --mesh-opacity: 0.15;
}

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

html {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */
.text-hero { font-size: clamp(4rem, 6vw, 6rem); font-weight: 700; letter-spacing: -0.04em; }
.text-h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 600; letter-spacing: -0.03em; }
.text-h3 { font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 600; }
.text-body { font-size: clamp(1.125rem, 1.2vw, 1.25rem); color: var(--text-secondary); line-height: 1.6; }
.text-small { font-size: 0.875rem; color: var(--text-secondary); }

/* Gradient Text Effect */
.text-gradient {
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}
.text-gradient::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--accent-color);
  filter: blur(20px);
  opacity: 0.2;
  z-index: -1;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }

/* ==========================================================================
   Buttons (Magnetic Effect ready)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--cta-gradient);
  color: #FFF;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.3);
}

.btn-accent:hover {
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.4);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: var(--bg-secondary);
}

/* ==========================================================================
   Navigation (Floating Pill)
   ========================================================================== */
.nav-wrapper {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-pill {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-sm);
  pointer-events: auto;
  transition: all 0.4s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.125rem;
}

/* ---- Premium Brand Wordmark ---- */
.brand-wordmark {
  gap: 10px;
  text-decoration: none;
}

/* Original logo image with subtle hover glow */
.brand-logo-img {
  transition: box-shadow 0.35s ease, transform 0.3s ease;
}

.brand-wordmark:hover .brand-logo-img {
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25), 0 6px 18px rgba(255, 107, 0, 0.35);
  transform: scale(1.06);
}

/* "Divine Clicks" text treatment */
.brand-name {
  display: flex;
  align-items: baseline;
  gap: 0;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.brand-divine {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.brand-clicks {
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  overflow: hidden;
}

/* Shimmer across the gradient text */
.brand-clicks::after {
  content: 'Clicks';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.7) 50%, transparent 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.brand-wordmark:hover .brand-clicks::after {
  transform: translateX(100%);
}

/* Dark theme: "Divine" text stays visible */
[data-theme="dark"] .brand-divine {
  color: #ffffff;
}

.logo-circle {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg-secondary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.theme-toggle:hover {
  background: var(--bg-secondary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

/* Mesh Gradient Background */
.hero-mesh {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle at center, var(--accent-color) 0%, transparent 60%);
  opacity: var(--mesh-opacity);
  filter: blur(100px);
  z-index: -1;
  border-radius: 50%;
  animation: floatMesh 20s ease-in-out infinite alternate;
}

@keyframes floatMesh {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, 50px) scale(1.2); }
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

/* Hero 3D / Floating UI Side */
.hero-visuals {
  position: relative;
  height: 600px;
  width: 100%;
  perspective: 1000px;
}

.widget {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  will-change: transform;
}

.widget-main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateY(-10deg) rotateX(5deg);
  width: 320px;
  height: 400px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.widget-chart {
  top: 10%;
  right: 10%;
  width: 240px;
  height: 180px;
  transform: translateZ(50px) rotateY(-15deg);
  z-index: 3;
}

.widget-stat {
  bottom: 10%;
  left: 5%;
  width: 200px;
  padding: 16px;
  border-radius: 16px;
  transform: translateZ(80px) rotateY(-5deg);
  z-index: 4;
}

/* Fake UI Elements inside Widgets */
.ui-skeleton {
  background: var(--bg-secondary);
  border-radius: 8px;
  width: 100%;
  height: 12px;
}
.ui-skeleton.short { width: 60%; }
.ui-skeleton.circle { width: 40px; height: 40px; border-radius: 50%; }

.ui-chart-bar {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-top: 20px;
}
.ui-bar {
  flex: 1;
  background: var(--bg-secondary);
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}
.ui-bar.active {
  background: var(--cta-gradient);
}

.ui-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* ==========================================================================
   Services (Bento Grid)
   ========================================================================== */
.services {
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, var(--glass-border), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: var(--accent-color);
  transition: transform 0.4s ease;
}

.bento-card:hover .bento-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--bg-accent);
}

.bento-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ==========================================================================
   Process Section (Card Overlay Layout)
   ========================================================================== */
.process-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.process-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: flex-end;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.process-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.process-card:hover .process-bg-img {
  transform: scale(1.05);
}

.process-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  z-index: 1;
}

.process-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
}

.process-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--accent-color);
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================================
   About Section (Split Layout)
   ========================================================================== */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-visual {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
  background: #c7c7c7;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    filter: grayscale(20%);
    transition: filter 0.5s ease, transform 0.5s ease;
    transform: scale(1.15);
}

.about-visual:hover .about-img {
  filter: grayscale(0%);
}

.floating-stat {
  position: absolute;
  bottom: 8px;
  right: -24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* ==========================================================================
   Testimonials (Glass Cards)
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 40px;
  border-radius: 24px;
  position: relative;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: scale(1.02) translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-subtle);
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent-color);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: serif;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.client-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  object-fit: cover;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-container {
  background: var(--cta-gradient);
  border-radius: 40px;
  padding: 80px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-container::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.cta-container h2 {
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.cta-container p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-container .btn-primary {
  background: #fff;
  color: #000;
}

.cta-container .btn-primary:hover {
  background: #f0f0f0;
}



/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
  background: var(--bg-primary);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform, filter;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large, .bento-wide, .bento-tall, .bento-square {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-wide { grid-column: span 2; }
  .bento-large { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 992px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visuals { display: none; } /* Hide 3D on small screens to save space */
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-pill {
    padding: 8px 12px;
    width: 95%;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .nav-logo {
    font-size: 0.95rem;
    gap: 8px;
    white-space: nowrap;
  }
  
  .logo-circle {
    width: 24px;
    height: 24px;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-pill {
    position: relative;
  }

  .nav-links { 
    display: none; 
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 20px;
    z-index: 100;
  }
  
  .nav-links a {
    font-size: 1.125rem;
    font-weight: 500;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }
  
  .nav-links.active {
    display: flex;
  }

  .get-started-btn {
    display: none;
  }
  
  /* Proper division and spacing for mobile */
  .section { padding: 80px 0; }
  .text-hero { font-size: 3rem; }
  .text-h2 { font-size: 2.25rem; }
  .text-h3 { font-size: 1.5rem; }
  
  .hero-container { margin-top: 120px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }

  .process-grid-cards { grid-template-columns: 1fr; gap: 24px; }
  .process-card { aspect-ratio: 1/1; }
  .process-content { padding: 24px; }
  
  .bento-grid { grid-template-columns: 1fr; gap: 24px; }
  .bento-card { padding: 32px 24px; }
  
  .about .container { flex-direction: column; }
  .founder-img-wrapper { width: 250px; height: 250px; }
  
  .cta-container { padding: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* ==========================================================================
   CSS 3D Objects & Advanced Glassmorphism
   ========================================================================== */
.sphere-3d {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFA24C, var(--accent-color), #8A3A00);
  box-shadow: 
    0 20px 40px rgba(255, 107, 0, 0.3), 
    inset -15px -15px 30px rgba(0,0,0,0.6),
    inset 10px 10px 20px rgba(255,255,255,0.4);
  position: absolute;
  will-change: transform;
}

.cube-glass {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.2), 
    inset 0 0 10px rgba(255,255,255,0.1);
  position: absolute;
  transform: rotate(45deg) rotateX(45deg);
  will-change: transform;
}

[data-theme="dark"] .cube-glass {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-sphere { top: 10%; right: 5%; z-index: 5; animation: float3D 8s ease-in-out infinite; }
.hero-cube { bottom: 20%; right: 40%; z-index: 1; animation: float3D 12s ease-in-out infinite reverse; }

@keyframes float3D {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(15deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.bento-card .object-3d {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  opacity: 0.8;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-card:hover .object-3d {
  transform: rotate(15deg) scale(1.1) translateY(-10px);
}

.founder-img-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 15px;
  background: #c7c7c7;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 40px rgba(255, 107, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.founder-img-wrapper::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px; bottom: -20px; left: -20px;
  background: radial-gradient(circle at center, var(--accent-color) 0%, transparent 60%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  filter: blur(30px);
}

.founder-img-wrapper img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.founder-title-block {
  text-align: center;
  margin-top: 24px;
}

.cta-sphere {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  opacity: 0.5;
  filter: blur(2px);
  pointer-events: none;
}

/* CTA Split Grid Layout */
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  text-align: left;
}

@media (max-width: 992px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .cta-grid > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .cta-grid div[style*="align-items: flex-start"] {
    align-items: center !important;
  }
}

/* Glassmorphic Contact Form */
.contact-form-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  text-align: left;
  transition: all 0.4s ease;
}

.contact-form-glass:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 16px 20px;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 48px;
}

.form-group select option {
  background-color: #181818;
  color: #ffffff;
}

.form-group input::placeholder,
.form-group select:invalid,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.form-group textarea {
  resize: vertical;
}

/* Success Message container inside form */
.form-success-container {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #ffffff;
  text-align: center;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleUp {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Custom Dropdown (Glassmorphic)
   ========================================================================== */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.custom-select-trigger.has-value {
  color: #ffffff;
}

.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.custom-select.open .custom-select-trigger svg {
  transform: rotate(180deg);
}

.custom-select-trigger svg {
  transition: transform 0.3s ease;
  opacity: 0.7;
  flex-shrink: 0;
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(30, 30, 30, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 8px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-select-option:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.custom-select-option.selected {
  background: rgba(255, 107, 0, 0.25);
  color: #ffffff;
}
