:root {

  /* BACKGROUNDS */

  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;

  /* TEXT */

  --text: #0f172a;
  --text-soft: #475569;
  --muted: #64748b;

  /* BORDERS */

  --border: #e2e8f0;

  /* PRIMARY */

  --primary: #2563eb;
  --primary-soft: #dbeafe;

  /* ACCENT */

  --accent: #0f766e;
  --accent-soft: #ccfbf1;

  /* HIGHLIGHT */

  --highlight: #7c3aed;

  /* GRADIENTS */

  --gradient-primary:
    linear-gradient(
      135deg,
      #2563eb 0%,
      #7c3aed 100%
    );

  /* SHADOWS */

  --shadow-sm:
    0 2px 10px rgba(15,23,42,.04);

  --shadow-md:
    0 8px 30px rgba(15,23,42,.06);

  --shadow-lg:
    0 20px 60px rgba(15,23,42,.08);

  /* RADIUS */

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
}

/* =========================================================
   RESET
========================================================= */

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

html{
  scroll-behavior:smooth;
}

body{

  font-family:'Inter',sans-serif;

  background:var(--bg);

  color:var(--text);

  overflow-x:hidden;

  line-height:1.5;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
}

/* =========================================================
   GLOBAL
========================================================= */

.container{

  width:min(1320px, calc(100% - 48px));

  margin-inline:auto;
}

.section{

  padding:140px 0;
}

.section-label{

  display:inline-flex;

  align-items:center;

  padding:10px 16px;

  border-radius:999px;

  background:var(--primary-soft);

  color:var(--primary);

  font-size:12px;

  font-weight:700;

  letter-spacing:1px;

  margin-bottom:24px;
}

.section-header{

  max-width:760px;

  margin-bottom:80px;
}

.section-header h2{

  font-size:clamp(48px,5vw,82px);

  line-height:.95;

  letter-spacing:-3px;

  margin-bottom:24px;
}

.section-header p{

  font-size:20px;

  line-height:1.9;

  color:var(--muted);
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar{

  position:fixed;

  top:0;

  width:100%;

  z-index:999;

  background:rgba(255,255,255,.9);

  backdrop-filter:blur(12px);

  border-bottom:1px solid var(--border);
}

.nav-content{

  height:88px;

  display:flex;

  align-items:center;

  justify-content:space-between;

  position:relative;
}

.logo{

  display:flex;

  align-items:center;

  gap:14px;

  color:var(--text);
}

.logo-box{

  width:52px;
  height:52px;

  border-radius:18px;

  display:flex;

  align-items:center;

  justify-content:center;

  background:var(--gradient-primary);

  color:white;

  font-size:18px;

  font-weight:800;

  box-shadow:var(--shadow-sm);
}

.logo-title{

  font-size:15px;

  font-weight:700;
}

.logo-subtitle{

  font-size:12px;

  color:var(--muted);
}

.desktop-nav{

  display:flex;

  align-items:center;

  gap:32px;
}

.desktop-nav a{

  color:var(--text-soft);

  font-size:15px;

  font-weight:500;

  transition:.2s ease;
}

.desktop-nav a:hover{

  color:var(--primary);
}

.nav-cta{

  height:48px;

  padding-inline:22px;

  border-radius:999px;

  display:flex;

  align-items:center;

  justify-content:center;

  background:var(--gradient-primary);

  color:white !important;

  box-shadow:
    0 10px 30px rgba(37,99,235,.16);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-btn{

  width:54px;
  height:54px;

  border:none;

  background:white;

  border:1px solid var(--border);

  border-radius:18px;

  display:none;

  align-items:center;

  justify-content:center;

  flex-direction:column;

  gap:5px;

  cursor:pointer;

  box-shadow:var(--shadow-sm);

  transition:.25s ease;
}

.mobile-menu-btn span{

  width:20px;
  height:2px;

  background:var(--text);

  border-radius:999px;

  transition:.25s ease;
}

.mobile-menu-btn.active span:nth-child(1){

  transform:
    rotate(45deg)
    translateY(5px);
}

.mobile-menu-btn.active span:nth-child(2){

  opacity:0;
}

.mobile-menu-btn.active span:nth-child(3){

  transform:
    rotate(-45deg)
    translateY(-5px);
}

.mobile-menu{

  position:absolute;

  top:96px;

  left:24px;

  right:24px;

  background:white;

  border:1px solid var(--border);

  border-radius:28px;

  padding:20px;

  flex-direction:column;

  gap:8px;

  box-shadow:var(--shadow-lg);

  opacity:0;

  visibility:hidden;

  transform:translateY(-10px);

  transition:.25s ease;

  display:none;
}

.mobile-menu.active{

  opacity:1;

  visibility:visible;

  transform:translateY(0);
}

.mobile-menu a{

  height:54px;

  border-radius:18px;

  display:flex;

  align-items:center;

  padding-inline:18px;

  color:var(--text);

  font-weight:600;

  transition:.2s ease;
}

.mobile-menu a:hover{

  background:var(--surface-soft);

  color:var(--primary);
}

/* =========================================================
   HERO
========================================================= */

.hero{

  padding-top:180px;

  padding-bottom:140px;

  background:
    radial-gradient(
      circle at top right,
      rgba(37,99,235,.06),
      transparent 28%
    );
}

.hero-grid{

  display:grid;

  grid-template-columns:1.1fr .9fr;

  gap:90px;

  align-items:center;
}

.badge{

  display:inline-flex;

  align-items:center;

  gap:10px;

  padding:14px 18px;

  border-radius:999px;

  background:white;

  border:1px solid var(--border);

  color:var(--muted);

  font-size:14px;

  margin-bottom:34px;

  box-shadow:var(--shadow-sm);
}

.hero-title{

  font-size:clamp(62px,8vw,110px);

  line-height:.9;

  letter-spacing:-5px;

  font-weight:900;

  margin-bottom:34px;
}

.hero-title span{

  background:var(--gradient-primary);

  -webkit-background-clip:text;

  -webkit-text-fill-color:transparent;
}

.hero-description{

  font-size:21px;

  line-height:1.9;

  color:var(--muted);

  max-width:720px;

  margin-bottom:44px;
}

.hero-actions{

  display:flex;

  gap:18px;

  margin-bottom:52px;

  flex-wrap:wrap;
}

.primary-btn{

  height:56px;

  padding-inline:28px;

  border-radius:999px;

  display:flex;

  align-items:center;

  justify-content:center;

  background:var(--gradient-primary);

  color:white;

  font-weight:600;

  letter-spacing:-0.2px;

  box-shadow:
    0 10px 30px rgba(37,99,235,.18);

  transition:.25s ease;
}

.primary-btn:hover{

  transform:translateY(-2px);

  box-shadow:
    0 18px 40px rgba(37,99,235,.22);
}

.secondary-btn{

  height:56px;

  padding-inline:28px;

  border-radius:999px;

  display:flex;

  align-items:center;

  justify-content:center;

  background:white;

  border:1px solid var(--border);

  color:var(--text);

  font-weight:600;

  transition:.25s ease;
}

.secondary-btn:hover{

  transform:translateY(-2px);

  box-shadow:var(--shadow-md);
}

.hero-stats{

  display:grid;

  grid-template-columns:repeat(3,1fr);

  gap:18px;
}

.stat-card{

  padding:28px;

  border-radius:28px;

  background:white;

  border:1px solid var(--border);

  box-shadow:var(--shadow-md);
}

.stat-number{

  font-size:28px;

  font-weight:800;

  margin-bottom:10px;
}

.stat-text{

  color:var(--muted);

  line-height:1.6;

  font-size:14px;
}

.hero-panel{

  background:white;

  border-radius:40px;

  overflow:hidden;

  border:1px solid var(--border);

  box-shadow:var(--shadow-lg);
}

.hero-image{

  width:100%;

  height:100%;

  object-fit:cover;
}

/* =========================================================
   SERVICES
========================================================= */

.services-grid{

  display:grid;

  grid-template-columns:repeat(3,1fr);

  gap:24px;
}

.service-card{

  padding:40px;

  border-radius:32px;

  background:white;

  border:1px solid var(--border);

  box-shadow:var(--shadow-md);

  transition:.25s ease;
}

.service-card:hover{

  transform:translateY(-4px);

  box-shadow:var(--shadow-lg);
}

.service-index{

  width:48px;
  height:48px;

  border-radius:16px;

  display:flex;

  align-items:center;

  justify-content:center;

  background:var(--primary-soft);

  color:var(--primary);

  font-weight:700;

  margin-bottom:28px;
}

.service-card h3{

  font-size:30px;

  line-height:1.1;

  margin-bottom:18px;
}

.service-card p{

  color:var(--muted);

  line-height:1.9;

  margin-bottom:28px;
}

.service-card ul{

  list-style:none;

  display:flex;

  flex-direction:column;

  gap:12px;
}

.service-card li{

  color:var(--text-soft);

  font-size:15px;
}

/* =========================================================
   PROJECTS
========================================================= */

.projects-section{

  background:#fbfcff;
}

.portfolio-grid{

  display:grid;

  grid-template-columns:repeat(2,1fr);

  gap:24px;
}

.portfolio-card{

  background:white;

  border:1px solid var(--border);

  border-radius:32px;

  overflow:hidden;

  box-shadow:var(--shadow-md);

  transition:.25s ease;
}

.portfolio-card:hover{

  transform:translateY(-4px);

  box-shadow:var(--shadow-lg);
}

.portfolio-card.large{

  grid-column:span 2;
}

.portfolio-image{

  width:100%;

  height:320px;

  object-fit:cover;
}

.portfolio-content{

  padding:32px;
}

.portfolio-type{

  color:var(--primary);

  font-size:12px;

  font-weight:800;

  letter-spacing:2px;

  margin-bottom:18px;
}

.portfolio-content h3{

  font-size:32px;

  margin-bottom:16px;
}

.portfolio-content p{

  color:var(--muted);

  line-height:1.9;

  margin-bottom:24px;
}

.portfolio-tags{

  display:flex;

  flex-wrap:wrap;

  gap:12px;
}

.portfolio-tags span{

  padding:10px 14px;

  border-radius:999px;

  background:var(--surface-soft);

  font-size:13px;

  color:var(--text-soft);
}

/* =========================================================
   ABOUT
========================================================= */

.about-grid{

  display:grid;

  grid-template-columns:1fr 1fr;

  gap:80px;

  align-items:center;
}

.about-panel{

  padding:48px;

  border-radius:40px;

  background:white;

  border:1px solid var(--border);

  box-shadow:var(--shadow-md);
}

.about-box{

  width:92px;
  height:92px;

  border-radius:28px;

  display:flex;

  align-items:center;

  justify-content:center;

  background:var(--gradient-primary);

  color:white;

  font-size:34px;

  font-weight:900;

  margin-bottom:32px;
}

.about-panel h2{

  font-size:56px;

  line-height:1;

  letter-spacing:-2px;

  margin-bottom:28px;
}

.about-panel p{

  color:var(--muted);

  line-height:1.9;

  margin-bottom:20px;
}

.about-list{

  display:flex;

  flex-direction:column;

  gap:22px;
}

.about-item{

  padding:34px;

  border-radius:30px;

  background:white;

  border:1px solid var(--border);

  box-shadow:var(--shadow-md);

  transition:.25s ease;
}

.about-item:hover{

  transform:translateY(-4px);

  box-shadow:var(--shadow-lg);
}

/* =========================================================
   CONTACT
========================================================= */

.contact-container{

  max-width:860px;

  margin-inline:auto;

  text-align:center;
}

.contact-form{

  margin-top:56px;

  display:flex;

  flex-direction:column;

  gap:22px;

  padding:48px;

  border-radius:40px;

  background:white;

  border:1px solid var(--border);

  box-shadow:var(--shadow-lg);
}

.input-grid{

  display:grid;

  grid-template-columns:1fr 1fr;

  gap:22px;
}

.contact-form input,
.contact-form textarea{

  width:100%;

  padding:22px;

  border-radius:20px;

  border:1px solid var(--border);

  background:white;

  font-family:inherit;

  font-size:15px;

  color:var(--text);

  outline:none;

  transition:.2s ease;
}

.contact-form textarea{

  resize:vertical;
}

.contact-form button{

  height:58px;

  padding-inline:32px;

  border:none;

  border-radius:999px;

  background:var(--gradient-primary);

  color:white;

  font-size:15px;

  font-weight:700;

  cursor:pointer;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1024px){

  .desktop-nav{
    display:none;
  }

  .mobile-menu-btn{
    display:flex;
  }

  .mobile-menu{
    display:flex;
  }

  .hero-grid,
  .services-grid,
  .portfolio-grid,
  .about-grid{

    grid-template-columns:1fr;
  }

  .portfolio-card.large{
    grid-column:auto;
  }

  .hero-stats{
    grid-template-columns:1fr;
  }

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

  .hero-title{
    font-size:64px;
  }

  .section{
    padding:100px 0;
  }
}

@media(max-width:768px){

  .container{
    width:min(100% - 32px);
  }

  .hero{
    padding-top:140px;
  }

  .hero-title{
    font-size:52px;
  }

  .section-header h2{
    font-size:44px;
  }

  .portfolio-content h3{
    font-size:28px;
  }

  .about-panel h2{
    font-size:42px;
  }

  .contact-form{
    padding:36px 24px;
  }
}