/* Modern GoodBoy Website - Clean & Responsive */

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

:root {
  --primary: #26ff79;
  --primary-dark: #1edb65;
  --bg: #f9f9f7;
  --text: #000000;
  --text-light: #555555;
  --border: rgba(0, 0, 0, 0.06);
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  background: linear-gradient(135deg, #f9f9f7 0%, #f5f5f3 50%, #fafafa 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(38, 255, 121, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(38, 255, 121, 0.02) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

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

/* Floating Navbar */
.navbar {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.logo-container:hover {
  opacity: 0.8;
}

.logo {
  height: 32px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

.nav-link.active {
  opacity: 1;
  font-weight: 700;
}

.btn-nav {
  background: var(--text);
  color: var(--white) !important;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-nav:hover {
  background: var(--primary);
  color: var(--text) !important;
  opacity: 1;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 12rem 0 8rem;
  position: relative;
  overflow: hidden;
  background: transparent;
  backdrop-filter: blur(0px);
}

.hero_bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  will-change: transform;
  transform: translate3d(0.03px, -0.03px, 0px) scale3d(1.00004, 1.00004, 1)
    rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  transform-style: preserve-3d;
}

.hero_bg-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  pointer-events: none;
  display: block;
  will-change: transform;
}

.hero_bg-blob:first-child {
  z-index: 1;
  opacity: 0.4;
}

.hero_bg-blob.is-el-dark {
  z-index: 2;
  opacity: 0.3;
  mix-blend-mode: multiply;
}

@media (prefers-color-scheme: dark) {
  .hero_bg-blob:first-child {
    opacity: 0.3;
  }

  .hero_bg-blob.is-el-dark {
    opacity: 0.6;
  }
}

.hero-content {
  max-width: 900px;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
  margin-bottom: 1rem;
  color: var(--text);
  overflow: visible;
}

.hero-line {
  display: block;
  overflow: visible;
  margin-bottom: 0.2em;
  line-height: 1.1;
}

.hero-line:nth-child(1),
.hero-line:nth-child(2) {
  margin-bottom: 0.05em;
  line-height: 0.9;
  font-size: 0.8em;
}

.hero-line:nth-child(3) {
  font-size: 1.3em;
  margin-top: 0.1em;
  font-weight: 700;
}

.hero-line .char {
  display: inline-block;
  transform: translateY(120%) skewY(8deg) rotate(3deg);
  opacity: 0;
  animation: reveal-up 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  transform-origin: left bottom;
}

.hero-line:nth-child(1) .char {
  animation-delay: calc(var(--char-index) * 0.03s + 0.1s);
}

.hero-line:nth-child(2) .char {
  animation-delay: calc(var(--char-index) * 0.03s + 0.3s);
}

.hero-line:nth-child(3) .char {
  animation-delay: calc(var(--char-index) * 0.03s + 0.5s);
}

@keyframes reveal-up {
  0% {
    transform: translateY(120%) skewY(8deg) rotate(3deg);
    opacity: 0;
  }
  100% {
    transform: translateY(0) skewY(0) rotate(0);
    opacity: 1;
  }
}

.hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 3rem;
  max-width: 700px;
  padding-left: 0.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--primary);
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  color: var(--text);
  font-weight: 700;
}

.btn-secondary:hover {
  opacity: 0.7;
}

/* Features Section */
.features {
  padding: 8rem 0;
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.section-header {
  margin-bottom: 5rem;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}

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

.feature-card {
  padding: 2.5rem;
  border-top: 2px solid var(--text);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-number {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.feature-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Trust Section */
.trust {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(249, 249, 247, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: relative;
}

.trust-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  position: relative;
  background: transparent;
}

.cta-card {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--white);
  padding: 6rem 4rem;
  border-radius: 30px;
  text-align: left;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cta-card h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
}

.cta-card p {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  max-width: 600px;
}

.btn-cta {
  background: var(--primary);
  color: var(--text);
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
}

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

/* Download Section */
.download-section {
  padding: 12rem 0 8rem;
}

.download-header {
  text-align: center;
  margin-bottom: 5rem;
}

.download-header h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.download-header p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.download-content {
  max-width: 900px;
  margin: 0 auto;
}

.download-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}

.download-card-header {
  margin-bottom: 2rem;
}

.download-card-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.download-card-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.version-info {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 10px;
  flex-wrap: wrap;
}

.version-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.version-label {
  font-weight: 600;
  color: var(--text-light);
}

.version-value {
  font-weight: 700;
  color: var(--text);
}

.btn-large {
  width: 100%;
  padding: 1.2rem 2rem;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.download-notice {
  padding: 1rem;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #856404;
  line-height: 1.6;
}

.download-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.detail-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 15px;
  padding: 2rem;
}

.detail-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.detail-card ul,
.detail-card ol {
  list-style: none;
  padding: 0;
}

.detail-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  line-height: 1.6;
}

.detail-card li:last-child {
  border-bottom: none;
}

.detail-card ol {
  counter-reset: item;
}

.detail-card ol li {
  counter-increment: item;
  padding-left: 2rem;
  position: relative;
}

.detail-card ol li::before {
  content: counter(item) '.';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--text);
}

/* Footer */
.footer {
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.footer-brand:hover {
  opacity: 0.8;
}

.footer-brand .logo-text {
  font-size: 1.5rem;
}

.footer-contact h4 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-weight: 600;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* Auth Pages */
.auth-main {
  min-height: 100vh;
  padding: 8rem 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-section {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow);
}

.auth-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.auth-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(38, 255, 121, 0.1);
}

.form-group input::placeholder {
  color: #999;
}

/* MyPage Styles */
.mypage-section {
  padding: 8rem 0 4rem;
  min-height: 80vh;
}

.mypage-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow);
}

.mypage-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-form .form-group label {
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.profile-form .form-group input {
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s;
  background: var(--bg);
}

.profile-form .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(38, 255, 121, 0.1);
}

.profile-form .btn-primary {
  margin-top: 1rem;
  padding: 1rem 2rem;
  background: var(--primary);
  color: var(--text);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.profile-form .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(38, 255, 121, 0.3);
}

@media (max-width: 768px) {
  .mypage-container {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }

  .mypage-title {
    font-size: 1.5rem;
  }
}

.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

.auth-link {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.auth-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.auth-link a:hover {
  opacity: 0.8;
}

.error-message {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 8px;
  color: #c33;
  font-size: 0.9rem;
  text-align: center;
}

.success-message {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #efe;
  border: 1px solid #cfc;
  border-radius: 8px;
  color: #3c3;
  font-size: 0.9rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .navbar {
    width: calc(100% - 2rem);
    padding: 0.7rem 1.5rem;
  }

  .hero {
    padding: 10rem 0 6rem;
  }

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

@media (max-width: 768px) {
  .navbar {
    top: 1rem;
    padding: 0.6rem 1.25rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 2rem;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
  }

  .nav-links .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links .btn-nav {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .features {
    padding: 5rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .trust {
    padding: 4rem 0;
  }

  .trust-badges {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cta {
    padding: 4rem 0;
  }

  .cta-card {
    padding: 4rem 2rem;
    border-radius: 20px;
  }

  .download-section {
    padding: 8rem 0 4rem;
  }

  .download-card {
    padding: 2rem 1.5rem;
  }

  .download-details {
    grid-template-columns: 1fr;
  }

  .auth-main {
    padding: 6rem 0 3rem;
  }

  .auth-card {
    padding: 2.5rem 2rem;
  }

  .footer {
    padding: 4rem 0 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem 1rem;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .cta-card {
    padding: 3rem 1.5rem;
  }

  .cta-card h2 {
    font-size: 2rem;
  }

  .cta-card p {
    font-size: 1.1rem;
  }

  .auth-main {
    padding: 6rem 0 3rem;
  }

  .auth-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .auth-title {
    font-size: 2rem;
  }

  .auth-subtitle {
    font-size: 1rem;
  }
}
