/* =========================================
   Ideadigm — Shared Design System
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary:        #7C3AED;
  --primary-light:  #A78BFA;
  --primary-dark:   #4C1D95;
  --secondary:      #06B6D4;
  --secondary-dark: #0891B2;
  --accent:         #F59E0B;
  --accent-dark:    #D97706;

  --dark:           #0F0A1E;
  --dark-2:         #1A1030;
  --dark-3:         #241A42;

  --light:          #F8F7FF;
  --light-2:        #EDE9FE;
  --white:          #FFFFFF;

  --text:           #1E1B4B;
  --text-muted:     #6B7280;
  --text-faint:     #9CA3AF;
  --text-light:     #F8FAFC;
  --text-light-muted: rgba(248,250,252,0.7);

  --border:         #E5E7EB;
  --border-dark:    rgba(255,255,255,0.08);

  --gradient:       linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-text:  linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
  --gradient-dark:  linear-gradient(135deg, #4C1D95 0%, #0E7490 100%);

  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow:     0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
  --shadow-xl:  0 30px 80px rgba(0,0,0,0.20);
  --shadow-glow:0 0 40px rgba(124,58,237,0.25);
  --shadow-glow-cyan: 0 0 40px rgba(6,182,212,0.2);

  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-pill:9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 70px;
  --container:  1200px;
  --section-gap: 100px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, select { font-family: 'Inter', sans-serif; }

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-sm {
  padding: 60px 0;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(15, 10, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(15, 10, 30, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-icon {
  height: 34px;
  width: 34px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-light);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-light);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: var(--gradient) !important;
  color: var(--text-light) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  box-shadow: var(--shadow-glow);
  transition: var(--transition) !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.4) !important;
}

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

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border-dark);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: var(--text-light-muted);
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: block;
}

.nav-mobile a:hover {
  color: var(--text-light);
  background: rgba(255,255,255,0.06);
}

.nav-mobile .nav-cta {
  text-align: center;
  margin-top: 8px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.4);
  opacity: 0.95;
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,158,11,0.4);
}

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

.btn-ghost:hover {
  background: var(--light);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
}

.btn-white:hover {
  background: var(--light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full { width: 100%; }

/* ---- Section Labels ---- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  background: rgba(124,58,237,0.12);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(124,58,237,0.2);
  margin-bottom: 20px;
}

.label-dark {
  color: var(--secondary);
  background: rgba(6,182,212,0.12);
  border-color: rgba(6,182,212,0.2);
}

/* ---- Section Headings ---- */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 16px;
}

.section-heading p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-heading--light h2 { color: var(--text-light); }
.section-heading--light p  { color: var(--text-light-muted); }
.section-heading--light .label { color: var(--primary-light); }

/* Gradient text */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--primary-light);
}

.card-body { padding: 28px; }

.card-dark {
  background: var(--dark-2);
  border-color: var(--border-dark);
}

.card-dark:hover {
  border-color: rgba(124,58,237,0.4);
}

/* ---- Grid Layouts ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

/* ---- Tags ---- */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--light-2);
  color: var(--primary);
}

.tag-cyan {
  background: rgba(6,182,212,0.1);
  color: var(--secondary-dark);
}

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(124,58,237,0.25);
  top: -150px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(6,182,212,0.2);
  bottom: -100px;
  left: -50px;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(245,158,11,0.15);
  top: 40%;
  right: 30%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
}

.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border-dark);
}

.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.hero-logo-wrap {
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-glow), var(--shadow-xl);
  position: relative;
  transition: var(--transition-slow);
}

.hero-logo-wrap:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 80px rgba(124,58,237,0.35), var(--shadow-xl);
}

.hero-logo-wrap img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.hero-badge {
  position: absolute;
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.hero-badge-1 { top: -12px; right: -12px; }
.hero-badge-2 { bottom: -12px; left: -12px; }

/* ---- About Section ---- */
.about {
  padding: var(--section-gap) 0;
  background: var(--light);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.about-visual {}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}

.about-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-glow);
}

.about-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.about-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--light-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.value-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

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

/* ---- Project Cards (Apps & Websites) ---- */
.projects-section {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.projects-section--dark {
  background: var(--dark);
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: rgba(124,58,237,0.3);
}

.project-card-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-card-visual img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.project-card-visual-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transition: var(--transition-slow);
}

.project-card:hover .project-card-visual-bg {
  transform: scale(1.1);
  opacity: 0.25;
}

.project-card-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.project-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.project-card-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 12px;
}

.project-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.project-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Website project cards (wider) */
.website-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
  background: var(--white);
  min-height: 280px;
}

.website-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(6,182,212,0.3);
}

.website-card-visual {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.website-preview-frame {
  width: 85%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.website-preview-frame::before {
  content: '';
  display: block;
  height: 24px;
  background: #F3F4F6;
  border-bottom: 1px solid var(--border);
}

.website-preview-gradient {
  position: absolute;
  inset: 0;
}

.website-card-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---- Audit Form Section ---- */
.audit-section {
  padding: var(--section-gap) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.audit-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.audit-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.audit-pitch h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-light);
  margin-bottom: 20px;
}

.audit-pitch p {
  color: var(--text-light-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.audit-benefits {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audit-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-light-muted);
  font-size: 0.95rem;
}

.audit-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(124,58,237,0.3);
}

/* Form */
.audit-form-wrap {
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-xl);
}

.form-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  margin-bottom: 32px;
}

.form-section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  margin: 28px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-dark);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-light-muted);
  letter-spacing: 0.2px;
}

.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-light);
  font-size: 0.92rem;
  width: 100%;
  transition: var(--transition);
  outline: none;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-light);
  background: rgba(124,58,237,0.08);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--dark-2);
  color: var(--text-light);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
  font-size: 0.875rem;
  color: var(--text-light-muted);
}

.checkbox-item:hover {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.06);
  color: var(--text-light);
}

.checkbox-item input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-submit-group {
  margin-top: 32px;
  text-align: center;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-light-muted);
  margin-top: 12px;
  opacity: 0.7;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border-dark);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  font-size: 0.83rem;
  color: var(--text-light-muted);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-light-muted);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--primary-light); }

/* ---- Project Page Styles ---- */
.project-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.project-hero-inner {
  position: relative;
  z-index: 1;
}

.project-hero-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-glow), var(--shadow-xl);
  object-fit: contain;
}

.project-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-light);
  margin-bottom: 16px;
}

.project-hero-tagline {
  font-size: 1.2rem;
  color: var(--text-light-muted);
  margin-bottom: 36px;
  font-style: italic;
}

.project-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.project-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.project-breadcrumb a {
  color: var(--primary-light);
  transition: var(--transition);
}

.project-breadcrumb a:hover { opacity: 0.8; }
.project-breadcrumb span { opacity: 0.4; }

.project-content {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.project-section {
  margin-bottom: 72px;
}

.project-section:last-child { margin-bottom: 0; }

.project-section-title {
  font-size: 1.8rem;
  margin-bottom: 28px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
}

.project-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}

.project-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-item {
  padding: 24px;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--primary-light);
  background: var(--light-2);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.project-images img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: contain;
  background: var(--light);
}

/* ---- Privacy Policy ---- */
.policy-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--dark);
  text-align: center;
}

.policy-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-light);
  margin-bottom: 16px;
}

.policy-hero p {
  color: var(--text-light-muted);
  font-size: 1rem;
}

.policy-content {
  padding: 80px 0 100px;
  background: var(--white);
}

.policy-inner {
  max-width: 760px;
  margin: 0 auto;
}

.policy-inner h2 {
  font-size: 1.4rem;
  margin: 36px 0 14px;
  color: var(--text);
}

.policy-inner p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.policy-inner ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-inner ul li {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.97rem;
  margin-bottom: 6px;
}

.policy-updated {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ---- Misc ---- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }

/* ---- Back to top / nav back ---- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--primary-light);
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 24px;
}

.back-link:hover { gap: 12px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }

  .hero-inner { gap: 40px; }
  .about-inner { gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .audit-inner { grid-template-columns: 1fr; gap: 48px; }
  .audit-form-wrap { padding: 32px 24px; }
  .website-card { grid-template-columns: 1fr; }
  .website-card-visual { min-height: 200px; }
  .audit-inner { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0;
  }

  .hero-visual { display: none; }

  .hero-eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }

  .hero-subtitle { margin: 0 auto 40px; }

  .hero-stats {
    justify-content: center;
    gap: 24px;
  }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-values { grid-template-columns: 1fr; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .form-checkboxes { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-logo-wrap { padding: 32px; }
  .hero-logo-wrap img { width: 120px; height: 120px; }

  .project-hero-icon { width: 100px; height: 100px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .project-hero-actions { flex-direction: column; align-items: center; }
  .audit-form-wrap { padding: 24px 16px; }
}
