/*
 Custom styles for Home Page 2 (SaaS / Digital Agency variant).
*/

:root {
  --color-primary-home2: #0ea5e9;
  --color-primary-home2-dark: #0284c7;
  --gradient-home2: linear-gradient(120deg, #0ea5e9, #22d3ee);
}

.home2-hero {
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.22), transparent 60%);
  padding: 2rem 0;
  margin-top: -100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.home2-hero .hero-title {
  font-family: "Inter", sans-serif;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.home2-hero .hero-subtitle {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.home2-hero .hero-content {
  gap: 0.5rem;
  order: 1;
}

.home2-hero .hero-cta {
  margin-bottom: 1.5rem;
}

.home2-hero .hero-metrics {
  margin-top: 1.5rem;
  gap: 1rem;
}

.home2-hero .hero-layout {
  gap: 2rem;
  align-items: center;
}

.home2-hero .hero-media {
  order: 2;
}

.home2-hero .container {
  width: 100%;
}

.home2-hero .hero-media img {
  height: clamp(300px, 50vh, 500px);
  width: 100%;
  object-fit: cover;
  max-height: 100%;
}

.home2-hero .btn-primary {
  background: linear-gradient(130deg, var(--color-primary-home2), var(--color-primary-home2-dark));
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.28);
  color: #ffffff !important;
}

.home2-hero .btn-primary:hover {
  color: #ffffff !important;
}

.home2-hero .btn-outline {
  border-color: rgba(14, 165, 233, 0.4);
  color: var(--color-primary-home2);
}

.home2-feature-card {
  border-radius: 24px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(224, 242, 254, 0.55);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 50px rgba(2, 132, 199, 0.16);
}

.home2-feature-card .icon {
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-primary-home2);
}

.home2-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.home2-layout .mockup {
  border-radius: 30px;
  box-shadow: 0 45px 80px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.home2-layout .mockup img {
  width: 100%;
  height: auto;
  max-height: 300px;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.home2-layout .details {
  display: grid;
  gap: 1.25rem;
}

.home2-gradient-text {
  background: var(--gradient-home2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home2-metric-card {
  padding: 1.5rem 1.25rem;
  border-radius: 24px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  text-align: center;
}

.home2-metric-card strong {
  font-size: 2rem;
  color: var(--color-primary-home2);
  display: block;
  margin-bottom: 0.25rem;
}

.home2-metric-card span {
  font-size: 0.9rem;
}

.home2-pricing-card.popular {
  background: linear-gradient(145deg, var(--color-primary-home2), #38bdf8);
  box-shadow: 0 30px 60px rgba(14, 165, 233, 0.25);
}

.home2-pricing-card .badge {
  display: inline-flex;
  margin-inline: auto;
}

.home2-testimonial {
  border-radius: 30px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  background: rgba(14, 165, 233, 0.06);
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(14, 165, 233, 0.18);
}

[data-tab-pane] {
  display: none;
}

[data-tab-pane].is-active {
  display: block;
}

.tab-buttons .btn.is-active {
  background: linear-gradient(130deg, var(--color-primary-home2), var(--color-primary-home2-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.25);
}

.tab-buttons .btn.is-active:hover {
  color: #fff;
}

