/* ==========================================================================
   YoApp Main Stylesheet - Default White / Light Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #e2e8f0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5 0%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.brand-logo .brand-tld {
  color: #0284c7;
  font-weight: 600;
  font-size: 1.05rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #0f172a;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #0f172a;
  cursor: pointer;
  padding: 0.5rem;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 9.5rem 0 5.5rem 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, rgba(2, 132, 199, 0.05) 50%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-badge-wrap {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #475569;
  max-width: 740px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-top: 2rem;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.metric-item {
  text-align: center;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #e2e8f0;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.metric-value .star-icon {
  color: var(--star-gold);
  font-size: 1.4rem;
}

.metric-label {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   App Showcase Section
   -------------------------------------------------------------------------- */
.app-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.app-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.app-tab-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.app-tab-btn.active {
  background: #ffffff;
  border-color: #4f46e5;
  color: #4f46e5;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.18);
}

.app-tab-btn .tab-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

.app-showcase-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.app-showcase-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.app-detail-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.app-info-col h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.app-meta-pill-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.meta-pill {
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0284c7;
}

.meta-pill.rating {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
}

.meta-pill.downloads {
  color: #15803d;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.app-desc {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.app-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.app-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #1e293b;
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

/* Phone Mockup */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(2, 132, 199, 0.08) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: 290px;
  height: 580px;
  background: #0f172a;
  border-radius: 44px;
  border: 4px solid #334155;
  box-shadow: 
    0 0 0 2px rgba(15, 23, 42, 0.08),
    0 25px 50px -12px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #1e293b;
  border-radius: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.camera-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0f172a;
}

.speaker-line {
  width: 35px;
  height: 3px;
  border-radius: 2px;
  background: #0f172a;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.phone-controls {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 10;
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.phone-dot.active {
  width: 22px;
  border-radius: 4px;
  background: #4f46e5;
}

/* Screenshot Thumbnails Strip */
.screenshot-strip {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.thumb-item {
  width: 65px;
  height: 115px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.75;
}

.thumb-item:hover, .thumb-item.active {
  border-color: #4f46e5;
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Consumer Thought Section
   -------------------------------------------------------------------------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.thought-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.thought-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5, #0284c7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.thought-card:hover::before {
  opacity: 1;
}

.thought-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: #e2e8f0;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.thought-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.thought-card h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.thought-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.icon-blue { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; }
.icon-purple { background: #f3e8ff; color: #9333ea; border: 1px solid #e9d5ff; }
.icon-emerald { background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; }
.icon-rose { background: #ffe4e6; color: #e11d48; border: 1px solid #fecdd3; }
.icon-amber { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }
.icon-indigo { background: #e0e7ff; color: #4f46e5; border: 1px solid #c7d2fe; }

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.service-card p {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  color: #334155;
}

/* --------------------------------------------------------------------------
   Testimonials & Client Reviews
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--star-gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.review-text {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #9333ea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.author-info span {
  font-size: 0.82rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   Process Timeline
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.step-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.step-num-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.step-card h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.step-card p {
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Contact & Consultation Form
   -------------------------------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info-panel h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #0f172a;
}

.contact-info-panel p {
  color: #475569;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.direct-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.direct-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.direct-item h6 {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.direct-item a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
}

.direct-item a:hover {
  color: #0284c7;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: #0f172a;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #4f46e5;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-feedback {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  display: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-feedback.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.form-feedback.error {
  display: block;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-question {
  padding: 1.25rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #0f172a;
}

.faq-icon {
  font-size: 1.2rem;
  color: #4f46e5;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.75rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   Footer (Default White / Clean Light Slate)
   -------------------------------------------------------------------------- */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 5rem 0 2.5rem 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #475569;
  font-size: 0.95rem;
  margin: 1.25rem 0 1.5rem 0;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #64748b;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #4f46e5;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.75rem; }
  .app-detail-card { grid-template-columns: 1fr; gap: 2.5rem; }
  .philosophy-grid, .services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding: 6rem 2rem 2rem 2rem;
    align-items: flex-start;
    transition: right 0.3s ease;
    border-left: 1px solid #e2e8f0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.open {
    right: 0;
  }
  .mobile-toggle {
    display: block;
    z-index: 1001;
  }
  .hero-title { font-size: 2.2rem; }
  .hero-metrics-bar { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .metric-item:nth-child(2)::after { display: none; }
  .philosophy-grid, .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .app-feature-list { grid-template-columns: 1fr; }
}
