/* Main CSS for candyaiporn.love */
:root {
  --primary-color: #36D1DC;
  --secondary-color: #E271F0;
  --dark-color: #0e0e20;
  --light-color: #ffffff;
  --text-color: #f0f0f5;
  --accent-color: #FF9D80;
  --font-main: 'Poppins', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

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

/* Utility Classes */
.gradient-text {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.section-tag {
  display: inline-block;
  padding: 5px 15px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
}

.section-tag::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Button Styles */
.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(54, 209, 220, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(54, 209, 220, 0.5);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--light-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background-color: rgba(14, 14, 32, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  color: var(--light-color);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  font-size: 1rem;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: var(--light-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(226, 113, 240, 0.1), transparent 70%),
              radial-gradient(circle at bottom left, rgba(54, 209, 220, 0.1), transparent 70%);
  z-index: -1;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: rgba(240, 240, 245, 0.8);
}

.cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 500px;
}

.hero-visual svg {
  width: 100%;
  height: auto;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: rgba(20, 20, 40, 0.5);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(240, 240, 245, 0.7);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(54, 209, 220, 0.03), rgba(226, 113, 240, 0.03));
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--light-color);
}

.feature-card p {
  color: rgba(240, 240, 245, 0.7);
}

/* Experience Section */
.experience {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.experience::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(54, 209, 220, 0.1), transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

.experience-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.experience-text {
  flex: 1;
  min-width: 300px;
}

.experience-text h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.experience-text p {
  margin-bottom: 30px;
  color: rgba(240, 240, 245, 0.8);
}

.experience-list {
  list-style: none;
  margin-bottom: 30px;
}

.experience-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.experience-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  color: var(--primary-color);
  font-weight: 700;
}

.experience-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.experience-visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(54, 209, 220, 0.1), rgba(226, 113, 240, 0.1));
  position: relative;
  overflow: hidden;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--light-color);
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: rgba(240, 240, 245, 0.8);
}

/* Footer */
footer {
  background-color: rgba(10, 10, 20, 0.95);
  padding: 80px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
}

.footer-logo svg {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.footer-logo p {
  color: rgba(240, 240, 245, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  min-width: 150px;
}

.footer-links h4 {
  color: var(--light-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(240, 240, 245, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: rgba(240, 240, 245, 0.4);
  font-size: 0.85rem;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
  .hero-content h2 {
    font-size: 2.8rem;
  }

  .section-header h2, .experience-text h2 {
    font-size: 2.3rem;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-visual {
    margin-top: 40px;
    justify-content: center;
  }
  
  .experience-content {
    flex-direction: column;
    text-align: center;
  }
  
  .experience-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .experience-list li {
    justify-content: center;
  }
  
  .section-tag::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .section-tag {
    display: block;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--dark-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: all 0.5s ease;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .nav-links li a {
    font-size: 1.2rem;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .hero-content p, .feature-card p {
    font-size: 1rem;
  }
  
  .cta-group {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-content h2, .section-header h2, .experience-text h2, .cta-content h2 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    text-align: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-logo {
    margin: 0 auto;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}
