/*
Theme Name: UrbanXI
Theme URI: https://urbanxi.com
Author: UrbanXI LLC
Author URI: https://urbanxi.com
Description: Custom enterprise technology consulting theme for UrbanXI. Dark, modern, professional design.
Version: 1.0
License: Proprietary
Text Domain: urbanxi
*/


:root {
  --bg: #0a0a0a;
  --surface: #111;
  --card: #161616;
  --border: #222;
  --border-hover: #333;
  --red: #8B0000;
  --red-bright: #c0392b;
  --red-glow: rgba(139,0,0,0.3);
  --text: #f0f0f0;
  --text-muted: #999;
  --text-dim: #666;
  --font: 'Inter', system-ui, sans-serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { 
  background: var(--bg); color: var(--text); font-family: var(--font);
  -webkit-font-smoothing: antialiased; line-height:1.6; overflow-x:hidden;
}
::selection { background: var(--red); color: #fff; }

/* ── Navbar ── */
.navbar {
  background: rgba(10,10,10,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 14px 0; position: fixed; width: 100%; z-index: 1000;
}
.navbar .container { display:flex; align-items:center; justify-content:space-between; max-width:1200px; margin:0 auto; padding:0 24px; }
.nav-brand { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-brand .logo-wrap {
  background: var(--card); border:1px solid var(--border); border-radius:8px; padding:6px 10px;
  display:flex; align-items:center; gap:8px;
}
.nav-brand .logo-dot { width:8px; height:8px; background:var(--red-bright); border-radius:50%; }
.nav-brand .logo-text { font-weight:800; font-size:1.1rem; color:var(--text); letter-spacing:1px; }
.nav-links { display:flex; gap:32px; align-items:center; list-style:none; }
.nav-links a { color:var(--text-muted); text-decoration:none; font-size:0.85rem; font-weight:500; transition:.2s; }
.nav-links a:hover { color:var(--text); }
.nav-cta { background:var(--red); color:#fff!important; padding:8px 20px; border-radius:6px; font-weight:600!important; transition:.2s; }
.nav-cta:hover { background:var(--red-bright); transform:translateY(-1px); }
.nav-toggle { display:none; background:none; border:none; color:var(--text); font-size:1.5rem; cursor:pointer; }

/* ── Hero ── */
.hero {
  padding: 180px 0 120px; position:relative; overflow:hidden;
  background: radial-gradient(ellipse 800px 500px at 80% 20%, rgba(139,0,0,0.08), transparent),
              radial-gradient(ellipse 600px 400px at 20% 80%, rgba(139,0,0,0.04), transparent);
}
.hero::after { content:''; position:absolute; bottom:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,var(--border),transparent); }
.hero .container { max-width:1200px; margin:0 auto; padding:0 24px; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(139,0,0,0.15); border:1px solid rgba(139,0,0,0.3); border-radius:50px; padding:6px 16px; font-size:0.8rem; color:var(--red-bright); margin-bottom:24px; }
.hero-badge .dot { width:6px; height:6px; background:var(--red-bright); border-radius:50%; animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero h1 { font-size:clamp(2.4rem,5vw,3.8rem); font-weight:900; line-height:1.08; margin-bottom:20px; letter-spacing:-1px; }
.hero h1 .accent { color:var(--red-bright); }
.hero p { font-size:1.1rem; color:var(--text-muted); max-width:480px; line-height:1.7; margin-bottom:36px; }
.hero-btns { display:flex; gap:16px; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:14px 28px; border-radius:8px; font-weight:600; font-size:0.95rem; text-decoration:none; transition:.25s; cursor:pointer; border:none; }
.btn-primary { background:var(--red); color:#fff; box-shadow:0 4px 20px rgba(139,0,0,0.3); }
.btn-primary:hover { background:var(--red-bright); transform:translateY(-2px); box-shadow:0 8px 30px rgba(139,0,0,0.4); color:#fff; }
.btn-outline { background:transparent; color:var(--text); border:1px solid var(--border-hover); }
.btn-outline:hover { border-color:var(--text-muted); background:rgba(255,255,255,0.03); color:var(--text); }
.hero-visual {
  position:relative; display:flex; align-items:center; justify-content:center;
}
.hero-card {
  background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:32px;
  box-shadow:0 30px 60px rgba(0,0,0,0.5);
  position:relative; z-index:1;
}
.hero-card .logo-display { margin-bottom:20px; text-align:center; }
.hero-card .logo-display img { max-width:160px; height:auto; }
.hero-card .stat-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.hero-card .mini-stat { text-align:center; padding:12px; background:var(--card); border-radius:8px; }
.hero-card .mini-stat .num { font-size:1.4rem; font-weight:800; color:var(--red-bright); }
.hero-card .mini-stat .lbl { font-size:0.7rem; color:var(--text-dim); text-transform:uppercase; letter-spacing:1px; }
.hero-glow { position:absolute; width:300px; height:300px; background:radial-gradient(circle,rgba(139,0,0,0.2),transparent 70%); border-radius:50%; top:50%; left:50%; transform:translate(-50%,-50%); z-index:0; }

/* ── Section base ── */
.section { padding:100px 0; position:relative; }
.section .container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section-header { text-align:center; margin-bottom:64px; }
.section-tag { display:inline-block; font-size:0.75rem; font-weight:700; text-transform:uppercase; letter-spacing:3px; color:var(--red-bright); margin-bottom:12px; }
.section-title { font-size:clamp(1.8rem,3vw,2.6rem); font-weight:800; margin-bottom:16px; letter-spacing:-0.5px; }
.section-sub { color:var(--text-muted); max-width:560px; margin:0 auto; font-size:1rem; line-height:1.7; }

/* ── Services grid ── */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.service-card {
  background:var(--card); border:1px solid var(--border); border-radius:12px; padding:36px 28px;
  transition:all .3s; position:relative; overflow:hidden;
}
.service-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,transparent,var(--red),transparent); opacity:0; transition:.3s; }
.service-card:hover { border-color:var(--border-hover); transform:translateY(-4px); box-shadow:0 20px 40px rgba(0,0,0,0.3); }
.service-card:hover::before { opacity:1; }
.service-icon { font-size:2rem; margin-bottom:20px; display:block; }
.service-card h3 { font-size:1.1rem; font-weight:700; margin-bottom:10px; }
.service-card p { color:var(--text-muted); font-size:0.9rem; line-height:1.65; margin:0; }
.service-card .tag { display:inline-block; margin-top:16px; font-size:0.7rem; color:var(--red-bright); font-weight:600; text-transform:uppercase; letter-spacing:1px; }

/* ── Stats bar ── */
.stats-bar { background:var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.stat-item { text-align:center; padding:48px 24px; border-right:1px solid var(--border); }
.stat-item:last-child { border-right:none; }
.stat-num { font-size:2.8rem; font-weight:900; color:var(--red-bright); letter-spacing:-1px; }
.stat-lbl { font-size:0.85rem; color:var(--text-dim); margin-top:4px; }

/* ── About ── */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.about-text .section-tag { text-align:left; }
.about-text h2 { font-size:2.2rem; font-weight:800; margin-bottom:20px; }
.about-text p { color:var(--text-muted); line-height:1.8; margin-bottom:16px; }
.about-stats { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.about-stat { background:var(--card); border:1px solid var(--border); border-radius:10px; padding:24px; text-align:center; }
.about-stat .n { font-size:1.8rem; font-weight:800; color:var(--red-bright); }
.about-stat .l { font-size:0.8rem; color:var(--text-dim); margin-top:4px; }

/* ── Process ── */
.process-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.process-card { text-align:center; position:relative; }
.process-num { font-family:'JetBrains Mono',monospace; font-size:4rem; font-weight:500; color:var(--red); opacity:0.2; margin-bottom:8px; }
.process-card h3 { font-size:1.1rem; font-weight:700; margin-bottom:10px; }
.process-card p { color:var(--text-muted); font-size:0.9rem; line-height:1.65; }
.process-line { display:none; }

/* ── CTA ── */
.cta-section { text-align:center; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:64px 32px; margin:0 24px; }
.cta-section h2 { font-size:2rem; font-weight:800; margin-bottom:12px; }
.cta-section p { color:var(--text-muted); margin-bottom:32px; }

/* ── Contact ── */
.contact-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:32px; }
.contact-info { background:var(--card); border:1px solid var(--border); border-radius:12px; padding:36px; }
.contact-info h3 { font-weight:700; margin-bottom:24px; }
.contact-item { display:flex; align-items:center; gap:14px; margin-bottom:20px; color:var(--text-muted); }
.contact-item i { color:var(--red-bright); font-size:1.2rem; width:24px; text-align:center; }
.contact-form-wrap { background:var(--card); border:1px solid var(--border); border-radius:12px; padding:36px; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:0.8rem; font-weight:600; color:var(--text-dim); margin-bottom:6px; text-transform:uppercase; letter-spacing:1px; }
.form-control { width:100%; background:var(--surface); border:1px solid var(--border); color:var(--text); padding:12px 16px; border-radius:8px; font-family:var(--font); font-size:0.95rem; transition:.2s; }
.form-control:focus { outline:none; border-color:var(--red); box-shadow:0 0 0 3px rgba(139,0,0,0.1); }
textarea.form-control { resize:vertical; min-height:120px; }
.form-submit { width:100%; background:var(--red); color:#fff; border:none; padding:14px; border-radius:8px; font-weight:600; font-size:1rem; cursor:pointer; transition:.2s; }
.form-submit:hover { background:var(--red-bright); }

/* ── Footer ── */
.footer { background:var(--surface); border-top:1px solid var(--border); padding:60px 0 30px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; }
.footer h5 { font-weight:700; margin-bottom:16px; font-size:0.85rem; text-transform:uppercase; letter-spacing:1px; color:var(--text-dim); }
.footer p, .footer a { color:var(--text-muted); font-size:0.85rem; text-decoration:none; line-height:2; display:block; }
.footer a:hover { color:var(--text); }
.footer-bottom { border-top:1px solid var(--border); margin-top:40px; padding-top:24px; display:flex; justify-content:space-between; color:var(--text-dim); font-size:0.8rem; }

/* ── Reveal animation ── */
.reveal { opacity:0; transform:translateY(30px); transition:all .7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── Responsive ── */
@media (max-width:768px) {
  .nav-links { display:none; }
  .nav-toggle { display:block; }
  .hero .container { grid-template-columns:1fr; gap:40px; }
  .hero { padding:140px 0 80px; }
  .services-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .stat-item { padding:32px 16px; }
  .stat-item:nth-child(2) { border-right:none; }
  .about-grid { grid-template-columns:1fr; }
  .process-grid { grid-template-columns:1fr; gap:32px; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .cta-section { margin:0 16px; padding:40px 20px; }
  .hero-visual { display:none; }
  .hero-card .logo-display img { max-width:120px; }
}
@media (max-width:480px) {
  .stats-grid { grid-template-columns:1fr; }
  .stat-item { border-right:none; border-bottom:1px solid var(--border); }
  .stat-item:last-child { border-bottom:none; }
  .footer-grid { grid-template-columns:1fr; }
}
