/* Atmos - Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --warm-parchment: #faf7f2;
  --pure-white: #ffffff;
  --deep-black: #1a1a1a;
  --gray-brown: #6b6b6b;
  --light-gray: #b0b0b0;
  --parchment-line: #e5e0d8;
  --brand-purple: #7c3aed;
  --glass-bg: rgba(255,255,255,0.12);
  --glass-border: rgba(255,255,255,0.20);
  --hero-white: #ffffff;
  --nav-bg: rgba(255,253,250,0.7);
  --nav-bg-scrolled: rgba(255,253,250,0.95);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--deep-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  transition: background 0.3s ease;
}
.nav.scrolled { background: var(--nav-bg-scrolled); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.nav-logo {
  font-weight: 600;
  font-size: 18px;
  color: var(--deep-black);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 400;
  font-size: 14px;
  color: var(--gray-brown);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--deep-black); }
.nav-links a.active { color: var(--deep-black); }

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

.nav-cta {
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-purple);
  border: 1px solid var(--brand-purple);
  border-radius: 8px;
  padding: 8px 20px;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease-out;
}
.nav-cta:hover { background: rgba(124,58,237,0.06); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--deep-black);
  margin: 4px 0;
  transition: 0.3s;
}

/* Stroke Button (Purple) */
.btn-stroke {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--brand-purple);
  border: 1px solid var(--brand-purple);
  border-radius: 8px;
  padding: 14px 32px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease-out;
}
.btn-stroke:hover { background: rgba(124,58,237,0.06); }

.btn-stroke-sm {
  font-size: 14px;
  padding: 10px 24px;
}

/* Text Link */
.text-link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--gray-brown);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-purple);
  transition: width 0.2s;
}
.text-link:hover::after { width: 100%; }
.text-link:hover { color: var(--brand-purple); }

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2d1b4e 0%, #1a1a2e 30%, #16213e 60%, #0f3460 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-title {
  font-weight: 700;
  font-size: 56px;
  color: var(--hero-white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-weight: 400;
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hero-cta-primary {
  font-weight: 600;
  font-size: 16px;
  color: var(--hero-white);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 8px;
  padding: 14px 32px;
  text-decoration: none;
  background: transparent;
  transition: all 0.2s ease-out;
}
.hero-cta-primary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.9);
}

.hero-cta-secondary {
  font-weight: 400;
  font-size: 16px;
  color: var(--hero-white);
  text-decoration: none;
  border: none;
  background: none;
}
.hero-cta-secondary:hover { text-decoration: underline; }

/* Glass Panels */
.glass-panels {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.glass-panel {
  position: absolute;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s ease-out;
}

.glass-panel-1 { top: 15%; left: 8%; width: 280px; height: 200px; transform: rotate(-2deg); }
.glass-panel-2 { bottom: 18%; right: 8%; width: 260px; height: 180px; transform: rotate(2deg); }
.glass-panel-3 { top: 25%; right: 15%; width: 220px; height: 160px; transform: rotate(1deg); }

.glass-panel-inner {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.glass-panel-label {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
}

.glass-panel-mockup {
  width: 80%;
  height: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
}
.glass-panel-mockup.short { width: 50%; }

/* Section Common */
.section { padding: 100px 24px; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-weight: 700;
  font-size: 40px;
  color: var(--deep-black);
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-weight: 400;
  font-size: 18px;
  color: var(--gray-brown);
  text-align: center;
  margin-bottom: 60px;
}

/* Comparison Section */
.comparison { background: var(--warm-parchment); }

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px;
  align-items: start;
}

.comparison-divider {
  background: var(--parchment-line);
  height: 100%;
  min-height: 300px;
}

.comparison-col-title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 24px;
}
.comparison-col-old .comparison-col-title { color: #8a8a8a; }
.comparison-col-new .comparison-col-title { color: var(--deep-black); }

.comparison-item {
  font-weight: 400;
  font-size: 16px;
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.comparison-col-old .comparison-item {
  color: var(--gray-brown);
  border-left: 2px solid #d0d0d0;
  padding-left: 16px;
}
.comparison-col-new .comparison-item {
  color: #3d3d3d;
  border-left: 2px solid var(--brand-purple);
  padding-left: 16px;
}

.comparison-footer {
  text-align: center;
  margin-top: 60px;
  font-weight: 500;
  font-size: 20px;
  color: #5a5a5a;
}

/* Pricing Section */
.pricing { background: var(--pure-white); }

.pricing-flows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.flow-card {
  background: var(--warm-parchment);
  border: 1px solid var(--parchment-line);
  border-radius: 12px;
  padding: 32px;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.flow-card:hover, .flow-card.active {
  border-color: var(--brand-purple);
  background: #fdfbf7;
}

.flow-card-title {
  font-weight: 600;
  font-size: 20px;
  color: var(--deep-black);
  margin-bottom: 8px;
}
.flow-card-desc {
  font-weight: 400;
  font-size: 15px;
  color: var(--gray-brown);
  margin-bottom: 12px;
}
.flow-card-recommend {
  font-weight: 500;
  font-size: 13px;
  color: var(--brand-purple);
}

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

.price-card {
  background: var(--pure-white);
  border: 1px solid var(--parchment-line);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease-out;
}
.price-card:hover {
  border-color: var(--brand-purple);
  transform: translateY(-4px);
}
.price-card.recommended {
  border-top: 4px solid var(--brand-purple);
  background: #fdfbf7;
}

.price-card-name {
  font-weight: 600;
  font-size: 22px;
  color: var(--deep-black);
  margin-bottom: 8px;
}
.price-card-price {
  font-weight: 700;
  font-size: 44px;
  color: var(--deep-black);
  letter-spacing: -0.02em;
  line-height: 1.0;
}
.price-card-price span {
  font-weight: 400;
  font-size: 16px;
  color: var(--gray-brown);
}
.price-card-features {
  list-style: none;
  margin: 24px 0;
}
.price-card-features li {
  font-weight: 400;
  font-size: 15px;
  color: #3d3d3d;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-card-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-purple);
  flex-shrink: 0;
}
.price-card .btn-stroke {
  width: 100%;
  text-align: center;
  margin-top: 16px;
}

/* Features Section */
.features-section { background: var(--warm-parchment); }

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

.feature-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.feature-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--brand-purple);
  margin-bottom: 16px;
  transition: transform 0.2s;
}
.feature-item:hover .feature-icon {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.feature-title {
  font-weight: 600;
  font-size: 20px;
  color: var(--deep-black);
  margin-bottom: 8px;
}
.feature-desc {
  font-weight: 400;
  font-size: 16px;
  color: var(--gray-brown);
}

/* Final CTA */
.final-cta {
  background: linear-gradient(to bottom, var(--warm-parchment), var(--pure-white));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.04) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.6s;
}
.final-cta.visible::before { opacity: 1; }

.final-cta-title {
  font-weight: 700;
  font-size: 48px;
  color: var(--deep-black);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.final-cta-subtitle {
  font-weight: 400;
  font-size: 18px;
  color: var(--gray-brown);
  margin-bottom: 40px;
}
.final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}
.final-cta-note {
  font-weight: 400;
  font-size: 13px;
  color: var(--light-gray);
}

/* Footer */
.footer {
  background: var(--deep-black);
  color: var(--pure-white);
  padding: 60px 24px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--pure-white);
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-weight: 400;
  font-size: 13px;
  color: rgba(124,58,237,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(124,58,237,1); }

.footer-copyright {
  font-weight: 400;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Scroll Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay { transition-delay: 150ms; }

/* Subpage Header */
.page-header {
  background: var(--warm-parchment);
  padding: 120px 24px 60px;
  text-align: center;
}
.page-header-title {
  font-weight: 700;
  font-size: 48px;
  color: var(--deep-black);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-header-desc {
  font-weight: 400;
  font-size: 18px;
  color: var(--gray-brown);
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--pure-white);
  border: 1px solid var(--parchment-line);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease-out;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover {
  border-color: var(--brand-purple);
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e8dff5, #f5e6d3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple);
  font-size: 32px;
}

.blog-card-body { padding: 24px; }
.blog-card-tag {
  font-weight: 500;
  font-size: 12px;
  color: var(--brand-purple);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.blog-card-title {
  font-weight: 600;
  font-size: 18px;
  color: var(--deep-black);
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-card-excerpt {
  font-weight: 400;
  font-size: 14px;
  color: var(--gray-brown);
  line-height: 1.5;
}
.blog-card-meta {
  font-weight: 400;
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 16px;
}

/* Blog Detail */
.blog-detail {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}
.blog-detail-tag {
  font-weight: 500;
  font-size: 12px;
  color: var(--brand-purple);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.blog-detail-title {
  font-weight: 700;
  font-size: 36px;
  color: var(--deep-black);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.blog-detail-meta {
  font-weight: 400;
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 40px;
}
.blog-detail-content {
  font-weight: 400;
  font-size: 16px;
  color: #3d3d3d;
  line-height: 1.8;
}
.blog-detail-content p { margin-bottom: 24px; }
.blog-detail-content h2 {
  font-weight: 600;
  font-size: 24px;
  color: var(--deep-black);
  margin: 40px 0 16px;
}
.blog-detail-content h3 {
  font-weight: 600;
  font-size: 20px;
  color: var(--deep-black);
  margin: 32px 0 12px;
}
.blog-detail-content blockquote {
  border-left: 3px solid var(--brand-purple);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--gray-brown);
  font-style: italic;
}
.blog-detail-content ul {
  margin: 16px 0;
  padding-left: 24px;
}
.blog-detail-content li {
  margin-bottom: 8px;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  color: var(--brand-purple);
  text-decoration: none;
  margin-bottom: 32px;
}
.blog-back:hover { text-decoration: underline; }

/* About Page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-section {
  margin-bottom: 60px;
}
.about-section-title {
  font-weight: 600;
  font-size: 24px;
  color: var(--deep-black);
  margin-bottom: 16px;
}
.about-section p {
  font-weight: 400;
  font-size: 16px;
  color: #3d3d3d;
  line-height: 1.8;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.value-card {
  background: var(--warm-parchment);
  border: 1px solid var(--parchment-line);
  border-radius: 12px;
  padding: 24px;
}
.value-card-title {
  font-weight: 600;
  font-size: 18px;
  color: var(--deep-black);
  margin-bottom: 8px;
}
.value-card-desc {
  font-weight: 400;
  font-size: 15px;
  color: var(--gray-brown);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-item {
  margin-bottom: 24px;
}
.contact-info-label {
  font-weight: 500;
  font-size: 13px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.contact-info-value {
  font-weight: 400;
  font-size: 16px;
  color: var(--deep-black);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-weight: 500;
  font-size: 14px;
  color: var(--deep-black);
}
.form-input, .form-textarea {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--deep-black);
  background: var(--pure-white);
  border: 1px solid var(--parchment-line);
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.form-textarea { min-height: 120px; resize: vertical; }

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 16px;
  color: #166534;
  font-size: 14px;
}
.form-success.show { display: block; }

/* Features Detail Page */
.feature-detail-card {
  background: var(--pure-white);
  border: 1px solid var(--parchment-line);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 32px;
}
.feature-detail-icon {
  width: 56px;
  height: 56px;
  color: var(--brand-purple);
  margin-bottom: 20px;
}
.feature-detail-title {
  font-weight: 600;
  font-size: 24px;
  color: var(--deep-black);
  margin-bottom: 12px;
}
.feature-detail-desc {
  font-weight: 400;
  font-size: 16px;
  color: var(--gray-brown);
  line-height: 1.7;
  margin-bottom: 16px;
}
.feature-detail-list {
  list-style: none;
}
.feature-detail-list li {
  font-weight: 400;
  font-size: 15px;
  color: #3d3d3d;
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feature-detail-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-purple);
  flex-shrink: 0;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }

  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }

  .glass-panel-3 { display: none; }
  .glass-panel-1 { width: 180px; height: 130px; top: 12%; left: 5%; }
  .glass-panel-2 { width: 170px; height: 120px; bottom: 15%; right: 5%; }

  .comparison-grid { grid-template-columns: 1fr; gap: 24px; }
  .comparison-divider { display: none; }

  .pricing-flows, .pricing-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .section-title { font-size: 28px; }
  .final-cta-title { font-size: 32px; }
  .page-header-title { font-size: 32px; }
  .section { padding: 60px 16px; }
}
