/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color palette */
  --primary-orange: #ff6b35;
  --primary-blue: #ff6b35;
  --dark-gray: #1a1a1a;
  --medium-gray: #666666;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --black: #000000;
  --border-light: #e9ecef;
  --text-muted: #6c757d;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --section-padding: 120px 0;
  --container-padding: 0 24px;
  --max-width: 1200px;
  
  /* Effects */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--dark-gray);
  line-height: 1.6;
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

/* --- NAVIGATION --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 16px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  color: var(--dark-gray);
  text-decoration: none;
}

.nav-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: var(--font-weight-medium);
  font-size: 15px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-orange);
}

.nav-cta {
  background: var(--dark-gray) !important;
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 15px !important;
}

.nav-cta:hover {
  background: var(--black) !important;
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* --- HERO SECTION --- */
.hero {
  padding: 120px 24px 80px;
  background: transparent;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  background-image: url('../background.png');
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}

.hero-container {
  position: relative;
  z-index: 1;
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 550px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  width: 400px;
  height: 500px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
}

.badge-icon {
  font-size: 16px;
}

.badge-divider {
  opacity: 0.5;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-title {
  font-size: clamp(48px, 5vw, 64px);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 450px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-weight: var(--font-weight-medium);
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-orange);
  color: var(--white);
  padding: 14px 28px;
  font-weight: var(--font-weight-semibold);
}

.btn-primary:hover {
  background: #ff5722;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary.large {
  padding: 16px 32px;
  font-size: 18px;
  background: var(--primary-orange);
  color: var(--white);
}

.btn-primary.large:hover {
  background: #ff5722;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 14px 28px;
  font-weight: var(--font-weight-semibold);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* --- SCROLL-JACKED FEATURES SECTION --- */
.features-scroll {
  min-height: 400vh;
  position: relative;
  background: var(--white);
  padding-top: 80px;
}

.features-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
  gap: 80px;
  z-index: 1;
}

.features-content {
  flex: 1;
  max-width: 500px;
}

.features-visual {
  flex: 1;
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  position: absolute;
  width: 100%;
}

.feature-item.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.feature-item h2 {
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 20px;
  color: var(--dark-gray);
  line-height: 1.2;
}

.feature-item p {
  font-size: 18px;
  color: var(--medium-gray);
  margin-bottom: 24px;
  line-height: 1.6;
}

.feature-item ul {
  list-style: none;
  padding: 0;
}

.feature-item li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--medium-gray);
}

.feature-item li:before {
  content: "✓";
  color: #667eea;
  font-weight: var(--font-weight-bold);
  margin-right: 12px;
  font-size: 14px;
}

.visual-item {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-item.active {
  opacity: 1;
  transform: scale(1);
}

/* --- VISUAL COMPONENTS --- */
.browser-demo {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

/* --- DUAL BROWSER COMPARISON --- */
.dual-browser-comparison {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 1000px;
  position: relative;
}

.dual-browser-comparison .browser-demo {
  flex: 1;
  max-width: none;
  position: relative;
}

.blocked-demo {
  position: relative;
}

.blocked-demo::before {
  content: "❌ BLOCKED";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  z-index: 10;
}

.allowed-demo {
  position: relative;
}

.allowed-demo::before {
  content: "✅ ALLOWED";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #22c55e;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  z-index: 10;
}

.browser-header {
  background: #f5f5f5;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
}

.browser-controls {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.address-bar {
  background: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--medium-gray);
  flex: 1;
  border: 1px solid var(--border-light);
}

.browser-content {
  padding: 40px 20px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.block-message h3 {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 8px;
  color: var(--dark-gray);
}

.block-message p {
  color: var(--medium-gray);
  margin: 0;
}

.block-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.goal-interface, .replacement-demo, .values-showcase {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 24px;
  width: 100%;
  max-width: 500px;
}

.goal-header h3 {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 16px;
  color: var(--dark-gray);
}

.goal-input input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font-family);
  color: var(--dark-gray);
  margin-bottom: 20px;
}

.goal-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

.result.allowed {
  background: #f0fff4;
  border-left: 4px solid #22c55e;
}

.result.blocked {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}

.result .status {
  font-weight: var(--font-weight-medium);
}

.video-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  border-radius: 8px;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 16px 24px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.video-overlay p {
  margin: 0;
  color: var(--dark-gray);
  font-weight: var(--font-weight-medium);
}

.values-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.value-card {
  text-align: center;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
}

.value-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.value-card h4 {
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 8px;
  color: var(--dark-gray);
}

.value-card p {
  font-size: 14px;
  color: var(--medium-gray);
  margin: 0;
}

/* --- YOUTUBE INTERFACE STYLES --- */
.youtube-interface {
  width: 100%;
  height: 100%;
  background: #0f0f0f;
  position: relative;
}

.youtube-short-blocked {
  position: relative;
  height: 400px;
}

.derail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(147, 51, 234, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.overlay-content {
  text-align: center;
  color: white;
  padding: 24px;
}

.derail-logo {
  font-size: 48px;
  margin-bottom: 16px;
}

.overlay-content h3 {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 8px;
}

.blocked-reason {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.goal-reminder {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: inline-block;
}

.goal-label {
  font-size: 12px;
  opacity: 0.8;
  margin-right: 8px;
}

.goal-text {
  font-weight: var(--font-weight-semibold);
  font-size: 14px;
}

.view-allowed {
  background: white;
  color: #7c3aed;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: var(--transition);
}

.view-allowed:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.youtube-preview {
  padding: 20px;
  text-align: center;
}

.youtube-preview.blurred {
  filter: blur(8px);
  opacity: 0.3;
}

.short-thumbnail {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  margin-bottom: 12px;
}

.short-title {
  color: white;
  font-size: 14px;
  margin-bottom: 4px;
}

.short-stats {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

/* YouTube Allowed Styles */
.youtube-allowed {
  padding: 0;
  background: white;
  height: 400px;
  display: flex;
  flex-direction: column;
}

.allowed-badge {
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  color: white;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.badge-icon {
  font-size: 14px;
}

.youtube-player {
  position: relative;
  background: #000;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #1e40af 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #1e40af;
  cursor: pointer;
  transition: var(--transition);
}

.play-button:hover {
  background: white;
  transform: scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.video-info {
  padding: 16px;
  background: white;
  flex: 1;
}

.video-title {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--dark-gray);
  margin-bottom: 12px;
  line-height: 1.4;
}

.channel-info {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.channel-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.channel-details {
  flex: 1;
}

.channel-name {
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--dark-gray);
}

.channel-subs {
  font-size: 11px;
  color: var(--medium-gray);
}

.video-stats {
  font-size: 12px;
  color: var(--medium-gray);
  display: flex;
  gap: 8px;
}

/* --- CTA SECTION --- */
.cta {
  padding: var(--section-padding);
  background: #f8f9fa;
  text-align: center;
  color: var(--dark-gray);
  position: relative;
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.cta h2 {
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 16px;
  color: var(--dark-gray);
}

.cta p {
  font-size: 18px;
  color: var(--medium-gray);
  margin-bottom: 32px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .dual-browser-comparison {
    flex-direction: column;
    gap: 40px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .dual-browser-comparison .browser-demo {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero-container {
    padding: 60px;
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    align-items: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero-badge {
    margin: 0 auto 24px;
  }
  
  .hero-description {
    margin: 0 auto 40px;
  }
  
  .features-container {
    flex-direction: column;
    gap: 40px;
    padding: 60px 24px;
  }
  
  .features-scroll {
    min-height: auto;
  }
  
  .features-container {
    position: relative;
    height: auto;
  }
  
  .feature-item {
    position: relative;
    opacity: 1;
    transform: none;
    margin-bottom: 60px;
  }
  
  .visual-item {
    position: relative;
    opacity: 1;
    transform: none;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-brand span {
    display: none;
  }
  
  .hero {
    padding: 100px 16px 60px;
  }
  
  .hero-wrapper {
    border-radius: 24px;
  }
  
  .hero-container {
    padding: 40px 24px;
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 18px;
    margin: 0 auto 40px;
  }
  
  .hero-badge {
    margin: 0 auto 24px;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
  }
  
  .feature-item h2 {
    font-size: 28px;
  }
  
  .cta h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 16px;
  }
  
  .hero-container, .about-container, .cta-container {
    padding: 0 16px;
  }
  
  .hero-container {
    gap: 30px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-description {
    font-size: 18px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}