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

:root {
  --primary: #0066FF;
  --primary-light: #3385FF;
  --primary-dark: #0052CC;
  --text-dark: #1A1A2E;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

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

ul {
  list-style: none;
}

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

/* ==================== Layout ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* ==================== Header ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.logo img {
  height: 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  color: var(--text-gray);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
}

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

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

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* ==================== Hero Section ==================== */
.hero {
  padding-top: 140px;
  padding-bottom: 100px;
  background: linear-gradient(180deg, #F0F7FF 0%, var(--bg-white) 100%);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 4px;
}

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

.hero-app-mockup {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
  border: 1px solid var(--border);
}

/* ==================== Features Section ==================== */
.features {
  padding: 100px 0;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-gray);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px 32px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #E6F0FF 0%, #F0F7FF 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ==================== Download Section ==================== */
.download {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-white) 0%, #F0F7FF 100%);
}

.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.download-info h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.download-info p {
  font-size: 17px;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.8;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.download-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.download-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.download-btn.disabled:hover {
  border-color: var(--border);
  box-shadow: none;
}

.download-btn-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.download-btn-text {
  flex: 1;
}

.download-btn-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.download-btn-desc {
  font-size: 13px;
  color: var(--text-light);
}

.download-visual {
  display: flex;
  justify-content: center;
}

/* ==================== Footer ==================== */
.footer {
  padding: 60px 0 40px;
  background: #4a4a4a;
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 12px;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==================== Page Header ==================== */
.page-header {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, #F0F7FF 0%, var(--bg-white) 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 17px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== Guide Page ==================== */
.guide-section {
  padding: 60px 0;
}

.guide-section:nth-child(even) {
  background: var(--bg-light);
}

.guide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.guide-content.reverse .guide-text {
  order: 2;
}

.guide-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.guide-text p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.guide-text ul {
  margin-top: 20px;
}

.guide-text li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.guide-text li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 600;
  flex-shrink: 0;
}

.guide-visual {
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.guide-visual img {
  width: 100%;
  display: block;
}

/* ==================== Skills Page ==================== */
.skills-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  font-size: 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.skill-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #E6F0FF 0%, #F0F7FF 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.skill-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.skill-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.skill-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.skill-tag {
  padding: 4px 12px;
  font-size: 12px;
  background: var(--bg-light);
  border-radius: 12px;
  color: var(--text-gray);
}

/* ==================== Company Page ==================== */
.company-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, #F0F7FF 0%, var(--bg-white) 100%);
}

.company-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.company-info h1 {
  font-size: 44px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.company-info > p {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

.company-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.company-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.company-feature span {
  font-size: 15px;
  color: var(--text-dark);
}

.company-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.company-contact {
  padding: 80px 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.contact-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #E6F0FF 0%, #F0F7FF 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-app-mockup {
    max-width: 360px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-buttons {
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .guide-content {
    grid-template-columns: 1fr;
  }

  .guide-content.reverse .guide-text {
    order: 0;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .download-info h2 {
    font-size: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .company-features {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding-top: 100px;
  }

  .page-header h1 {
    font-size: 32px;
  }
}
