/* Modern CSS Variables & Design System */
:root {
  --bg-dark: #070a13;
  --card-bg: rgba(15, 23, 42, 0.6);
  --card-border: rgba(255, 255, 255, 0.07);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;

  /* Primary Gradients */
  --primary-accent: #06b6d4;
  /* Cyan */
  --secondary-accent: #10b981;
  /* Emerald */
  --ai-primary: #6366f1;
  /* Indigo */
  --ai-secondary: #a855f7;
  /* Purple */

  --grad-primary: linear-gradient(135deg, var(--primary-accent) 0%, var(--secondary-accent) 100%);
  --grad-ai: linear-gradient(135deg, var(--ai-primary) 0%, var(--ai-secondary) 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);

  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Syne', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;

  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Typography Utility Classes */
h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.gradient-text-ai {
  background: var(--grad-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

/* Background Mesh Glow Effects */
.bg-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  mix-blend-mode: screen;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-accent) 0%, rgba(0, 0, 0, 0) 70%);
  top: -100px;
  right: -100px;
  animation: floatGlow 15s infinite alternate;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--ai-secondary) 0%, rgba(0, 0, 0, 0) 70%);
  top: 40%;
  left: -200px;
  animation: floatGlow2 20s infinite alternate;
}

.glow-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--ai-primary) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: -200px;
  right: -100px;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-80px, 50px) scale(1.1);
  }
}

@keyframes floatGlow2 {
  0% {
    transform: translate(0, 0) scale(1.1);
  }

  100% {
    transform: translate(100px, -50px) scale(0.9);
  }
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: #070a13;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.35);
  filter: brightness(1.05);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  border-color: var(--primary-accent);
  background: rgba(6, 182, 212, 0.05);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--grad-ai);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Conic gradient border spinner */
.btn-header-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg,
      transparent 20%,
      var(--primary-accent) 50%,
      var(--ai-secondary) 80%,
      transparent 100%);
  animation: rotateGlow 3s linear infinite;
  z-index: -2;
  opacity: 0.8;
}

/* Inner card body mask for border effect */
.btn-header-cta::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: #090d16;
  border-radius: 7px;
  z-index: -1;
  transition: background 0.3s ease;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.btn-header-cta:hover {
  color: #fff;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  transform: translateY(-1px);
}

.btn-header-cta:hover::after {
  background: #0d1424;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn-glow:hover::after {
  opacity: 1;
  left: 125%;
}

/* Header Section Style */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 10, 19, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition-smooth);
  padding: 1.25rem 0;
}

.header.scrolled {
  padding: 0.8rem 0;
  background: rgba(7, 10, 19, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 1.15rem;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  z-index: 1;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
  pointer-events: none;
}

.nav-link:hover {
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
}

.mobile-nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile responsive navigation header */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
  }

  .nav.active {
    right: 0;
  }

  .mobile-nav-toggle {
    display: flex;
    z-index: 101;
  }

  .mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
  }

  .header-cta {
    display: none;
  }
}

/* Hero Section Style */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--primary-accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-accent);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-title {
  font-size: 3.5rem;
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-metrics {
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 2rem;
  width: 100%;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-size: 2rem;
  font-family: var(--font-title);
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  overflow: visible;
  /* Prevent clipping glow shadow */
}

/* Background glow behind user's face */
.image-bg-glow {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(6, 182, 212, 0) 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 35px rgba(6, 182, 212, 0.15));
  transition: var(--transition-smooth);
}

.hero-img:hover {
  transform: translateY(-8px) scale(1.02);
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 50px rgba(6, 182, 212, 0.3));
}

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
    gap: 2rem;
  }

  .hero-image-wrapper {
    max-width: 380px;
  }
}

@media (max-width: 576px) {
  .hero-metrics {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
  }

  .metric-item {
    align-items: center;
    width: 100%;
    max-width: 280px;
  }

  .metric-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.25rem;
  }

  .metric-value {
    font-size: 2.25rem;
  }

  .metric-label {
    font-size: 0.9rem;
    text-align: center;
  }
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-accent);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Philosophy Section Style */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.comparison-card {
  padding: 3rem;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.comparison-card:hover {
  transform: translateY(-5px);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.comparison-header h3 {
  font-size: 1.4rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-bad .card-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.card-good .card-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.glow-border {
  border: 1px solid rgba(6, 182, 212, 0.25);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.05);
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.5) 0%, rgba(99, 102, 241, 0) 55%);
  z-index: -1;
  pointer-events: none;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comparison-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.card-bad .comparison-list li {
  color: #cbd5e1;
}

.card-bad .comparison-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: #ef4444;
  font-weight: bold;
}

.card-good .comparison-list li {
  color: var(--text-main);
}

.card-good .comparison-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: bold;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .comparison-card {
    padding: 2rem;
  }
}

/* Services Grid Style */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 3rem;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.05), transparent 40%);
  z-index: 3;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(6, 182, 212, 0.08);
}

.service-icon-wrapper {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
  border-color: var(--primary-accent);
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-benefit {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-accent);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (max-width: 991px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.portfolio-card-link {
  display: block;
}

.portfolio-card {
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.1);
}

.portfolio-preview {
  background: #090e1b;
  padding: 1.75rem 1.75rem 0 1.75rem;
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
}

.browser-mockup {
  background: #0f172a;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  overflow: hidden;
  height: 330px;
}

.browser-dots {
  display: flex;
  gap: 6px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.browser-dots span:nth-child(1) {
  background: #ef4444;
}

.browser-dots span:nth-child(2) {
  background: #eab308;
}

.browser-dots span:nth-child(3) {
  background: #22c55e;
}

.browser-screen {
  height: calc(100% - 29px);
  padding: 1rem;
}

.browser-screen-img {
  height: calc(100% - 29px);
  padding: 0;
  overflow: hidden;
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: object-position 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .mockup-img {
  object-position: bottom;
}

/* Custom Mini CSS Site Mockups */
.mockup-content {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.mockup-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.mockup-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  font-family: var(--font-title);
}

.mockup-btn {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  pointer-events: none;
}

/* 1. Lashmaker Lovat Vibe */
.lash-mockup {
  background: linear-gradient(135deg, #1e1b18 0%, #3e3835 100%);
  border: 1px solid #d9b89e;
  color: #f7f5f0;
}

.lash-mockup .mockup-badge {
  background: rgba(217, 184, 158, 0.15);
  color: #d9b89e;
}

.lash-mockup .mockup-btn {
  background: #d9b89e;
  color: #1e1b18;
}

.portfolio-card:hover .lash-mockup {
  transform: scale(1.03);
}

/* 2. Kids Coral Vibe */
.kids-mockup {
  background: linear-gradient(135deg, #0f2d37 0%, #1e5a6e 100%);
  border: 1px solid #ff7f50;
  color: #f0fdfa;
}

.kids-mockup .mockup-badge {
  background: rgba(255, 127, 80, 0.15);
  color: #ff7f50;
}

.kids-mockup .mockup-btn {
  background: #ff7f50;
  color: white;
}

.portfolio-card:hover .kids-mockup {
  transform: scale(1.03);
}

/* 3. Restik Theta Vibe */
.restik-mockup {
  background: linear-gradient(135deg, #111 0%, #2a2a2a 100%);
  border: 1px solid #c5a880;
  color: #f5f5f5;
}

.restik-mockup .mockup-badge {
  background: rgba(197, 168, 128, 0.15);
  color: #c5a880;
}

.restik-mockup .mockup-btn {
  background: #c5a880;
  color: #111;
}

.portfolio-card:hover .restik-mockup {
  transform: scale(1.03);
}

/* 4. Clean Park Vibe */
.clean-mockup {
  background: linear-gradient(135deg, #0b2216 0%, #184c32 100%);
  border: 1px solid #00ff88;
  color: #f0fdf4;
}

.clean-mockup .mockup-badge {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
}

.clean-mockup .mockup-btn {
  background: #00ff88;
  color: #0b2216;
}

.portfolio-card:hover .clean-mockup {
  transform: scale(1.03);
}

.portfolio-info {
  padding: 1.5rem 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.portfolio-tags .tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.portfolio-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.portfolio-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.portfolio-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-accent);
  transition: var(--transition-fast);
}

.portfolio-action svg {
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-action svg {
  transform: translateX(5px);
}

/* Workflow Section Style */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

@media (max-width: 991px) {
  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .workflow-steps {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--card-border);
  padding: 2.25rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(15, 23, 42, 0.6);
}

.step-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2.25rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Contact Split Layout */
.contact-split-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.contact-text-column {
  text-align: left;
}

.contact-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-accent);
  margin-bottom: 1.5rem;
}

.contact-giant-title {
  font-family: var(--font-title);
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--text-main);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.contact-editorial-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 480px;
}

.contact-links-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Elegant brand card style */
.editorial-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.editorial-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--hover-color-alpha) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.editorial-contact-card:hover::before {
  opacity: 1;
}

.editorial-contact-card:hover {
  transform: translateX(10px);
  border-color: var(--hover-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.editorial-contact-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.editorial-contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.tg-card {
  --hover-color: #06b6d4;
  --hover-color-alpha: rgba(6, 182, 212, 0.04);
}

.wa-card {
  --hover-color: #10b981;
  --hover-color-alpha: rgba(16, 185, 129, 0.04);
}

.max-card {
  --hover-color: #a855f7;
  --hover-color-alpha: rgba(168, 85, 247, 0.04);
}

.tg-card .editorial-contact-icon {
  background: rgba(6, 182, 212, 0.08);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.wa-card .editorial-contact-icon {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.max-card .editorial-contact-icon {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.editorial-contact-card:hover .editorial-contact-icon {
  transform: scale(1.1) rotate(-5deg);
}

.tg-card:hover .editorial-contact-icon {
  background: #06b6d4;
  color: #070a13;
}

.wa-card:hover .editorial-contact-icon {
  background: #10b981;
  color: #fff;
}

.max-card:hover .editorial-contact-icon {
  background: linear-gradient(135deg, #4f46e5 0%, #a855f7 100%);
  color: #fff;
}

.editorial-contact-info {
  display: flex;
  flex-direction: column;
}

.editorial-contact-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.editorial-contact-card:hover .editorial-contact-name {
  color: var(--hover-color);
}

.editorial-contact-value {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.editorial-contact-card:hover .editorial-contact-value {
  color: var(--text-main);
}

.editorial-contact-arrow {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.editorial-contact-card:hover .editorial-contact-arrow {
  color: var(--hover-color);
  transform: translate(4px, -4px);
}

@media (max-width: 991px) {
  .contact-split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-giant-title {
    font-size: 3.5rem;
  }

  .contact-editorial-desc {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .editorial-contact-card {
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
  }

  .editorial-contact-name {
    font-size: 1.1rem;
  }

  .editorial-contact-value {
    font-size: 0.8rem;
  }

  /* Prevent excessive translation on mobile hover to avoid horizontal overflow */
  .editorial-contact-card:hover {
    transform: translateX(4px);
  }
}




/* Footer Style */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
  background: #04060c;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

@media (max-width: 576px) {
  .footer-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Automation n8n-style Canvas */
.automation-canvas {
  position: relative;
  height: 330px;
  width: 100%;
  background-color: #070a13;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center;
  overflow: hidden;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom: 1px solid var(--card-border);
}

.automation-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.base-line {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 2px;
  transition: stroke 0.4s ease;
}

.pulse-line {
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-dasharray: 6, 24;
  animation: flow 3s linear infinite;
  stroke: rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
}

@keyframes flow {
  to {
    stroke-dashoffset: -30;
  }
}

/* Canvas Nodes */
.canvas-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  width: 185px;
}

.node-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.node-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

.node-type {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.node-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Brands color systems */
.node-tg .node-icon {
  background: rgba(6, 182, 212, 0.08);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.node-ai .node-icon {
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.node-gs .node-icon {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.node-crm .node-icon {
  background: rgba(168, 85, 247, 0.08);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.15);
}

/* Hover highlights */
.portfolio-card:hover .automation-canvas {
  background-color: #090e1b;
}

.portfolio-card:hover .base-line {
  stroke: rgba(255, 255, 255, 0.08);
}

/* Colored pulses on hover */
.portfolio-card:hover .pulse-tg-ai {
  stroke: #06b6d4;
  animation-duration: 1.5s;
  filter: drop-shadow(0 0 4px rgba(6, 182, 212, 0.6));
}

.portfolio-card:hover .pulse-tg-gs {
  stroke: #06b6d4;
  animation-duration: 1.5s;
  filter: drop-shadow(0 0 4px rgba(6, 182, 212, 0.6));
}

.portfolio-card:hover .pulse-ai-crm {
  stroke: #6366f1;
  animation-duration: 1.5s;
  filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.6));
}

.portfolio-card:hover .pulse-gs-crm {
  stroke: #10b981;
  animation-duration: 1.5s;
  filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.6));
}

/* Scale nodes slightly on card hover */
.portfolio-card:hover .canvas-node {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.portfolio-card:hover .node-tg {
  transform: translate(-50%, -50%) scale(1.03);
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(6, 182, 212, 0.4);
}

.portfolio-card:hover .node-ai {
  transform: translate(-50%, -50%) scale(1.03);
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(99, 102, 241, 0.4);
}

.portfolio-card:hover .node-gs {
  transform: translate(-50%, -50%) scale(1.03);
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(16, 185, 129, 0.4);
}

.portfolio-card:hover .node-crm {
  transform: translate(-50%, -50%) scale(1.03);
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(168, 85, 247, 0.4);
}

@media (max-width: 768px) {
  .canvas-node {
    width: 120px;
    padding: 6px 8px;
    gap: 6px;
  }

  .node-icon {
    width: 20px;
    height: 20px;
  }

  .node-type {
    font-size: 0.5rem;
  }

  .node-name {
    font-size: 0.65rem;
  }
}

/* Sync canvas node brands */
.node-sync-crm .node-icon {
  background: rgba(236, 72, 153, 0.08);
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.15);
}

.node-n8n .node-icon {
  background: rgba(249, 115, 22, 0.08);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.15);
}

.node-sync-gs .node-icon {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.node-sync-tg .node-icon {
  background: rgba(6, 182, 212, 0.08);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.15);
}

/* Sync Canvas Pulses */
.portfolio-card:hover .pulse-crm-n8n {
  stroke: #ec4899;
  animation-duration: 1.5s;
  filter: drop-shadow(0 0 4px rgba(236, 72, 153, 0.6));
}

.portfolio-card:hover .pulse-n8n-gs {
  stroke: #f97316;
  animation-duration: 1.5s;
  filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.6));
}

.portfolio-card:hover .pulse-gs-report {
  stroke: #10b981;
  animation-duration: 1.5s;
  filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.6));
}

/* Sync Nodes Hover Scaling */
.portfolio-card:hover .node-sync-crm {
  transform: translate(-50%, -50%) scale(1.03);
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(236, 72, 153, 0.4);
}

.portfolio-card:hover .node-n8n {
  transform: translate(-50%, -50%) scale(1.03);
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(249, 115, 22, 0.4);
}

.portfolio-card:hover .node-sync-gs {
  transform: translate(-50%, -50%) scale(1.03);
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(16, 185, 129, 0.4);
}

.portfolio-card:hover .node-sync-tg {
  transform: translate(-50%, -50%) scale(1.03);
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(6, 182, 212, 0.4);
}