/* 
  Corscene Landing Page Styles
  Design: Premium, Apple-like, clean, responsive, with CSS UI Mockups.
*/

:root {
  --bg-color: #ffffff;
  --text-main: #1d1d1f;
  --text-secondary: #86868b;
  --card-bg: #fdfcff;
  --box-bg: #fbfbfd;
  --border-light: #f5f5f7;
  --border-color: #e5e5ea;
  
  /* Premium Purple Accent */
  --accent-color: #7b61ff;
  --accent-hover: #6950e8;
  --accent-light: #f8f6ff;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, "Apple Color Emoji", "Segoe UI", Roboto, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  height: 72px;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.01);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin-left: 24px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Hero Section */
.hero {
  padding: 60px 0 120px;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text-area {
  flex: 1;
  max-width: 500px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-title .highlight {
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-mockup-area {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
  min-height: 600px;
}

.mockup-stack {
  position: relative;
  width: 520px;
  height: 580px;
}

.mockup-stack::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 750px;
  height: 450px;
  background: #ebe0ff;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  z-index: 0;
  filter: blur(60px);
  opacity: 0.85;
}

.mockup-back {
  position: absolute;
  top: 60px;
  left: 0px;
  z-index: 1;
  opacity: 0;
  box-shadow: 0 20px 40px rgba(123, 97, 255, 0.15);
  animation: fadeInsight 8s infinite ease-in-out;
}

.mockup-front {
  position: absolute;
  bottom: 0;
  left: 100px;
  z-index: 2;
  animation: fadeCoach 8s infinite ease-in-out;
}

@keyframes fadeCoach {
  0%, 35% { opacity: 1; pointer-events: auto; }
  50%, 85% { opacity: 0; pointer-events: none; }
  100% { opacity: 1; pointer-events: auto; }
}

@keyframes fadeInsight {
  0%, 35% { opacity: 0; pointer-events: none; }
  50%, 85% { opacity: 1; pointer-events: auto; }
  100% { opacity: 0; pointer-events: none; }
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  border: 1px solid var(--accent-color);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--box-bg);
  border-color: var(--accent-color);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s;
}

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

.arrow {
  margin-left: 6px;
  font-size: 14px;
}

.beta-promo {
  padding: 0 0 34px;
}

.beta-promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border-radius: 24px;
  background: #fffaf4;
  border: 1px solid rgba(139, 124, 255, 0.18);
  box-shadow: 0 16px 46px rgba(139, 124, 255, 0.08);
}

.beta-promo-kicker {
  margin-bottom: 8px;
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.beta-promo h2 {
  color: var(--text-main);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
}

.beta-promo p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.beta-promo-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent-color);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(139, 124, 255, 0.22);
}

/* Products Section */
.products {
  padding: 80px 0 120px;
}

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

.section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  display: flex;
  align-items: center;
}

.section-title .highlight-dot {
  color: var(--accent-color);
  margin-left: 2px;
}

.products-list {
  display: flex;
  gap: 24px;
}

.product-card.horizontal {
  flex: 1;
  background: var(--card-bg);
  border-radius: 32px;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card.horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.product-card.product-coming-soon .card-content,
.product-card.product-coming-soon .card-mockup-wrapper,
.product-card.product-coming-soon .free-badge {
  filter: blur(10px);
  opacity: 0.18;
  transform: scale(1.02);
  pointer-events: none;
  user-select: none;
}

.product-card.product-coming-soon .btn-link {
  pointer-events: none;
}

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(139, 124, 255, 0.22);
  backdrop-filter: blur(8px);
}

.coming-soon-overlay::before {
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 22px;
  background: url("nyang-mockup/nyang_logo.png") center / contain no-repeat;
  box-shadow: 0 14px 34px rgba(139, 124, 255, 0.14);
}

.coming-soon-kicker {
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coming-soon-overlay strong {
  color: var(--text-main);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.signature-ribbon {
  position: absolute;
  top: 28px;
  right: -36px;
  background: var(--accent-color);
  color: white;
  padding: 6px 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(123, 97, 255, 0.2);
  z-index: 10;
  text-align: center;
}

.free-ribbon {
  position: absolute;
  top: 28px;
  right: -36px;
  background: transparent;
  color: var(--accent-color);
  border-top: 2px solid var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  padding: 4px 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  transform: rotate(45deg);
  z-index: 10;
  text-align: center;
}

.card-content {
  padding: 40px 32px 32px;
  flex: 1;
}

.card-header {
  margin-bottom: 24px;
}

.product-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-icon {
  font-size: 32px;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

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

.card-mockup-wrapper {
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
}

.bg-light-purple {
  background: var(--accent-light);
}

/* Scale adjustments for horizontal layout mockups */
.scale-down {
  transform: scale(0.85) translateY(20px);
  transform-origin: bottom center;
}
.scale-down-more {
  transform: scale(0.65) translateY(60px);
  transform-origin: bottom center;
}

/* CSS Phone Mockup */
.css-phone-mockup {
  width: 360px;
  height: 600px;
  background: white;
  border-radius: 40px;
  border: 12px solid #f2f2f7;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  flex: 1;
  background: #fbfbfd;
  display: flex;
  flex-direction: column;
}

.phone-header {
  padding: 20px;
  padding-top: 40px;
}

.back-icon {
  font-size: 20px;
  color: var(--text-main);
}

.phone-body {
  padding: 0 20px;
  flex: 1;
}

.greeting {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.greeting-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.mockup-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.mockup-card-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.task-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.task-time {
  font-size: 11px;
  color: var(--accent-color);
}

.task-play {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.task-play span {
  font-size: 9px;
  margin-top: 2px;
}

.mockup-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-main);
}

.mockup-note span {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.phone-tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0 24px;
  background: white;
  border-top: 1px solid var(--border-light);
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: var(--text-secondary);
}

.tab.active {
  color: var(--accent-color);
}

.tab .icon {
  font-size: 16px;
  margin-bottom: 4px;
}

.tab.plus .plus-btn {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-top: -10px;
}


/* CSS Web Mockup (Insight) */
.css-web-mockup {
  width: 520px;
  height: 380px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  overflow: hidden;
}

.web-sidebar {
  width: 60px;
  background: #fbfbfd;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
}

.web-logo {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text-main);
}

.web-menu-item {
  width: 30px;
  height: 10px;
  border-radius: 4px;
  background: var(--border-color);
  margin-bottom: 12px;
}

.web-menu-item.active {
  background: var(--accent-color);
}

.web-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.web-topbar {
  height: 40px;
  border-bottom: 1px solid var(--border-light);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.web-content {
  padding: 24px;
}

.web-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.web-text-line {
  height: 8px;
  background: #f5f5f7;
  border-radius: 4px;
  margin-bottom: 8px;
  width: 100%;
}

.web-text-line.short {
  width: 60%;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.insight-box {
  height: 40px;
  background: #f5f5f7;
  border-radius: 6px;
}

/* About Section */
.about {
  padding: 60px 0;
}

.about-box {
  background-color: var(--box-bg);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
}

.about-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.about-logo {
  width: 220px;
  height: auto;
  vertical-align: middle;
  margin-bottom: 6px;
}

.about-text {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer / Contact */
.footer {
  padding: 60px 0 40px;
  text-align: center;
}

.contact-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-email {
  display: inline-block;
  font-size: 18px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-secondary);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 20px;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: left;
  }
  
  .hero-text-area {
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-mockup-area {
    min-height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .mockup-stack {
    transform: scale(0.8);
    transform-origin: top center;
  }

  .beta-promo-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .products-list {
    flex-direction: column;
  }

  .product-card.horizontal {
    flex-direction: column;
  }

  .card-mockup-wrapper {
    height: 240px;
  }
}


/* Legal pages */
.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
}

.policy-links a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

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

.legal-page {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}

.legal-hero {
  padding: 72px 0 32px;
}

.legal-eyebrow {
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.legal-hero h1 {
  color: var(--text-main);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.legal-updated {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 16px;
}

.legal-content {
  padding: 0 0 96px;
}

.legal-container {
  max-width: 860px;
}

.legal-container h2 {
  color: var(--text-main);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 36px 0 12px;
}

.legal-container p,
.legal-container li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.legal-container ul {
  padding-left: 20px;
}

.legal-footer {
  margin-top: 0;
}
