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

:root {
  --primary-color: #1d1d1f;
  --secondary-color: #f5f5f7;
  --accent-color: #0071e3;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-logo a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.nav-logo a:hover {
  opacity: 0.7;
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
  opacity: 0.8;
}

.nav-menu a:hover {
  opacity: 1;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 8px;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.lang-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.lang-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 20px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-left: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(-45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Common Styles */
section {
  padding: 120px 0;
}

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

.section-title {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-secondary);
}

/* About Section */
.about-section {
  background: var(--secondary-color);
}

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

.about-card {
  background: var(--white);
  padding: 48px 32px;
  border-radius: 24px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow);
}

.card-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.about-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 600;
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 16px;
}

/* Values Section */
.values-section {
  margin-top: 80px;
}

.values-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
  font-weight: 600;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.value-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 16px;
  transition: var(--transition);
}

.value-item:hover {
  transform: scale(1.05);
}

.value-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.value-item h4 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.value-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Story Section */
.story-section {
  margin-bottom: 60px;
  text-align: center;
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 4px 20px var(--shadow);
}

.story-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
}

.story-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Philosophy Section */
.philosophy-section {
  margin-top: 80px;
  text-align: center;
}

.philosophy-title {
  font-size: 32px;
  margin-bottom: 48px;
  font-weight: 600;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.philosophy-item {
  padding: 32px 24px;
  background: var(--white);
  border-radius: 16px;
  transition: var(--transition);
}

.philosophy-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}

.philosophy-item h4 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.philosophy-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Hero CTA Button */
.hero-cta {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 40px;
  background: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 113, 227, 0.4);
}

/* Products Section */
.products-section {
  background: var(--white);
  position: relative;
}

/* Carousel */
.carousel-wrapper {
  position: relative;
  margin: 60px 0;
}

.carousel-container {
  overflow: hidden;
  border-radius: 24px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--shadow);
}

.carousel-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn span {
  font-size: 32px;
  color: var(--text-primary);
  font-weight: 300;
  line-height: 1;
}

.carousel-prev {
  left: -28px;
}

.carousel-next {
  right: -28px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-secondary);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.3;
}

.indicator.active {
  opacity: 1;
  background: var(--accent-color);
  transform: scale(1.2);
}

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

.product-card {
  background: var(--secondary-color);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
  min-width: 100%;
  flex-shrink: 0;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow);
}

.product-image {
  height: 350px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-placeholder {
  font-size: 120px;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
}

.product-info {
  padding: 40px;
  text-align: center;
}

.product-info h3 {
  font-size: 32px;
  margin-bottom: 8px;
  font-weight: 700;
}

.product-tagline {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 400;
}

.product-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 15px;
}

.product-status {
  display: inline-block;
  padding: 8px 20px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.product-link {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  margin-top: 8px;
}

.product-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-info h3 {
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-info p {
  color: var(--text-secondary);
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

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

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-section {
    padding: 80px 20px 60px;
  }

  section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .about-grid,
  .values-grid,
  .products-grid {
    gap: 24px;
  }

  .footer-content {
    flex-direction: column;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Color */
::selection {
  background: var(--accent-color);
  color: var(--white);
}
