/*
Theme Name: Green Kulture MIP
Theme URI: https://greenkulture.com
Author: Green Kulture Dev Team
Author URI: https://greenkulture.com
Description: Custom high-tech dark mode theme for Green Kulture MIP.
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --color-bg-primary: #0a0a0a;
  --color-bg-secondary: #121212;
  --color-accent: #39FF14;
  --color-accent-dim: rgba(57, 255, 20, 0.1);
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #CCCCCC;
  --font-main: 'Inter', system-ui, sans-serif;
  --spacing-container: 120px 24px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utilities */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.success-message {
  color: var(--color-accent);
  font-size: 1.25rem;
  margin-top: 1rem;
  font-weight: 600;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

p {
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
  padding: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.highlight {
  color: var(--color-accent);
  text-shadow: 0 0 10px var(--color-accent-dim);
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 2rem;
}

.cta-button-primary,
.cta-button-secondary,
.cta-button-small {
  background: var(--color-accent);
  color: #000;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  font-size: 1.125rem;
  border-radius: 4px;
}

.cta-button-primary {
  box-shadow: 0 0 15px var(--color-accent-dim);
}

.cta-button-primary:hover {
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.4);
  transform: translateY(-2px);
}

.cta-button-secondary {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  box-shadow: none;
}

.cta-button-secondary:hover {
  background: var(--color-accent-dim);
  box-shadow: 0 0 15px var(--color-accent-dim);
  transform: translateY(-2px);
}

.cta-button-small {
  padding: 10px 20px;
  font-size: 0.875rem;
  background: var(--color-accent);
  border: none;
  color: #000;
}

.cta-button-small:hover {
  background: #fff;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 90px;
  width: auto;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #000;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

#hero-particles {
  width: 100%;
  height: 100%;
}

.hero-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 0%, var(--color-bg-primary) 95%);
}

.subheadline {
  max-width: 700px;
  margin: 1.5rem auto 2.5rem;
  font-size: 1.25rem;
}

/* Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Thin, crisp border */
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.15);
  /* Glow effect */
  transform: translateY(-5px);
}

/* Problem Section */
.problem {
  padding: 100px 0;
  background: var(--color-bg-primary);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}



.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  display: none;
  /* Remove old partial underline */
}

.card:hover::before {
  transform: scaleX(1);
}

/* Flip Card Styles */
.flip-card {
  background-color: transparent !important;
  /* Override standard card bg */
  padding: 0 !important;
  /* Remove padding from container, move to faces */
  perspective: 1000px;
  overflow: visible;
  /* Needed for 3D effect extending */
  min-height: 300px;
  /* Ensure height for absolute positioning context */
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 8px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-front {
  background: rgba(255, 255, 255, 0.02);
  /* Inherits glass-card styles via class if present, but ensuring here */
}

.card-back {
  background: var(--color-accent);
  color: #000;
  transform: rotateY(180deg);
  border: 1px solid var(--color-accent);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.card-back p {
  color: #000;
  font-weight: 600;
  font-size: 1.1rem;
}

.icon-wrapper {
  margin-bottom: 20px;
  height: 60px;
}

.icon-wrapper img {
  height: 100%;
  filter: drop-shadow(0 0 5px var(--color-accent));
}

/* Solution Section */
.solution {
  padding: 100px 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: left;
}

.pillar {
  padding: 30px 20px;
}

.pillar-number {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  margin-bottom: -20px;
  position: relative;
  z-index: 0;
}

.pillar h3 {
  position: relative;
  z-index: 1;
}

/* Video Section */
.video-section {
  padding: 60px 0 100px;
  background: var(--color-bg-secondary);
}

.video-container {
  max-width: 900px;
  /* ~4xl */
  margin: 0 auto;
  padding: 0 24px;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border: 1px solid var(--color-accent);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.15);
  /* Subtle outer glow */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-placeholder::before {
  /* Tech grid overlay */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.video-placeholder .play-button {
  width: 60px;
  height: 60px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.video-placeholder .play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--color-accent);
  margin-left: 4px;
}

.video-placeholder:hover .play-button {
  background: var(--color-accent);
  box-shadow: 0 0 20px var(--color-accent);
  transform: scale(1.1);
}

.video-placeholder:hover .play-button::after {
  border-left-color: #000;
}

/* Video Replacement */
.video-placeholder.image-mode {
  background: #000;
  border: 1px solid var(--color-accent);
  /* Keep the glow */
}

.video-replacement-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.video-placeholder:hover .video-replacement-img {
  opacity: 1;
}

/* Ensure text/play button styles don't conflict (they are hidden in HTML but good to keep safe) */

/* Process Section */
.process {
  padding: 100px 0;
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 30px;
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle {
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
  flex-shrink: 0;
}

.line {
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  flex-grow: 1;
  min-height: 100px;
  margin: 5px 0;
}

.step-content {
  padding: 20px 30px;
  margin-bottom: 30px;
  width: 100%;
}

.step-content h3 {
  margin-top: 0;
}

/* Social Proof */
.social-proof {
  padding: 60px 0;
  background: #000;
  text-align: center;
}

.small-header {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

.logos-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  align-items: center;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555;
  transition: all 0.3s ease;
  cursor: default;
}

.logo-item:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.logo-item svg {
  height: 32px;
  width: auto;
  fill: currentColor;
}

.company-dell svg {
  height: 54px;
  /* Dell logo needs to be larger to match visual weight */
}

.logo-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Footer / Lead Gen */
.footer {
  padding: 80px 0 40px;
  background: linear-gradient(to top, #050505, var(--color-bg-secondary));
  text-align: center;
}

.cta-box {
  max-width: 600px;
  margin: 0 auto 60px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lead-form input {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 4px;
  font-family: inherit;
}

.lead-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-links a {
  color: #555;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
  filter: drop-shadow(0 0 5px var(--color-accent));
}

.footer-links svg {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .navbar .container {
    flex-direction: column;
    gap: 15px;
  }

  .cta-button-small {
    display: none;
  }

  .logos-row {
    gap: 30px;
  }

  .logo img {
    height: 60px;
  }
}

/* Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, visibility;
}

.fade-in-section.visible {
  opacity: 1;
  transform: none;
}

/* Success Page Styles */
.success-hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon-wrapper {
  margin-bottom: 2rem;
}

.success-icon {
  width: 100px;
  height: 100px;
  color: var(--color-accent);
  filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.6));
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.6));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 40px rgba(57, 255, 20, 0.9));
    transform: scale(1.05);
  }
}