/*
Theme Name: Vishipel Portal
Theme URI: https://example.com/vishipel-portal
Author: Copilot
Description: Agency-style WordPress theme with full homepage layout.
Version: 1.0.0
Text Domain: vishipel-portal
*/

:root {
  --vp-bg: #f4f8ff;
  --vp-surface: #ffffff;
  --vp-primary: #0f172a;
  --vp-secondary: #475569;
  --vp-accent: #7c3aed;
  --vp-accent-soft: #eef2ff;
  --vp-border: rgba(15, 23, 42, 0.08);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--vp-bg);
  color: var(--vp-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

.vp-site {
  min-height: 100vh;
}

.vp-site-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.vp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--vp-border);
  backdrop-filter: blur(16px);
}

.vp-header-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.vp-brand {
  font-size: 1.2rem;
  font-weight: 800;
}

.vp-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.vp-nav a {
  color: var(--vp-secondary);
  font-weight: 600;
}

.vp-nav a:hover {
  color: var(--vp-primary);
}

.vp-hero {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  margin-top: 32px;
  padding: 44px;
  border-radius: 34px;
  background: linear-gradient(145deg, #0f172a 0%, #111827 80%);
  color: white;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  overflow: hidden;
}

.vp-hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(124,58,237,0.22), transparent 65%);
  pointer-events: none;
}

.vp-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(59,130,246,0.16), transparent 60%);
  pointer-events: none;
}

.vp-hero-copy {
  position: relative;
  z-index: 1;
}

.vp-hero-eyebrow {
  display: inline-flex;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.vp-hero-title {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 22px;
}

.vp-hero-text {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
}

.vp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.vp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
}

.vp-btn-primary {
  background: #8b5cf6;
  color: white;
}

.vp-btn-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.16);
}

.vp-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.vp-hero-highlights span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124,58,237,0.24), rgba(59,130,246,0.16));
  color: rgba(255,255,255,0.96);
  font-size: 0.88rem;
}

.vp-hero-card {
  padding: 28px;
  border-radius: 32px;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.16);
  color: white;
  display: grid;
  gap: 20px;
}

.vp-slide-frame {
  position: relative;
  overflow: hidden;
}

.vp-slider {
  display: grid;
  gap: 18px;
}

.vp-slide {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  display: grid;
  gap: 16px;
}

.vp-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.vp-slide img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
}

.vp-card-title {
  margin: 0;
  font-size: 1.2rem;
}

.vp-card-text {
  margin: 0;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
}

.vp-slider-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vp-slider-prev,
.vp-slider-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
}

.vp-slider-dots {
  display: flex;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.vp-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.vp-slider-dot.active {
  background: #8b5cf6;
}

.vp-card-text {
  margin: 0;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

.vp-stat-grid {
  display: grid;
  gap: 14px;
}

.vp-stat {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
}

.vp-stat strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.vp-section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  margin-top: 32px;
  padding: 36px;
  border-radius: 32px;
  background: white;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.vp-section-title h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.vp-section-title p {
  color: var(--vp-secondary);
  margin: 0;
}

.vp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.vp-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.vp-card h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.vp-card p {
  color: var(--vp-secondary);
  line-height: 1.8;
}

.vp-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.vp-showcase-card {
  padding: 28px;
  border-radius: 30px;
  min-height: 190px;
  display: grid;
  gap: 12px;
  color: white;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.12);
}

.vp-showcase-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.vp-showcase-card p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
}

.vp-showcase-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
}

.vp-showcase-secondary {
  background: linear-gradient(135deg, #f97316 0%, #fb7185 100%);
}

.vp-showcase-tertiary {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
}

.vp-showcase-accent {
  background: linear-gradient(135deg, #22c55e 0%, #14b8a6 100%);
}

.vp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.vp-testimonial-card {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 18px;
}

.vp-testimonial-card p {
  margin: 0;
  color: var(--vp-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.vp-testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vp-testimonial-meta strong {
  font-size: 1rem;
}

.vp-testimonial-meta span {
  color: var(--vp-secondary);
  font-size: 0.95rem;
}

.vp-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.vp-partners span {
  padding: 10px 18px;
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: var(--vp-primary);
  font-weight: 700;
}

.vp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.vp-btn:hover {
  transform: translateY(-1px);
  opacity: 0.98;
}

.vp-btn-primary {
  background: #8b5cf6;
  color: white;
  box-shadow: 0 18px 40px rgba(139, 92, 246, 0.2);
}

.vp-btn-secondary {
  background: rgba(255,255,255,0.16);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
}

.vp-cta-section {
  margin-top: 34px;
  padding: 42px;
  border-radius: 32px;
  background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
  color: white;
  text-align: center;
}

.vp-cta-section h2 {
  margin: 0 0 14px;
  font-size: 2rem;
}

.vp-cta-section p {
  margin: 0 0 20px;
  color: rgba(255,255,255,0.86);
}

.vp-footer {
  margin-top: 40px;
  padding: 30px 0 40px;
  text-align: center;
  color: var(--vp-secondary);
}

@media (max-width: 1040px) {
  .vp-hero,
  .vp-section,
  .vp-hero-card,
  .vp-cta-section {
    width: calc(100% - 32px);
  }

  .vp-hero {
    grid-template-columns: 1fr;
    padding: 32px;
  }
}

@media (max-width: 820px) {
  .vp-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .vp-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .vp-grid-3,
  .vp-showcase-grid,
  .vp-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .vp-hero {
    grid-template-columns: 1fr;
    padding: 32px;
  }
}
