/* Base styles and variables */
:root {
  --primary-dark: #1c142c;
  --primary-light: #2a1e40;
  --accent-pink: #dc7dd3;
  --accent-orange: #cf553e;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --gradient-bg: linear-gradient(135deg, var(--primary-dark) 0%, #331b47 100%);
  --card-bg: rgba(42, 30, 64, 0.8);
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --border-radius: 10px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-pink);
  border-radius: 2px;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 100px 0;
}

.highlight {
  color: var(--accent-pink);
}

.mention {
  background-color: rgba(220, 125, 211, 0.2);
  color: var(--accent-pink);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

/* Button styles */
.cta-button {
  display: inline-block;
  background: var(--accent-pink);
  color: var(--text-light);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-top: 1.5rem;
}

.cta-button:hover {
  background: #c56bc0;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cta-button.secondary {
  background: var(--accent-orange);
}

.cta-button.secondary:hover {
  background: #b84a35;
}

/* Navigation styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(28, 20, 44, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    to right,
    var(--accent-pink),
    var(--accent-orange)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  position: relative;
  font-weight: 500;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-pink);
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero section */
.hero {
  background: var(--gradient-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 0.5rem;
}

.hero-content h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.hero-content h2::after {
  display: none;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image img {
  max-width: 70%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: perspective(1000px) rotateY(-10deg);
  transition: var(--transition);
  border: 4px solid rgba(220, 125, 211, 0.3);
}

.hero-image img:hover {
  transform: perspective(1000px) rotateY(0deg);
}

/* About section */
.about {
  background-color: var(--primary-light);
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-text {
  flex: 1;
  font-size: 1.1rem;
}

.features {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--accent-pink);
  height: 100%;
}

.feature-card:nth-child(2) {
  border-left-color: var(--accent-orange);
}

.feature-card:nth-child(3) {
  border-left-color: #8a2be2;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.feature-icon .em {
  font-size: 2rem;
  height: 2rem;
  width: 2rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* How to use section */
.how-to-use {
  background: var(--gradient-bg);
  text-align: center;
}

.steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 5px;
  background: linear-gradient(
    to bottom,
    var(--accent-pink),
    var(--accent-orange)
  );
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-pink);
  min-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 125, 211, 0.1);
  border-radius: 50%;
  padding: 10px;
}

.step:nth-child(2) .step-number {
  color: var(--accent-orange);
  background: rgba(207, 85, 62, 0.1);
}

.step:nth-child(3) .step-number {
  color: #a388ee;
  background: rgba(138, 43, 226, 0.1);
}

.step-content h3 {
  margin-bottom: 10px;
}

/* Examples section */
.examples {
  background-color: var(--primary-light);
}

.example-showcase {
  display: flex;
  gap: 40px;
  align-items: center;
}

.example-card {
  flex: 1.2;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 30px;
  position: relative;
}

.example-card h3 {
  margin-bottom: 20px;
}

.example-image {
  margin-top: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.example-image img {
  width: 100%;
  transition: var(--transition);
}

.example-image:hover img {
  transform: scale(1.02);
}

.example-ideas {
  flex: 0.8;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.example-ideas h3 {
  margin-bottom: 20px;
}

.example-ideas ul {
  margin-bottom: 30px;
}

.example-ideas ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.example-ideas ul li::before {
  content: "→";
  color: var(--accent-pink);
  position: absolute;
  left: 0;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.footer-logo span {
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(
    to right,
    var(--accent-pink),
    var(--accent-orange)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info a {
  color: var(--accent-pink);
  font-weight: 500;
  transition: var(--transition);
}

.contact-info a:hover {
  text-decoration: underline;
  color: var(--accent-orange);
}

.footer-links ul {
  display: flex;
  gap: 30px;
}

.footer-links ul li a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--accent-pink);
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Media queries for responsiveness */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero .container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-image img {
    max-width: 60%;
  }

  .about-content {
    flex-direction: column;
  }

  .features {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .example-showcase {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-info {
    align-items: center;
  }

  .footer-links ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .step {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .step::before {
    width: 100%;
    height: 4px;
    bottom: 0;
    top: auto;
  }
}
