/* Base */
:root {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --muted: #888;
  --border: #2a2a2a;
  --surface: #141414;
  --accent: #facc15;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--foreground);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
}

.hero-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  width: 100%;
}

@media (max-width: 640px) {
  .hero {
    min-height: 70vh;
    align-items: center;
  }
  
  .hero-container {
    padding: 0 1rem;
  }
}

.hero-eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: Georgia, serif;
  font-size: clamp(4rem, 16vw, 13rem);
  line-height: 0.92;
  margin: 0 0 0 -0.25rem;
  letter-spacing: -0.03em;
}

.hero-title .italic {
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem 0.5rem;
  margin-top: 2.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .hero-actions {
    gap: 1rem 0.5rem;
    margin-top: 1.5rem;
  }
}

.hero-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  color: var(--foreground);
  text-decoration: none;
  transition: border-color 0.2s;
}

.hero-btn:hover {
  border-color: var(--foreground);
}

.hero-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-link:hover {
  color: var(--foreground);
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
  align-items: end;
}

@media (min-width: 768px) {
  .hero-bottom {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-bottom {
    gap: 1.5rem;
    margin-top: 2rem;
  }
}

.hero-description {
  max-width: 28rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
}


.pill {
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--muted);
}

.pill.available {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pill-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #22c55e;
}

/* Sections */
.section {
  padding: 7rem 1.5rem;
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 1rem;
  }
}

.section-container {
  max-width: 80rem;
  margin: 0 auto;
}

.section-title {
  font-family: Georgia, serif;
  font-size: clamp(3rem, 8vw, 5rem);
  margin: 0 0 2.5rem;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Who Am I */
.whoami {
  padding: 0;
}

.toolkit-header {
  margin-bottom: 2rem;
}

.toolkit-grid {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 80rem;
  margin: 0 auto;
  flex-wrap: wrap;
}

.toolkit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
}

.toolkit-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  opacity: 0.8;
  border-radius: 1rem;
  padding: 0;
  margin: 0;
  display: block;
}

.capcut-logo {
  width: 133px;
  height: 133px;
  margin-top: 0;
}

@media (max-width: 640px) {
  .toolkit-logo {
    width: 80px;
    height: 80px;
  }

  .capcut-logo {
    width: 75px;
    height: 75px;
  }
}

.toolkit-name {
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

/* Reels */
.reels {
  padding: 7rem 1.5rem;
}

@media (max-width: 640px) {
  .reels {
    padding: 4rem 1rem;
  }
}

.reels-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .reels-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .reels-header {
    margin-bottom: 2rem;
  }
}

.reels-subtitle {
  color: var(--muted);
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.875rem;
}

.carousel-nav {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .carousel-nav {
    display: none;
  }
}

.nav-arrow {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  font-size: 1.25rem;
  transition: border-color 0.2s;
}

.nav-arrow:hover {
  border-color: var(--foreground);
}

.reels-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0 1.5rem;
  margin: 0 -1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reels-track::-webkit-scrollbar {
  display: none;
}

.reel-card {
  flex: 0 0 78vw;
  transition: all 0.5s;
}

@media (min-width: 640px) {
  .reel-card {
    flex: 0 0 55vw;
  }
}

@media (min-width: 768px) {
  .reel-card {
    flex: 0 0 340px;
  }
}

.reel-card.inactive {
  opacity: 0.5;
  transform: scale(0.94);
}

.reel-card.active {
  opacity: 1;
  transform: scale(1);
}

.reel-thumbnail {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.reel-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.reel-card:hover .reel-thumbnail img {
  transform: scale(1.05);
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background) 0%, rgba(10, 10, 10, 0.3) 50%, transparent 100%);
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}

.play-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--foreground);
  color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.2s;
}

.play-btn:hover .play-icon {
  transform: scale(1.1);
}

.reel-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.reel-info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.reel-number {
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.reel-title {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.aspect-badge {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid var(--border);
}

.dots-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.dot:hover {
  background: var(--muted);
}

.dot.active {
  width: 2.5rem;
  background: var(--foreground);
}

/* Others */
.others {
  padding: 7rem 1.5rem;
}

@media (max-width: 640px) {
  .others {
    padding: 4rem 1rem;
  }
}

.others-header {
  margin-bottom: 3rem;
}

@media (max-width: 640px) {
  .others-header {
    margin-bottom: 2rem;
  }
}

.others-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .others-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.other-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s;
}

.other-card:hover {
  border-color: var(--foreground);
}

.other-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
}

.other-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.other-card:hover .other-thumbnail img {
  transform: scale(1.05);
}

.other-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background) 0%, rgba(10, 10, 10, 0.3) 50%, transparent 100%);
}

.other-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.other-info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.other-number {
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.other-title {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

/* Footer */
.footer {
  padding: 4rem 1.5rem 2.5rem;
}

@media (max-width: 640px) {
  .footer {
    padding: 3rem 1rem 2rem;
  }
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
}

.footer-title {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 5vw, 4rem);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  .footer-title {
    margin: 0 0 1rem;
  }
}

.footer-email {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 5vw, 4rem);
  line-height: 0.95;
  color: var(--foreground);
  text-decoration: none;
  word-break: break-all;
  display: block;
  transition: font-style 0.2s;
}

.footer-email:hover {
  font-style: italic;
}

.contact-form {
  margin-top: 2rem;
  max-width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--foreground);
  font-family: Montserrat, sans-serif;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--foreground);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  padding: 0.75rem 2rem;
  background: var(--foreground);
  color: var(--background);
  border: none;
  border-radius: 0.5rem;
  font-family: Montserrat, sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.submit-btn:hover {
  opacity: 0.8;
}

.form-success {
  padding: 1rem;
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 0.5rem;
  color: #4ade80;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.form-error {
  padding: 1rem;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 0.5rem;
  color: #f87171;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.field-error {
  display: block;
  color: #f87171;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: var(--foreground);
  color: var(--background);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.toast-message {
  flex: 1;
}

.toast-close {
  background: none;
  border: none;
  color: var(--background);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

@keyframes slideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .contact-form {
    margin-top: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .footer-links {
    gap: 1.5rem;
  }
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(136, 136, 136, 0.7);
  letter-spacing: normal;
  text-transform: none;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0.625rem;
}
