/* ================================
   Court — Drama Short
   Landing Page Styles
   ================================ */

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

:root {
  --bg-dark: #0a0a1f;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --pink: #ec4899;
  --card-bg: rgba(20, 18, 40, 0.55);
  --card-border: rgba(255, 255, 255, 0.06);
}

html, body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  background: linear-gradient(
    115deg,
    #0a0a1f 0%,
    #141238 22%,
    #2a1550 42%,
    #4a1a4a 60%,
    #5a1a35 78%,
    #3a0f20 100%
  );
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 85% 40%, rgba(220, 38, 80, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(59, 60, 180, 0.25), transparent 60%),
    radial-gradient(ellipse 50% 30% at 50% 90%, rgba(168, 85, 247, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ===== Header ===== */
header {
  padding: 34px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.35);
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0 80px;
  min-height: 72vh;
}

.hero-left {
  max-width: 580px;
}

.hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.hero h1 .white { color: #ffffff; }

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a855f7 50%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 999px;
  background: linear-gradient(95deg, #ec4899 0%, #f43f6a 50%, #dc2626 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow:
    0 10px 30px rgba(236, 72, 153, 0.35),
    0 2px 0 rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  font-family: inherit;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 36px rgba(236, 72, 153, 0.5),
    0 2px 0 rgba(255, 255, 255, 0.08) inset;
  filter: brightness(1.06);
}

.cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.cta:hover svg {
  transform: translateY(-2px);
}

/* ===== iPhone Mockup ===== */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  position: relative;
  width: 300px;
  height: 610px;
  background: #0a0a0a;
  border-radius: 50px;
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.04),
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(236, 72, 153, 0.12);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 40px;
  overflow: hidden;
}

.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 3;
}

/* ===== Feature Cards ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0 80px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 34px 28px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(236, 72, 153, 0.25);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ===== Footer ===== */
footer {
  padding: 30px 0 40px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    padding: 32px 0 60px;
    min-height: auto;
  }
  .hero-left { margin: 0 auto; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-right { order: -1; }
  .features { grid-template-columns: 1fr; gap: 14px; padding-bottom: 56px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  header { padding-top: 24px; }
  .brand-logo { width: 40px; height: 40px; border-radius: 10px; }
  .brand-name { font-size: 20px; }
  .hero { padding: 24px 0 48px; gap: 40px; }
  .hero h1 { font-size: 38px; margin-bottom: 20px; }
  .hero p { font-size: 15px; margin-bottom: 32px; }
  .cta { padding: 16px 26px; font-size: 15px; width: 100%; justify-content: center; }
  .phone {
    width: min(260px, 70vw);
    height: calc(min(260px, 70vw) * 2.033);
    border-radius: 44px;
  }
  .phone-screen { border-radius: 34px; }
  .phone-notch { width: 82px; height: 24px; top: 10px; }
  .feature-card { padding: 26px 22px; }
  footer { padding: 20px 0 30px; font-size: 13px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .phone {
    width: 220px;
    height: 447px;
    border-radius: 38px;
    padding: 8px;
  }
  .phone-screen { border-radius: 30px; }
}
