/* Main hero section with warm background */
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

/* Full-bleed warm background section (fills viewport width) */
.hero-section {
  position: relative;
  padding: 5rem 0;
  background-color: #fef3c7;
  overflow: visible;
}

/* Inner wrapper: 90% width, centered */
.hero-inner {
  position: relative;
  width: 90vw;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* White card (content) */
.hero-white-container {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 24px;
  padding: 3rem 2rem;
  overflow: hidden;
}

/* Layout & content */
.hero-content-container {
  width: 100%;
}
.hero-main-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-main-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Text Section */
.hero-text-section {
  flex: 1;
  max-width: 600px;
}

.hero-main-title {
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #78350f;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero-main-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-main-title {
    font-size: 4rem;
    line-height: 1.1;
  }
}

.hero-main-description {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  color: #78350f;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

@media (min-width: 768px) {
  .hero-main-description {
    font-size: 1.25rem;
  }
}

/* Action Buttons */
.hero-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Get Started - solid burnt orange */
.hero-primary-btn {
  background-color: #ea580c;
  color: #fff;
  border: none;
  box-shadow: none;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-primary-btn:hover {
  background-color: #d94f07; /* slightly darker */
  transform: translateY(-2px);
}

.hero-primary-btn:active {
  background-color: #c44806; /* pressed state */
  transform: translateY(0);
}

/* Learn More - text button with burnt orange border */
.hero-secondary-btn {
  background-color: transparent;
  color: #ea580c;
  border: 2px solid #ea580c;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-secondary-btn:hover {
  background-color: rgba(234, 88, 12, 0.05);
  transform: translateY(-2px);
}

/* Tool Section */
.hero-tool-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

/* Tool Icon Container */
.hero-tool-icon-container {
  position: relative;
  width: 360px;
  height: 220px;
}

@media (min-width: 768px) {
  .hero-tool-icon-container {
    width: 420px;
    height: 260px;
  }
}

/* Gradient background for the icon area */
.tool-icon-gradient-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    #fff4b3 0%,
    #ffe083 30%,
    #ffc15e 55%,
    #ff9b3d 80%,
    #ff7b24 100%
  );
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative shapes */
.decorative-shape {
  position: absolute;
  border-style: solid;
  border-width: 2px;
  opacity: 0.4;
}

.decorative-square {
  top: 20%;
  left: 20%;
  width: 60px;
  height: 60px;
  border-color: #f59e0b;
  border-radius: 8px;
  transform: rotate(45deg);
}

.decorative-circle {
  bottom: 25%;
  right: 25%;
  width: 50px;
  height: 50px;
  border-color: #ea580c;
  border-radius: 50%;
}

/* Tool icon wrapper - Updated for better centering */
.tool-icon-wrapper {
  position: relative;
  width: 140px; /* Increased from 120px */
  height: 140px; /* Increased from 120px */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tool icon base - Updated with lighter gradient and removed dark colors */
.tool-icon-base {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffc15e, #ff9b3d); /* Lighter gradient */
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 25px rgba(255, 155, 61, 0.25),
    /* Softer shadow */ inset 0 2px 4px rgba(255, 255, 255, 0.4); /* Brighter inner shadow */
}

.tool-icon-base i {
  font-size: 4rem; /* Increased from 3.5rem */
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Glow effect - Lighter and softer */
.tool-icon-glow-effect {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background: radial-gradient(
    circle at center,
    rgba(255, 193, 94, 0.4) 0%,
    /* Lighter orange */ rgba(255, 155, 61, 0.3) 40%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 1;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1rem;
  }

  .hero-white-container {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .hero-main-title {
    font-size: 2rem;
  }

  .hero-main-description {
    font-size: 1rem;
  }

  .hero-tool-icon-container {
    width: 250px;
    height: 250px;
  }

  .tool-icon-wrapper {
    width: 120px; /* Increased from 100px */
    height: 120px; /* Increased from 100px */
  }

  .tool-icon-base i {
    font-size: 3.5rem; /* Increased from 3rem */
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: 1.75rem;
  }

  .hero-action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-primary-btn,
  .hero-secondary-btn {
    width: 100%;
    min-width: auto;
  }

  .hero-tool-icon-container {
    width: 220px;
    height: 220px;
  }

  .tool-icon-wrapper {
    width: 110px; /* Increased from 90px */
    height: 110px; /* Increased from 90px */
  }

  .tool-icon-base i {
    font-size: 3rem; /* Increased from 2.5rem */
  }
}

/* ====================================== DARK MODE SHAPE */

/* Dark Mode Shapes Container */
.dark-mode-shapes {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  overflow: hidden;
  border-radius: 24px; /* Match the light mode container */
}

/* Show dark mode shapes only in dark theme */
.dark-theme .dark-mode-shapes {
  display: block;
}

/* Hide light mode tool icon in dark theme */
.dark-theme .hero-tool-icon-container {
  display: none;
}

/* Dark Mode Shapes Styling */
.dark-mode-shapes .shape-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Outer circle - Reduced size */
.dark-mode-shapes .outer-circle {
  width: 220px;
  height: 220px;
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 50%;
}

/* Inner circle */
.dark-mode-shapes .inner-circle {
  width: 160px;
  height: 160px;
  border: 2px solid rgba(255, 215, 0, 0.7);
  border-radius: 50%;
}

/* Square */
.dark-mode-shapes .center-square {
  width: 80px;
  height: 80px;
  border: 2px solid var(--dark-primary, #ffd700);
  border-radius: 16px;
  background: rgba(255, 215, 0, 0.1);
}

/* Dots */
.dark-mode-shapes .dot {
  border: 2px solid var(--dark-primary, #ffd700);
  border-radius: 50%;
  position: absolute;
  background-color: var(--dark-primary, #ffd700);
  z-index: 2;
}

.dark-mode-shapes .dot-large {
  width: 10px;
  height: 10px;
}

.dark-mode-shapes .dot-small {
  width: 6px;
  height: 6px;
}

/* Position dots for the smaller container size */
.dark-mode-shapes .dot-top-left {
  top: calc(50% - 110px - 3px);
  left: calc(50% - 110px - 3px);
}

.dark-mode-shapes .dot-top-right {
  top: calc(50% - 110px);
  left: calc(50% + 110px - 10px);
}

.dark-mode-shapes .dot-bottom-right {
  top: calc(50% + 110px - 3px);
  left: calc(50% + 110px - 3px);
}

.dark-mode-shapes .dot-bottom-left {
  top: calc(50% + 110px - 10px);
  left: calc(50% - 110px);
}

/* Diagonal lines - adjusted to fit */
.dark-mode-shapes .diagonal-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 310px;
  height: 2px;
  background: transparent;
  transform-origin: center center;
  z-index: 1;
}

.dark-mode-shapes .line-tl-br {
  transform: translate(-50%, -50%) rotate(45deg);
}

.dark-mode-shapes .line-tr-bl {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.dark-mode-shapes .diagonal-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  background-image: repeating-linear-gradient(
    to right,
    rgba(255, 215, 0, 0.6) 0px,
    rgba(255, 215, 0, 0.6) 8px,
    transparent 8px,
    transparent 16px
  );
}

/* Responsive adjustments for different screen sizes */
@media (min-width: 768px) {
  .dark-mode-shapes .outer-circle {
    width: 280px;
    height: 280px;
  }

  .dark-mode-shapes .inner-circle {
    width: 210px;
    height: 210px;
  }

  .dark-mode-shapes .center-square {
    width: 100px;
    height: 100px;
    border-radius: 20px;
  }

  .dark-mode-shapes .dot-large {
    width: 12px;
    height: 12px;
  }

  .dark-mode-shapes .dot-small {
    width: 8px;
    height: 8px;
  }

  .dark-mode-shapes .dot-top-left {
    top: calc(50% - 140px - 4px);
    left: calc(50% - 140px - 4px);
  }

  .dark-mode-shapes .dot-top-right {
    top: calc(50% - 140px);
    left: calc(50% + 140px - 12px);
  }

  .dark-mode-shapes .dot-bottom-right {
    top: calc(50% + 140px - 4px);
    left: calc(50% + 140px - 4px);
  }

  .dark-mode-shapes .dot-bottom-left {
    top: calc(50% + 140px - 12px);
    left: calc(50% - 140px);
  }

  .dark-mode-shapes .diagonal-line {
    width: 395px;
  }
}

@media (max-width: 768px) {
  /* For mobile, make it even smaller */
  .dark-mode-shapes .outer-circle {
    width: 180px;
    height: 180px;
  }

  .dark-mode-shapes .inner-circle {
    width: 130px;
    height: 130px;
  }

  .dark-mode-shapes .center-square {
    width: 65px;
    height: 65px;
    border-radius: 12px;
  }

  .dark-mode-shapes .dot-top-left {
    top: calc(50% - 90px - 3px);
    left: calc(50% - 90px - 3px);
  }

  .dark-mode-shapes .dot-top-right {
    top: calc(50% - 90px);
    left: calc(50% + 90px - 10px);
  }

  .dark-mode-shapes .dot-bottom-right {
    top: calc(50% + 90px - 3px);
    left: calc(50% + 90px - 3px);
  }

  .dark-mode-shapes .dot-bottom-left {
    top: calc(50% + 90px - 10px);
    left: calc(50% - 90px);
  }

  .dark-mode-shapes .diagonal-line {
    width: 255px;
  }
}

@media (max-width: 480px) {
  .dark-mode-shapes .outer-circle {
    width: 150px;
    height: 150px;
  }

  .dark-mode-shapes .inner-circle {
    width: 110px;
    height: 110px;
  }

  .dark-mode-shapes .center-square {
    width: 55px;
    height: 55px;
    border-radius: 10px;
  }

  .dark-mode-shapes .dot-top-left {
    top: calc(50% - 75px - 3px);
    left: calc(50% - 75px - 3px);
  }

  .dark-mode-shapes .dot-top-right {
    top: calc(50% - 75px);
    left: calc(50% + 75px - 10px);
  }

  .dark-mode-shapes .dot-bottom-right {
    top: calc(50% + 75px - 3px);
    left: calc(50% + 75px - 3px);
  }

  .dark-mode-shapes .dot-bottom-left {
    top: calc(50% + 75px - 10px);
    left: calc(50% - 75px);
  }

  .dark-mode-shapes .diagonal-line {
    width: 215px;
  }
}

/* Add this to ensure proper containment */
.hero-tool-section {
  position: relative;
}

.hero-tool-icon-container {
  position: relative;
  width: 360px;
  height: 220px;
}

@media (min-width: 768px) {
  .hero-tool-icon-container {
    width: 420px;
    height: 260px;
  }
}
