/* ============================================
   HOME PAGE STYLES
   home.css
   ============================================ */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  overflow: hidden;
}

/* Canvas animation background */
.hero-canvas-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.12), transparent 70%);
  top: -100px; left: -150px;
}

.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,94,167,0.1), transparent 70%);
  bottom: -100px; right: -100px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-typed-wrap {
  font-style: italic;
  color: var(--color-muted);
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
}

.cursor {
  animation: blink 0.9s step-end infinite;
  color: var(--color-accent);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-desc {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

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

/* Hero Profile Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 360px;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-card-header {
  background: var(--color-surface);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}

.hero-card-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}

.hero-card-dot.red    { background: #ff5f57; }
.hero-card-dot.yellow { background: #febc2e; }
.hero-card-dot.green  { background: #28c840; }

.hero-card-body {
  padding: 28px;
  text-align: center;
}

.hc-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent2));
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 4px rgba(0,212,255,0.2);
}

.hc-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-white);
  font-weight: 700;
}

.hc-title {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 4px 0 12px;
}

.hc-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.hc-stats {
  display: flex;
  justify-content: space-around;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
}

.hc-stat { text-align: center; }
.hc-num { display: block; font-size: 1rem; color: var(--color-gold); font-weight: 600; }
.hc-lbl { font-size: 0.72rem; color: var(--color-muted); }

.hc-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.hc-skills span {
  font-size: 0.72rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ---------- SERVICES SNAPSHOT ---------- */
.services-snap {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.snap-card {
  position: relative;
  overflow: hidden;
}

.snap-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.snap-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.snap-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.snap-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: var(--transition);
  font-family: var(--font-mono);
}

.snap-link:hover { color: var(--color-white); }

/* ---------- WHY SECTION ---------- */
.why-section { background: var(--color-bg); }

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why-check {
  width: 24px; height: 24px;
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item strong {
  display: block;
  color: var(--color-white);
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.why-item p { font-size: 0.88rem; margin: 0; }

/* Review Cards */
.review-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.review-stars { font-size: 1rem; margin-bottom: 12px; }

.review-card blockquote {
  font-size: 0.95rem;
  color: var(--color-text);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent2), var(--color-accent));
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-author strong { display: block; color: var(--color-white); font-size: 0.9rem; }
.review-author span   { font-size: 0.78rem; color: var(--color-muted); }

/* ---------- UPWORK CARD (why section) ---------- */
.upwork-card { position: relative; }
.upwork-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.rating-num { font-size: 0.8rem; color: var(--color-muted); margin-left: 6px; }
.upwork-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #6fda44;
  border: 1px solid rgba(111,218,68,0.3);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.04em;
}
.upwork-job-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.4;
}
.upwork-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 12px;
}
.upwork-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.ubadge {
  font-size: 0.7rem;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  color: var(--color-accent);
  border-radius: 100px;
  padding: 2px 10px;
}

/* ---------- UPWORK VERIFIED BADGE ---------- */
.upwork-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(111,218,68,0.08);
  border: 1px solid rgba(111,218,68,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6fda44;
  margin-bottom: 8px;
}

/* ---------- BTN UPWORK ---------- */
.btn-upwork {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #6fda44;
  color: #1a1a1a;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  transition: var(--transition);
  border: none;
}
.btn-upwork:hover { background: #5bc237; color: #1a1a1a; transform: translateY(-2px); }

/* ---------- REVIEWS SECTION ---------- */
.reviews-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

.upwork-review-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: var(--transition);
}
.upwork-review-card:hover {
  border-color: rgba(111,218,68,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.urc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.urc-stars {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.urc-stars span { font-size: 0.78rem; color: var(--color-muted); }
.urc-platform {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6fda44;
  letter-spacing: 0.04em;
}
.urc-job {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 14px;
  line-height: 1.4;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 14px;
}
.urc-quote {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.75;
  margin: 0 0 16px;
  border: none;
  padding: 0;
  flex: 1;
}
.urc-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.urc-price {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-white);
}
.urc-type {
  font-size: 0.75rem;
  color: var(--color-muted);
}
.urc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.urc-tags span {
  font-size: 0.68rem;
  background: rgba(111,218,68,0.07);
  border: 1px solid rgba(111,218,68,0.15);
  color: #6fda44;
  border-radius: 100px;
  padding: 2px 9px;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: 100px 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,212,255,0.07) 0%, transparent 70%);
  border-top: 1px solid var(--color-border);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-desc  { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-badges  { justify-content: center; }
  .stats-row    { justify-content: center; }
  .hero-visual  { order: -1; }
  .why-inner    { grid-template-columns: 1fr; gap: 48px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIAL SLIDER SECTION
   ============================================ */

.tslider-section {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* Background decorative image — bottom right */
.tslider-bg-obj {
  position: absolute;
  bottom: -40px;
  right: -60px;
  width: 420px;
  max-width: 45%;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0.6) saturate(0.4);
}

.tslider-section .container {
  position: relative;
  z-index: 1;
}

/* Separated label row */
.tslider-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tslider-label-text {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--font-mono);
}

/* Header */
.tslider-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.tslider-star { color: var(--color-accent); font-size: 0.7rem; }

.tslider-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.tslider-accent { color: var(--color-accent); }

.tslider-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tslider-big-rating {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}

.tslider-rating-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tslider-rating-sub {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* Two-column row */
.tslider-row {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 24px;
  align-items: stretch;
}

/* Left trust card */
.tslider-trust-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

/* Grid background layer */
.tslider-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.tslider-grid-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Radial fade mask over the grid */
.tslider-trust-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 65% 65% at 50% 50%,
    transparent 30%,
    var(--color-card) 80%
  );
  pointer-events: none;
  z-index: 1;
}

.tslider-circle-wrap {
  position: relative;
  z-index: 2;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tslider-circle-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: rotateSlow 20s linear infinite;
  overflow: visible;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Person icon replacing quotation marks */
.tslider-person-icon {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.15);
}

/* Right review card */
.tslider-review-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 300px;
}

.tslider-stars {
  font-size: 1.3rem;
  color: var(--color-accent);
  letter-spacing: 2px;
  line-height: 1;
}

.tslider-quote {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
  font-style: normal;
  border: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.tslider-client {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tslider-client-info strong {
  display: block;
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.tslider-client-info span {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.tslider-nav {
  display: flex;
  gap: 10px;
}

.tslider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.tslider-btn:hover,
.tslider-btn-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #000;
}

/* Responsive */
@media (max-width: 900px) {
  .tslider-row { grid-template-columns: 1fr; }
  .tslider-trust-card { min-height: 200px; padding: 32px; }
  .tslider-review-card { padding: 28px; }
  .tslider-header { flex-direction: column; align-items: flex-start; }
}
