@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ==============================================
   DAMPIS SERVISS — ULTRA PREMIUM UI
   ============================================== */

:root {
  --blue-primary: #00c6ff;
  --blue-deep:    #0072ff;
  --blue-solid:   #008fd3;
  --text-dark:    #0f172a;
  --text-muted:   #64748b;
  
  --glass-bg:     rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(0, 114, 255, 0.05);
  
  --nav-h:        90px;
  --rad-sm:       12px;
  --rad-md:       24px;
  --rad-lg:       40px;
  
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:  cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ──────── RESET ──────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  
  /* Rich Mesh Gradient Background */
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 0% 0%, rgba(0, 198, 255, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(0, 114, 255, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(0, 198, 255, 0.05) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(0, 114, 255, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; border-radius: var(--rad-md); }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ──────── GLOBAL LAYOUT ──────── */
.container { max-width: 1300px; margin: 0 auto; padding: 0 30px; }
.section { padding: 120px 0; position: relative; }

/* ──────── TYPOGRAPHY ──────── */
h1, h2, h3, h4 { color: var(--text-dark); font-weight: 800; line-height: 1.1; letter-spacing: -1px; }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.title { font-size: clamp(40px, 6vw, 60px); letter-spacing: -2px; margin-bottom: 24px; }
.subtitle { font-size: 20px; color: var(--text-muted); max-width: 600px; font-weight: 400; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .subtitle { margin: 0 auto; }

/* ──────── BUTTONS ──────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.4s var(--ease-elastic);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: ''; position: absolute; inset: 0; border-radius: 999px; z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  box-shadow: 0 10px 25px -5px rgba(0, 114, 255, 0.4);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-primary::before { background: linear-gradient(135deg, var(--blue-deep), var(--blue-primary)); opacity: 0; }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 35px -5px rgba(0, 114, 255, 0.6); color: #fff; }
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  border: 2px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.btn-outline:hover {
  border-color: var(--blue-solid);
  color: var(--blue-solid);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 114, 255, 0.1);
}

/* ──────── NAV GLASSMORPHISM ──────── */
.nav {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1300px;
  height: 70px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  box-shadow: var(--glass-shadow);
  z-index: 1000;
  transition: all 0.4s var(--ease-smooth);
}
.nav.scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 24px; }

.nav-logo { font-size: 26px; font-weight: 900; letter-spacing: -1px; color: var(--text-dark); display: flex; align-items: center; gap: 6px;}
.nav-logo span { color: var(--blue-solid); }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 16px; font-weight: 600; color: var(--text-muted); position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--blue-deep); transition: width 0.3s ease; border-radius: 2px;
}
.nav-links a:hover { color: var(--text-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-actions .btn { padding: 10px 24px; font-size: 14px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: 0.3s; }

/* ──────── HERO ──────── */
.hero {
  padding: 220px 0 120px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.hero-title {
  font-size: clamp(54px, 7vw, 90px);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 30px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-desc { font-size: 22px; margin-bottom: 40px; color: var(--text-muted); max-width: 580px; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.v-shape {
  position: absolute;
  inset: -15px;
  background: linear-gradient(135deg, rgba(0, 198, 255, 0.4), rgba(0, 114, 255, 0.1));
  border-radius: var(--rad-lg);
  transform: rotate(3deg);
  z-index: -1;
  filter: blur(10px);
}
.hero-img {
  width: 100%;
  border-radius: var(--rad-lg);
  box-shadow: 0 30px 60px rgba(0, 114, 255, 0.15);
  border: 4px solid #fff;
}

/* ──────── GLASS SERVICES GRID ──────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}
.srv-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--rad-md);
  padding: 44px 36px;
  box-shadow: var(--glass-shadow);
  transition: all 0.5s var(--ease-elastic);
  position: relative;
  overflow: hidden;
}
.srv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
  opacity: 0.5; z-index: -1; pointer-events: none;
}
.srv-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 25px 50px rgba(0, 114, 255, 0.08), 0 0 0 2px rgba(0, 114, 255, 0.1);
}
.srv-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, rgba(0, 198, 255, 0.15), rgba(0, 114, 255, 0.05));
  border: 1px solid rgba(0, 114, 255, 0.1);
  border-radius: var(--rad-sm);
  display: grid; place-items: center;
  color: var(--blue-deep);
  margin-bottom: 30px;
  transition: transform 0.5s var(--ease-elastic), background 0.3s;
}
.srv-card:hover .srv-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
}
.srv-title { font-size: 24px; margin-bottom: 16px; letter-spacing: -0.5px; }
.srv-desc { font-size: 16px; color: var(--text-muted); line-height: 1.7; }

/* ──────── ABOUT & BANNER ──────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text p { margin-bottom: 24px; color: var(--text-muted); font-size: 18px; line-height: 1.8; }
.about-features { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.feature { display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; color: var(--text-dark); }
.feature-icon {
  width: 40px; height: 40px;
  background: rgba(0, 114, 255, 0.1);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--blue-deep);
}

.about-banner {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  border-radius: var(--rad-lg);
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  margin-top: 140px;
  box-shadow: 0 30px 60px rgba(0, 114, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.about-banner::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.about-banner > * { position: relative; z-index: 1; }
.about-banner h3 { color: #fff; font-size: clamp(32px, 5vw, 48px); margin-bottom: 20px; letter-spacing: -1px; }
.about-banner p { color: rgba(255,255,255,.9); font-size: 20px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

.btn-white { background: #fff; color: var(--blue-deep); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.btn-white:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 15px 35px rgba(0,0,0,0.2); background: #f8fafc; }

/* ──────── FOOTER ──────── */
.footer { background: #0f172a; color: #fff; padding: 100px 0 40px; position: relative; margin-top: 100px; }
.f-wave { position: absolute; top: -50px; left: 0; width: 100%; height: 50px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 50" xmlns="http://www.w3.org/2000/svg"><path d="M0,0 C320,50 420,-50 1440,50 L1440,50 L0,50 Z" fill="%230f172a"/></svg>') no-repeat; background-size: cover; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; border-bottom: 1px solid rgba(255,255,255,.05); padding-bottom: 60px; margin-bottom: 40px; }
.f-logo { font-size: 32px; font-weight: 900; color: #fff; margin-bottom: 24px; display: block; letter-spacing: -1px; }
.f-logo span { color: var(--blue-primary); }
.f-desc { color: #94a3b8; font-size: 16px; max-width: 340px; line-height: 1.8; }
.f-title { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px; color: #fff; }
.f-links { display: flex; flex-direction: column; gap: 16px; }
.f-links a { color: #94a3b8; font-size: 16px; }
.f-links a:hover { color: #fff; padding-left: 5px; }
.f-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: #64748b; }
.f-bottom a { color: var(--blue-primary); }
.f-bottom a:hover { color: #fff; }

/* ──────── MOBILE ──────── */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; gap: 60px; }
  .section { padding: 80px 0; }
  .hero { padding: 180px 0 80px; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  
  .nav { width: 100%; top: 0; border-radius: 0; height: 80px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    font-size: 24px; gap: 40px; z-index: -1;
  }
  .nav-links.open { display: flex; }
  .nav-actions { display: none; }
  .hamburger { position: relative; z-index: 2; }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
