/* ─── PUBLIC PAGES SHARED STYLES ─── */
/* Extends landing.css — assumes :root variables are already defined */

/* ─── PAGE HERO ─── */
.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pagePulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pagePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  position: relative;
  margin-bottom: 20px;
}

.page-hero h1 .accent { color: var(--amber); }

.page-hero p {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  line-height: 1.7;
  position: relative;
}

/* ─── PAGE SECTION ─── */
.page-section {
  padding: 80px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-section-wide {
  padding: 80px 40px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-section-dark {
  background: var(--charcoal);
  padding: 80px 40px 100px;
}

.page-section-dark .page-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── CONTENT CARD ─── */
.content-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 40px;
  transition: border-color 0.3s;
}

.content-card:hover {
  border-color: rgba(249,115,22,0.2);
}

.content-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.content-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.content-card .card-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── GRID LAYOUTS ─── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ─── FAQ ─── */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
}

.faq-question {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--white);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-question.open::after {
  content: '−';
}

.faq-answer {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  padding-top: 16px;
  display: none;
}

.faq-answer.open {
  display: block;
}

/* ─── TEAM GRID ─── */
.team-card {
  text-align: center;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 40px 24px;
  transition: border-color 0.3s;
}

.team-card:hover {
  border-color: rgba(249,115,22,0.2);
}

.team-avatar {
  width: 80px; height: 80px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--amber);
  margin: 0 auto 20px;
}

.team-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ─── BLOG CARD ─── */
.blog-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.blog-card:hover {
  border-color: rgba(249,115,22,0.2);
}

.blog-card-img {
  height: 200px;
  background: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.blog-card-body {
  padding: 28px;
}

.blog-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.blog-card-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-card-body .card-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ─── CAREER CARD ─── */
.career-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: border-color 0.3s;
}

.career-card:hover {
  border-color: rgba(249,115,22,0.2);
}

.career-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
}

.career-card .career-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.career-card .career-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.career-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 100px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* ─── CONTACT FORM ─── */
.contact-form {
  max-width: 640px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber);
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23F97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* ─── TUTORIAL CARD ─── */
.tutorial-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s;
  position: relative;
}

.tutorial-card:hover {
  border-color: rgba(249,115,22,0.2);
}

.tutorial-icon {
  width: 56px; height: 56px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.tutorial-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.tutorial-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tutorial-duration {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── WHATSAPP BANNER ─── */
.whatsapp-banner {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  margin-top: 40px;
}

.whatsapp-banner h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 12px;
}

.whatsapp-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  line-height: 1.7;
}

.whatsapp-banner .btn-primary {
  background: var(--white);
  color: #128C7E;
}

.whatsapp-banner .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  color: #0d6b5c;
}

/* ─── LEGAL CONTENT ─── */
.legal-content h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
}

.legal-content ul li::before {
  content: '•';
  color: var(--amber);
  position: absolute;
  left: 8px;
}

.legal-content strong {
  color: rgba(255,255,255,0.8);
}

.legal-content .last-updated {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 40px;
  font-style: italic;
}

/* ─── CONTACT INFO BLOCK ─── */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 48px; height: 48px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .page-hero { padding: 120px 20px 60px; }
  .page-section { padding: 60px 20px 80px; }
  .page-section-wide { padding: 60px 20px 80px; }
  .page-section-dark { padding: 60px 20px 80px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .career-card { flex-direction: column; align-items: flex-start; }
  .whatsapp-banner { padding: 40px 24px; }
  .content-card { padding: 28px; }
  .contact-form { max-width: 100%; }
}

@media (max-width: 600px) {
  .page-hero { padding: 100px 16px 40px; }
  .page-section { padding: 40px 16px 60px; }
  .page-section-wide { padding: 40px 16px 60px; }
  .page-section-dark { padding: 40px 16px 60px; }
  .grid-2 { gap: 16px; }
  .grid-3 { gap: 16px; }
  .grid-4 { gap: 16px; }
  .career-card { padding: 24px; }
  .blog-card-body { padding: 20px; }
  .team-card { padding: 28px 16px; }
  .tutorial-card { padding: 24px; }
  .whatsapp-banner { padding: 32px 20px; }
  .whatsapp-banner h3 { font-size: 22px; }
  .content-card { padding: 24px; }
}