:root {
  /* Modern, aggressive color scheme */
  --brand: #FF3E00; /* Vibrant orange-red */
  --brand-600: #E03600;
  --brand-gradient: linear-gradient(135deg, #FF3E00, #FF8700);
  --accent: #00E5FF; /* Electric cyan for contrast */
  --ink: #0A0A0A; /* Near black */
  --ink-soft: #2D2D2D;
  --bg: #121212; /* Dark background */
  --bg-alt: #1A1A1A;
  --bg-card: #1E1E1E;
  --stroke: #333333;
  --text: #F5F5F5; /* Light text on dark background */
  --text-soft: #AAAAAA;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18,18,18,0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); position: relative; }
.brand::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--brand-gradient); transition: width 0.3s ease; }
.brand:hover::after { width: 100%; }
/* Logo styling with enhanced visibility */
.brand-logo { 
  height: 60px; 
  width: auto; 
}

/* Hover effects */

.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--text-soft); text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; transition: all 0.2s ease; position: relative; }
.nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--brand-gradient); transition: width 0.2s ease; }
.nav a:hover { color: var(--text); transform: translateY(-1px); }
.nav a:hover::after { width: 100%; }
.nav-toggle { display: none; font-size: 22px; background: transparent; border: 1px solid var(--stroke); border-radius: 8px; padding: 6px 10px; color: var(--text); cursor: pointer; }

/* Hero */
.hero { 
  padding: 80px 0 60px; 
  background: linear-gradient(135deg, var(--bg) 0%, #1F1F1F 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--stroke);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,62,0,0.15) 0%, rgba(255,62,0,0) 70%);
  transform: rotate(-30deg);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0,229,255,0.1) 0%, rgba(0,229,255,0) 70%);
  transform: rotate(30deg);
  z-index: 1;
}
.glitch-line {
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--brand-gradient);
  opacity: 0.5;
  z-index: 1;
  transform: translateY(-50%) rotate(-1deg);
  box-shadow: 0 0 10px rgba(255,62,0,0.8);
  overflow: hidden;
}
.glitch-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: glitch-scan 3s linear infinite;
}
@keyframes glitch-scan {
  0% { left: -100%; }
  100% { left: 200%; }
}
.hero-inner { 
  display: grid; 
  grid-template-columns: 1.2fr 1fr; 
  gap: 40px; 
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { 
  font-size: clamp(32px, 5vw, 52px); 
  line-height: 1.1; 
  margin: 0 0 20px; 
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}
.gradient-text::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  top: 2px;
  z-index: -1;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
}
.hero p { 
  margin: 0 0 24px; 
  color: var(--text-soft);
  font-size: 18px;
  max-width: 90%;
}
.hero-ctas { 
  display: flex; 
  gap: 16px; 
  margin-top: 16px;
}
.tagline { 
  margin-top: 16px; 
  font-size: 14px; 
  color: var(--text-soft);
  font-style: italic;
  border-left: 2px solid var(--brand);
  padding-left: 12px;
}
.hero-art .cards { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 16px; 
  transform: perspective(1000px) rotateY(-5deg);
}
.hero-art .card { 
  background: var(--bg-card); 
  border: 1px solid var(--stroke); 
  border-radius: 12px; 
  padding: 20px; 
  box-shadow: 0 15px 25px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05) inset; 
  font-weight: 600; 
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.hero-art .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08) inset;
  border-color: var(--brand);
}
.hero-art .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-gradient);
}
.pill {
  display: inline-block;
  padding: 4px 8px;
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sections */
.section { padding: 80px 0; position: relative; }
.section.alt { 
  background: var(--bg-alt); 
  border-top: 1px solid var(--stroke); 
  border-bottom: 1px solid var(--stroke); 
}

/* Services section specific styling */
#services {
  position: relative;
  overflow: hidden;
}

/* Background gradient effects */
#services::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255,62,0,0.08), transparent 70%);
  z-index: 0;
  border-radius: 50%;
  animation: pulse-bg 15s infinite alternate ease-in-out;
}

#services::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(0,229,255,0.08), transparent 70%);
  z-index: 0;
  border-radius: 50%;
  animation: pulse-bg 15s infinite alternate-reverse ease-in-out;
}

/* Animated grid pattern */
.services-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  opacity: 0.5;
}

/* Floating particles effect */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.2;
  z-index: 0;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: float 20s infinite ease-in-out;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  width: 8px;
  height: 8px;
  animation: float 25s infinite ease-in-out reverse;
}

.particle:nth-child(3) {
  top: 30%;
  left: 60%;
  background: var(--accent);
  animation: float 18s infinite ease-in-out 2s;
}

.particle:nth-child(4) {
  top: 70%;
  left: 30%;
  width: 4px;
  height: 4px;
  animation: float 22s infinite ease-in-out 1s;
}

@keyframes pulse-bg {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.1); }
}
.section h2 { 
  font-size: clamp(28px, 4vw, 38px); 
  margin: 0 0 12px; 
  text-transform: uppercase;
  letter-spacing: -0.5px;
  font-weight: 800;
  position: relative;
  display: inline-block;
}
.section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--brand-gradient);
  border-radius: 2px;
}
.section-lead { 
  margin: 0 0 40px; 
  color: var(--text-soft);
  font-size: 18px;
  max-width: 700px;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Grid */
.grid { display: grid; gap: 24px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.form-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Cards */
.cards-4 {
  gap: 30px; /* Increased gap between cards */
  margin-top: 40px; /* Add space between section intro and cards */
}

/* Service section intro */
.section-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-intro h2 {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-intro h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

.service { 
  background: var(--bg-card); 
  border: 1px solid var(--stroke); 
  border-radius: 16px; /* Slightly larger radius */
  padding: 30px; /* More padding for better spacing */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Smoother animation */
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.05) inset;
  height: 100%; /* Equal height cards */
  display: flex;
  flex-direction: column;
}

/* Accent line at top */
.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* Slightly thicker line */
  background: var(--brand-gradient);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Background glow effect */
.service::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255,62,0,0.08), transparent 70%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Hover effects */
.service:hover {
  transform: translateY(-8px) scale(1.02); /* Slightly larger scale effect */
  border-color: var(--brand);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.service:hover::before {
  transform: scaleX(1);
}

.service:hover::after {
  opacity: 1;
}

/* Service title */
.service h3 { 
  margin: 0 0 16px; 
  font-size: 22px; /* Slightly larger font */
  font-weight: 800; /* Bolder font */
  color: var(--text);
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

/* Service icon - modern design */
.service-icon {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 90px;
  height: 90px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Modern glass effect */
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border-radius: 24px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: subtle-float 6s infinite ease-in-out;
}

@keyframes shimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

@keyframes subtle-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

/* Primary icon background - modern design */
.service-icon::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(30,30,30,0.7) 0%, rgba(20,20,20,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  box-shadow: 
    0 15px 30px rgba(0,0,0,0.2),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 0 20px rgba(255,62,0,0.15) inset;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Modern glow effect */
.service-icon::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  background: rgba(255,62,0,0.15);
  border-radius: 16px;
  z-index: -2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(15px);
  animation: pulse-glow-icon 4s infinite alternate ease-in-out;
  opacity: 0.6;
}

/* Modern hover effects */
.service:hover .service-icon {
  transform: translateY(-8px) scale(1.05);
}

.service:hover .service-icon::before {
  border-color: rgba(255,62,0,0.3);
  transform: translate(-50%, -50%) rotate(5deg);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.15) inset,
    0 0 30px rgba(255,62,0,0.25) inset;
}

.service:hover .service-icon::after {
  opacity: 0.8;
  filter: blur(20px);
  width: 80px;
  height: 80px;
  animation: pulse-glow-icon 2s infinite alternate ease-in-out;
}

@keyframes pulse-glow-icon {
  0% { opacity: 0.6; width: 70px; height: 70px; filter: blur(15px); }
  100% { opacity: 0.8; width: 85px; height: 85px; filter: blur(20px); }
}
.icon {
  width: 50px;
  height: 50px;
  transition: all 0.5s ease;
  display: block;
  color: var(--brand);
  stroke: var(--brand);
  stroke-width: 1.5px;
  filter: drop-shadow(0 0 8px rgba(255,62,0,0.5));
  position: relative;
  z-index: 5;
}
.icon-small {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 1.5px;
  color: #fff;
  transition: all 0.3s ease;
  display: block;
}
.service:hover .icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px rgba(255,62,0,0.8));
  animation: pulse-icon 2s infinite ease-in-out;
  stroke: #fff;
  stroke-width: 2px;
}

@keyframes pulse-icon {
  0% { transform: scale(1.15); filter: drop-shadow(0 0 12px rgba(255,62,0,0.8)); }
  50% { transform: scale(1.2); filter: drop-shadow(0 0 18px rgba(255,62,0,1)); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 12px rgba(255,62,0,0.8)); }
}

/* Modern icon wrapper styling */
.service .icon-wrapper {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: all 0.5s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255,62,0,0.1);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255,62,0,0.2);
}

.service:hover .icon-wrapper {
  transform: rotateY(10deg) rotateX(10deg);
  background: rgba(255,62,0,0.2);
  box-shadow: 0 0 30px rgba(255,62,0,0.4);
  border-radius: 20px;
}

/* Add floating particles around icons */
.service .icon-wrapper::before,
.service .icon-wrapper::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 4;
}

.service .icon-wrapper::before {
  top: -5px;
  right: -5px;
}

.service .icon-wrapper::after {
  bottom: -5px;
  left: -5px;
}

.service:hover .icon-wrapper::before,
.service:hover .icon-wrapper::after {
  opacity: 0.6;
  animation: float-particle 3s infinite ease-in-out;
}

.service:hover .icon-wrapper::after {
  animation-delay: 1.5s;
}

@keyframes float-particle {
  0% { transform: translate(0, 0) scale(0.8); opacity: 0.6; }
  50% { transform: translate(10px, -10px) scale(1.2); opacity: 0.9; }
  100% { transform: translate(0, 0) scale(0.8); opacity: 0.6; }
}

/* Add glowing dots around icon */
.service-icon .dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--brand);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 3;
  filter: blur(1px);
}

.service-icon .dot:nth-child(1) { top: 10%; left: 10%; }
.service-icon .dot:nth-child(2) { top: 10%; right: 10%; }
.service-icon .dot:nth-child(3) { bottom: 10%; left: 10%; }
.service-icon .dot:nth-child(4) { bottom: 10%; right: 10%; }

.service:hover .service-icon .dot {
  opacity: 0.8;
  animation: pulse-dot 2s infinite alternate ease-in-out;
}

.service:hover .service-icon .dot:nth-child(2) { animation-delay: 0.5s; }
.service:hover .service-icon .dot:nth-child(3) { animation-delay: 1s; }
.service:hover .service-icon .dot:nth-child(4) { animation-delay: 1.5s; }

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0.4; }
}
/* Service content styling */
.service p { 
  margin: 0 0 20px; 
  color: var(--text-soft); 
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  flex-grow: 1; /* Push the list to the bottom */
}

.service ul { 
  margin: 0; 
  padding-left: 0; /* Remove default padding */
  list-style: none; /* Remove default bullets */
  color: var(--text);
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}

.service li { 
  margin: 10px 0; 
  position: relative;
  padding-left: 28px; /* Space for custom bullet */
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Custom bullets */
.service li::before { 
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: rgba(255,62,0,0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Hover effects for list items */
.service:hover li::before {
  background: rgba(255,62,0,0.25);
}

.service:hover li:hover {
  color: #fff;
  transform: translateX(3px);
}

.service:hover li:hover::after {
  background: #fff;
}

/* Steps */
.steps { grid-template-columns: repeat(4, 1fr); }
.step { 
  background: var(--bg-card); 
  border: 1px dashed var(--stroke); 
  border-radius: 12px; 
  padding: 24px; 
  position: relative; 
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.step:hover {
  border-color: var(--brand);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}
.step-num { 
  position: absolute; 
  top: 12px; 
  right: 12px; 
  background: var(--brand-gradient); 
  color: #fff; 
  width: 40px; 
  height: 40px; 
  display: flex; /* Changed to flex to better handle SVG */
  align-items: center;
  justify-content: center;
  border-radius: 50%; 
  font-weight: 800; 
  box-shadow: 0 5px 15px rgba(255,62,0,0.3);
  transition: transform 0.3s ease;
}
.step:hover .step-num {
  transform: rotate(360deg);
}
.step-num .icon-small {
  fill: #fff;
  color: #fff;
  width: 20px;
  height: 20px;
}
.step h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.step p {
  color: var(--text-soft);
  margin: 0;
}

/* About */
.about { grid-template-columns: 1.3fr 0.7fr; gap: 32px; }
.ticks { 
  padding-left: 24px; 
  margin: 20px 0 0; 
  list-style: none;
}
.ticks li { 
  margin: 12px 0; 
  position: relative;
  color: var(--text);
}
.ticks li::before {
  content: '✓';
  position: absolute;
  left: -24px;
  color: var(--brand);
  font-weight: bold;
}
.about-card { 
  background: var(--bg-card); 
  border: 1px solid var(--stroke); 
  border-radius: 12px; 
  padding: 24px; 
  box-shadow: 0 15px 30px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.05) inset;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at top right, rgba(255,62,0,0.15), transparent 70%);
  border-radius: 0 0 0 100%;
}
.about-card h3 { 
  margin: 0 0 16px; 
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  position: relative;
}
.about-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--brand-gradient);
  border-radius: 2px;
}
.about-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
}
.about-card li {
  margin: 10px 0;
}

/* Contact */
.contact-form label { 
  display: grid; 
  gap: 8px; 
  color: var(--text);
}
.contact-form span {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 12px 16px;
  font: inherit;
  background: var(--bg-card);
  color: var(--text);
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) inset;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,62,0,0.15);
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.6;
}
.form-actions { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  margin-top: 20px; 
}
.form-hint { 
  color: var(--text-soft); 
  font-size: 14px; 
  font-style: italic;
}

/* Buttons */
.cta { 
  background: var(--brand-gradient); 
  color: #fff; 
  border: none; 
  border-radius: 8px; 
  padding: 12px 24px; 
  text-decoration: none; 
  font-weight: 700; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  box-shadow: 0 8px 20px rgba(255, 62, 0, 0.3); 
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.6s ease;
}
.arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.cta:hover .arrow {
  transform: translateX(4px);
}
.arrow-up {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.3s ease;
}
a:hover .arrow-up {
  transform: translate(2px, -2px);
}
.cta:hover { 
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 62, 0, 0.4);
}
.cta:hover::before {
  left: 100%;
}
.cta--ghost { 
  background: transparent; 
  color: var(--brand); 
  border: 2px solid var(--brand); 
  box-shadow: none; 
  position: relative;
  z-index: 1;
}
.cta--ghost::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--brand-gradient);
  z-index: -1;
  transition: all 0.3s ease;
}
.cta--ghost:hover {
  color: #fff;
  border-color: transparent;
}
.cta--ghost:hover::after {
  width: 100%;
}
.cta--sm { 
  padding: 8px 16px; 
  font-size: 13px;
}

/* Footer */
.site-footer { 
  margin-top: 60px; 
  border-top: 1px solid var(--stroke); 
  background: var(--bg-alt); 
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-gradient);
}
.footer-inner { 
  display: grid; 
  grid-template-columns: 1fr auto auto; 
  align-items: center; 
  gap: 32px; 
  padding: 40px 0 30px; 
}
.footer-brand { 
  display: inline-flex; 
  align-items: center; 
  color: var(--text);
}
/* Footer logo with enhanced visibility */
.footer-brand img { 
  height: 35px; 
  width: auto; 
  /* Advanced filters for better visibility */
  filter: brightness(1.5) contrast(1.4) saturate(1.2) drop-shadow(0 0 5px rgba(255,255,255,0.7));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Light background container */
  background: rgba(255,255,255,0.2);
  padding: 8px;
  border-radius: 8px;
  /* Glow effect */
  box-shadow: 
    0 0 10px rgba(255,255,255,0.3),
    0 0 20px rgba(255,62,0,0.1),
    inset 0 0 8px rgba(255,255,255,0.1);
  /* Subtle border */
  border: 1px solid rgba(255,255,255,0.2);
}

/* Hover effects */
.footer-brand:hover img {
  filter: brightness(1.6) contrast(1.5) saturate(1.3) drop-shadow(0 0 8px rgba(255,255,255,0.8));
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  box-shadow: 
    0 0 15px rgba(255,255,255,0.4),
    0 0 30px rgba(255,62,0,0.2),
    inset 0 0 10px rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}
.footer-links, .footer-social { 
  display: inline-flex; 
  gap: 24px; 
}
.footer-links a, .footer-social a { 
  color: var(--text-soft); 
  text-decoration: none; 
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  position: relative;
}
.footer-links a::after, .footer-social a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width 0.2s ease;
}
.footer-links a:hover, .footer-social a:hover { 
  color: var(--text); 
  transform: translateY(-2px);
}
.footer-links a:hover::after, .footer-social a:hover::after {
  width: 100%;
}
.legal { 
  text-align: center; 
  font-size: 13px; 
  color: var(--text-soft); 
  padding: 16px 0 20px; 
  border-top: 1px solid var(--stroke); 
}
.tagline-small {
  display: block;
  margin-top: 6px;
  font-style: italic;
  opacity: 0.7;
  font-size: 12px;
}

/* Brand Customizer */
.brand-customizer { 
  margin-top: 60px; 
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

.brand-customizer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(255,62,0,0.1), transparent 70%);
  border-radius: 0 0 0 100%;
  z-index: 0;
}

.brand-customizer h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text);
  position: relative;
  z-index: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.customizer-lead {
  color: var(--text-soft);
  margin: 0 0 30px;
  font-size: 16px;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.customizer-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.customizer-section {
  background: rgba(30,30,30,0.5);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.customizer-section:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transform: translateY(-5px);
  border-color: var(--brand);
}

.customizer-section h4 {
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Color options */
.color-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.preset-colors {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-preset {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.color-preset:hover, .color-preset.active {
  transform: scale(1.1);
  border-color: var(--text);
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.color-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker-wrapper label {
  color: var(--text-soft);
  font-size: 14px;
}

#color-picker {
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  height: 36px;
  width: 80px;
  cursor: pointer;
}

/* Logo uploader */
.logo-uploader {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.file {
  display: block;
}

.file input { display: none; }

.file span { 
  border: 1px solid var(--stroke); 
  border-radius: 8px; 
  padding: 10px 16px; 
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer; 
  background: var(--bg);
  color: var(--text);
  transition: all 0.2s ease;
  font-size: 14px;
}

.file span:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,62,0,0.1);
  background: rgba(255,62,0,0.05);
}

.logo-preview {
  background: var(--bg);
  border: 1px dashed var(--stroke);
  border-radius: 8px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.preview-placeholder {
  color: var(--text-soft);
  font-size: 14px;
  text-align: center;
}

.preview-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.5s ease;
}

.preview-container img.extracted {
  animation: pulse-glow 1s ease;
}

@keyframes pulse-glow {
  0% { filter: drop-shadow(0 0 0 rgba(255,62,0,0)); }
  50% { filter: drop-shadow(0 0 15px rgba(255,62,0,0.8)); }
  100% { filter: drop-shadow(0 0 0 rgba(255,62,0,0)); }
}

/* Color result */
.color-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.swatch { 
  width: 48px; 
  height: 48px; 
  border-radius: 8px; 
  border: 1px solid var(--stroke); 
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  background: var(--brand);
  transition: all 0.3s ease;
}

.swatch:hover {
  transform: scale(1.1);
}

code {
  color: var(--text);
  font-family: monospace;
  background: var(--bg);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--stroke);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.color-palette {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.palette-color {
  height: 24px;
  flex: 1;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.palette-color:hover {
  transform: scaleY(1.2);
}

.palette-color.primary {
  background: var(--brand);
}

.palette-color.secondary {
  background: var(--brand-600);
}

.palette-color.accent {
  background: var(--accent);
}

/* Customizer actions */
.customizer-actions {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.customizer-info {
  color: var(--text-soft);
  font-size: 14px;
  font-style: italic;
  max-width: 400px;
}

@media (max-width: 768px) {
  .customizer-options {
    grid-template-columns: 1fr;
  }
  
  .customizer-actions {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { margin-top: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links, .footer-social { margin-top: 16px; }
}

@media (max-width: 600px) {
  .cards-4 { grid-template-columns: 1fr; }
  .service {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .nav { 
    display: none; 
    position: absolute; 
    top: 60px; 
    right: 4%; 
    flex-direction: column; 
    background: var(--bg-card); 
    border: 1px solid var(--stroke); 
    border-radius: 12px; 
    padding: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 100;
  }
  .nav a { padding: 10px 16px; }
  .nav a::after { bottom: 6px; }
  .nav-toggle { display: inline-block; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .cta { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,62,0,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255,62,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,62,0,0); }
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--stroke);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

/* Form validation styles */
.contact-form input.valid, .contact-form textarea.valid {
  border-color: #00c853;
}

.contact-form input.invalid, .contact-form textarea.invalid {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(255,62,0,0.2);
}

.contact-form label.focused span {
  color: var(--brand);
}

.sending {
  position: relative;
  overflow: hidden;
}

.sending::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: sending-pulse 1.5s infinite;
}

@keyframes sending-pulse {
  0% { left: -100%; }
  100% { left: 100%; }
}

.sent {
  background: #00c853 !important;
}

/* Color transition */
.color-transition * {
  transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

