:root { --primary:#0d6efd; --text:#0b0b0b; --muted:#4a4a4a; --bg:#ffffff; --card:#ffffff; --border:#e8e8e8; }
* { box-sizing:border-box; }
html, body { margin:0; padding:0; background:var(--bg); color:var(--text); font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; line-height:1.6; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; height:auto; }
.container { width:100%; max-width:1140px; margin:0 auto; padding:0 20px; }
header.nav { position:sticky; top:0; z-index:50; background:rgba(255,255,255,.9); backdrop-filter:saturate(180%) blur(8px); border-bottom:1px solid var(--border); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.brand { display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.2px; }
.brand img { width:150px; height:40px; object-fit:contain; }
.nav-links { display:flex; gap:18px; align-items:center; }
.nav-links a { display:inline-flex; align-items:center; height:40px; padding:0 10px; border-radius:8px; font-weight:500; color:var(--muted); }
.nav-links a:hover { color:var(--text); }
.nav-links .btn { height:40px; padding:0 14px; border-radius:10px; }

.hero { padding:72px 0 56px; border-bottom:1px solid var(--border); background:linear-gradient(180deg, rgba(13,110,253,.06), rgba(13,110,253,0)); }
.hero-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:32px; align-items:center; }
.eyebrow { color:var(--primary); font-weight:700; letter-spacing:.4px; text-transform:uppercase; font-size:12px; }
h1 { font-size:44px; line-height:1.15; margin:10px 0 14px; letter-spacing:-.5px; }
.lead { font-size:18px; color:var(--muted); margin-bottom:24px; }
.cta { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; justify-content:center; padding:12px 18px; border-radius:10px; font-weight:700; border:1px solid transparent; cursor:pointer; transition:.2s ease; }
.btn-primary { background:var(--primary); color:#fff!important; }
.btn-primary:hover { filter:brightness(.95); transform:translateY(-1px); }
.btn-link { color:var(--primary); background:transparent; }
.hero-card { background:var(--card); border:1px solid var(--border); border-radius:14px; padding:20px; box-shadow:0 6px 24px rgba(0,0,0,.06); }

section { padding:64px 0; }
h2 { font-size:32px; margin:0 0 16px; letter-spacing:-.3px; }
p.section-lead { color:var(--muted); margin:0 0 24px; }
.grid { display:grid; gap:20px; }
.grid-3 { grid-template-columns:repeat(3, 1fr); }
.grid-2 { grid-template-columns:repeat(2, 1fr); }
.card { background:var(--card); border:1px solid var(--border); border-radius:14px; padding:20px; box-shadow:0 6px 24px rgba(0,0,0,.06); }
.badge { display:inline-block; padding:6px 10px; border-radius:999px; background:rgba(13,110,253,.08); color:var(--primary); font-weight:700; font-size:12px; }
ul.clean { list-style:none; padding:0; margin:0; }
ul.clean li { padding-left:26px; position:relative; margin:10px 0; }
ul.clean li:before { content:""; position:absolute; left:0; top:8px; width:14px; height:14px; border-radius:50%; background:rgba(13,110,253,.2); border:2px solid var(--primary); }

/* Skills */
.skills-grid { display:grid; gap:20px; grid-template-columns:repeat(2, 1fr); }
.skill { background:var(--card); border:1px solid var(--border); border-radius:14px; padding:16px; box-shadow:0 6px 24px rgba(0,0,0,.06); opacity:0; transform:translateY(8px); transition:.4s ease; }
.skill.visible { opacity:1; transform:translateY(0); }
.skill-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:8px; }
.skill-name { font-weight:700; }
.skill-level { color:var(--muted); font-size:14px; }
.bar { width:100%; height:10px; background:#eef3ff; border-radius:999px; overflow:hidden; border:1px solid #d9e7ff; }
.bar-fill { height:100%; width:0%; background:var(--primary); border-radius:999px; box-shadow:inset 0 0 8px rgba(255,255,255,.35); }

.price { display:flex; gap:16px; flex-wrap:wrap; margin:14px 0 6px; }
.price-item { background:#f8fbff; border:1px dashed #cfe3ff; color:#0b386b; padding:10px 14px; border-radius:12px; font-weight:700; }
.compare { color:#0b386b; background:#eff6ff; border:1px solid #cfe3ff; padding:10px 14px; border-radius:12px; font-weight:700; }

.portfolio-card { height:200px; display:flex; align-items:center; justify-content:center; text-align:center; color:#666; border:1px dashed #dcdcdc; background:linear-gradient(180deg,#fafafa,#ffffff); border-radius:12px; }

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: block;
  }
  
  .portfolio-card img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
  }
  
  .portfolio-card:hover img {
    transform: scale(1.05);
  }
  
  .portfolio-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .portfolio-card:hover .overlay {
    opacity: 1;
  }
  

.contact-wrapper { display:grid; grid-template-columns:1.2fr .8fr; gap:24px; }
.contact-form { display:grid; gap:12px; }
.input { width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--border); font:inherit; }
textarea.input { min-height:120px; resize:vertical; }

footer { border-top:1px solid var(--border); padding:28px 0; background:#fafafa; }
.footer-grid { display:grid; grid-template-columns:1fr auto; align-items:center; gap:16px; }
.footer-links { display:flex; gap:16px; }

@media (max-width: 960px) {
 .hero-grid, .contact-wrapper { grid-template-columns:1fr; }
 .grid-3 { grid-template-columns:1fr; }
 .skills-grid { grid-template-columns:1fr; }
}

/* Slider */
.slider { position:relative; margin-top:10px; }
.slides-viewport { overflow:hidden; border-radius:14px; }
.slides { display:flex; width:100%; transition:transform .4s ease; will-change:transform; }
.slides > .slide { flex:0 0 100%; padding:0; }
.slider .grid { padding:0; }
.slider .card { height:100%; display:flex; flex-direction:column; }
.slider .card ul { flex:1; }
.slider-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:42px; height:42px; border-radius:50%; border:1px solid var(--border); background:#fff; box-shadow:0 6px 24px rgba(0,0,0,.08); cursor:pointer; font-size:26px; line-height:1; display:flex; align-items:center; justify-content:center; color:#1b1b1b; }
.slider-arrow:hover { background:#f7f9ff; }
.slider-arrow.prev { left:-24px; }
.slider-arrow.next { right:-24px; }
.slider-dots { display:flex; gap:8px; justify-content:center; margin-top:14px; }
.slider-dots button { width:10px; height:10px; border-radius:50%; border:0; background:#d5e4ff; cursor:pointer; transition:.2s ease; }
.slider-dots button.active { background:var(--primary); }
.slide .grid { height:100%; }

@media (max-width: 960px) {
 .slider-arrow.prev { left:-16px; }
 .slider-arrow.next { right:-16px; }
}
