html {
	scroll-behavior: smooth;
}
/* Fonts */
:root{
  --bg:#0b0b0b;
  --panel:#141414;
  --soft:#1b1b1b;
  --text:#e6e6e6;
  --muted:#9a9a9a;
  --accent:#E50914; /* Netflix red */
  --card:#161616;
  --ring:rgba(229,9,20,.35);
  --shadow:0 10px 30px rgba(0,0,0,.55);
  --radius:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(229,9,20,.08), transparent 60%), var(--bg);
  color:var(--text);
  font-family: "Inter", Helvetica, Arial, sans-serif; /* Noir-like clean sans fallback */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4{font-family:"Syne", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; letter-spacing:.2px}
h1{font-weight:800}
h2{font-weight:800}
h3{font-weight:700}
h4{font-weight:600}
.arrowup {
	width: 100%;
	display: inline-block;
	position: relative;
	z-index: 9999;
}
.arrowup a {
	position: fixed;
	width: 100px;
	bottom: 20px;
	right: 0;
}
.arrowup a img {
	width: 40px;
}
a{color:inherit;text-decoration:none}
.section{padding:72px 6vw}
.section-head{display:flex; align-items:center; gap:16px; margin-bottom:24px}
.section-head h2{margin:0; font-size:clamp(24px,3vw,36px)}
.section-head .bar{flex:1;height:2px;background:linear-gradient(90deg, var(--accent), transparent)}

.site-header{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 6vw; background: linear-gradient(180deg, rgba(11,11,11,.95), rgba(11,11,11,.65), transparent);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.brand{display:flex; align-items:center; gap:10px}
.brand .dot{width:10px;height:10px;border-radius:50%;background:var(--accent); box-shadow:0 0 20px var(--accent)}
.logo{font-family:"Syne", sans-serif; font-weight:800; letter-spacing:.5px}

.nav{display:flex; gap:20px; align-items:center}
.nav a{color:var(--muted); font-weight:500; transition:color .2s}
.nav a:hover{color:var(--text)}
.nav .cta{padding:10px 14px; border:1px solid rgba(255,255,255,.08); border-radius:999px}
.nav-toggle{display:none; background:none; border:0; color:var(--text)}
.nav-toggle span{display:block; width:24px; height:2px; background:var(--text); margin:5px 0}

.hero{
  position:relative; min-height:72vh; display:grid; place-items:center;
  padding:80px 6vw 40px; text-align:center; background: radial-gradient(800px 400px at 10% 0%, rgba(229,9,20,.08), transparent 60%);
  z-index: 99999999999;
}
.hero-content h1{font-size:clamp(28px,5vw,56px); line-height:1.05; margin:0 0 16px}
.hero-content p{color:var(--muted); margin:0 0 24px}
.accent{color:var(--accent)}
.btn {
	display:inline-block; 
	border-radius:999px; 
	padding:12px 18px; 
	font-weight:600
	}
.planBtn {
	background-color: transparent;
	color: #fff;
	border: 1px solid #fff;
	cursor: pointer;
}
.btn-primary {
	background: var(--accent);
	color: white;
	box-shadow: 0 10px 30px rgba(229,9,20,.3);
	border: none;
	cursor: pointer;
}
.mybtn {
	padding: 15px 60px;
	margin: 20px 0;
}
@media only screen and (max-width: 767px){
.about-text img {
	width: 500px !important;
	position: absolute;
	top: 20px !important;
	left: -90px !important;
	z-index: 0;
}
.arrowup a {
	right: 40px;
}
}
.btn.link{background:transparent; color:var(--accent); padding:0}

.hero-gradient{
  position:absolute; inset:auto 0 0 0; height:160px;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.6), var(--bg));
  pointer-events:none;
}

/* About */
.about-grid{
  display:grid; grid-template-columns:1.2fr .8fr; gap:32px; align-items:start;position:relative;
}
.about-text p{color:#cfcfcf}
.meta-block{
	background:var(--soft);
	border:1px solid rgba(255,255,255,.06);
	padding:16px; 
	border-radius:12px;
	margin-top: 10px;
	}
	.txtt {
	margin-top: 280px;
	position: relative;
	z-index: 1;
}
.about-text img {
	width: 660px;
	position: absolute;
	top: -50px;
	left: 70px;
	z-index: 0;
}
.meta-block h3{margin:0 0 10px}
.meta-block ul{margin:0; padding-left:18px; color:#c9c9c9}
.tags{display:flex; gap:8px; flex-wrap:wrap; list-style:none; padding:0}
.tags li{background:linear-gradient(180deg, #1a1a1a, #121212); border:1px solid rgba(255,255,255,.06); padding:6px 10px; border-radius:999px}

/* Skills tiles */
.tiles{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.tile{
  background:linear-gradient(180deg, #181818, #121212);
  border:1px solid rgba(255,255,255,.06);
  padding:20px; border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover{transform:translateY(-4px); box-shadow:0 20px 50px rgba(0,0,0,.6); border-color:var(--ring)}
.tile h3{margin:0 0 10px}
.tile ul{margin:0; padding-left:18px; color:#cfcfcf}

/* Portfolio rows */
.row{margin-bottom:38px}
.row-head{display:flex; align-items:center; justify-content:space-between; margin:0 0 10px}
.row-head h3{margin:0}
.controls{display:flex; gap:8px}
.arrow{
  width:36px; height:36px; border-radius:50%;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04); color:#fff;
  display:grid; place-items:center; cursor:pointer;
  transition:background .2s, transform .2s;
}
.arrow:hover{background:rgba(255,255,255,.1); transform:translateY(-2px)}

.row-scroller{
  display:grid; grid-auto-flow:column; grid-auto-columns: clamp(220px, 26vw, 280px);
  gap:14px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:inline mandatory; padding-bottom:6px;
}
.row-scroller::-webkit-scrollbar{height:8px}
.row-scroller::-webkit-scrollbar-thumb{background:rgba(255,255,255,.08); border-radius:999px}
.card{
  background:var(--card);
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px; overflow:hidden; cursor:pointer; scroll-snap-align:start;
  box-shadow:var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover{transform:translateY(-6px); box-shadow:0 24px 60px rgba(0,0,0,.65); border-color:var(--ring)}
.thumb{
  position:relative; width:100%; aspect-ratio:16/9; background: #0f0f0f;
  background-image: var(--img); background-size:cover; background-position:center;
  
}
.card h4{margin:12px; font-size:15px; color:#dcdcdc}

/* Cases */
.cases-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.case{
  background:linear-gradient(180deg, #171717, #101010);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px; overflow:hidden; box-shadow:var(--shadow);
  transition:transform .25s, border-color .2s, box-shadow .25s;
}
.case:hover{transform:translateY(-6px); border-color:var(--ring); box-shadow:0 26px 60px rgba(0,0,0,.65)}
.case-media{aspect-ratio:16/9; background-image:var(--img); background-size:cover; background-position:center}
.case-body{padding:16px}
.case-body h3{margin:0 0 8px}
.case-body p{margin:0 0 12px; color:#cfcfcf}

/* Testimonials slider */
.testi-slider{position:relative; display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center}
.testi-track{
  display:flex; gap:16px; overflow:hidden; scroll-behavior:smooth;
}
.testi{min-width: clamp(260px, 40vw, 520px); margin:0; padding:18px; border-radius:12px;
  background:linear-gradient(180deg,#171717,#111);
  border:1px solid rgba(255,255,255,.06); color:#dcdcdc; box-shadow:var(--shadow)
}
.t-arrow{width:36px;height:36px;border-radius:50%; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); color:#fff; cursor:pointer}
.t-arrow:hover{background:rgba(255,255,255,.1)}

/* Contact */
.contact-grid{display:grid; grid-template-columns:1fr auto; gap:20px; align-items:center}
.social{list-style:none; padding:0; display:flex; gap:16px}
.social a{color:#d0d0d0}
.social a:hover{color:var(--accent)}
.closing{font-family:"Syne", sans-serif; font-weight:700; color:#d9d9d9}

/* Modal */
.modal{position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:100}
.modal[aria-hidden="false"]{display:flex}
.modal-backdrop{position:absolute; inset:0; background:rgba(0,0,0,.65); backdrop-filter: blur(4px)}
.modal-dialog{
  position:relative; width:min(100% - 24px, 1000px); background:#0f0f0f; border:1px solid rgba(255,255,255,.08);
  border-radius:16px; overflow:hidden; box-shadow:0 50px 120px rgba(0,0,0,.7); display:grid; grid-template-columns:1.4fr 1fr;
}
.modal-media{background:#111; min-height:340px}
.modal-body{padding:18px}
.modal-body h3{margin:0 0 8px}
.modal-body p{margin:0 0 12px; color:#cfcfcf}
.modal .meta{margin:0; padding-left:18px; color:#bfbfbf}
.modal-close{
  position:absolute; top:8px; right:10px; width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03); color:#fff; cursor:pointer
}
.modal-close:hover{background:rgba(255,255,255,.1)}

/* Footer */
.site-footer{padding:28px 6vw; color:#a9a9a9; border-top:1px solid rgba(255,255,255,.06); background:#0c0c0c}

/* Responsive */
@media (max-width: 1024px){
  .about-grid{grid-template-columns:1fr}
  .tiles{grid-template-columns:1fr 1fr}
  .cases-grid{grid-template-columns:1fr 1fr}
  .modal-dialog{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .nav{display:none}
  .nav-toggle{display:block}
  .tiles{grid-template-columns:1fr}
  .cases-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
}
.thumb img{
  width: 100%;
}
.logo img {
  width: 250px;
padding: 10px 0 0 0;
}

/* Pricing */
.pricing-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.price-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent, #00A8E1);
  box-shadow: 0 12px 40px rgba(0,168,225,.15);
}

.price-card .plan-name { font-family: 'Syne', sans-serif; font-weight: 800; }
.price-card .plan-tag { opacity: .85; margin-top: 4px; }
.price-card .price { font-size: 32px; font-weight: 800; margin: 12px 0 16px; }
.price-card .period { font-size: 14px; opacity: .8; margin-left: 6px; }

.price-card .features { margin: 0 0 18px; padding-left: 18px; }
.price-card .features li { margin: 8px 0; }

.price-card .badge {
  display: inline-block;
  background: linear-gradient(135deg, #00A8E1 0%, #4cc3ff 100%);
  color: #0b0f14;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.price-card.featured {
  border-color: rgba(0,168,225,.6);
  background: linear-gradient(180deg, rgba(0,168,225,.08), rgba(0,168,225,.02));
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.24);
  padding: 10px 16px;
  border-radius: 10px;
  color: inherit;
}

.pricing-note {
  margin-top: 18px;
  opacity: .9;
  text-align: center;
}


/* Prevent background scroll when modal is open */
.no-scroll { overflow: hidden; }

/* Modal layout */
.plan-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}
.plan-modal.open { display: grid; place-items: center; }

.plan-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 18, 0.6);
  backdrop-filter: blur(4px);
}

.plan-modal .modal-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 560px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px 20px 16px;
  box-shadow: 0 24px 80px rgba(0,168,225,0.18);
  outline: none;
}

.plan-modal .modal-header h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  margin: 0 0 6px;
}
.plan-modal .modal-header p { opacity: 0.85; margin: 0 0 12px; }

.plan-modal .modal-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.24);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.modal-form .form-row { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.modal-form label { font-size: 14px; opacity: 0.9; }
.modal-form input, .modal-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 10px 12px;
  color: inherit;
}
.modal-form input[readonly] { opacity: 0.9; }

.modal-form .actions { display: flex; gap: 10px; margin-top: 8px; }

/* Visible focus styles for keyboard users */
.plan-modal .modal-close:focus,
.modal-form input:focus,
.modal-form textarea:focus,
.modal-form button:focus {
  outline: 3px solid #00A8E1;
  outline-offset: 2px;
  border-color: rgba(0,168,225,0.8);
}
