/* ==================================================
   ROHITHBUILDS HOMEPAGE STYLE SYSTEM
   Full Dark Theme and Premium Visual Language
================================================== */

/* Homepage overrides for base styles */
body.home-page-theme {
  background-color: #111827 !important;
  color: #f9fafb !important;
}

body.home-page-theme .navbar {
  background: rgba(17, 24, 39, 0.9) !important;
  border-bottom: 1px solid #374151 !important;
}

body.home-page-theme .nav-logo {
  color: #f9fafb !important;
}

body.home-page-theme .logo-accent {
  color: #fbbf24 !important;
}

body.home-page-theme .nav-link {
  color: #9ca3af !important;
}

body.home-page-theme .nav-link:hover,
body.home-page-theme .nav-link.active {
  color: #f9fafb !important;
}

body.home-page-theme .nav-link.active::after {
  background: #fbbf24 !important;
}

body.home-page-theme .nav-dropdown-menu {
  background: #1f2937 !important;
  border: 1px solid #374151 !important;
}

body.home-page-theme .nav-dropdown-item {
  color: #9ca3af !important;
}

body.home-page-theme .nav-dropdown-item:hover {
  background: #2d3748 !important;
  color: #f9fafb !important;
}

body.home-page-theme .nav-dropdown-text strong {
  color: #f9fafb !important;
}

body.home-page-theme .nav-dropdown-text span {
  color: #9ca3af !important;
}

/* Mobile Navbar Overrides for Dark Theme */
body.home-page-theme .nav-hamburger span {
  background: #f9fafb !important;
}

@media (max-width: 768px) {
  body.home-page-theme .nav-links {
    background: rgba(17, 24, 39, 0.98) !important;
    border-left: 1px solid #374151 !important;
    border-bottom: none !important;
  }
}

body.home-page-theme .nav-links .nav-link {
  color: #9ca3af !important;
}

body.home-page-theme .nav-links .nav-link:hover,
body.home-page-theme .nav-links .nav-link.active {
  color: #f9fafb !important;
}

body.home-page-theme .footer {
  background: #111827 !important;
  border-top: 1px solid #374151 !important;
  color: #9ca3af !important;
}

body.home-page-theme .footer-inner p {
  color: #9ca3af !important;
}

body.home-page-theme .footer-links a {
  color: #fbbf24 !important;
}

body.home-page-theme .footer-links a:hover {
  color: #e2a715 !important;
}

/* ==================================================
   HOMEPAGE LAYOUTS & DESIGN SYSTEM
================================================== */

.home-page-wrapper {
  background-color: #111827;
  color: #f9fafb;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  width: 100%;
}

/* Premium Title & Badges */
.section-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fbbf24;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: rgba(251, 191, 36, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.section-title-premium {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #f9fafb;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle-premium {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #9ca3af;
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ==================================================
   SECTION 1: HERO SECTION
================================================== */

.hero-section {
  padding: 100px 0 120px;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.08) 0%, rgba(17, 24, 39, 0) 70%);
  width: 100%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: #f9fafb;
}

.highlight-yellow {
  display: block;
  color: #fbbf24;
  background: linear-gradient(90deg, #fbbf24 0%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #9ca3af;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary-hero {
  background: #fbbf24;
  color: #111827;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-primary-hero:hover {
  background: #fcd34d;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.35);
}

.btn-secondary-hero {
  background: rgba(31, 41, 55, 0.5);
  color: #f9fafb;
  border: 1px solid #374151;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-secondary-hero:hover {
  background: rgba(55, 65, 81, 0.6);
  border-color: #fbbf24;
  transform: translateY(-2px);
}

.social-proof {
  border-top: 1px solid #374151;
  padding-top: 24px;
}

.social-proof-text {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.social-proof-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-pill {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid #374151;
  color: #f9fafb;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.logo-pill:hover {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.05);
}

/* MacBook UI Mockup styling */
.hero-mockup {
  perspective: 1000px;
  width: 100%;
}

.macbook-frame {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(251, 191, 36, 0.05);
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.macbook-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.03);
}

.macbook-header {
  background: #111827;
  padding: 12px 18px;
  border-bottom: 1px solid #374151;
  display: flex;
  align-items: center;
  position: relative;
}

.macbook-dots {
  display: flex;
  gap: 6px;
}

.macbook-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.macbook-dots .dot.red { background: #ef4444; }
.macbook-dots .dot.yellow { background: #fbbf24; }
.macbook-dots .dot.green { background: #10b981; }

.macbook-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: monospace;
  font-size: 0.8rem;
  color: #9ca3af;
}

.macbook-body {
  padding: 20px;
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  background: #111827;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.code-area {
  margin: 0 0 20px;
  color: #f9fafb;
  white-space: pre-wrap;      /* Wrap long lines on mobile */
  word-wrap: break-word;      /* Break long words */
}

.code-keyword { color: #f472b6; font-weight: bold; }
.code-string { color: #a7f3d0; }
.code-comment { color: #6b7280; font-style: italic; }

.terminal-area {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.8rem;
}

.terminal-line {
  margin-bottom: 4px;
  color: #9ca3af;
  white-space: pre-wrap;      /* Wrap long lines on mobile */
  word-wrap: break-word;
}

.term-prompt {
  color: #fbbf24;
  margin-right: 6px;
}

.term-success {
  color: #10b981;
}

.term-info {
  color: #60a5fa;
}

.term-blink {
  display: inline-block;
  animation: cursor-blink 1s step-end infinite;
  color: #fbbf24;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* ==================================================
   SECTION 2: STATS BAR SECTION
================================================== */

.stats-bar-section {
  background: #fbbf24;
  padding: 32px 0;
  color: #111827;
  border-top: 1px solid #fbbf24;
  border-bottom: 1px solid #fbbf24;
  position: relative;
  z-index: 10;
  width: 100%;
}

.stats-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  width: 100%;
}

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-bar-section .stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.stats-bar-section .stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(17, 24, 39, 0.8);
}

/* ==================================================
   SECTION 3: FEATURES GRID
================================================== */

.features-section {
  padding: 100px 0;
  background: #111827;
  width: 100%;
}

.features-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card-premium {
  background: rgba(31, 41, 55, 0.4);
  border: 1px solid rgba(55, 65, 81, 0.6);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.feature-card-premium:hover {
  transform: translateY(-6px);
  border-color: #fbbf24;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(251, 191, 36, 0.1);
}

.feature-icon-wrapper {
  font-size: 2.2rem;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 14px;
  color: #fbbf24;
}

.feature-card-premium h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 12px;
}

.feature-card-premium p {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-link-premium {
  color: #fbbf24;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  text-decoration: none;
}

.feature-link-premium:hover {
  color: #fcd34d;
}

.feature-link-premium:hover .arrow {
  transform: translateX(4px);
}

.feature-link-premium .arrow {
  transition: transform 0.2s ease;
}

/* ==================================================
   SECTION 4: ROADMAP FLOWCHART
================================================== */

.roadmap-section-premium {
  padding: 100px 0;
  background: #111827;
  border-top: 1px solid #1f2937;
  width: 100%;
}

.roadmap-flowchart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  padding: 30px 10px;
  width: 100%;
}

.roadmap-flowchart::-webkit-scrollbar {
  height: 8px;
}

.roadmap-flowchart::-webkit-scrollbar-track {
  background: rgba(31, 41, 55, 0.4);
  border-radius: 4px;
}

.roadmap-flowchart::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}

.roadmap-flowchart::-webkit-scrollbar-thumb:hover {
  background: #fbbf24;
}

.roadmap-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
  flex: 1;
}

.roadmap-step .step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(251, 191, 36, 0.3);
  margin-left: 8px;
}

.roadmap-step .step-card {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.25s ease;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.roadmap-step .step-card:hover {
  border-color: #fbbf24;
  transform: translateY(-4px);
}

.roadmap-step .step-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 6px;
}

.roadmap-step .step-card .step-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: inline-block;
}

.roadmap-step .step-card p {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.5;
  margin: 0;
}

.roadmap-step .step-card.font-highlight {
  border-color: rgba(251, 191, 36, 0.4);
}

.roadmap-step .step-card.golden-glowing {
  border-color: #fbbf24;
  background: linear-gradient(180deg, #1f2937 0%, rgba(251, 191, 36, 0.05) 100%);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
}

.roadmap-connector {
  color: #fbbf24;
  font-size: 1.5rem;
  font-weight: bold;
  user-select: none;
  align-self: center;
  margin-top: 25px;
}

/* ==================================================
   SECTION 5: JOBS PREVIEW SECTION
================================================== */

.jobs-preview-section {
  padding: 100px 0;
  background: #111827;
  border-top: 1px solid #1f2937;
  width: 100%;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  width: 100%;
}

.header-left {
  text-align: left;
}

.header-left .section-subtitle-premium {
  margin-bottom: 0;
}

.btn-outline-gold {
  border: 1px solid #fbbf24;
  color: #fbbf24;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: #fbbf24;
  color: #111827;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.jobs-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 48px;
}

.job-card-premium {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 18px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.job-card-premium:hover {
  border-color: #fbbf24;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(251, 191, 36, 0.08);
}

.job-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  position: relative;
}

.company-logo-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #111827;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.job-title-company {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.job-title-company h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f9fafb;
  line-height: 1.3;
}

.job-company {
  font-size: 0.9rem;
  color: #9ca3af;
}

.job-badge-new {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 20px;
}

.meta-tag {
  font-size: 0.85rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta-icon {
  font-size: 0.9rem;
}

.job-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.skill-tag {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  color: #f9fafb;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
}

.job-apply-link {
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.job-apply-link:hover {
  color: #fcd34d;
  text-decoration: underline;
}

.fallback-empty-card {
  grid-column: 1 / -1;
  background: #1f2937;
  border: 1px dashed #374151;
  border-radius: 18px;
  padding: 48px;
  text-align: center;
  color: #9ca3af;
}

.jobs-preview-footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.more-jobs-count {
  font-size: 0.95rem;
  color: #9ca3af;
  margin: 0;
  font-weight: 500;
}

/* ==================================================
   SECTION 6: AI TUTOR SHOWCASE SECTION
================================================== */

.tutor-showcase-section {
  padding: 100px 0;
  background: #111827;
  border-top: 1px solid #1f2937;
  width: 100%;
}

.tutor-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.tutor-info {
  text-align: left;
}

.tutor-checklist {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tutor-checklist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check-icon {
  font-size: 1.5rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  flex-shrink: 0;
}

.tutor-checklist strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 4px;
}

.tutor-checklist p {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Chat Mockup Styling */
.tutor-chat-mockup {
  position: relative;
  width: 100%;
}

.chat-mockup-frame {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(251, 191, 36, 0.05);
  width: 100%;
}

.chat-mockup-header {
  background: #111827;
  padding: 16px 24px;
  border-bottom: 1px solid #374151;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.chat-header-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f9fafb;
}

.chat-mockup-messages {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #111827;
  min-height: 380px;
}

.chat-msg {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-msg p {
  margin: 0 0 10px;
}

.chat-msg p:last-child {
  margin: 0;
}

.user-msg {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #374151;
  color: #f9fafb;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ai-msg {
  background: #1f2937;
  border: 1px solid rgba(251, 191, 36, 0.15);
  color: #f9fafb;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-code {
  display: block;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 12px;
  font-family: monospace;
  font-size: 0.8rem;
  color: #a7f3d0;
  overflow-x: auto;
  margin: 12px 0;
  white-space: pre-wrap;      /* Wrap long lines on mobile */
  word-wrap: break-word;
}

/* ==================================================
   SECTION 7: PROMPT VAULT PREVIEW SECTION
================================================== */

.prompt-preview-section {
  padding: 100px 0;
  background: #111827;
  border-top: 1px solid #1f2937;
  width: 100%;
}

.prompts-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.prompt-card-premium {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 18px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.prompt-card-premium:hover {
  border-color: #fbbf24;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(251, 191, 36, 0.08);
}

.prompt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.prompt-category-tag {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prompt-views-count {
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 500;
}

.prompt-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 12px;
  line-height: 1.35;
}

.prompt-card-preview-text {
  font-size: 0.88rem;
  color: #9ca3af;
  line-height: 1.6;
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid rgba(55, 65, 81, 0.4);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 20px;
  font-family: monospace;
  min-height: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre-wrap;      /* Wrap long lines on mobile */
  word-wrap: break-word;
}

.prompt-card-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-copy-prompt-premium {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fbbf24;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-copy-prompt-premium:hover {
  background: #fbbf24;
  color: #111827;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
}

.btn-copy-prompt-premium.copied {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #10b981 !important;
}

/* ==================================================
   SECTION 8: FINAL CTA SECTION
================================================== */

.final-cta-section {
  padding: 120px 0;
  background: #111827;
  border-top: 1px solid #1f2937;
  position: relative;
  width: 100%;
}

.final-cta-box-premium {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border: 1px solid #fbbf24;
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 35px rgba(251, 191, 36, 0.1);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.final-cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #f9fafb;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.final-cta-subtitle {
  font-size: 1.15rem;
  color: #9ca3af;
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
}

.large-hero {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ==================================================
   RESPONSIVE DESIGN AND MEDIA QUERIES
================================================== */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .social-proof-logos {
    justify-content: center;
  }
  
  .tutor-showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .macbook-frame {
    transform: none !important;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0 80px;
  }
  
  .hero-title {
    font-size: clamp(2.2rem, 7vw, 3.2rem);
  }
  
  .stats-bar-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
  }
  
  .features-section {
    padding: 80px 0;
  }
  
  .feature-card-premium {
    padding: 32px 24px;
  }
  
  .roadmap-connector {
    display: none;
  }
  
  /* Vertical Connected Timeline Flowchart on Mobile */
  .roadmap-flowchart {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    position: relative;
    padding-left: 20px;
    overflow-x: hidden;
  }
  
  .roadmap-flowchart::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(251, 191, 36, 0.2);
    z-index: 1;
  }
  
  .roadmap-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    min-width: 0;
    width: 100%;
  }
  
  .roadmap-step .step-num {
    background: #111827;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fbbf24;
    margin-left: -12px;
    flex-shrink: 0;
    font-weight: 700;
  }
  
  .roadmap-step .step-card {
    margin-left: 0;
    flex-grow: 1;
    min-height: auto;
    padding: 16px;
    width: calc(100% - 36px);
  }
  
  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .final-cta-box-premium {
    padding: 60px 20px;
  }
}

@media (max-width: 576px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn-primary-hero, .btn-secondary-hero {
    width: 100%;
  }
  
  .stats-bar-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
    padding: 0 12px;
  }
  
  .stats-bar-section .stat-number {
    font-size: 1.8rem;
  }
  
  .stats-bar-section .stat-label {
    font-size: 0.8rem;
  }
  
  .chat-msg {
    max-width: 95%;
  }
  
  .macbook-body {
    font-size: 0.75rem;
    min-height: auto;
    padding: 12px;
  }
  
  .chat-mockup-messages {
    padding: 12px;
    min-height: auto;
  }
  
  .chat-code {
    font-size: 0.75rem;
    padding: 8px;
  }
}

/* ==================================================
   HOMEPAGE BLOG PREVIEW SECTION
   ================================================== */
.blog-preview-section {
  padding: 80px 0;
  background-color: #111827;
  border-top: 1px solid #1f2937;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.blog-preview-card-premium {
  display: flex;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-preview-card-premium:hover {
  transform: translateY(-4px);
  border-color: #fbbf24;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.1);
}

.blog-card-image-fallback {
  width: 240px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(31, 41, 55, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: #fbbf24;
  border-right: 1px solid #374151;
  flex-shrink: 0;
}

.blog-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.blog-card-badge {
  display: inline-block;
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  margin-bottom: 12px;
}

.blog-card-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #f9fafb;
  line-height: 1.3;
}

.blog-card-content p {
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 700px;
}

.blog-card-meta-compact {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.blog-read-link {
  color: #fbbf24;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  width: fit-content;
}

.blog-read-link:hover {
  color: #e2a715;
}

.blog-read-link .arrow {
  transition: transform 0.2s ease;
}

.blog-read-link:hover .arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .blog-preview-card-premium {
    flex-direction: column;
  }
  
  .blog-card-image-fallback {
    width: 100%;
    height: 180px;
    border-right: none;
    border-bottom: 1px solid #374151;
    font-size: 3.5rem;
  }
  
  .blog-card-content {
    padding: 20px;
  }
  
  .blog-card-content h3 {
    font-size: 1.3rem;
  }
}