:root {
  /* Colors — Modern Cool Palette */
  --bg: #08090d;
  --bg-darker: #050507;
  --bg-glass: rgba(12, 13, 20, 0.5);
  --bg-glass-hover: rgba(22, 23, 35, 0.6);
  --accent: #7c5cff;
  --accent-secondary: #5ce1e6;
  --accent-glow: rgba(124, 92, 255, 0.3);
  --text-main: #f0f0f5;
  --text-muted: rgba(240, 240, 245, 0.55);
  --border: rgba(124, 92, 255, 0.2);
  --border-light: rgba(255, 255, 255, 0.06);
  
  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Transitions */
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Film Grain */
.film-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Mouse Glow */
.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(10,10,15,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
}

/* Typography */
h1, h2, h3, h4, .logo {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

.text-center { text-align: center; }

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-glass);
}

.glass:hover {
  border-color: var(--border);
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: #9275ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(124, 92, 255, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(124, 92, 255, 0.1);
}

.btn-primary.large, .btn-secondary.large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-secondary.small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.full-width {
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 100;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 1rem 2rem;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 100px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.4rem;
  color: var(--text-main);
  text-decoration: none;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(124, 92, 255, 0.4));
  mix-blend-mode: screen;
}

.logo em {
  color: var(--accent);
  font-style: italic;
}

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

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 2rem;
  right: 2rem;
  padding: 2rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 99;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
}

.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.5;
  border-radius: 50%;
  animation: float 20s infinite alternate;
}

.blob-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(124, 92, 255, 0.12);
}

.blob-2 {
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: rgba(92, 225, 230, 0.08);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(100px, 50px) rotate(180deg); }
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.hero-content .subheadline {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust-signals {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-item i {
  color: var(--accent);
  width: 16px;
  height: 16px;
}

.dot {
  color: var(--border);
}

.hero-visual {
  position: relative;
  height: 500px;
}

.orb-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.animated-orb {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 60%);
  filter: blur(40px);
  opacity: 0.6;
  animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.4; }
  100% { transform: scale(1.05); opacity: 0.7; }
}

.stat-card {
  position: absolute;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  min-width: 140px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.float-1 { top: 10%; right: 10%; animation: float-y 6s ease-in-out infinite alternate; }
.float-2 { bottom: 20%; left: 0; animation: float-y 7s ease-in-out infinite alternate-reverse; }
.float-3 { bottom: 10%; right: 0; animation: float-y 5s ease-in-out infinite alternate; }

@keyframes float-y {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

/* Scroll Marquee */
.marquee-section {
  padding: 2.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-darker);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.marquee-track span {
  display: inline-block;
  padding: 0 1rem;
}

.marquee-track.row-1 {
  margin-bottom: 0.75rem;
}

.marquee-track.row-2 {
  color: var(--accent);
  opacity: 0.6;
}

/* Section Header */
.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.section-header.text-center {
  margin: 0 auto 4rem;
}

.section-label {
  color: var(--accent);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: inline-block;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.25rem;
}

/* Services */
.services {
  padding: 8rem 0;
}

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

/* Founder Section */
.about-founder {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.founder-card {
  padding: 3.5rem;
  border-radius: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.founder-content {
  max-width: 800px;
}

.founder-bio {
  font-size: 1.25rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.founder-bio-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

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

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
}

.skill-pill i {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.founder-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Services */
.services {
  padding: 8rem 0;
}

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

.services-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  padding: 2.5rem;
  border-radius: 16px;
  transition: transform 0.1s; /* Faster for tilt */
  transform-style: preserve-3d;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  transform: translateZ(30px);
}

.service-icon {
  font-size: 2.5rem;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.service-card h3 {
  transform: translateZ(40px);
}

.service-card p {
  transform: translateZ(20px);
  margin-bottom: 0;
}

/* Works Showcase */
.works {
  padding: 8rem 0;
  background: var(--bg-darker);
}

.projects-showcase {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.showcase-card {
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.showcase-card:hover {
  border-color: var(--border);
  box-shadow: 0 25px 50px -15px rgba(124, 92, 255, 0.15);
}

.showcase-info {
  max-width: 700px;
}

.showcase-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.showcase-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.showcase-stack {
  position: relative;
  width: 100%;
  min-height: 480px;
  margin-top: 1rem;
}

.stack-frame {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #0e0f17;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s, box-shadow 0.5s, opacity 0.5s;
}

.stack-frame img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Back Frame - Top Right */
.stack-frame.back-frame {
  top: 0;
  right: 0;
  width: 62%;
  z-index: 1;
  opacity: 0.82;
  filter: brightness(0.85);
  transform: translate(0, 0);
}

/* Front Frame - Bottom Left Overlapping */
.stack-frame.front-frame {
  top: 90px;
  left: 0;
  width: 65%;
  z-index: 2;
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(124, 92, 255, 0.15);
  transform: translate(0, 0);
}

/* Interactive Hover Animations */
.showcase-card:hover .stack-frame.back-frame {
  transform: translate(20px, -20px) scale(1.02);
  opacity: 1;
  filter: brightness(1);
  border-color: rgba(124, 92, 255, 0.4);
}

.showcase-card:hover .stack-frame.front-frame {
  transform: translate(-10px, 10px);
  border-color: var(--accent);
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.95), 0 0 40px rgba(124, 92, 255, 0.25);
}

.browser-dot-bar {
  background: #141520;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-light);
}

.browser-dot-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.browser-dot-bar .dot.red { background: #ff5f56; }
.browser-dot-bar .dot.yellow { background: #ffbd2e; }
.browser-dot-bar .dot.green { background: #27c93f; }

.browser-dot-bar .url {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
  font-family: monospace;
  opacity: 0.7;
}

.shot-frame img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.full-width-frame img {
  max-height: 480px;
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(8, 9, 13, 0.8));
}

.project-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-tag {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-badge {
  background: rgba(124, 92, 255, 0.12);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}

.project-title {
  margin-bottom: 0.75rem;
}

.project-desc {
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-features {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.project-features span {
  color: var(--text-main);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  margin-top: auto;
}

.project-link i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(4px);
}

/* Simulator Section */
.simulator-section {
  padding: 8rem 0;
}

.browser-mockup {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: rgba(10, 10, 15, 0.8);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  max-width: 1000px;
  margin: 0 auto;
}

.browser-top {
  background: #1a1a24;
  padding: 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.dots {
  display: flex;
  gap: 8px;
  margin-right: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.url-bar {
  background: #0a0a0f;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-grow: 1;
  max-width: 400px;
  margin: 0 auto;
  justify-content: center;
}

.url-bar i {
  width: 14px;
  height: 14px;
}

.browser-body {
  display: flex;
  min-height: 450px;
}

.sidebar {
  width: 250px;
  border-right: 1px solid var(--border-light);
  border-radius: 0;
  border-top: none;
  border-bottom: none;
  border-left: none;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 1rem 1.5rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
}

.tab-btn.active {
  background: rgba(124, 92, 255, 0.12);
  color: var(--accent);
  border-right: 3px solid var(--accent);
}

.badge {
  background: var(--accent);
  color: var(--bg);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 100px;
  font-weight: 600;
}

.dashboard-content {
  flex-grow: 1;
  padding: 2.5rem;
  background: #0d0d14;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.upload-dropzone {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 3rem;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  background: rgba(124, 92, 255, 0.05);
}

.upload-dropzone i {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 1rem;
}

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

.gallery-item {
  height: 150px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.inquiry-card {
  padding: 1.5rem;
  border-radius: 8px;
}

.inquiry-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.time {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.inquiry-body {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.glass-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition);
}

.glass-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

/* Testimonials */
.testimonials {
  padding: 8rem 0;
  background: var(--bg-darker);
  position: relative;
}

.featured-testimonial-container {
  max-width: 860px;
  margin: 0 auto;
}

.featured-testimonial-card {
  padding: 3.5rem;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.featured-testimonial-card:hover {
  border-color: var(--border);
  box-shadow: 0 25px 50px -15px rgba(124, 92, 255, 0.15);
}

.quote-icon {
  margin-bottom: 1.5rem;
}

.quote-icon i {
  width: 36px;
  height: 36px;
  color: var(--accent);
  opacity: 0.8;
}

.featured-quote {
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 2.5rem;
  font-style: italic;
  font-family: var(--font-body);
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
}

.author-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.author-details strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.author-details span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing {
  padding: 8rem 0;
}

.pricing-sub {
  margin: 0 auto;
  max-width: 600px;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  padding: 2.5rem 2rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--border);
  box-shadow: 0 20px 40px -15px rgba(124, 92, 255, 0.15);
}

.pricing-card.highlight {
  border-color: var(--accent);
  background: rgba(18, 19, 30, 0.7);
  box-shadow: 0 20px 50px -10px rgba(124, 92, 255, 0.25);
  transform: translateY(-8px);
}

.pop-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 15px rgba(124, 92, 255, 0.4);
}

.tier-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.tier-tag.accent-tag {
  color: var(--accent);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.price-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--border-light);
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price-val {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
}

.price-val.accent-val {
  color: var(--accent);
}

.price-period {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.4;
}

.pricing-features i {
  color: var(--accent);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Contact */
.contact {
  padding: 8rem 0;
  background: var(--bg-darker);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.contact-card {
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateX(10px);
  border-color: var(--border);
}

.contact-icon {
  width: 24px;
  height: 24px;
}

.contact-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-card span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.form-wrapper {
  padding: 3rem;
  border-radius: 16px;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-note i {
  width: 14px;
  height: 14px;
  color: #27c93f;
}

/* Footer */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border-light);
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}
.footer-logo em {
  color: var(--accent);
  font-style: italic;
}

.footer-links {
  text-align: right;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Responsive Design & Mobile Optimization */
@media (max-width: 960px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-container, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-visual {
    height: 340px;
    order: 2; /* Comes AFTER text on mobile */
    margin-top: 0.5rem;
  }

  .hero-content {
    order: 1; /* Text comes FIRST on mobile */
  }
  
  .services-grid, .services-grid-4, .projects-grid, .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .pricing-card.highlight {
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero-visual {
    display: none !important;
  }

  h1 {
    font-size: clamp(2.1rem, 7.5vw, 2.75rem);
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.85rem;
    margin-bottom: 0.75rem;
  }

  p {
    font-size: 1rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .services, .works, .testimonials, .pricing, .contact, .about-founder {
    padding: 4rem 0;
  }

  .nav-container {
    padding: 0.75rem 1.25rem;
  }

  .nav-links, .navbar .btn-primary {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    top: 72px;
    left: 1rem;
    right: 1rem;
    padding: 1.5rem;
  }
  
  .services-grid, .services-grid-4, .projects-grid, .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.75rem;
  }
  
  .showcase-card {
    padding: 1.5rem;
  }

  .showcase-title {
    font-size: 1.6rem;
  }
  
  .showcase-stack {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
  }
  
  .stack-frame.back-frame,
  .stack-frame.front-frame {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    transform: none !important;
    opacity: 1;
    filter: none;
  }

  .stack-frame img {
    max-height: 260px;
  }

  .featured-testimonial-card {
    padding: 2rem 1.5rem;
  }

  .featured-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .founder-card {
    padding: 2rem 1.5rem;
  }

  .founder-bio {
    font-size: 1.1rem;
  }

  .form-wrapper {
    padding: 1.75rem 1.25rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero {
    padding: 6rem 0 2.5rem;
  }

  h1 {
    font-size: 1.95rem;
    line-height: 1.25;
  }

  h2 {
    font-size: 1.6rem;
  }

  .subheadline {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.75rem;
  }

  .hero-visual {
    height: 260px;
  }

  .animated-orb {
    width: 170px;
    height: 170px;
  }

  .stat-card {
    padding: 0.75rem 1rem;
    min-width: 105px;
    border-radius: 10px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .float-1 { top: 2%; right: 0%; }
  .float-2 { bottom: 5%; left: 0%; }
  .float-3 { bottom: 2%; right: 2%; }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
  }

  .trust-signals {
    gap: 0.5rem 0.75rem;
    justify-content: center;
  }

  .marquee-section {
    padding: 1.5rem 0;
  }

  .marquee-track {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }

  .founder-card {
    padding: 1.5rem 1.15rem;
  }

  .founder-ctas {
    flex-direction: column;
    width: 100%;
  }

  .founder-ctas .btn-primary,
  .founder-ctas .btn-secondary {
    width: 100%;
  }

  .skills-wrapper {
    gap: 0.5rem;
  }

  .skill-pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}
