/* 
   livvydunneaiporn.pw - Main Stylesheet
   Modern, mobile-responsive design with SEO optimization
*/

/* --- Base Styles & Variables --- */
:root {
  --primary: #8C52FF;
  --secondary: #FF66A3;
  --dark: #181523;
  --light: #ffffff;
  --gray: #f4f5f9;
  --text: #333333;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --box-shadow: 0 10px 30px rgba(140, 82, 255, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 16px;
  --header-height: 80px;
}

/* --- Reset & Global Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
  overflow-x: hidden;
}

.page-wrapper {
  position: relative;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* --- Header Styles --- */
header {
  position: relative;
  background-color: var(--dark);
  color: var(--light);
  overflow: hidden;
  padding-bottom: 50px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  padding: 0 5%;
}

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

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

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--light);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

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

.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::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 100;
}

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

/* --- Hero Section --- */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 5%;
  gap: 30px;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  width: 100%;
  max-width: 400px;
}

/* --- Wave Dividers --- */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  fill: var(--light);
}

.tech-divider-top, .tech-divider-bottom {
  width: 100%;
  height: 50px;
}

.tech-divider-top {
  position: absolute;
  top: 0;
  left: 0;
}

.tech-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
}

/* --- CTA Buttons --- */
.cta-button, .cta-button-alt, .cta-button-large {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  cursor: pointer;
}

.cta-button {
  background: var(--gradient);
  color: white;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(140, 82, 255, 0.3);
  color: white;
}

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

.cta-button-alt:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
}

.cta-button-large {
  background: var(--gradient);
  color: white;
  font-size: 1.1rem;
  padding: 18px 36px;
}

.cta-button-large:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(140, 82, 255, 0.4);
}

/* Pulse Animation */
.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(140, 82, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(140, 82, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(140, 82, 255, 0);
  }
}

/* --- Content Section --- */
.content-section {
  padding: 100px 0;
}

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

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

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

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

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

.feature-card p {
  font-size: 1rem;
  opacity: 0.8;
}

/* --- Technology Section --- */
.technology-section {
  position: relative;
  padding: 100px 0;
  background: var(--gradient);
  color: white;
  margin: 100px 0;
}

.technology-section h2 {
  color: white;
}

.tech-grid {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.tech-content {
  flex: 1;
  min-width: 300px;
}

.tech-content h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.tech-content p {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.tech-list {
  margin-bottom: 30px;
  padding-left: 20px;
}

.tech-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 20px;
}

.tech-list li::before {
  content: "✓";
  position: absolute;
  left: -10px;
  color: white;
}

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

.tech-svg {
  width: 100%;
  max-width: 300px;
}

/* --- Features Section --- */
.features-section {
  padding: 100px 0;
}

.features-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}

.feature-box {
  flex: 1;
  min-width: 250px;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.feature-box:hover {
  transform: translateY(-10px);
}

.feature-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--gradient);
  color: white;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.feature-box h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  margin-top: 10px;
  color: var(--dark);
}

.feature-box p {
  opacity: 0.8;
}

.call-to-action {
  text-align: center;
  padding: 60px 0 20px;
}

.call-to-action h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

/* --- Footer --- */
footer {
  background-color: var(--dark);
  color: white;
  padding: 70px 0 30px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 40px;
  height: 40px;
}

.footer-brand span {
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--secondary);
}

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

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .tech-grid {
    flex-direction: column;
    text-align: center;
  }
  
  .tech-list li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .header-inner {
    padding: 0 20px;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--dark);
    padding: 100px 20px 30px;
    z-index: 90;
    transition: var(--transition);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 100;
  }
  
  .menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-brand {
    justify-content: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .content-section, .features-section {
    padding: 60px 0;
  }
  
  .technology-section {
    padding: 60px 0;
    margin: 60px 0;
  }
  
  .tech-content h2 {
    font-size: 2rem;
  }
  
  .features-flex {
    flex-direction: column;
  }
  
  .feature-box {
    width: 100%;
  }
  
  .cta-button-large {
    padding: 15px 30px;
  }
  
  .call-to-action h3 {
    font-size: 1.5rem;
  }
}
