*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #040814; --navy-light: #0b1428; --blue: #2f6bff; --blue-light: #4f85ff;
  --white: #ffffff; --white-70: rgba(255,255,255,0.7); --white-40: rgba(255,255,255,0.4);
  --border: rgba(255,255,255,0.1); --font-main: 'Inter', sans-serif; --font-head: 'Sora', sans-serif;
  --sidebar-width: 280px;
}
body { font-family: var(--font-main); background: var(--navy); color: var(--white); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* LOGO STYLES */
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
.logo-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue); box-shadow: 0 0 10px rgba(47, 107, 255, 0.4); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }

/* BIG HERO BANNER */
.hero-banner {
  max-width: 500px; width: 100%; height: auto; border-radius: 24px; margin: 0 auto 40px auto; display: block;
  box-shadow: 0 0 50px rgba(47, 107, 255, 0.3), 0 20px 50px rgba(0,0,0,0.6);
  border: 2px solid rgba(255, 255, 255, 0.1); animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.modal-logo { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid var(--blue); }

/* USER PROFILE */
.user-profile { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--blue-light); font-weight: 600; background: rgba(47,107,255,0.1); padding: 6px 12px; border-radius: 99px; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(4, 8, 20, 0.9); backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; }
.modal-overlay.hidden { display: none; }
.modal-box { background: var(--navy-light); border: 1px solid var(--border); padding: 40px; border-radius: 16px; width: 100%; max-width: 400px; text-align: center; }
.modal-box h2 { font-family: var(--font-head); margin-bottom: 10px; }
.modal-box p { color: var(--white-70); font-size: 0.9rem; margin-bottom: 24px; }
.modal-box input { width: 100%; padding: 14px; margin-bottom: 16px; border-radius: 8px; background: rgba(0,0,0,0.3); border: 1px solid var(--border); color: white; font-family: inherit; }
.modal-box input:focus { outline: none; border-color: var(--blue); }
.modal-close-btn { background: transparent; border: none; color: var(--white-40); margin-top: 15px; font-size: 0.85rem; cursor: pointer; text-decoration: underline; }

/* TOP NAV & SIDEBAR */
.top-nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; background: var(--navy-light); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.hamburger { background: none; border: none; color: white; display: flex; align-items: center; }
.sidebar { width: var(--sidebar-width); height: 100vh; position: fixed; top: 0; left: 0; background: var(--navy-light); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 24px; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; }
.sidebar.open { transform: translateX(0); }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.sidebar-close { background: none; border: none; color: white; }
.sidebar-nav { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nav-link { padding: 12px 16px; border-radius: 8px; font-weight: 500; color: var(--white-70); transition: 0.2s; }
.nav-link:hover, .nav-link.active { background: rgba(47,107,255,0.1); color: white; }
.sidebar-footer { border-top: 1px solid var(--border); padding-top: 20px; }
.sidebar-contact { font-size: 0.85rem; color: var(--white-40); margin-top: 15px; }
.sidebar-user { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 16px; border-radius: 12px; margin-bottom: 10px; }
.user-info { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: white; display: grid; place-items: center; font-weight: 700; text-transform: uppercase; }
.user-name { font-weight: 600; font-size: 0.95rem; color: white; }
.user-status { font-size: 0.75rem; color: var(--blue-light); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 999; backdrop-filter: blur(4px); }
.overlay.active { display: block; }

/* MAIN CONTENT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-dark { background: var(--navy-light); }
.section-head { text-align: center; margin-bottom: 50px; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--blue); color: var(--blue-light); font-size: 0.8rem; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--font-head); }
h2 { font-size: 2.5rem; }
.grad-text { background: linear-gradient(120deg, #7aa4ff, #2f6bff); -webkit-background-clip: text; color: transparent; }

.hero { padding: 60px 0 80px; position: relative; overflow: hidden; text-align: center; }
.hero-glow { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(47,107,255,0.15), transparent 60%); filter: blur(50px); z-index: -1; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 99px; background: rgba(47,107,255,0.1); border: 1px solid rgba(47,107,255,0.3); color: var(--blue-light); font-size: 0.85rem; margin-bottom: 24px; }
.pill-dot { width: 8px; height: 8px; background: #34d399; border-radius: 50%; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-text { font-size: 1.1rem; color: var(--white-70); max-width: 650px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; border: none; transition: 0.3s; }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 4px 14px rgba(47,107,255,0.3); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: white; }
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.btn-outline { background: transparent; border: 1px solid var(--blue); color: var(--blue-light); }
.btn-outline:hover { background: rgba(47,107,255,0.1); color: white; }
.btn-block { width: 100%; }

/* FEATURED PROJECT */
.featured-project { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--navy-light); border: 1px solid var(--border); border-radius: 16px; padding: 40px; }
.badge-live { display: inline-block; padding: 4px 10px; border-radius: 99px; background: rgba(52,211,153,0.1); color: #34d399; font-size: 0.7rem; font-weight: 700; border: 1px solid rgba(52,211,153,0.3); margin-bottom: 16px; }
.fp-content h3 { font-size: 2rem; margin-bottom: 16px; }
.fp-content p { color: var(--white-70); margin-bottom: 24px; }
.mockup-browser { background: var(--navy); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.mockup-bar { display: flex; gap: 6px; padding: 12px; background: rgba(255,255,255,0.05); border-bottom: 1px solid var(--border); }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--white-40); }
.mockup-body { padding: 40px; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--blue-light); }

/* GRIDS & CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 30px 24px; border-radius: 12px; transition: 0.3s; }
.card:hover { border-color: var(--blue); transform: translateY(-5px); background: rgba(255,255,255,0.04); }
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.2rem; margin-bottom: 12px; color: white; }
.card p { font-size: 0.95rem; color: var(--white-70); }

/* PRICING */
.currency-toggle { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; }
.currency-btn { padding: 8px 24px; border-radius: 99px; border: 1px solid var(--border); background: transparent; color: var(--white-70); font-weight: 600; }
.currency-btn.active { background: var(--blue); color: white; border-color: var(--blue); }
.price-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 16px; padding: 36px 28px; position: relative; transition: 0.3s; }
.price-card:hover { transform: translateY(-5px); }
.price-card.featured { border-color: var(--blue); background: rgba(47,107,255,0.05); }
.flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); padding: 4px 16px; border-radius: 99px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.price-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.price-amount { font-family: var(--font-head); font-size: 2rem; font-weight: 800; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.features { margin-bottom: 30px; display: flex; flex-direction: column; gap: 12px; }
.features li { font-size: 0.9rem; color: var(--white-70); display: flex; align-items: center; gap: 10px; }
.features li::before { content: "✓"; color: var(--blue-light); font-weight: bold; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.c-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 20px; border-radius: 12px; }
.c-card strong { color: var(--blue-light); display: block; margin-bottom: 4px; }
.c-card a:hover { color: var(--blue-light); }
.contact-form form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px; border-radius: 8px; background: rgba(0,0,0,0.3); border: 1px solid var(--border); color: white; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); }

/* FOOTER */
.footer { padding: 30px; text-align: center; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--white-40); }

/* AI CHAT */
.chat-toggle { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #1a55e0); color: white; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(47,107,255,0.4); z-index: 900; border: none; transition: 0.3s; }
.chat-toggle:hover { transform: scale(1.1); }
.chat-widget { position: fixed; bottom: 96px; right: 24px; width: 350px; background: var(--navy-light); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 900; display: none; flex-direction: column; overflow: hidden; }
.chat-widget.open { display: flex; }
.chat-header { background: rgba(47,107,255,0.1); padding: 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.ai-dot { width: 8px; height: 8px; background: #34d399; border-radius: 50%; box-shadow: 0 0 0 3px rgba(52,211,153,0.2); }
.chat-messages { padding: 16px; height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.msg { padding: 10px 14px; border-radius: 8px; font-size: 0.9rem; max-width: 85%; line-height: 1.4; word-wrap: break-word; }
.msg.ai { background: rgba(255,255,255,0.05); border: 1px solid var(--border); align-self: flex-start; }
.msg.user { background: var(--blue); color: white; align-self: flex-end; }
.chat-input-area { display: flex; gap: 8px; padding: 16px; border-top: 1px solid var(--border); }
.chat-input-area input { flex: 1; padding: 10px; border-radius: 6px; border: 1px solid var(--border); background: rgba(0,0,0,0.3); color: white; font-family: inherit; }
.chat-input-area input:focus { outline: none; border-color: var(--blue); }

/* RESPONSIVE */
@media (max-width: 1024px) { 
  .grid-3 { grid-template-columns: repeat(2, 1fr); } 
  .contact-grid { grid-template-columns: 1fr; } 
  .featured-project { grid-template-columns: 1fr; padding: 24px; } 
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .chat-widget { width: calc(100% - 48px); right: 24px; }
  .hero-banner { max-width: 100%; }
}