:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a78bfa;
  --accent: #c084fc;
  --bg-dark: #0a0612;
  --bg-card: #130c1f;
  --bg-section: #0f0a18;
  --text: #f5f3ff;
  --text-muted: #a89bbf;
  --border: rgba(124, 58, 237, 0.25);
  --gradient: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  --shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
  --radius: 16px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

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

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Top Bar */
.top-bar {
  background: #08040f;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-left {
  display: flex;
  gap: 24px;
}

.top-left a, .top-left span {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-left a:hover {
  color: var(--primary-light);
}

.top-right {
  display: flex;
  gap: 12px;
}

.top-right a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 0.85rem;
}

.top-right a:hover {
  background: var(--primary);
  color: #fff;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 6, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.logo strong {
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(76, 29, 149, 0.2) 0%, transparent 40%),
    linear-gradient(180deg, #0a0612 0%, #130c1f 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.stars {
  color: #fbbf24;
  letter-spacing: 2px;
}

/* Services */
.services {
  background: var(--bg-section);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 28px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Service thumbnail */
.service-thumb {
  margin: 0 -28px;
  height: 170px;
  overflow: hidden;
  position: relative;
  background: var(--bg-dark);
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 55%);
}

.service-card:hover .service-thumb img {
  transform: scale(1.07);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background:
    linear-gradient(rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.15)),
    var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-light);
  margin: -28px 0 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-card);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-link {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.service-link:hover {
  gap: 10px;
}

.service-card-ai {
  border-color: rgba(167, 139, 250, 0.4);
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.12) 100%);
}

.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ai-tags span {
  background: rgba(124, 58, 237, 0.25);
  color: var(--primary-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Stats */
.stats {
  background: var(--bg-dark);
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About Preview */
.about-preview {
  background: var(--bg-section);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-content .btn {
  margin-top: 12px;
}

.about-image {
  display: grid;
  gap: 20px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.about-card:hover {
  border-color: var(--primary);
}

.about-card i {
  font-size: 1.5rem;
  color: var(--primary-light);
  margin-top: 4px;
}

.about-card h4 {
  margin-bottom: 6px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}


/* Founder */
.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.founder-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-dark);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 6px;
  color: var(--text);
}

.founder-info h3.founder-title {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #a78bfa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-name {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
}

.founder-role {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary, #7c3aed);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #a78bfa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.founder-info p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .founder-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px;
    text-align: center;
  }
  .founder-photo {
    max-width: 240px;
    margin: 0 auto;
  }
}

/* Process */
.process {
  background: var(--bg-dark);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CTA */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 550px;
  margin: 0 auto 28px;
  opacity: 0.9;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary-dark);
}

.cta-section .btn-primary:hover {
  background: #f0e6ff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* FAQ */
.faq {
  background: var(--bg-section);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
}

.faq-question i {
  color: var(--primary-light);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: #08040f;
  padding: 70px 0 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: #fff;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary-light);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--primary-light);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Page Hero (inner pages) */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
    var(--bg-dark);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-info-card h3 {
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Service Detail */
.service-detail {
  padding: 60px 0;
}

.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
}

.service-detail-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-light);
}

.service-detail-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-detail-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.service-detail-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.service-detail-card ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-detail-card ul li i {
  color: var(--primary-light);
  font-size: 0.75rem;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.portfolio-img {
  height: 200px;
  background: linear-gradient(135deg, #1e1033, #2d1b4e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-light);
  opacity: 0.6;
}

.portfolio-body {
  padding: 24px;
}

.portfolio-body h3 {
  margin-bottom: 8px;
}

.portfolio-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.portfolio-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-detail-card {
    grid-template-columns: 1fr;
  }
  .service-detail-card ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .top-left span {
    display: none;
  }
  .section {
    padding: 70px 0;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-thumb img {
    transition: none;
  }
}