/* ====== CYPRESS CREATIVE - STANDALONE WORDPRESS CSS BUNDLE ====== */

/* === GLOBAL RESET FOR FULL-WIDTH === */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden;
}

body {
  background: hsl(var(--background)) !important;
}

/* Override WordPress container constraints */
.wp-site-blocks {
  padding: 0 !important;
}

/* === ROOT VARIABLES === */
:root {
  /* Core Brand Colors */
  --primary: 280 85% 65%;          /* #b855f5 */
  --chart-2: 195 100% 60%;         /* #00b8d4 */
  --background: 220 25% 8%;        /* #0f1419 */
  --foreground: 0 0% 95%;          /* #f2f2f2 */
  
  /* Surface & UI Colors */
  --card: 220 20% 12%;             /* #1a1f2e */
  --card-border: 220 15% 18%;      /* #2d3748 */
  --muted-foreground: 220 15% 70%; /* #9ca3af */
  
  /* Typography */
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Effects */
  --elevate-1: rgba(255,255,255, .04);
  --elevate-2: rgba(255,255,255, .09);
}

/* === SCOPED CYPRESS ROOT === */
.cypress-root {
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* === HERO SECTION === */
.cypress-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Gradient Background Layers */
.cypress-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    hsl(var(--primary) / 0.2) 0%, 
    hsl(var(--background)) 50%, 
    hsl(var(--chart-2) / 0.1) 100%
  );
  z-index: 1;
}

.cypress-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    hsl(var(--background) / 0.5) 0%, 
    transparent 100%
  );
  z-index: 2;
}

/* Floating Elements */
.cypress-floating-1 {
  position: absolute;
  top: 5rem;
  left: 2.5rem;
  width: 5rem;
  height: 5rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  filter: blur(20px);
  animation: cypress-float1 4s ease-in-out infinite;
  z-index: 1;
}

.cypress-floating-2 {
  position: absolute;
  bottom: 10rem;
  right: 5rem;
  width: 8rem;
  height: 8rem;
  background: hsl(var(--chart-2) / 0.1);
  border-radius: 50%;
  filter: blur(20px);
  animation: cypress-float2 6s ease-in-out infinite 1s;
  z-index: 1;
}

@keyframes cypress-float1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes cypress-float2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(-180deg); }
}

/* === HERO CONTENT === */
.cypress-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cypress-hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  background: linear-gradient(135deg, 
    hsl(var(--foreground)) 0%, 
    hsl(var(--primary)) 50%, 
    hsl(var(--chart-2)) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cypress-hero-description {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin: 0 auto 2rem auto;
  max-width: 48rem;
}

/* === BUTTONS === */
.cypress-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 0 0 4rem 0;
}

.cypress-btn-primary {
  background: linear-gradient(135deg, 
    hsl(var(--primary)) 0%, 
    hsl(var(--chart-2)) 100%
  );
  color: hsl(var(--background));
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cypress-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px hsl(var(--primary) / 0.5);
  color: hsl(var(--background));
}

.cypress-btn-secondary {
  background: hsl(var(--background) / 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--card-border));
  color: hsl(var(--foreground));
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cypress-btn-secondary:hover {
  background: hsl(var(--background) / 0.3);
  transform: translateY(-2px);
  color: hsl(var(--foreground));
}

/* === TRUST INDICATORS === */
.cypress-trust-indicators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  opacity: 0.8;
  max-width: 50rem;
  margin: 0 auto;
}

.cypress-stat-item {
  text-align: center;
}

.cypress-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  display: block;
  line-height: 1;
}

.cypress-stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

/* === SECTION STYLING === */
.cypress-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, 
    hsl(var(--background)) 0%, 
    hsl(var(--card) / 0.3) 100%
  );
}

.cypress-card {
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--card-border));
  border-radius: 0.75rem;
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.cypress-card:hover {
  background: hsl(var(--card) / 0.8);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px -5px hsl(var(--primary) / 0.3);
}

/* === NAVIGATION === */
#cypress-header nav a:hover {
  color: hsl(var(--primary)) !important;
}

/* Mobile navigation */
@media (max-width: 768px) {
  #desktop-nav {
    display: none !important;
  }
  
  #mobile-menu-toggle {
    display: block !important;
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .cypress-floating-1,
  .cypress-floating-2 {
    display: none;
  }
  
  .cypress-hero-content {
    padding: 4rem 1rem;
  }
  
  .cypress-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cypress-btn-primary,
  .cypress-btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .cypress-trust-indicators {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .cypress-stat-number {
    font-size: 2rem;
  }
}

/* === SMOOTH SCROLL === */
html {
  scroll-behavior: smooth;
}

.cypress-root {
  scroll-behavior: smooth;
}

/* Header offset for anchor links */
section[id] {
  scroll-margin-top: 5rem;
}

/* === UTILITY CLASSES === */
.cypress-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Full-width containers for sections */
.cypress-hero,
.cypress-section,
header,
footer {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: 0;
  padding-right: 0;
}

.cypress-text-center {
  text-align: center;
}

.cypress-hidden {
  display: none;
}