:root {
  /* Premium Palette */
  --bg-main: #ffffff;
  --bg-soft: #f8fafc;
  --bg-accent: #f1f5f9;

  --primary: #2563eb; /* Executive Blue */
  --primary-dark: #1e40af;
  --accent: #c5a059; /* Premium Gold/Silk */
  --accent-soft: rgba(197, 160, 89, 0.1);

  --text-main: #0f172a; /* Midnight Slate */
  --text-muted: #475569; /* Slate */
  --text-soft: #94a3b8;

  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.5);
  --border-light: rgba(0, 0, 0, 0.05);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-muted);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Utilities */
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background-color: var(--bg-soft);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.center-text {
  text-align: center;
}

.margin-top-40 {
  margin-top: 40px;
}

/* Background Decor */
.bg-decor {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(37, 99, 235, 0.1);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(197, 160, 89, 0.1);
  bottom: -50px;
  left: -50px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo::before {
  content: "\f4ad";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  font-size: 1.4rem;
}

.logo .dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .btn-primary {
  padding: 12px 28px;
  margin-left: 10px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: #fff;
  color: var(--text-main);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  border: 2px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-soft);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url("hero-bg-finance.png") no-repeat center center;
  background-size: cover;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none; /* Let clicks pass through if needed, but we use window detect */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95) 40%,
    rgba(255, 255, 255, 0.4) 100%
  );
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content {
  max-width: 800px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
  animation: floating 6s ease-in-out infinite;
}

.badge {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  display: inline-block;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* Ticker */
.skills-ticker-wrapper {
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  animation: scrollTicker 40s linear infinite;
}

.ticker-item {
  padding: 0 40px;
  font-weight: 700;
  color: var(--text-soft);
  white-space: nowrap;
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
}

.ticker-item span {
  color: var(--accent);
  margin-right: 10px;
}

/* Cards & Glass */
.glass {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.glass:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about .lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
}

.about p {
  margin-bottom: 20px;
}

.stats-row {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: "Outfit", sans-serif;
}

.stat-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-soft);
}

.img-card {
  padding: 16px;
  position: relative;
}

.img-card img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.img-card-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

/* Visual Process */
.visual-process {
  background-color: var(--bg-soft);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sub-title {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: block;
}

.process-steps {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-item {
  display: flex;
  gap: 24px;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.step-text h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* Shorts Gallery */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.short-card {
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 9/16;
  position: relative;
  box-shadow: var(--shadow-md);
}

.video-wrapper {
  width: 100%;
  height: 100%;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-light);
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  padding: 0;
  background: white;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.timeline-content:hover .service-img img {
  transform: scale(1.1);
}

.timeline-content .icon-box {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -28px 32px 20px;
  position: relative;
  z-index: 5;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.timeline-content h3 {
  padding: 0 32px;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: var(--text-main);
}

.timeline-content ul {
  padding: 0 32px 32px;
}

.timeline-content ul li {
  font-size: 0.95rem;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.timeline-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--bg-main);
  border: 4px solid var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Background Patterns */
.section {
  position: relative;
  z-index: 1;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
}

.pattern-grid::before {
  background: url("pattern-grid.png") repeat !important;
  background-size: 300px;
}
.pattern-nodes::before {
  background: url("pattern-nodes.png") repeat !important;
  background-size: 400px;
}
.pattern-charts::before {
  background: url("pattern-charts.png") repeat !important;
  background-size: 500px;
}
.pattern-currency::before {
  background: url("pattern-currency.png") repeat !important;
  background-size: 350px;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.skill-card {
  padding: 32px;
}

.skill-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.progress-bar {
  height: 8px;
  background: var(--bg-accent);
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

/* Footer */
.footer {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05) 0%,
    rgba(197, 160, 89, 0.1) 50%,
    #ffffff 100%
  );
  padding: 100px 0 40px;
  border-top: 2px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  z-index: 3;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.footer-left h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.social-links a {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  border-color: var(--primary);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.contact-form h3 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.05);
}

.footer-bottom {
  text-align: center;
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .about-grid,
  .process-grid,
  .footer-content {
    gap: 40px;
  }
  .shorts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
    gap: 40px;
  }
  .hero-image-wrapper img {
    max-width: 300px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero h1 {
    font-size: 2.75rem;
  }
  .about-grid,
  .process-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-dot {
    left: 20px;
  }
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
    text-align: left !important;
  }
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes scrollTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
