/* ============================================
   Cursor & Windsurf Integration Page Styles
   ============================================
*/

.cursor-windsurf-page {
  width: 100%;
  overflow-x: hidden;
  padding-top: 60px;
  background: #ffffff;
}

/* ===== HERO SECTION ===== */
.hero-section {
  width: 100%;
  padding: 100px 20px 80px;
  background: #ffffff;
  color: #333;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-title-main {
  display: block;
  color: #333;
  margin-bottom: 0.5rem;
}

.hero-title-sub {
  display: block;
  color: #FF6B35;
  font-size: 0.6em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  opacity: 0.95;
}

.hero-subtitle strong {
  color: #FF6B35;
  font-weight: 700;
}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.hero-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-icon-item i {
  font-size: 3rem;
  color: #FF6B35;
  margin-bottom: 0.5rem;
}

.hero-icon-item span {
  color: #333;
}

.hero-icon-item span {
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-cta {
  margin-top: 2rem;
}

/* ===== SECTIONS ===== */
.section {
  width: 100%;
  padding: 80px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Alternating background colors for sections */
.section[data-section="0"] {
  background: #f8f9fa;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  padding: 80px 20px;
}

.section[data-section="1"] {
  background: #ffffff;
}

.section[data-section="2"] {
  background: #f8f9fa;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  padding: 80px 20px;
}

.section[data-section="3"] {
  background: #ffffff;
}

.section[data-section="4"] {
  background: #f8f9fa;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  padding: 80px 20px;
}

.section[data-section="5"] {
  background: #ffffff;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
  display: block;
  visibility: visible;
  opacity: 1;
}

.section-title strong {
  color: #FF6B35;
  font-weight: 700;
}

/* Fix question mark color in titles */
.section-title:has-text("?") {
  color: #333;
}

h2.section-title,
h1.section-title {
  color: #333;
}

h2.section-title strong,
h1.section-title strong {
  color: #FF6B35;
}

.section-intro {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  display: block;
  visibility: visible;
  opacity: 1;
  margin-top: 1.5rem;
}

.section-intro strong {
  color: #FF6B35;
  font-weight: 600;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== FADE IN ANIMATIONS ===== */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8551 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 2.5rem;
  color: #fff;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* ===== STEPS CONTAINER ===== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
  padding: 0 1rem;
}

.step-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8551 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-icon {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon i {
  font-size: 1.2rem;
  color: #FF6B35;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6B35;
  font-size: 1.5rem;
}

.step-connector i {
  color: #FF6B35;
}

/* Legacy support for old class names */
.steps-container {
  max-width: 1000px;
  margin: 2rem auto 0;
}

.step-item {
  display: none;
}

.step-arrow {
  display: none;
}

/* Responsive */
@media (max-width: 968px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .step-connector {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }
}

/* ===== FILE STRUCTURE DEMO ===== */
.file-structure-container {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.file-tree {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.file-tree {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  line-height: 2;
}

.folder-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.root-folder {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.folder-item i {
  color: #FF6B35;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  justify-content: flex-start;
}

.file-item.nested {
  margin-left: 3rem;
}

.file-item:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.file-item i {
  color: #666;
  width: 20px;
  text-align: center;
}

.file-item:hover i {
  color: #FF6B35;
}

.file-name {
  color: #333;
  font-weight: 500;
}

.file-item:hover .file-name {
  color: #FF6B35;
  font-weight: 700;
}

.file-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 15px);
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  width: 300px;
  min-width: 250px;
  max-width: 90vw;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: normal;
  text-align: left;
}

.file-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: #333;
}

.file-item:hover .file-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.file-tooltip strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #FF6B35;
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

@media (max-width: 1400px) {
  .benefits-grid {
    gap: 0.8rem;
  }
  
  .benefit-card {
    padding: 1.5rem;
  }
  
  .benefit-card h3 {
    font-size: 1.2rem;
  }
  
  .benefit-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 1200px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.benefit-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8551 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon i {
  font-size: 2.5rem;
  color: #fff;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #666;
  line-height: 1.6;
}

.benefit-card p strong {
  color: #FF6B35;
  font-weight: 600;
}

/* ===== FAQ SECTION ===== */
.faq-section .section-title {
  display: block;
  visibility: visible;
  opacity: 1;
  color: #333;
  margin-bottom: 2rem;
}

.faq-section .section-intro {
  display: block;
  visibility: visible;
  opacity: 1;
  margin-bottom: 3rem;
  margin-top: 1.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

.faq-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15);
  border-color: #FF6B35;
}

.faq-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.faq-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8551 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-card:hover .faq-icon {
  transform: scale(1.1) rotate(5deg);
}

.faq-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.faq-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.faq-card-content {
  color: #666;
  line-height: 1.8;
  font-size: 0.85rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
}

.faq-card:hover .faq-card-content {
  max-height: 1000px;
  opacity: 1;
  margin-top: 1.5rem;
}

.faq-card-content p {
  margin: 0;
}

.faq-card-content strong {
  color: #FF6B35;
  font-weight: 600;
}

/* Fix question mark color - make sure ? is orange when inside strong */
h2.section-title {
  color: #333;
}

h2.section-title strong {
  color: #FF6B35;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }
  
  .faq-card {
    padding: 1.5rem;
  }
  
  .faq-card-title {
    font-size: 1.1rem;
  }
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
}

.btn-primary {
  background: #FF6B35;
  color: #fff;
}

.btn-primary i {
  color: #fff;
}

.btn-primary:hover {
  background: #FF8551;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background: #fff;
  color: #FF6B35;
  border: 2px solid #FF6B35;
}

.btn-secondary:hover {
  background: #FF6B35;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 20px 40px;
  }
  
  .hero-icons {
    gap: 2rem;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .features-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  
  .file-tooltip {
    position: fixed;
    left: 50%;
    top: auto;
    bottom: 20px;
    transform: translateX(-50%);
    margin-left: 0;
    width: calc(100% - 40px);
    max-width: 300px;
  }
  
  .file-tooltip::before {
    right: auto;
    bottom: 100%;
    top: auto;
    transform: none;
    border-right-color: transparent;
    border-bottom-color: #333;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

