/* styles.css for canaimakeporn.love */
:root {
  --primary: #6E44FF;
  --secondary: #FF44E3;
  --accent: #44DAFF;
  --dark: #191627;
  --light: #FFFFFF;
  --gray: #F0F0F5;
  --text-dark: #191627;
  --text-light: #6E7191;
  --shadow: 0 10px 30px rgba(110, 68, 255, 0.1);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --font-primary: 'Segoe UI', Arial, sans-serif;
}

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

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

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

/* Custom cursor */
.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s;
}

.cursor-outline {
  width: 25px;
  height: 25px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 0.3rem 0;
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: var(--gray);
  border-radius: 0 0 0 50%;
  z-index: -1;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

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

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-title span {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 5px 15px rgba(110, 68, 255, 0.3);
}

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

.btn.large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(110, 68, 255, 0.4);
}

.btn.outline:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.btn.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(110, 68, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(110, 68, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(110, 68, 255, 0);
  }
}

/* About Section */
.about {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header p {
  font-size: 1.1rem;
}

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

.about-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  height: 5px;
  background: var(--gradient);
  border-radius: 5px;
  transition: all 0.3s ease;
  opacity: 0;
  z-index: -1;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(110, 68, 255, 0.15);
}

.about-card:hover::before {
  opacity: 1;
}

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

/* Samples Section */
.samples {
  padding: 6rem 0;
  background-color: var(--gray);
}

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

.sample-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.sample-item:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(110, 68, 255, 0.2);
}

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

/* FAQ Section */
.faq {
  padding: 6rem 0;
}

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

.faq-item {
  border-bottom: 1px solid rgba(110, 68, 255, 0.1);
  margin-bottom: 1.5rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 0;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: bold;
  transition: all 0.3s;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
  padding: 0 1rem;
  opacity: 0;
}

.faq-item.active .faq-answer {
  height: auto;
  padding-bottom: 1.5rem;
  opacity: 1;
}

.faq-item.active .faq-question h3 {
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--gradient);
  text-align: center;
  color: white;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1.5rem;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-section .btn.primary {
  background: white;
  color: var(--primary);
}

.cta-section .btn.primary:hover {
  background: var(--gray);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

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

.footer-logo p {
  margin: 0;
  color: white;
  font-weight: 500;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--secondary);
}

.footer-social p {
  color: white;
  margin-bottom: 0.8rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero .container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero-visual {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }
  
  .nav-links.active {
    max-height: 300px;
  }
  
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--gray);
  }
  
  .nav-links a {
    display: block;
    padding: 1rem;
    text-align: center;
  }
  
  .about-cards {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .cursor-dot, .cursor-outline {
    display: none;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .sample-grid {
    grid-template-columns: 1fr;
  }
}
