/* Modern, Sleek Design for milliebobbybrownaiporn.pw
   Different color scheme and layout from previous site */

:root {
  /* Color Scheme - Purple/Pink Theme */
  --primary: #E64980;
  --secondary: #6C5CE7;
  --accent: #00CECE;
  --dark: #201D2E;
  --light: #F8F9FA;
  --text-dark: #343A40;
  --text-light: #F8F9FA;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --card-bg: rgba(255, 255, 255, 0.05);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--dark);
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(108, 92, 231, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(230, 73, 128, 0.05) 0%, transparent 50%);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

img, svg {
  max-width: 100%;
  height: auto;
}

/* Layout & Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 5rem 0;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(32, 29, 46, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(108, 92, 231, 0.2);
}

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

.logo a {
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

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

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

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-content {
  max-width: 600px;
  margin-right: 2rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient);
  color: var(--text-light);
  box-shadow: 0 5px 15px rgba(230, 73, 128, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(230, 73, 128, 0.5);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

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

/* About Section */
.about-section {
  background-color: rgba(32, 29, 46, 0.5);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-divider {
  height: 4px;
  width: 80px;
  background: var(--gradient);
  margin: 0 auto;
  border-radius: 2px;
}

.about-content {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

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

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

.feature-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 10px;
  background-color: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* Tech Section */
.tech-section {
  background-color: rgba(22, 20, 32, 0.8);
}

.tech-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

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

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

.tech-step {
  margin-bottom: 2.5rem;
  position: relative;
  padding-left: 3rem;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

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

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 1.5rem;
}

.cta-content p {
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: rgba(22, 20, 32, 0.95);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(108, 92, 231, 0.2);
}

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

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-menu h4 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

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

.footer-menu ul li {
  margin-bottom: 0.75rem;
}

.footer-menu ul li a {
  color: var(--text-light);
  opacity: 0.8;
}

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

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

.copyright p {
  opacity: 0.7;
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    margin-right: 0;
    max-width: 100%;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .tech-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .tech-step {
    padding-left: 0;
    padding-top: 3rem;
  }
  
  .step-number {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    flex-direction: column;
    background-color: rgba(32, 29, 46, 0.98);
    transition: height 0.3s ease;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu.show {
    height: calc(100vh - 80px);
  }
  
  .nav-menu li {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-menu li a {
    display: block;
    padding: 1.5rem 0;
    font-size: 1.2rem;
  }
  
  .about-content, .tech-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
