/* ===================================
   ChobitWish Landing Page - Styles
   =================================== */

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

:root {
  /* Colors - Wish Theme (Pink/Purple) */
  --bg-gradient-start: #fce8f7;
  --bg-gradient-mid: #f8e3f3;
  --bg-gradient-end: #f3e8fc;
  --primary: #e8b4d9;
  --primary-hover: #dda0ca;
  --secondary: #d4a5e0;
  --accent-pink: #f8b4d9;
  --accent-purple: #c8a5e0;
  --accent-warm: #ffe5e5;
  --text-primary: #4a4a4a;
  --text-secondary: #8a8a8a;
  --text-muted: #9a9a9a;
  --border-color: rgba(255, 255, 255, 0.7);
  --white: #fff;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --shadow-soft: rgba(200, 165, 224, 0.15);

  /* Spacing */
  --section-spacing: 80px;
  --container-padding: 40px 20px;

  /* Typography */
  --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    'Liberation Mono', 'Courier New', monospace;
}

body {
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(232, 180, 217, 0.45) 0%, rgba(212, 165, 224, 0.45) 100%),
    linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* ----- Container ----- */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ----- Logo ----- */
.logo {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-placeholder {
  font-size: 120px;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 12px rgba(232, 180, 217, 0.3));
  font-weight: 700;
  line-height: 1;
}

.logo img {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 4px 12px rgba(232, 180, 217, 0.3));
}

/* ----- Typography ----- */
h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 32px;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 700;
}

p {
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
}

/* ----- Hero Section ----- */
.hero {
  text-align: center;
  padding: 40px 0;
}

.hero p {
  font-size: 22px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero .subtitle {
  font-size: 18px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 40px;
}

/* ----- Coming Soon Section ----- */
.coming-soon {
  text-align: center;
  padding: 60px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 2px solid var(--border-color);
  box-shadow: 0 8px 24px var(--shadow-soft);
}

.release-date {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

/* ----- Section ----- */
.section {
  margin: var(--section-spacing) 0;
}

.section iframe {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  height: 700px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 16px var(--shadow-soft);
}

.form-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 16px;
}

/* ----- Feature Grid ----- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin: 40px 0;
}

.feature {
  text-align: center;
  padding: 0;
  background: transparent;
  border: none;
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.feature p {
  font-size: 18px;
  text-align: center;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ----- Related App Section ----- */
.related-app {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(168, 216, 234, 0.15) 0%, rgba(212, 165, 224, 0.15) 100%);
  border-radius: 24px;
  border: 2px solid var(--border-color);
}

.cta-button {
  display: inline-block;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(232, 180, 217, 0.4);
  margin-top: 20px;
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--secondary) 100%);
  box-shadow: 0 6px 16px rgba(232, 180, 217, 0.6);
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0) scale(0.98);
}

/* ----- Footer ----- */
footer {
  text-align: center;
  margin-top: 100px;
  padding: 30px 0;
  border-top: 2px solid var(--border-color);
  font-size: 14px;
  color: var(--text-muted);
}

footer p {
  margin: 8px 0;
  font-size: 14px;
}

footer p:last-child {
  margin-top: 24px;
}

footer a {
  color: var(--text-primary);
  text-decoration: none;
  margin: 0 6px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 6px var(--shadow-soft);
  height: 54px;
  vertical-align: middle;
}

footer a:hover {
  background: linear-gradient(135deg, rgba(232, 180, 217, 0.3) 0%, rgba(212, 165, 224, 0.3) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-soft);
}

footer a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-apps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-apps .separator {
  color: var(--text-muted);
}

.footer-apps .current {
  font-weight: 600;
  color: var(--primary);
}

/* ----- Responsive Design ----- */
@media (max-width: 768px) {
  :root {
    --section-spacing: 60px;
    --container-padding: 30px 16px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .logo-placeholder {
    font-size: 100px;
  }

  p {
    font-size: 18px;
  }

  .release-date {
    font-size: 32px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-icon {
    font-size: 48px;
  }

  .feature h3 {
    font-size: 20px;
  }

  .feature p {
    font-size: 17px;
  }

  .section iframe {
    height: 700px;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
  }

  footer a {
    margin: 4px;
    padding: 8px 12px;
    font-size: 13px;
  }

  footer a svg {
    width: 14px;
    height: 14px;
  }

  .footer-apps {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  :root {
    --section-spacing: 50px;
    --container-padding: 24px 12px;
  }

  .container {
    padding: 24px 12px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .logo-placeholder {
    font-size: 80px;
  }

  p {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .release-date {
    font-size: 28px;
  }

  .coming-soon {
    padding: 40px 16px;
  }

  .feature-grid {
    gap: 28px;
  }

  .section iframe {
    height: 800px;
  }

  .feature-icon {
    font-size: 44px;
    margin-bottom: 16px;
  }

  .feature h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .feature p {
    font-size: 16px;
  }

  .related-app {
    padding: 40px 16px;
  }

  .cta-button {
    font-size: 16px;
    padding: 14px 28px;
  }

  footer {
    margin-top: 60px;
    padding: 24px 0;
  }

  footer p {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  footer a {
    width: 220px;
    justify-content: center;
    height: auto;
    padding: 8px 14px;
  }

  footer a svg {
    width: 16px;
    height: 16px;
  }

  .footer-apps {
    flex-direction: column;
    gap: 8px;
  }

  .footer-apps .separator {
    display: none;
  }
}

/* ----- Animations ----- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.section {
  animation: fadeIn 0.6s ease-out;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.logo-placeholder {
  animation: pulse 3s ease-in-out infinite;
}

/* ----- Accessibility ----- */
button:focus,
input:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
