
:root{
  --bg:#070b16;
  --bg-soft:#0d1426;
  --card:#111a30;
  --text:#f7f8fb;
  --muted:#a8b3cf;
  --blue:#4f8cff;
  --gold:#d7aa55;
  --white:#ffffff;
  --line:rgba(255,255,255,.12);
  --shadow:0 25px 80px rgba(0,0,0,.35);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

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

/* HEADER */

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(7,11,22,.82);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}

.navbar{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  font-size:1.5rem;
  font-weight:800;
}

.logo span{
  color:var(--gold);
}

.nav-links{
  display:flex;
  gap:28px;
  list-style:none;
}

.nav-links a{
  color:var(--muted);
  font-weight:600;
  transition:.3s;
}

.nav-links a:hover{
  color:var(--white);
}

.menu-btn{
  display:none;
  background:none;
  border:0;
  color:white;
  font-size:2rem;
  cursor:pointer;
}

/* HERO */

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding-top:90px;
  background:
  radial-gradient(circle at 20% 20%,rgba(79,140,255,.25),transparent 32%),
  radial-gradient(circle at 80% 10%,rgba(215,170,85,.16),transparent 28%),
  linear-gradient(135deg,#070b16,#0a1021 55%,#111827);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:48px;
  align-items:center;
}

.tag,
.section-tag{
  color:var(--gold);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.8rem;
  margin-bottom:12px;
}

h1{
  font-size:clamp(2.4rem,6vw,5rem);
  line-height:1.02;
  letter-spacing:-.06em;
  margin-bottom:22px;
}

h2{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.1;
  letter-spacing:-.04em;
  margin-bottom:24px;
}

h3{
  font-size:1.25rem;
  margin-bottom:10px;
}

.hero-text{
  color:var(--muted);
  max-width:640px;
  font-size:1.12rem;
  margin-bottom:30px;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:14px 22px;
  border-radius:999px;
  font-weight:800;
  transition:.3s;
  border:1px solid transparent;
  cursor:pointer;
}

.btn.primary{
  background:linear-gradient(135deg,var(--blue),#77a6ff);
  color:white;
  box-shadow:0 16px 35px rgba(79,140,255,.3);
}

.btn.secondary{
  border-color:var(--line);
  color:white;
}

.btn:hover{
  transform:translateY(-3px);
}

.hero-card{
  background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.04));
  border:1px solid var(--line);
  border-radius:34px;
  padding:36px;
  box-shadow:var(--shadow);
  text-align:center;
}

.profile-circle{
  width:180px;
  height:180px;
  min-width:180px;
  min-height:180px;
  border-radius:50%;
  overflow:hidden;
}

.profile-circle img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.hero-card p{
  color:var(--muted);
}

.stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:24px;
}

.stats div{
  background:rgba(255,255,255,.06);
  padding:16px;
  border-radius:18px;
}

.stats strong{
  display:block;
  font-size:1.6rem;
}

.stats span{
  color:var(--muted);
  font-size:.85rem;
}

/* SECTIONS */

.section{
  padding:105px 0;
  background:#fff;
  color:#101625;
}

.section p{
  color:#4d5872;
}

.dark{
  background:var(--bg-soft);
  color:var(--text);
}

.dark p{
  color:var(--muted);
}

.two-columns{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:56px;
  align-items:start;
}

.two-columns p+p{
  margin-top:16px;
}

/* SERVICES */

.cards-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:34px;
}

.service-card{
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius:26px;
  padding:26px;
  transition:.3s;
}

.service-card:hover{
  transform:translateY(-8px);
  background:rgba(255,255,255,.09);
}

.service-card span{
  color:var(--gold);
  font-weight:900;
}

/* PROJECTS */

.projects-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:35px;
  padding:40px 0;
}

.project-card{
  background:#ffffff;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 20px 55px rgba(0,0,0,.10);
  transition:.35s ease;
  border:1px solid rgba(0,0,0,.08);
}

.project-card:hover{
  transform:translateY(-12px);
  box-shadow:0 35px 75px rgba(0,0,0,.18);
}

.project-image{
  height:240px;
  overflow:hidden;
}

.project-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.5s ease;
}

.project-card:hover .project-image img{
  transform:scale(1.08);
}

.project-content{
  padding:28px;
}

.project-content h3{
  font-size:1.55rem;
  margin-bottom:14px;
  color:#0f172a;
}

.project-content p{
  font-size:1rem;
  line-height:1.7;
  color:#475569;
  margin-bottom:24px;
}

.project-link,
.project-link:link,
.project-link:visited,
.project-link:hover,
.project-link:active{
  display:inline-block;
  padding:12px 22px;
  background:linear-gradient(135deg,#0057ff,#00a6ff);
  color:#ffffff !important;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
  transition:.3s ease;
}

.project-link:hover{
  transform:translateY(-3px);
  background:linear-gradient(135deg,#003bb5,#008cff);
}

/* PROCESS */

.process-section{
  background:#f6f7fb;
}

.process{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  margin-top:32px;
}

.process div{
  background:white;
  padding:24px;
  border-radius:24px;
  border:1px solid #e7eaf1;
}

.process strong{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#101625;
  color:white;
  margin-bottom:12px;
}

/* CONTACT */

.contact{
  padding:105px 0;
  background:linear-gradient(135deg,#07101f,#111827);
}

.contact-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  align-items:center;
}

.contact-box p{
  color:var(--muted);
}

.contact-form{
  background:rgba(255,255,255,.07);
  border:1px solid var(--line);
  border-radius:30px;
  padding:28px;
  display:grid;
  gap:14px;
}

input,
textarea{
  width:100%;
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  color:white;
  padding:15px 16px;
  border-radius:16px;
  font-family:inherit;
  outline:none;
}

textarea{
  min-height:130px;
  resize:vertical;
}

input::placeholder,
textarea::placeholder{
  color:#b9c2d8;
}

/* FOOTER */

.footer{
  text-align:center;
  padding:28px 0;
  background:#050812;
  border-top:1px solid var(--line);
  color:var(--muted);
}

.footer-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:12px;
}

/* RESPONSIVE */

@media(max-width:900px){
  .menu-btn{
    display:block;
  }

  .nav-links{
    position:absolute;
    top:76px;
    left:0;
    width:100%;
    background:rgba(7,11,22,.98);
    flex-direction:column;
    padding:24px;
    display:none;
    border-bottom:1px solid var(--line);
  }

  .nav-links.active{
    display:flex;
  }

  .hero-grid,
  .two-columns,
  .contact-box{
    grid-template-columns:1fr;
  }

  .cards-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .process{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:560px){
  .hero-card{
    min-height:390px;
  }

  .profile-circle{
    width:150px;
    height:150px;
    min-width:150px;
    min-height:150px;
  }
}
.hero-card{
  min-height:420px;
}

.profile-circle{
  width:180px;
  height:180px;
  min-width:180px;
  min-height:180px;
  margin:0 auto 22px;
}

.profile-circle img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.stats{
  min-height:95px;
}