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

:root {
  --bg: #0d0d12;
  --card: rgba(25,30,45,0.5);
  --accent: #00d4ff;
  --accent2: #ffb84d;
  --text: #f0f4f8;
  --muted: #a0b0c0;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
  overflow-x:hidden;
}

/* ==================== HEADER & NAV ==================== */
.main-nav {
  position:fixed;
  top:0; left:0; right:0;
  z-index:9999;
  background:rgba(13,13,20,0.95);
  backdrop-filter:blur(20px);
  padding:20px 0;
  border-bottom:1px solid rgba(0,212,255,0.15);
}
.main-nav .container {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* Logo */
.xerixa-logo {
  height:56px;
  width:auto;
  transition:all .4s ease;
}
.xerixa-logo:hover {
  filter:drop-shadow(0 0 35px var(--accent));
  transform:translateY(-2px);
}
.footer .xerixa-logo { height:48px; }

/* Nav links */
.nav-links {
  display:flex;
  gap:40px;
  list-style:none;
}
.nav-links a {
  color:var(--text);
  font-weight:500;
  padding:8px 0;
  position:relative;
}
.nav-links a::after {
  content:'';
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width .4s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width:100%; }
.nav-links a:hover { color:var(--accent); }

/* Hamburger (mobile) */
.hamburger {
  display:none;
  flex-direction:column;
  gap:6px;
}
.hamburger span {
  width:28px;
  height:3px;
  background:var(--accent);
}

/* ==================== HERO ==================== */
.hero {
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:140px 20px 80px;
  overflow:hidden;
  background:#0d0d12;
}

/* Cursor smoke canvas */
#cursor-smoke {
  position:absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:1;
}

/* Floating particles (fallback/subtle) */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  background: #00d4ff;
  border-radius: 50%;
  box-shadow: 0 0 15px #00d4ff, 0 0 30px #00d4ff;
  opacity: 0;
  animation: rise-up linear infinite;
}

.hero-particles span:nth-child(1)  { left: 10%; width: 5px; height: 5px; animation-duration: 18s; animation-delay: 0s; }
.hero-particles span:nth-child(2)  { left: 25%; width: 4px; height: 4px; animation-duration: 22s; animation-delay: 2s; }
.hero-particles span:nth-child(3)  { left: 40%; width: 6px; height: 6px; animation-duration: 15s; animation-delay: 4s; }
.hero-particles span:nth-child(4)  { left: 55%; width: 5px; height: 5px; animation-duration: 20s; animation-delay: 6s; }
.hero-particles span:nth-child(5)  { left: 70%; width: 4px; height: 4px; animation-duration: 25s; animation-delay: 8s; }
.hero-particles span:nth-child(6)  { left: 85%; width: 7px; height: 7px; animation-duration: 16s; animation-delay: 10s; }
.hero-particles span:nth-child(7)  { left: 15%; width: 5px; height: 5px; animation-duration: 19s; animation-delay: 12s; }
.hero-particles span:nth-child(8)  { left: 30%; width: 6px; height: 6px; animation-duration: 21s; animation-delay: 14s; }
.hero-particles span:nth-child(9)  { left: 45%; width: 4px; height: 4px; animation-duration: 17s; animation-delay: 16s; }
.hero-particles span:nth-child(10) { left: 60%; width: 5px; height: 5px; animation-duration: 23s; animation-delay: 18s; }
.hero-particles span:nth-child(11) { left: 75%; width: 6px; height: 6px; animation-duration: 18s; animation-delay: 1s; }
.hero-particles span:nth-child(12) { left: 90%; width: 5px; height: 5px; animation-duration: 20s; animation-delay: 3s; }

@keyframes rise-up {
  0% {
    opacity: 0;
    transform: translateY(120vh) translateX(0);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-30vh) translateX(calc((random() - 0.5) * 80vw)); 
  }
}

/* Text */
.hero h2 {
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(4.5rem,10vw,8rem);
  font-weight:700;
  color:transparent;
  background:linear-gradient(90deg,#00d4ff,#ffffff,#00d4ff);
  -webkit-background-clip:text;
  background-clip:text;
  animation:textGlow 6s ease-in-out infinite alternate;
}
@keyframes textGlow {
  from { text-shadow:0 0 40px #00d4ff; }
  to { text-shadow:0 0 80px #00d4ff,0 0 120px #00d4ff; }
}
.hero .subtitle {
  font-size:1.6rem;
  max-width:800px;
  margin:30px auto 60px;
  color:#b8e8e8;
  opacity:0;
  animation:fadeInUp 1.2s ease-out 0.6s forwards;
}
.cta-buttons {
  opacity:0;
  animation:fadeInUp 1.2s ease-out 1s forwards;
}
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(40px); }
  to { opacity:1; transform:translateY(0); }
}

/* Buttons */
.cta-primary {
  display:inline-block;
  padding:18px 48px;
  margin:12px;
  background:transparent;
  color:var(--accent);
  border:2px solid var(--accent);
  border-radius:50px;
  font-weight:600;
  transition:all .4s;
  position:relative;
  overflow:hidden;
  animation:buttonPulse 4s infinite;
}
.cta-primary:hover {
  background:var(--accent);
  color:#000;
  transform:translateY(-6px);
}
@keyframes buttonPulse {
  0%,100% { box-shadow:0 0 20px rgba(0,212,255,0.6); }
  50% { box-shadow:0 0 40px rgba(0,212,255,0.8); }
}

/* ==================== GENERAL ==================== */
section { padding:120px 0; }
.container { max-width:1300px; margin:0 auto; padding:0 24px; }

/* Scroll reveal */
.reveal { opacity:0; transform:translateY(60px); transition:all 1s cubic-bezier(0.165,0.84,0.44,1); }
.reveal.show { opacity:1; transform:translateY(0); }

/* ==================== SERVICES / PRICING CARDS ==================== */
.services-grid,
.pricing-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
  gap:50px;
  margin-top:80px;
}
.service-card,
.pricing-card {
  position:relative;
  background:var(--card);
  backdrop-filter:blur(20px);
  border-radius:28px;
  border:1px solid rgba(0,212,255,0.2);
  padding:50px 40px;
  text-align:center;
  transition:all .7s cubic-bezier(0.23,1,0.32,1);
}
.service-card:hover,
.pricing-card:hover {
  transform:translateY(-20px);
  border-color:var(--accent);
  box-shadow:0 40px 80px rgba(0,212,255,0.3);
}
.pricing-card.popular,
.service-card.premium {
  border:2px solid var(--accent);
}
.popular-badge {
  position:absolute;
  top:-15px;
  left:50%;
  transform:translateX(-50%);
  background:var(--accent);
  color:#000;
  padding:8px 24px;
  border-radius:50px;
  font-weight:700;
  font-size:0.9rem;
}

/* Icons */
.icon-wrapper {
  width:118px;
  height:80px;
  margin:0 auto 45px;
  background:rgba(0,212,255,0.15);
  border:2px solid rgba(0,212,255,0.4);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.service-icon {
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 0 20px #00d4ff);
  transition:all .4s ease;
}
.service-card:hover .service-icon,
.pricing-card:hover .service-icon {
  filter:drop-shadow(0 0 45px #00d4ff);
  transform:scale(1.08);
}

/* Text */
.service-card h3,
.pricing-card h3 {
  font-size:2.2rem;
  margin:20px 0 16px;
}
.service-card .price,
.pricing-card .price {
  font-size:2.8rem;
  color:var(--accent);
  font-weight:700;
  margin:30px 0;
}
.service-card .description,
.pricing-card .description {
  color:var(--muted);
  margin-bottom:30px;
}
.features {
  list-style:none;
  margin:30px 0;
}
.features li {
  font-size:1.05rem;
  color:#d0e0e8;
  margin-bottom:14px;
  position:relative;
  padding-left:28px;
}
.features li::before {
  content:'✓';
  position:absolute;
  left:0;
  color:var(--accent);
  font-weight:bold;
  font-size:1.2rem;
}

/* Add-ons */
.addons-title {
  text-align:center;
  font-size:2.8rem;
  margin:120px 0 60px;
}
.addons-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:40px;
}
.addon-card {
  background:var(--card);
  backdrop-filter:blur(20px);
  border-radius:24px;
  border:1px solid rgba(0,212,255,0.2);
  padding:40px;
  text-align:center;
  transition:all .5s;
}
.addon-card:hover {
  transform:translateY(-15px);
  border-color:var(--accent);
  box-shadow:0 30px 60px rgba(0,212,255,0.25);
}
.addon-icon {
  font-size:3.5rem;
  margin-bottom:20px;
}
.addon-card h4 {
  font-size:1.8rem;
  margin-bottom:12px;
}
.addon-card p {
  color:var(--muted);
  margin-bottom:20px;
}
.addon-card .price {
  font-size:1.6rem;
  color:var(--accent);
  font-weight:700;
}

/* ==================== PORTFOLIO ==================== */
.portfolio-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(380px,1fr));
  gap:50px;
  margin:80px 0;
}
.project-card {
  position:relative;
  overflow:hidden;
  border-radius:20px;
}
.project-card img {
  width:100%;
  height:auto;
  display:block;
  transition:.5s;
}
.project-overlay {
  position:absolute;
  inset:0;
  background:rgba(13,13,20,0.9);
  padding:40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
  opacity:0;
  transition:.5s;
}
.project-card:hover .project-overlay { opacity:1; }
.project-card:hover img { transform:scale(1.1); }
.learn-more {
  color:var(--accent);
  font-weight:600;
  margin-top:20px;
  display:inline-block;
}

/* Laptop Mockup (homepage & portfolio) */
.portfolio-mockup,
.laptop-mockup {
  text-align:center;
  margin:100px auto;
  max-width:900px;
}
.laptop-frame {
  position:relative;
  width:100%;
  padding-bottom:62%;
  background:#000;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 40px 100px rgba(0,0,0,0.7);
  margin-bottom:40px;
}

.laptop-frame::before {
  content:'';
  position:absolute;
  bottom:-50px;
  left:50%;
  width:70%;
  height:50px;
  background:#111;
  border-radius:0 0 30px 30px;
  transform:translateX(-50%);
}
.laptop-frame video {
  position:absolute;
  top:4%;
  left:0;
  width:100%;
  height:92%;
  object-fit:cover;
  border-radius:16px;
}
.portfolio-mockup h3 {
  font-size:2.4rem;
  margin:30px 0 16px;
}
.portfolio-mockup p {
  font-size:1.2rem;
  color:var(--muted);
  max-width:700px;
  margin:0 auto 30px;
}

/* Case Study Box (portfolio page) */
.case-study-box {
  background:rgba(20,30,60,0.4);
  backdrop-filter:blur(20px);
  border-radius:24px;
  border:1px solid rgba(0,212,255,0.3);
  padding: 50px 40px;
  box-shadow:0 20px 60px rgba(0,0,0,0.5),
              inset 0 0 40px rgba(0,212,255,0.08);
}
.case-study-box h3 {
  font-family:'Space Grotesk',sans-serif;
  font-size:2.8rem;
  color:var(--accent);
  margin-bottom:20px;
  position:relative;
  padding-bottom:12px;
}
.case-study-box h3::after {
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:80px;
  height:4px;
  background:var(--accent);
  border-radius:2px;
}
.case-study-box .tags {
  font-size:1rem;
  color:var(--muted);
  margin-bottom:30px;
  letter-spacing:2px;
  text-transform:uppercase;
}
.case-study-box p {
  font-size:1.1rem;
  color:#d0e0e8;
  line-height:1.8;
  margin-bottom:24px;
}

/* ==================== LEGAL & ABOUT PAGES ==================== */
.page-hero,
.about-hero {
  padding:160px 0 80px;
  text-align:center;
  background:linear-gradient(to bottom,rgba(0,212,255,0.08),transparent);
  border-bottom:1px solid rgba(0,212,255,0.2);
}
.page-hero h1,
.about-hero h1 {
  font-family:'Space Grotesk',sans-serif;
  font-size:4rem;
  color:var(--text);
  margin-bottom:10px;
}
.page-hero .subtitle,
.about-hero .subtitle {
  font-size:1.3rem;
  color:var(--muted);
}

.legal-content,
.about-content {
  padding:100px 0;
}
.legal-content .container,
.about-content .container {
  max-width:900px;
  margin:0 auto;
  padding:60px 50px;
  background:rgba(20,30,60,0.4);
  backdrop-filter:blur(20px);
  border-radius:24px;
  border:1px solid rgba(0,212,255,0.3);
  box-shadow:0 20px 60px rgba(0,0,0,0.5),
              inset 0 0 40px rgba(0,212,255,0.08);
}

.legal-content h2,
.about-content h2 {
  font-family:'Space Grotesk',sans-serif;
  font-size:2.4rem;
  color:var(--accent);
  margin:50px 0 20px;
  position:relative;
  padding-bottom:12px;
}
.legal-content h2::after,
.about-content h2::after {
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:60px;
  height:3px;
  background:var(--accent);
  border-radius:2px;
}

.legal-content p,
.legal-content li,
.about-content p,
.about-content li {
  font-size:1.1rem;
  color:#d0e0e8;
  line-height:1.8;
  margin-bottom:20px;
}
.legal-content ul,
.about-content ul {
  padding-left:30px;
  margin:20px 0;
}
.legal-content li,
.about-content li {
  margin-bottom:12px;
}
.legal-content a,
.about-content a {
  color:var(--accent);
  text-decoration:underline;
  transition:0.3s;
}
.legal-content a:hover,
.about-content a:hover {
  color:white;
  text-shadow:0 0 15px var(--accent);
}

/* ==================== WHY CHOOSE US ==================== */
.why-choose {
  padding:120px 0;
  background:rgba(0,212,255,0.05);
}
.why-choose h2 {
  text-align:center;
  font-size:3rem;
  margin-bottom:60px;
}
.features-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:40px;
}
.feature {
  font-size:1.1rem;
  color:var(--text);
  text-align:center;
  padding:40px;
  background:rgba(20,30,60,0.4);
  backdrop-filter:blur(20px);
  border-radius:20px;
  border:1px solid rgba(0,212,255,0.2);
  transition:all .5s;
}
.feature:hover {
  transform:translateY(-10px);
  box-shadow:0 20px 40px rgba(0,212,255,0.2);
}
.feature strong {
  display:block;
  font-size:1.4rem;
  color:var(--accent);
  margin-bottom:12px;
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
  padding:120px 0;
  text-align:center;
  background:linear-gradient(135deg,rgba(0,212,255,0.08),rgba(255,184,77,0.06));
}
.cta-banner h2 {
  font-size:3rem;
  margin-bottom:20px;
}
.cta-banner p {
  font-size:1.3rem;
  color:var(--muted);
  max-width:800px;
  margin:0 auto 40px;
}

/* ==================== FOOTER ==================== */
.footer {
  background:#0b0b10;
  padding:80px 0 0;
  border-top:1px solid rgba(0,212,255,0.12);
  margin-top:120px;
}
.footer-main {
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:60px;
  padding-bottom:50px;
}
.footer-column h4 {
  font-family:'Space Grotesk',sans-serif;
  font-size:1.5rem;
  margin-bottom:14px;
  color:var(--text);
}
.footer-column p {
  color:var(--muted);
  font-size:0.95rem;
  margin-bottom:18px;
}
newsletter-column {
  max-width: 340px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.newsletter-form input[type="email"] {
  flex: 1 1 220px;            /* grows, but doesn't shrink too much */
  min-width: 0;               /* prevents overflow on small screens */
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
  padding: 0 32px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #00b8ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form button {
    width: 100%;
    padding: 16px;
  }
}
.links-column ul { list-style:none; }
.links-column li { margin-bottom:10px; }
.links-column a {
  color:var(--muted);
  text-decoration:none;
  transition:.3s;
}
.links-column a:hover { color:var(--accent); }
.contact-column p { margin-bottom:20px; }
.contact-column a { color:var(--muted); }
.contact-column a:hover { color:var(--accent); }
.payment-logos {
  display:flex;
  align-items:center;
  gap:12px;
}

/* Footer bottom */
.footer-bottom {
  background:rgba(8,8,12,0.8);
  padding:20px 0;
  border-top:1px solid rgba(0,212,255,0.1);
  text-align:center;
  font-size:0.9rem;
  color:var(--muted);
}
.footer-bottom a {
  color:var(--muted);
  margin:0 10px;
  text-decoration:none;
}
.footer-bottom a:hover { color:var(--accent); }

/* ==================== MOBILE ==================== */
@media (max-width:900px) {
  .footer-main {
    grid-template-columns:1fr;
    text-align:center;
    gap:50px;
  }
  .newsletter-form { margin:0 auto; justify-content:center; }
  .payment-logos { justify-content:center; }
}

@media (max-width:768px) {
  .hamburger { display:flex; }
  .nav-links {
    position:fixed;
    top:90px; left:0; width:100%; background:var(--bg);
    flex-direction:column;
    max-height:0;
    overflow:hidden;
    transition:.5s;
  }
  .nav-links.active { max-height:500px; padding:30px 0; }
  .project, .contact-grid { grid-template-columns:1fr; }
  .service-card, .pricing-card, .addon-card, .feature {
    padding:40px 30px;
  }
  .case-study-box, .legal-content .container, .about-content .container {
    padding:40px 30px;
    border-radius:20px;
  }
  .case-study-box h3, .legal-content h2, .about-content h2 { font-size:2rem; }
  .page-hero h1, .about-hero h1 { font-size:3.2rem; }
}

/* === TESTIMONIALS — PREMIUM GLASS CARDS === */
.testimonials {
  padding:140px 0;
  background:rgba(0,212,255,0.05);
}
.testimonials h2 {
  text-align:center;
  font-size:3.4rem;
  margin-bottom:20px;
}
.testimonials .section-subtitle {
  text-align:center;
  font-size:1.3rem;
  color:var(--muted);
  max-width:800px;
  margin:0 auto 80px;
}

.testimonials-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
  gap:50px;
}

.testimonial-card {
  position:relative;
  background:var(--card);
  backdrop-filter:blur(20px);
  border-radius:28px;
  border:1px solid rgba(0,212,255,0.2);
  padding:60px 40px;
  text-align:center;
  transition:all .7s cubic-bezier(0.23,1,0.32,1);
  overflow:hidden;
}
.testimonial-card:hover {
  transform:translateY(-20px);
  border-color:var(--accent);
  box-shadow:0 40px 80px rgba(0,212,255,0.3);
}

/* Stars */
.stars {
  font-size:2rem;
  color:#ffd700;
  margin-bottom:20px;
  letter-spacing:4px;
}

/* Quote text */
.testimonial-card p {
  font-size:1.2rem;
  color:#d8e8f0;
  line-height:1.8;
  margin:30px 0;
}

/* Client info */
.client-info {
  margin-top:30px;
}
.client-info strong {
  display:block;
  font-size:1.3rem;
  color:var(--text);
}
.client-info span {
  font-size:1rem;
  color:var(--muted);
}

/* Mobile */
@media (max-width:768px) {
  .testimonial-card {
    padding:50px 30px;
  }
}

/* === CONTACT PAGE — CLEAN & PROFESSIONAL === */
.contact {
  padding:140px 0;
}
.contact-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  margin-top:60px;
}

/* Form Column */
.contact-form-wrapper h2 {
  font-size:2.8rem;
  margin-bottom:30px;
}
.contact-form {
  display:flex;
  flex-direction:column;
  gap:20px;
}
.contact-form input,
.contact-form textarea {
  width:100%;
  padding:16px 20px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(0,212,255,0.3);
  border-radius:12px;
  color:white;
  font-size:1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(0,212,255,0.2);
}
.contact-form textarea {
  resize:vertical;
  min-height:160px;
}
.contact-form button {
  align-self:flex-start;
  padding:18px 48px;
}
.form-note {
  font-size:0.95rem;
  color:var(--muted);
  margin-top:20px;
  text-align:center;
}

/* Info Column */
.contact-info h2 {
  font-size:2.4rem;
  margin-bottom:30px;
}
.contact-item {
  margin-bottom:30px;
}
.contact-item h4 {
  font-size:1.4rem;
  color:var(--accent);
  margin-bottom:8px;
}
.contact-item p {
  font-size:1.1rem;
  color:var(--muted);
}
.trust-signals p {
  font-size:1rem;
  margin:12px 0;
  color:var(--text);
}
.trust-signals strong {
  color:var(--accent);
}

/* Mobile */
@media (max-width:900px) {
  .contact-grid {
    grid-template-columns:1fr;
    gap:100px;
  }
}