/* Veltura Studios Styles */
:root {
  --color-bg: #0f0f23;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-2: rgba(255, 255, 255, 0.02);
  --color-text: #ffffff;
  --color-accent: #b8c5d6;
  --color-primary: #667eea;
  --color-secondary: #764ba2;
  --shadow-1: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-2: 0 16px 48px rgba(102,126,234,0.4);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-bg) 0%, #1a1a2e 50%, #16213e 100%);
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Remove reactive hover: keep text visible and unmodified */
.reactive-text { position: static; color: inherit; -webkit-text-fill-color: inherit; background-image: none; }
.reactive-text:hover, .reactive-text:focus-visible { background-image: none; -webkit-text-fill-color: inherit; color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10000;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s ease;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative; text-decoration: none;
}
.logo::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); opacity: 0.6; border-radius: 2px; }

.nav-links { display: flex; list-style: none; gap: 24px; margin: 0; padding: 0; }
.nav-links a { color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 12px; position: relative; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease; }
/* soft gradient wash */
.nav-links a::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1)); opacity: 0; transition: opacity 0.2s ease; border-radius: inherit; pointer-events: none; }
/* animated underline */
.nav-links a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; border-radius: 2px; pointer-events: none; }
.nav-links a:hover, .nav-links a:focus-visible { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(102,126,234,0.25); color: #fff; }
.nav-links a:hover::before, .nav-links a:focus-visible::before { opacity: 1; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 80%, rgba(102,126,234,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(118,75,162,0.1) 0%, transparent 50%); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-20px);} }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 900; margin-bottom: 24px; letter-spacing: -0.04em; line-height: 1.1; background: linear-gradient(135deg, #ffffff 0%, var(--color-primary) 30%, var(--color-secondary) 70%, #ffffff 100%); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradientShift 8s ease-in-out infinite; }
@keyframes gradientShift { 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }
.hero p { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 40px; color: var(--color-accent); }

.cta-button { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); color: #fff; text-decoration: none; border-radius: var(--radius-md); font-weight: 600; font-size: 1.05rem; border: none; cursor: pointer; position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(102,126,234,0.25); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cta-button::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transform: translateX(-100%); transition: transform 0.6s ease; }
.cta-button:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-2); }
.cta-button:hover::before { transform: translateX(100%); }

/* Sections */
section { padding: 100px 0; position: relative; }
.section-title { text-align: center; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; margin-bottom: 60px; letter-spacing: -0.03em; line-height: 1.2; background: linear-gradient(135deg, #ffffff 0%, var(--color-primary) 50%, var(--color-secondary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; }
.section-title::after { content: ''; position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); border-radius: 2px; }

/* About */
.about { background: var(--color-surface-2); backdrop-filter: blur(10px); }
.about-content { text-align: center; max-width: 700px; margin: 0 auto; }
.about-content p { font-size: 1.15rem; color: var(--color-accent); line-height: 1.8; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 20px; }
.service-card { background: var(--color-surface); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 40px 28px; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; position: relative; overflow: hidden; box-shadow: var(--shadow-1); z-index: 0; }
.service-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(102,126,234,0.08), rgba(118,75,162,0.08)); opacity: 0; transition: opacity 0.25s ease; border-radius: inherit; pointer-events: none; }
/* Masked gradient border to avoid sharp corners */
.service-card::after { content: ''; position: absolute; inset: 0; padding: 2px; border-radius: inherit; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.service-card:hover { transform: translateY(-10px) scale(1.02); border-color: rgba(102,126,234,0.4); box-shadow: 0 20px 60px rgba(102,126,234,0.25); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }
/* Icon badge styling */
.service-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: radial-gradient(60% 60% at 50% 35%, rgba(255,255,255,0.25), rgba(255,255,255,0) 70%), linear-gradient(135deg, var(--color-primary), var(--color-secondary)); box-shadow: 0 12px 30px rgba(102,126,234,0.35), inset 0 0 8px rgba(255,255,255,0.12); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-icon svg { width: 34px; height: 34px; display: inline-block; }
.service-card:hover .service-icon { transform: translateY(-2px) scale(1.06); box-shadow: 0 18px 40px rgba(102,126,234,0.45), inset 0 0 10px rgba(255,255,255,0.16); }
.service-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.service-card p { color: var(--color-accent); font-size: 1rem; line-height: 1.7; }

/* Portfolio */
.portfolio { background: var(--color-surface-2); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.portfolio-item { background: var(--color-surface); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-radius: 20px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow-1); position: relative; }
/* Overlay fade on hover like original */
.portfolio-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(102,126,234,0.05), rgba(118,75,162,0.05)); opacity: 0; transition: opacity 0.25s ease; z-index: 1; border-radius: inherit; pointer-events: none; }
.portfolio-item:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 24px 64px rgba(102,126,234,0.2); border-color: rgba(102,126,234,0.3); }
.portfolio-item:hover::before { opacity: 1; }
.portfolio-image { height: 220px; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #fff; position: relative; overflow: hidden; border-top-left-radius: inherit; border-top-right-radius: inherit; }
.portfolio-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, rgba(255,255,255,0.12), transparent, rgba(255,255,255,0.12)); transform: translateX(-100%); transition: transform 0.6s ease; border-radius: inherit; pointer-events: none; }
.portfolio-item:hover .portfolio-image::before { transform: translateX(100%); }
.portfolio-content { padding: 24px; position: relative; z-index: 2; }
.portfolio-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.portfolio-content p { color: var(--color-accent); }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 10px; }
.process-step { text-align: center; }
.step-number { width: 72px; height: 72px; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; margin: 0 auto 20px; box-shadow: 0 8px 32px rgba(102,126,234,0.3); position: relative; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.step-number::before { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent, rgba(255,255,255,0.2)); transform: translateX(-100%); transition: transform 0.6s ease; border-radius: inherit; pointer-events: none; }
.process-step:hover .step-number { transform: scale(1.1) rotateZ(5deg); box-shadow: 0 12px 48px rgba(102,126,234,0.4); }
.process-step:hover .step-number::before { transform: translateX(100%); }
.process-step h3 { font-size: 1.25rem; margin-bottom: 10px; color: #fff; }
.process-step p { color: var(--color-accent); }

/* Contact */
.contact { background: var(--color-surface-2); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 800px; margin: 0 auto; }
.contact-card { background: var(--color-surface); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 40px 28px; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; position: relative; overflow: hidden; box-shadow: var(--shadow-1); }
.contact-card:hover { transform: translateY(-6px); border-color: rgba(102,126,234,0.3); box-shadow: 0 20px 60px rgba(102,126,234,0.25); }
.contact-icon { font-size: 3rem; margin-bottom: 16px; filter: drop-shadow(0 4px 12px rgba(102,126,234,0.3)); transition: transform 0.25s ease, filter 0.25s ease; }
/* Icon motion on hover */
.contact-card:hover .contact-icon { transform: scale(1.1) rotateY(10deg); filter: drop-shadow(0 8px 24px rgba(102,126,234,0.5)); }
.contact-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.contact-value { font-size: 1.05rem; color: var(--color-accent); margin-bottom: 20px; font-weight: 500; }
.copy-btn { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); color: #fff; border: none; border-radius: var(--radius-md); padding: 12px 20px; font-size: 1rem; font-weight: 600; cursor: pointer; position: relative; overflow: hidden; box-shadow: 0 6px 24px rgba(102,126,234,0.25); }
.copy-btn .copied-text { display: none; }
.copy-btn.copied { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.copy-btn.copied .copy-text { display: none; }
.copy-btn.copied .copied-text { display: inline; }

.success-message { background: rgba(34,197,94,0.18); border: 1px solid rgba(34,197,94,0.3); color: #22c55e; padding: 12px; border-radius: 10px; margin-top: 20px; text-align: center; }

/* Footer */
.site-footer { background: rgba(0, 0, 0, 0.3); padding: 32px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.social-links { display: flex; gap: 16px; }
.social-links a { color: var(--color-accent); font-size: 1.4rem; text-decoration: none; }
.social-links a:hover { color: var(--color-primary); }
.footer-email { color: var(--color-accent); text-decoration: none; }
.footer-email:hover { color: var(--color-primary); }

/* Reveal animations */
.reveal > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view > * { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; right: 20px; top: 64px; flex-direction: column; background: rgba(0,0,0,0.9); padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .hero { padding: 80px 0; }
  section { padding: 64px 0; }
  .footer-content { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
