:root {
  --bg-color: #FAFAFA;
  --bg-canvas: #FAFAFA;
  --bg-surface: #FFFFFF;
  --text-main: #000000;
  --text-muted: #333333;
  --text-subtle: #737373;
  --accent-pink: #EC4899;
  /* Jobreaker brand pink */
  --accent-blue: #000000;
  /* Replaced with black for minimal look */
  --accent-gradient: linear-gradient(135deg, #000000, #333333);
  --border-color: #E5E5E5;
  --border-light: rgba(0, 0, 0, 0.05);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.03), 0 12px 24px -6px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 30px 60px -15px rgba(0, 0, 0, 0.15);

  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

img,
svg {
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

body[data-devtools-locked="true"] > *:not(#security-shield) {
  display: none !important;
}

#security-shield {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(circle at top, rgba(236, 72, 153, 0.18), transparent 35%),
    rgba(8, 8, 8, 0.96);
}

.security-shield__panel {
  max-width: 420px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-lg);
  text-align: center;
  backdrop-filter: blur(18px);
}

.security-shield__panel strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: #fff;
}

.security-shield__panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

/* Background Grids */
.technical-grid {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

.grid-mask-bottom {
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 900;
  letter-spacing: -0.04em;
}

h1 {
  font-size: 5rem;
  line-height: 0.9;
  margin-bottom: 2rem;
}

h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.font-serif-italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.3em;
  line-height: 1;
}

.tracking-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  height: 3.5rem;
  width: auto;
}

.auth-buttons,
.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  height: 3.5rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--text-main);
  color: white;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #252525;
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -10px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid transparent;
}

.btn-secondary:hover {
  opacity: 0.7;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--text-main);
}

.btn-outline:hover {
  background: var(--text-main);
  color: white;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 8rem 0 4rem;
  position: relative;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  z-index: 10;
  position: relative;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.25rem;
  z-index: 10;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 6rem;
  z-index: 10;
  position: relative;
}

.hero-visual {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: white;
  transform: translateY(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-visual:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15), 0 15px 15px -5px rgba(0, 0, 0, 0.1);
}

.mockup-window {
  display: flex;
  flex-direction: column;
  height: min(500px, 70vh);
  min-height: 360px;
  background-color: #ffffff;
}

.mockup-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: #f9fafb;
  border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
  display: flex;
  gap: 0.5rem;
  margin-right: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background-color: #ff5f56;
}

.dot.yellow {
  background-color: #ffbd2e;
}

.dot.green {
  background-color: #27c93f;
}

.mockup-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  flex-grow: 1;
  text-align: center;
  padding-right: 2.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* balance dots width */
}

.mockup-body {
  flex-grow: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  background-color: #ffffff;
}

.chat-msg {
  display: flex;
  gap: 1rem;
  max-width: 80%;
}

.ai-msg {
  align-self: flex-start;
}

.user-msg {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-avatar {
  background: var(--accent-gradient);
  color: white;
}

.msg-content {
  background: #f3f4f6;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
  min-width: 0;
}

.user-msg .msg-content {
  background: #EFF6FF;
  /* subtle blue */
  border: 1px solid #BFDBFE;
}

.mockup-input-area {
  padding: 1.5rem 2rem;
  background: white;
  border-top: 1px solid var(--border-color);
}

.mockup-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: #f9fafb;
}

/* How It Works */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
}

/* What You Can Build */
.build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}

.use-case-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  background: white;
}

.use-case-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(59, 109, 246, 0.1);
}

.use-case-card svg {
  color: var(--accent-blue);
}

/* Why GPTBreaker */
.why-section {
  background: #f9fafb;
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  margin: 4rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--text-main);
}

.check-icon {
  color: var(--accent-pink);
  flex-shrink: 0;
}

/* Community CTA */
.cta-section {
  text-align: center;
  padding: 6rem 0;
}

.cta-box {
  background: var(--text-main);
  color: white;
  border-radius: var(--radius-lg);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent-gradient);
  opacity: 0.1;
  pointer-events: none;
}

.cta-box h2 {
  color: rgb(255, 110, 163);
  margin-bottom: 1rem;
}

.cta-box p {
  color: #ffffff;
}

/* Footer */
footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Responsive */
@media (max-width: 1024px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3rem;
  }

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

  .hero-actions {
    margin-bottom: 4rem;
  }

  .why-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  section {
    padding: 4rem 0;
  }

  h1 {
    font-size: 2.85rem;
    line-height: 0.95;
  }

  h2 {
    font-size: 2.2rem;
    line-height: 1;
  }

  p {
    font-size: 1rem;
  }

  .navbar {
    align-items: stretch;
    padding: 1rem 0;
  }

  .navbar>a:first-child {
    width: 100%;
    justify-content: center;
  }

  .auth-buttons,
  .user-profile {
    width: 100%;
    justify-content: center;
  }

  .auth-buttons .btn,
  .user-profile .btn {
    flex: 1 1 220px;
  }

  .user-profile .user-email {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 3rem 0 2rem;
  }

  .hero p {
    margin-bottom: 2rem;
  }

  .hero-actions {
    margin-bottom: 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    border-radius: 20px;
  }

  .mockup-window {
    min-height: 320px;
    height: min(460px, 62vh);
  }

  .mockup-header {
    padding: 0.875rem 1rem;
  }

  .mockup-body {
    padding: 1rem;
    gap: 1rem;
  }

  .chat-msg {
    gap: 0.75rem;
    max-width: 100%;
  }

  .msg-content {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .mockup-input-area {
    padding: 1rem;
  }

  .mockup-input {
    padding: 0.875rem 1rem;
  }

  .step-card,
  .use-case-card,
  .why-section,
  .cta-box {
    padding: 1.5rem;
  }

  .benefits-list li {
    align-items: flex-start;
    font-size: 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  #loginModal {
    padding: 1rem;
  }

  #loginModal>div {
    width: min(100%, 400px) !important;
    max-width: none !important;
    padding: 1.5rem !important;
  }
}

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

  section {
    padding: 3.25rem 0;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .tracking-label {
    letter-spacing: 0.14em;
  }

  .btn {
    width: 100%;
    padding: 0 1.25rem;
    height: 3.25rem;
  }

  .auth-buttons,
  .user-profile {
    gap: 0.75rem;
  }

  .logo {
    height: 3rem;
  }

  .mockup-dots {
    margin-right: 0.75rem;
  }

  .mockup-title {
    padding-right: 0;
    text-align: left;
  }

  .msg-avatar {
    width: 28px;
    height: 28px;
  }

  .step-card,
  .use-case-card,
  .why-section,
  .cta-box {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .footer-links {
    gap: 0.75rem 1.25rem;
  }

  #loginModal {
    padding: 0.75rem;
  }

  #loginModal>div {
    padding: 1.25rem !important;
  }
}
