/* ===== TAGIZMO STATIC SITE - GLOBAL STYLES ===== */

:root {
  --teal: #2dbdab;
  --teal-dark: #1fa090;
  --teal-light: #e8f9f7;
  --dark: #1a2332;
  --gray: #6b7a90;
  --light-gray: #f4f7fa;
  --white: #ffffff;
  --accent: #ff6b6b;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(45,189,171,0.2);
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

img { max-width: 100%; height: auto; }

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e8edf2;
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.nav-logo span { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--teal-dark) !important; color: var(--white) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2a3f5f 100%);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.hero-inner { max-width: 800px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero h1 span { color: var(--teal); }

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero p span { color: var(--teal); font-weight: 600; }

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,189,171,0.35);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  margin-left: 1rem;
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(45,189,171,0.08);
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-header h2 span { color: var(--teal); }
.section-header p { color: var(--gray); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.bg-light { background: var(--light-gray); }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-teal { background: var(--teal); color: var(--white); }

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
}

.step-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-card p { color: var(--gray); font-size: 0.95rem; }

/* ===== PANELS / TABS SECTION ===== */
.panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.panel-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  border-top: 4px solid var(--teal);
}

.panel-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.panel-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.panel-card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 1.25rem; }
.panel-card a { font-weight: 600; font-size: 0.9rem; }
.panel-card a::after { content: ' →'; }

/* ===== FEATURES ===== */
.features-list { display: flex; flex-direction: column; gap: 3.5rem; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text .tagline {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.feature-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.feature-text p { color: var(--gray); line-height: 1.7; }

.feature-video {
  background: var(--light-gray);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.feature-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2332, #2a3f5f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  min-height: 200px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--teal);
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-quote {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
}

.testimonial-author { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.82rem; color: var(--gray); }

/* ===== FAQs ===== */
.faqs-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid #e8edf2;
  padding: 1.5rem 0;
}

.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--teal);
  flex-shrink: 0;
}

.faq-answer { color: var(--gray); line-height: 1.7; }

/* ===== JOIN SECTION ===== */
.join-section {
  background: linear-gradient(135deg, var(--teal) 0%, #1fa090 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}

.join-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.join-section p { font-size: 1.1rem; opacity: 0.88; margin-bottom: 2rem; }

.btn-white {
  background: var(--white);
  color: var(--teal);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, #2a3f5f 100%);
  color: var(--white);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.5px;
}

.page-header h1 span { color: var(--teal); }
.page-header p { color: rgba(255,255,255,0.7); margin-top: 0.75rem; font-size: 1.1rem; }

/* ===== TIPS PAGE ===== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.tip-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
  transition: all 0.2s;
}

.tip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.tip-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.tip-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 1rem; }
.tip-card a { font-weight: 600; font-size: 0.88rem; color: var(--teal); }
.tip-card a::after { content: ' →'; }

/* ===== ARTICLE PAGE ===== */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.article-body h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.article-body h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.article-body p { color: var(--gray); margin-bottom: 1.25rem; line-height: 1.8; }
.article-body blockquote {
  border-left: 4px solid var(--teal);
  padding: 0.75rem 1.25rem;
  background: var(--teal-light);
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  color: var(--dark);
  font-style: italic;
}

.article-body video {
  width: 100%;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.article-body img {
  border-radius: var(--radius);
  margin: 1rem 0;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.article-back::before { content: '←'; }

/* ===== ABOUT PAGE ===== */
.about-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.about-content p { color: var(--gray); margin-bottom: 1.25rem; line-height: 1.8; }
.about-content a { color: var(--teal); font-weight: 500; }
.about-content a:hover { color: var(--teal-dark); }

.about-video {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--light-gray);
}

.about-video h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.about-video p { color: var(--gray); margin-bottom: 1.5rem; }

.video-embed-wrapper {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .nav-logo { color: var(--white); font-size: 1.3rem; }
.footer-brand p { margin-top: 0.75rem; font-size: 0.9rem; line-height: 1.6; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .steps-grid,
  .panels-grid,
  .testimonials-grid,
  .tips-grid { grid-template-columns: 1fr 1fr; }

  .feature-row,
  .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .steps-grid,
  .panels-grid,
  .testimonials-grid,
  .tips-grid { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .footer-inner { grid-template-columns: 1fr; }

  .hero { padding: 4rem 1.5rem 3.5rem; }
  section { padding: 3.5rem 1.5rem; }
}
