:root{
  --bg: #0a0a0a;
  --bg-secondary: #111111;
  --muted: #bfc7d6;
  --accent: #00c48c;
  --accent-2: #5b8cff;
  --accent-glow: rgba(0,196,140,0.3);
  --white: #ffffff;
  --container: 1100px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial;
  background:var(--bg);
  color:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  position:relative;
}
body::before{
  content:'';
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:radial-gradient(circle at 20% 50%, rgba(0,196,140,0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(91,140,255,0.05) 0%, transparent 50%);
  pointer-events:none;
  z-index:0;
}
.container{max-width:var(--container);margin:0 auto;padding:0 20px;position:relative;z-index:1}

/* Header */
.site-header{
  background:rgba(10,10,10,0.8);
  backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(255,255,255,0.05);
  position:sticky;
  top:0;
  z-index:50;
  transition:all 0.3s ease;
}
.site-header.scrolled{
  background:rgba(10,10,10,0.95);
  box-shadow:0 4px 20px rgba(0,0,0,0.3);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:18px 0;min-height:60px}
.brand{
  font-weight:700;
  color:var(--white);
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:10px;
  transition:transform 0.3s ease;
  line-height:1;
}
.brand:hover{transform:scale(1.05)}
.brand:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:4px;
  border-radius:4px;
}
.brand-text{line-height:1;display:flex;align-items:center}
.brand-logo{width:34px;height:auto;max-height:34px;object-fit:contain;display:block;transition:transform 0.3s ease;flex-shrink:0}
.brand:hover .brand-logo{transform:rotate(5deg)}
.nav{flex:1;display:flex;align-items:center;justify-content:flex-end}
.nav-list{display:flex;align-items:center;list-style:none;margin:0;padding:0;justify-content:flex-end;flex:1;max-width:480px;margin-left:auto;gap:32px}
.nav-list a{
  text-decoration:none;
  color:var(--white);
  position:relative;
  transition:color 0.3s ease;
  padding:4px 0;
  line-height:1;
  display:inline-flex;
  align-items:center;
}
.nav-list a::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width 0.3s ease;
}
.nav-list a:hover{color:var(--accent)}
.nav-list a:hover::after{width:100%}
.nav-list a:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:4px;
  border-radius:4px;
}
.nav-list a.btn,
.nav-list a.btn-ghost,
.nav-list a.btn-primary{
  background:transparent;
  border:none;
  box-shadow:none;
  padding:4px 0;
  border-radius:0;
  font-weight:400;
}
.nav-list a.btn::before{display:none}
.nav-toggle{display:none;background:transparent;border:0;cursor:pointer;padding:8px}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:#fff;
  margin:4px 0;
  transition:all 0.3s ease;
}
.nav-toggle:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  border-radius:4px;
}

.apply-top, .apply-bottom{
  text-align: center;
  padding: 20px 0;
}

.apply-btn{
  display: inline-block;
  transition: transform 0.3s ease;
}

.apply-btn:hover{
  transform: scale(1.05);
}

.review-graphic{
  display: block;
  margin: 0 auto 20px;
  max-width: 100%;
  height: auto;
  border: 2px solid var(--accent);
  border-radius: 8px;
}
.stats-graphic{
  display: block;
  margin: 0 0 40px 0;
  max-width: 100%;
  text-align: left;
}
.stats-graphic-inner{
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}
.stat-box{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number{
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 0;
}
.stat-text{
  font-size: 16px;
  color: var(--accent);
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 680px){
  .stats-graphic-inner{
    flex-direction: column;
    gap: 20px;
  }
  .stat-number{
    font-size: 36px;
  }
  .stat-text{
    font-size: 14px;
  }
}


/* Hero */
.hero{
  padding:72px 0;
  position:relative;
  overflow:hidden;
}
.hero-inner{
  display:grid;
  grid-template-columns:1fr 520px;
  gap:32px;
  align-items:center;
  position:relative;
  z-index:1;
}
.hero-copy{
  animation:fadeInUp 0.8s ease-out;
}
.hero h1{
  font-size:40px;
  line-height:1.05;
  margin:0 0 12px;
  background:linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.lead{
  color:var(--muted);
  margin:0 0 18px;
  animation:fadeInUp 0.8s ease-out 0.2s both;
}
.hero-ctas{
  display:flex;
  gap:12px;
  margin-bottom:12px;
  animation:fadeInUp 0.8s ease-out 0.4s both;
}
.hero-media{
  animation:fadeInRight 0.8s ease-out 0.3s both;
  position:relative;
}
.hero-media img{
  width:100%;
  border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,0.5);
  transition:transform 0.5s ease, box-shadow 0.5s ease;
}
.hero-media:hover img{
  transform:scale(1.02) translateY(-5px);
  box-shadow:0 20px 40px rgba(0,196,140,0.2);
}

.btn{
  display:inline-block;
  padding:11px 18px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
}
.btn::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  border-radius:50%;
  background:rgba(255,255,255,0.2);
  transform:translate(-50%,-50%);
  transition:width 0.6s ease, height 0.6s ease;
}
.btn:hover::before{
  width:300px;
  height:300px;
}
.btn-primary{
  background:var(--accent);
  color:var(--bg);
  box-shadow:0 4px 15px rgba(0,196,140,0.3);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(0,196,140,0.4);
}
.btn:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
.btn-ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,0.1);
  color:var(--white);
}
.btn-ghost:hover{
  background:rgba(255,255,255,0.05);
  border-color:rgba(255,255,255,0.2);
  transform:translateY(-2px);
}

/* Services */
.section{
  padding:56px 0;
  position:relative;
  z-index:1;
}
.section-title{
  font-size:22px;
  margin:0 0 6px;
  opacity:0;
  transform:translateY(20px);
  transition:opacity 0.6s ease, transform 0.6s ease;
}
.section-title.in-view{
  opacity:1;
  transform:translateY(0);
}
.section-sub{
  color:var(--muted);
  margin:0 0 18px;
  opacity:0;
  transform:translateY(20px);
  transition:opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.section-sub.in-view{
  opacity:1;
  transform:translateY(0);
}
.service-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.service-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  padding:24px;
  border-radius:12px;
  min-height:180px;
  border:1px solid rgba(255,255,255,0.05);
  transition:opacity 0.6s ease, transform 0.6s ease;
  opacity:0;
  transform:translateY(30px);
  position:relative;
  overflow:hidden;
}
.service-card.in-view{
  opacity:1;
  transform:translateY(0);
}
.service-card .icon-wrap{
  margin-bottom:12px;
}
.service-card h3{
  margin:0 0 8px;
}
.service-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.cpl-box{
  margin-top:12px;
  background:rgba(0,0,0,0.3);
  border:1px solid rgba(0,196,140,0.2);
  padding:8px 12px;
  border-radius:8px;
  display:inline-block;
}
.cpl-price{
  font-weight:700;
  color:var(--accent);
}

/* Work */
.work-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
.work-item{
  opacity:0;
  transform:translateY(30px);
  transition:opacity 0.6s ease, transform 0.6s ease;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  border-radius:12px;
}
.work-item.in-view{
  opacity:1;
  transform:translateY(0);
}
.work-item img{
  width:100%;
  height:auto;
  border-radius:12px;
  display:block;
  object-fit:cover;
}
.work-item:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:4px;
  border-radius:12px;
}

/* Case modal */
.case-modal{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,0.8);
  backdrop-filter:blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.3s ease;
  z-index:100;
}
.case-modal[aria-hidden="false"]{
  opacity:1;
  pointer-events:auto;
}
.case-modal-inner{
  background:linear-gradient(180deg,#071023,#0b1220);
  border-radius:12px;
  max-width:980px;
  width:100%;
  display:grid;
  grid-template-columns:1fr 420px;
  gap:20px;
  padding:20px;
  transform:scale(0.9);
  transition:transform 0.3s ease;
  position:relative;
  border:1px solid rgba(255,255,255,0.1);
  box-shadow:0 20px 60px rgba(0,0,0,0.5);
}
.case-modal[aria-hidden="false"] .case-modal-inner{
  transform:scale(1);
}
.case-media img{
  width:100%;
  border-radius:8px;
  transition:transform 0.3s ease;
}
.case-media:hover img{
  transform:scale(1.02);
}
.case-close{
  position:absolute;
  right:28px;
  top:24px;
  background:transparent;
  border:0;
  font-size:28px;
  color:var(--white);
  cursor:pointer;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  transition:all 0.3s ease;
  z-index:101;
}
.case-close:hover{
  background:rgba(255,255,255,0.1);
  transform:rotate(90deg);
}
.case-close:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

/* Reviews */
.testimonials-section{
  background:var(--bg);
  padding:56px 0;
  position:relative;
}
.reviews-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.review-card{
  background:var(--bg);
  border:2px solid rgba(0,196,140,0.3);
  border-radius:12px;
  padding:24px;
  display:flex;
  flex-direction:column;
  opacity:0;
  transform:translateY(30px);
  transition:all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position:relative;
  overflow:hidden;
}
.review-card::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:radial-gradient(circle at 50% 0%, rgba(0,196,140,0.05) 0%, transparent 70%);
  opacity:0;
  transition:opacity 0.3s ease;
}
.review-card.in-view{
  opacity:1;
  transform:translateY(0);
}
.review-card:hover{
  transform:translateY(-8px) scale(1.02);
  border-color:var(--accent);
  box-shadow:0 15px 40px rgba(0,196,140,0.2);
}
.review-card:hover::before{
  opacity:1;
}
.review-stars{
  color:#FFD700;
  font-size:20px;
  margin-bottom:16px;
  line-height:1;
  text-shadow:0 2px 10px rgba(255,215,0,0.3);
  animation:starPulse 2s ease-in-out infinite;
}
.review-text{
  margin:0 0 20px;
  color:var(--white);
  font-style:italic;
  font-size:15px;
  line-height:1.6;
  flex-grow:1;
  transition:color 0.3s ease;
}
.review-card:hover .review-text{
  color:rgba(255,255,255,0.95);
}
.review-meta{
  display:flex;
  align-items:center;
  gap:12px;
}
.review-avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:18px;
  color:var(--white);
  flex-shrink:0;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow:0 4px 15px rgba(0,0,0,0.3);
}
.review-card:hover .review-avatar{
  transform:scale(1.1);
  box-shadow:0 6px 20px rgba(0,0,0,0.5);
}
.avatar-1{background:linear-gradient(135deg,#8B5CF6,#3B82F6)}
.avatar-2{background:linear-gradient(135deg,#EC4899,#F97316)}
.avatar-3{background:linear-gradient(135deg,#06B6D4,#22D3EE)}
.review-author{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.review-name{
  font-weight:700;
  color:var(--white);
  font-size:15px;
  transition:color 0.3s ease;
}
.review-card:hover .review-name{
  color:var(--accent);
}
.review-title{
  color:rgba(255,255,255,0.7);
  font-size:13px;
  font-weight:400;
}

/* Apply Section */
.apply{
  position:relative;
  background:linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
}
.apply-container{
  text-align:center;
}
.apply .section-title,
.apply .section-sub,
.apply .btn{
  opacity:0;
  transform:translateY(20px);
  transition:opacity 0.6s ease, transform 0.6s ease;
}
.apply .section-title.in-view,
.apply .section-sub.in-view,
.apply .btn.in-view{
  opacity:1;
  transform:translateY(0);
}
.apply .btn{
  transition-delay:0.2s;
}

.site-footer{
  background:transparent;
  color:var(--muted);
  padding:18px 0;
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.05);
  margin-top:40px;
}
.site-footer p{
  margin:0;
  font-size:14px;
}

/* Animations */
@keyframes fadeInUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
@keyframes fadeInRight{
  from{
    opacity:0;
    transform:translateX(30px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}
@keyframes starPulse{
  0%, 100%{
    transform:scale(1);
    opacity:1;
  }
  50%{
    transform:scale(1.05);
    opacity:0.9;
  }
}

/* Smooth scroll behavior */
html{
  scroll-behavior:smooth;
}

@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;gap:24px}
  .hero-media{order:-1}
  .service-cards{grid-template-columns:repeat(2,1fr);gap:16px}
  .case-modal-inner{grid-template-columns:1fr}
  .reviews-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .section{padding:48px 0}
  .hero{padding:48px 0}
}
@media (max-width:680px){
  .container{padding:0 16px}
  .nav{flex:0 0 auto;max-width:none}
  .nav-list{
    display:flex;
    position:static;
    flex-direction:row;
    padding:0;
    gap:16px;
    max-width:none;
    flex:none;
    justify-content:flex-end;
    margin-left:auto;
    z-index:auto;
    width:auto;
    background:transparent;
    backdrop-filter:none;
    border:none;
  }
  .nav-list li{
    width:auto;
  }
  .nav-list a{
    display:inline-flex;
    width:auto;
    padding:4px 0;
    font-size:14px;
  }
  .nav-toggle{display:none}
  .header-inner{padding:14px 0}
  .hero h1{font-size:28px;line-height:1.1}
  .lead{font-size:15px;margin-bottom:20px}
  .hero-ctas{
    flex-direction:column;
    gap:10px;
    width:100%;
  }
  .hero-ctas .btn{width:100%;text-align:center}
  .hero-media img{box-shadow:0 8px 20px rgba(0,0,0,0.4)}
  .section-title{font-size:20px}
  .section-sub{font-size:14px}
  .service-cards{
    grid-template-columns:1fr;
    gap:16px;
  }
  .service-card{
    padding:20px;
    min-height:auto;
  }
  .work-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .reviews-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .review-card{
    padding:20px;
  }
  .review-stars{font-size:18px;margin-bottom:12px}
  .review-text{font-size:14px;margin-bottom:16px}
  .review-avatar{
    width:40px;
    height:40px;
    font-size:16px;
  }
  .review-name{font-size:14px}
  .review-title{font-size:12px}
  .btn{
    padding:12px 20px;
    font-size:15px;
  }
  .nav-list a{
    font-size:14px;
  }
  .apply-btn{
    padding: 10px 16px;
    font-size: 14px;
  }
  .case-modal{padding:16px}
  .case-modal-inner{
    padding:16px;
    max-width:100%;
  }
  .case-close{
    right:16px;
    top:16px;
    width:36px;
    height:36px;
    font-size:24px;
  }
  .section{padding:40px 0}
  .hero{padding:40px 0}
  .apply .section-title,
  .apply .section-sub{
    font-size:18px;
  }
}
@media (max-width:480px){
  .hero h1{font-size:24px}
  .section-title{font-size:18px}
  .section-sub{font-size:13px}
  .service-card{
    padding:18px;
    min-height:auto;
  }
  .service-card h3{font-size:18px}
  .service-card p{font-size:14px}
  .review-card{padding:18px}
  .review-stars{font-size:16px;margin-bottom:10px}
  .review-text{font-size:13px;margin-bottom:14px}
  .btn{
    padding:12px 20px;
    font-size:14px;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .nav-toggle{
    min-width:44px;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .brand{font-size:18px}
  .brand-logo{width:28px}
}
