/* HUBSPOT HERO SECTION - UPDATED CSS */
/* Matches Lovable project styling - Copy to HubSpot Custom CSS Module */

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

/* Design System Tokens */
:root {
    /* Primary Colors - Zitcha Purple */
    --primary: hsl(270, 73%, 55%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-dark: hsl(270, 100%, 11%);
    --primary-light: hsl(270, 80%, 70%);
    --primary-glow: hsl(270, 85%, 75%);
    
    /* Accent */
    --accent-purple: hsl(270, 85%, 65%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(270, 100%, 11%), hsl(270, 60%, 35%));
    --gradient-hero: linear-gradient(180deg, hsl(270, 100%, 11%) 0%, hsl(270, 73%, 55%) 100%);
    --gradient-glow: radial-gradient(circle at center, hsl(270, 73%, 55%, 0.3), transparent 70%);
    
    /* Shadows */
    --shadow-glow: 0 0 60px hsl(270, 73%, 55%, 0.5);
    --shadow-strong: 0 20px 60px hsl(270, 73%, 55%, 0.4);
    --shadow-lift: 0 4px 20px hsl(270, 15%, 15%, 0.15);
}

/* Main Hero Section */
.zitcha-hero-section {
    position: relative;
    background: var(--gradient-hero);
    padding: 4rem 1.5rem 7rem;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
}

/* Background Decorative Elements */
.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.glow-orb-1 {
    top: 5rem;
    right: 2.5rem;
    width: 600px;
    height: 600px;
    background: var(--primary-glow);
    animation: pulse-glow 8s ease-in-out infinite;
}

.glow-orb-2 {
    bottom: 5rem;
    left: 2.5rem;
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    animation: pulse-glow 8s ease-in-out infinite 1s;
}

.glow-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
}

/* Floating UI Cards Background */
.floating-cards {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
    z-index: 2;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lift);
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    top: 8rem;
    right: 5rem;
    width: 16rem;
    height: 10rem;
}

.floating-card-2 {
    bottom: 10rem;
    left: 4rem;
    width: 18rem;
    height: 12rem;
    animation-delay: 0.5s;
}

.floating-card-3 {
    top: 33%;
    right: 25%;
    width: 14rem;
    height: 9rem;
    animation-delay: 1s;
}

/* Floating Stat Boxes */
.stat-box {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid rgba(124, 58, 237, 0.3);
    box-shadow: var(--shadow-glow);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.stat-box:hover {
    transform: scale(1.1) translateY(-5px);
    border-color: rgba(124, 58, 237, 0.5);
}

.stat-box-1 {
    top: 25%;
    right: 15%;
}

.stat-box-2 {
    bottom: 33%;
    left: 12%;
    animation-delay: 0.7s;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(270, 10%, 45%);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.stat-box:hover .stat-label {
    color: var(--primary);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.stat-box:hover .stat-value {
    transform: scale(1.05);
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Main Headline */
.hero-headline {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-foreground);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    position: relative;
    display: inline-block;
    background: white;
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
}

.hero-highlight-text {
    position: relative;
    z-index: 10;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subline */
.hero-subline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* CTA Button */
.hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-foreground);
    color: var(--primary-dark);
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.5rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-cta-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-strong);
    background: rgba(255, 255, 255, 0.9);
      color: #fff;
    font-weight: 800;
}

.hero-cta-button svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.hero-cta-button:hover svg {
    transform: translateX(4px);
}

.cta-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}

.hero-cta-button:hover .cta-shine {
    transform: translateX(100%);
}

/* Hero Mockup Container */
.hero-mockup {
    margin-top: 4rem;
    position: relative;
    height: 600px;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Dashboard Image */
.mockup-dashboard {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 63rem;
    animation: float 6s ease-in-out infinite;
}

.mockup-image {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    transition: transform 0.7s ease;
}

.mockup-image:hover {
    transform: scale(1.05);
}

/* Floating Card Images */
.mockup-card {
    position: absolute;
    z-index: 20;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
    transition: transform 0.5s ease;
}

.mockup-card:hover {
    transform: scale(1.1);
}

.mockup-card-report {
    right: 5%;
    top: 5%;
    width: 12rem;
    animation-delay: 0.3s;
}

.mockup-card-calendar {
    right: 28%; 
  bottom: -20%;
  width: 14rem;
    animation-delay: 0.6s;
}

.mockup-card-ad {
    left: -0%;
    top: 15%;
    width: 16rem;
    animation-delay: 0.9s;
}

.mockup-card img {
    width: 100%;
    height: auto;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-headline {
        font-size: 3rem;
    }
    
    .hero-subline {
        font-size: 1.25rem;
    }
    
    .stat-box-1 {
        right: 5%;
    }
    
    .stat-box-2 {
        left: 5%;
    }
    
    .mockup-card-ad {
        width: 22rem;
    }
}

@media (max-width: 768px) {
    .hero-headline {
    font-size: 2.6rem;
  }

  .hero-subline {
    font-size: 1rem;
  }

  .hero-mockup {
    height: 420px;
    max-width: 580px;
    margin: 32px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .mockup-dashboard {
    max-width: 100%;
    position: relative;
    z-index: 5;
  }

  .mockup-card {
    display: block;
    filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.4));
  }

  /* Tweak positions so all 3 cards sit around the dashboard nicely */
  .mockup-card-report {
    width: 22%;
    top: -6%;
    right: 3%;
  }

  .mockup-card-ad {
    width: 26%;
    top: 12%;
    left: -4%;
  }

  .mockup-card-calendar {
    width: 22%;
    bottom: -8%;
    right: 10%;
  }
    .stat-box,
  .stat-box-1,
  .stat-box-2 {
    display: none !important;
  }
}
}

@media (max-width: 480px) {
  .zitcha-hero-section {
    padding: 72px 16px 56px;
    text-align: center;
  }

  .hero-headline {
    font-size: 2.1rem;
    margin: 0 auto 1rem;
  }

  .hero-subline {
    font-size: 0.9rem;
    margin-top: 12px;
  }

  .hero-cta-button {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }

  /* Hide floating stat boxes & decorative cards on mobile */
  .stat-box,
  .floating-card {
    display: none;
  }

  /* Mockup: just the main dashboard, centered */
  .hero-mockup {
    position: relative;
    margin: 24px auto 0;
    max-width: 320px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mockup-dashboard {
    position: relative;
    z-index: 5;
    max-width: 100%;
  }

  .mockup-card {
    display: none; /* hide the 3 overlay cards on phones */
  }

  .hero-mockup img {
    width: 100%;
    height: auto;
    display: block;
  }
    .stat-box,
  .stat-box-1,
  .stat-box-2 {
    display: none !important;
  }
}



html {
  scroll-behavior: smooth;
}

