@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a1f2e;
  --bg-card-hover: #222840;
  --accent: #e87f1a;
  --accent-light: #f5a623;
  --accent-dark: #c96a0e;
  --text-primary: #f0f2f5;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(232,127,26,0.3);
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a1028 50%, #0a0e1a 100%);
  --gradient-accent: linear-gradient(135deg, #e87f1a, #f5a623);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(232,127,26,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; line-height: 1.2; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(10,14,26,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 0; }
.navbar-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--text-secondary);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--gradient-accent); border-radius: 2px; transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ─── AD BANNER ─── */
.ad-banner {
  padding-top: 80px;
  padding-bottom: 8px;
  background: var(--bg-primary);
  text-align: center;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,127,26,0.08) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.05) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }

.hero-content { text-align: center; max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.hero-content h1 span { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-secondary);
  margin-bottom: 48px; font-weight: 300;
}

/* ─── TRIPLE CARDS (Bcreative, Bonline, Bsmart) ─── */
.triple-cards { padding: 100px 0; position: relative; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-accent); opacity: 0; transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.service-card:hover::before { opacity: 1; }
.service-card h3 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 16px;
  background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.service-card .card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(232,127,26,0.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}

/* ─── ABOUT SECTION ─── */
.about { padding: 100px 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 24px; }
.about-text h2 span { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-text p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 16px; line-height: 1.8; }
.stats-row { display: flex; gap: 48px; margin-top: 40px; }
.stat-item { text-align: center; }
.stat-item .stat-number {
  font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 800;
  background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-item .stat-label { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }

.about-visual {
  display: flex; align-items: center; justify-content: center;
}
.about-graphic {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-card), rgba(232,127,26,0.08));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-graphic::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(232,127,26,0.12) 0%, transparent 60%);
}
.about-graphic-text {
  position: relative; z-index: 1; text-align: center; padding: 40px;
}
.about-graphic-text h3 {
  font-size: 2rem; font-weight: 800; margin-bottom: 12px;
}
.about-graphic-text p { color: var(--text-secondary); font-size: 0.95rem; }

/* ─── SERVICES SECTION ─── */
.services { padding: 100px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.section-header h2 span { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-header p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.srv-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
}
.srv-card:hover { transform: translateY(-6px); border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.srv-card-img {
  width: 100%; height: 200px; object-fit: cover;
  border-bottom: 1px solid var(--border);
}
.srv-card-body { padding: 28px; }
.srv-card-body h4 {
  font-size: 1.2rem; font-weight: 700; margin-bottom: 12px;
  background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.srv-card-body p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* ─── TESTIMONIALS ─── */
.testimonials { padding: 100px 0; background: var(--bg-secondary); }
.testimonials .section-header { margin-bottom: 64px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.testi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px; transition: var(--transition);
  position: relative;
}
.testi-card:hover { border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.testi-card .stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card blockquote { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 16px; }
.testi-author img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--accent);
}
.testi-author-name { font-weight: 600; font-size: 1rem; }
.testi-author-role { color: var(--text-muted); font-size: 0.85rem; }

/* ─── FOOTER ─── */
.footer {
  padding: 64px 0 32px; border-top: 1px solid var(--border);
  background: var(--bg-primary);
}
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h4 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 12px;
  background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-brand p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }
.footer-col h5 { font-size: 1rem; font-weight: 600; margin-bottom: 16px; color: var(--text-primary); }
.footer-col a { display: block; color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-form { display: flex; gap: 8px; margin-top: 8px; }
.footer-form input {
  flex: 1; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-primary); font-size: 0.9rem; outline: none;
  transition: var(--transition);
}
.footer-form input:focus { border-color: var(--accent); }
.footer-form button {
  padding: 12px 24px; border-radius: var(--radius-sm); border: none;
  background: var(--gradient-accent); color: #fff; font-weight: 600;
  font-size: 0.9rem; cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.footer-form button:hover { opacity: 0.9; transform: scale(1.02); }
.footer-bottom {
  text-align: center; padding-top: 32px;
  border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 968px) {
  .cards-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards-grid, .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(10,14,26,0.95); backdrop-filter: blur(20px); flex-direction: column; padding: 32px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.active { display: flex; }
  .hamburger { display: flex; }
  .stats-row { gap: 24px; }
  .footer-form { flex-direction: column; }
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
