/* 
 * styles.css for aiqiuporn.site
 * Unique design with orange/red warm tones, curved elements, and modern layout
 */

/* Root variables for consistent design system */
:root {
  /* Color palette - warm/orange tones (completely different from previous sites) */
  --primary: #FF5252;
  --secondary: #FF9800;
  --accent: #FF7043;
  --dark: #263238;
  --light: #FAFAFA;
  --background: #FFFAF0;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  
  /* Typography */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Borders & Shadows */
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--dark);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary);
}

h2 {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  position: relative;
}

h2 span {
  color: var(--secondary);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
}

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

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Page Container */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
header {
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
}

.logo span {
  color: var(--primary);
}

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

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: var(--space-md);
}

.nav-menu a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

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

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

.nav-cta {
  background: var(--gradient);
  color: white !important;
  padding: var(--space-xs) var(--space-sm) !important;
  border-radius: var(--border-radius-sm);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--dark);
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  padding: var(--space-xl) 0;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.05), rgba(255, 152, 0, 0.05));
  z-index: 1;
  clip-path: ellipse(70% 70% at 70% 30%);
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
}

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

.hero-graphic {
  width: 100%;
  max-width: 500px;
}

/* Buttons */
.primary-button {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-md);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(255, 82, 82, 0.3);
  transition: all 0.3s ease;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 82, 82, 0.4);
  color: white;
}

.secondary-button {
  display: inline-block;
  background: transparent;
  color: var(--secondary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-md);
  font-weight: 600;
  border: 2px solid var(--secondary);
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background-color: var(--secondary);
  color: white;
}

.text-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.pulse {
  animation: pulse 2s infinite;
}

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

/* Showcase Section */
.showcase-section {
  padding: var(--space-xl) 0;
  background-color: var(--background);
  text-align: center;
}

.showcase-section h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.showcase-item {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.showcase-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.showcase-visual {
  height: 200px;
  overflow: hidden;
}

.showcase-visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-content {
  padding: var(--space-md);
  text-align: left;
}

.showcase-content h3 {
  margin-bottom: var(--space-xs);
}

/* Features Section */
.features-section {
  padding: var(--space-xl) 0;
  background-color: white;
  text-align: center;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.feature-card {
  padding: var(--space-md);
  background-color: var(--light);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s ease;
}

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

.feature-icon {
  margin-bottom: var(--space-sm);
  display: flex;
  justify-content: center;
}

/* About Section */
.about-section {
  padding: var(--space-xl) 0;
  background-color: var(--background);
}

.about-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-content {
  text-align: left;
}

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

.about-graphic {
  width: 100%;
  max-width: 400px;
}

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

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

.cta-content h2 {
  color: white;
  margin-bottom: var(--space-sm);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.cta-section .primary-button {
  background-color: white;
  color: var(--primary);
  border: none;
}

.cta-section .primary-button:hover {
  background-color: var(--light);
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding-top: var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-xs);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.footer-column h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient);
}

.footer-column ul li {
  margin-bottom: var(--space-xs);
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

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

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .about-section .container {
    grid-template-columns: 1fr;
  }
  
  .about-visual {
    order: -1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-logo {
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 768px) {
  .hero-section .container {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: white;
    flex-direction: column;
    text-align: center;
    padding: var(--space-lg) 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .showcase-grid,
  .features-container {
    grid-template-columns: 1fr;
  }
}
