/*
Theme Name: Wizyte
Theme URI: https://wizyte.com
Author: Wizyte
Author URI: https://wizyte.com
Description: A modern, conversion-focused one-page web design agency theme with gradient accents, animated stats, and responsive layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wizyte
Tags: one-column, custom-menu, featured-images, translation-ready
*/

/* ========================================
   CSS Variables / Design Tokens
   ======================================== */
:root {
  --background: #ffffff;
  --foreground: #1a1a1f;
  --card: #f8f8fb;
  --card-foreground: #1a1a1f;
  --primary: hsl(256, 85%, 60%);
  --primary-foreground: #ffffff;
  --secondary: #ededf3;
  --secondary-foreground: #1a1a1f;
  --muted: #ebebf0;
  --muted-foreground: #6e6e80;
  --accent: hsl(330, 85%, 60%);
  --accent-foreground: #ffffff;
  --border: #e2e2ea;
  --radius: 1rem;

  --vibrant-violet: hsl(256, 85%, 60%);
  --vibrant-pink: hsl(330, 85%, 60%);
  --vibrant-cyan: hsl(190, 95%, 50%);
  --vibrant-orange: hsl(25, 95%, 55%);

  --gradient-primary: linear-gradient(135deg, var(--vibrant-violet), var(--vibrant-pink));
  --gradient-vibrant: linear-gradient(135deg, var(--vibrant-violet), var(--vibrant-pink), var(--vibrant-cyan));
  --shadow-glow: 0 0 50px -12px hsla(256, 85%, 60%, 0.25);
  --shadow-card: 0 8px 32px -8px hsla(240, 10%, 10%, 0.06);
  --shadow-vibrant: 0 8px 40px -12px hsla(256, 85%, 60%, 0.2);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ========================================
   Utility Classes
   ======================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 1rem;
}

.gradient-text {
  background: linear-gradient(to right, var(--vibrant-violet), var(--vibrant-pink), var(--vibrant-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: var(--gradient-primary);
}

.gradient-bg-vibrant {
  background: var(--gradient-vibrant);
}

.glass-card {
  background: rgba(248, 248, 251, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-vibrant);
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.section-subtitle {
  color: var(--muted-foreground);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 42rem;
}

.btn-primary {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-vibrant);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--border);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
  color: var(--foreground);
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-outline:hover {
  border-color: hsla(256, 85%, 60%, 0.5);
  background: hsla(256, 85%, 60%, 0.05);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-primary-color {
  color: var(--primary);
}

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }

/* ========================================
   Navbar
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,226,234,0.5);
  padding: 0.75rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

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

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

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

.nav-cta {
  background: var(--gradient-primary);
  color: var(--primary-foreground) !important;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-vibrant);
  color: var(--primary-foreground) !important;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--foreground);
}

.mobile-menu {
  display: none;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  color: var(--muted-foreground);
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--foreground);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.7), var(--background));
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.hero-blob-1 {
  top: 5rem; right: 5rem;
  width: 24rem; height: 24rem;
  background: hsla(256, 85%, 60%, 0.1);
}

.hero-blob-2 {
  bottom: 5rem; left: 2.5rem;
  width: 20rem; height: 20rem;
  background: hsla(330, 85%, 60%, 0.1);
}

.hero-blob-3 {
  top: 50%; left: 50%;
  width: 16rem; height: 16rem;
  background: hsla(190, 95%, 50%, 0.1);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  max-width: 56rem;
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-vibrant);
  color: var(--primary-foreground);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
  background: rgba(235, 235, 240, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-value {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
}

.about-content p {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.skill-tag {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-feature {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-feature .emoji {
  font-size: 1.5rem;
}

.about-feature .label {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  padding: 1.5rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-foreground);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ========================================
   Portfolio Section
   ======================================== */
.portfolio-section {
  background: rgba(235, 235, 240, 0.3);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  background: var(--secondary);
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  color: var(--foreground);
}

.filter-btn.active {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-vibrant);
}

.portfolio-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  overflow: hidden;
}

.project-card .image-wrap {
  position: relative;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card .image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,31,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card:hover .image-overlay {
  opacity: 1;
}

.project-card .image-overlay span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-foreground);
}

.project-card .card-body {
  padding: 1.5rem;
}

.project-card .industry-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.project-card .description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card .view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s ease;
}

.project-card .view-link:hover {
  gap: 0.75rem;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
  background: rgba(235, 235, 240, 0.3);
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card .quote-icon {
  color: hsla(256, 85%, 60%, 0.3);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-card .quote-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.testimonial-card .stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.testimonial-card .stars span {
  color: var(--vibrant-orange);
  font-size: 0.875rem;
}

.testimonial-card .author-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-card .author-role {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ========================================
   Process Section
   ======================================== */
.process-grid {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(5, 1fr); }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-step .step-number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-vibrant);
  margin-bottom: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-foreground);
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-banner {
  position: relative;
  padding: 2.5rem;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-banner { padding: 4rem; }
}

.cta-banner .cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-vibrant);
  opacity: 0.9;
}

.cta-banner .cta-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  filter: blur(48px);
}

.cta-banner .cta-blob-1 {
  top: 0; right: 0;
  width: 16rem; height: 16rem;
}

.cta-banner .cta-blob-2 {
  bottom: 0; left: 0;
  width: 12rem; height: 12rem;
}

.cta-banner .cta-content {
  position: relative;
  z-index: 10;
}

.cta-banner h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-btn-light {
  display: inline-block;
  background: var(--background);
  color: var(--foreground);
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.cta-btn-light:hover {
  background: rgba(255,255,255,0.9);
}

.cta-btn-ghost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.cta-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 2px hsla(256, 85%, 60%, 0.5);
}

.contact-form textarea {
  resize: none;
  min-height: 8rem;
}

.contact-form .submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-info-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-info-card .icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
}

.contact-info-card .accent-icon {
  background: var(--accent);
}

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.contact-info-card h4 {
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-info-card a,
.contact-info-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-info-card a:hover {
  color: var(--primary);
}

.contact-info-card ol {
  list-style: decimal inside;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-info-card ol li {
  margin-bottom: 0.5rem;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1rem;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--foreground);
}

/* ========================================
   Animations (scroll-triggered via JS)
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   SVG Icon Helper
   ======================================== */
.icon-svg {
  width: 1.375rem;
  height: 1.375rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
