/* ===== BASE STYLES ===== */
:root {
  --primary: #ff3366;
  --secondary: #ff9933;
  --dark: #111111;
  --darker: #0a0a0a;
  --light: #f8f8f8;
  --gray: #aaaaaa;
  --text: #eeeeee;
  --heading-font: 'Nunito', sans-serif;
  --body-font: 'Nunito', sans-serif;
  --gradient: linear-gradient(90deg, var(--primary), var(--secondary));
  --shadow: 0 5px 20px rgba(255, 51, 102, 0.2);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 8px;
  --container-width: 1140px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--body-font);
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top right, rgba(255, 51, 102, 0.05) 0%, transparent 70%),
              radial-gradient(circle at bottom left, rgba(255, 153, 51, 0.05) 0%, transparent 70%);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

section {
  padding: 5rem 0;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 51, 102, 0.1);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

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

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

.menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 101;
  width: 30px;
  height: 24px;
}

.bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 3px;
}

/* ===== BUTTONS ===== */
.cta-button {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  text-align: center;
}

.primary-cta {
  background: var(--gradient);
  color: var(--text);
  box-shadow: var(--shadow);
}

.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 25px rgba(255, 51, 102, 0.3);
  color: white;
}

.secondary-cta {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.secondary-cta:hover {
  background-color: rgba(255, 51, 102, 0.1);
  color: var(--primary);
}

.nav-cta {
  padding: 0.6rem 1.2rem;
  background: var(--gradient);
  color: white !important;
  border-radius: 50px;
  box-shadow: var(--shadow);
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 25px rgba(255, 51, 102, 0.3);
  color: white !important;
}

.nav-cta::after {
  display: none;
}

.cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* ===== INTRO SECTION ===== */
.intro-section {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.intro-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.intro-content {
  max-width: 600px;
}

.main-heading {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.main-heading span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead-text {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.intro-visual {
  position: relative;
  width: 50%;
  max-width: 500px;
  height: 500px;
}

.visual-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.intro-shape {
  width: 100%;
  height: 100%;
  animation: float 6s ease-in-out infinite alternate;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background-color: var(--darker);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  background-color: rgba(34, 34, 34, 0.5);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  text-align: center;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.item-placeholder {
  background-color: var(--dark);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-item p {
  padding: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: rgba(34, 34, 34, 0.5);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 51, 102, 0.1);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 51, 102, 0.15);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background-color: var(--darker);
  position: relative;
}

.steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 20px;
  width: 2px;
  height: calc(100% + 3rem);
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.step-number {
  background: var(--gradient);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--darker);
  padding: 4rem 0 1rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 153, 51, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-branding p {
  color: var(--gray);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 10px;
}

.footer-logo span {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links h4, .footer-cta h4 {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-cta p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.footer-button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.footer-button:hover {
  box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
  transform: translateY(-3px);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .intro-section .container {
    flex-direction: column;
    text-align: center;
    padding: 4rem 0;
  }
  
  .intro-content {
    max-width: 100%;
    margin-bottom: 3rem;
  }
  
  .intro-visual {
    width: 100%;
    height: 400px;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .main-heading {
    font-size: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-branding {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .menu-button {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--darker);
    padding: 80px 30px 30px;
    transition: var(--transition);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .main-nav ul li {
    width: 100%;
  }
  
  .main-nav ul li a {
    display: block;
    padding: 1rem 0;
  }
  
  .menu-button.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-button.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-button.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .gallery-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-branding {
    grid-column: span 1;
  }
  
  .cta-group {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  .main-heading {
    font-size: 2.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
}
