/* =========================================
   Silicn — Styles
   ========================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Purple palette */
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --purple-800: #6b21a8;
  --purple-900: #581c87;

  /* Neutrals */
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;
  --gray-950: #09090b;

  --white: #ffffff;
  --black: #000000;

  /* Gradient */
  --gradient: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  --gradient-text: linear-gradient(
    135deg,
    var(--purple-400),
    var(--purple-600)
  );
  --gradient-hero: linear-gradient(
    160deg,
    #0f0715 0%,
    #1a0a2e 40%,
    #2d1065 100%
  );

  /* Spacing */
  --section-py: 100px;
  --container-px: 24px;

  /* Typography */
  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Misc */
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--gray-950);
  color: var(--gray-300);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--white);
  line-height: 1.2;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.35);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--purple-500);
  color: var(--purple-300);
}

.btn--outline:hover {
  background: rgba(168, 85, 247, 0.1);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.15);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 18px 44px;
  font-size: 1.125rem;
}

.btn--block {
  width: 100%;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(9, 9, 11, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.navbar__wordmark {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.navbar__links {
  display: flex;
  gap: 36px;
}

.navbar__links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color var(--transition);
}

.navbar__links a:hover {
  color: var(--white);
}

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

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-300);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__mobile {
  display: none;
  padding: 16px var(--container-px) 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar__mobile ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.navbar__mobile ul a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-300);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 72px;
}

.hero__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.25) 0%,
    transparent 70%
  );
  top: -200px;
  right: -200px;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from {
    opacity: 0.6;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.15);
  }
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}

.hero__text {
  max-width: 720px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple-300);
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero__sub {
  font-size: 1.2rem;
  color: var(--gray-400);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background: var(--gray-950);
}

.section__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--purple-400);
  margin-bottom: 12px;
  text-align: center;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section__sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 60px;
}

/* =========================================
   KASH SHOWCASE
   ========================================= */
.kash-showcase {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 20px;
}

.kash-showcase__phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.kash-showcase__phone img {
  width: 300px;
  border-radius: 32px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(147, 51, 234, 0.15);
}

.kash-showcase__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.kash-showcase__logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.kash-showcase__header h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.kash-showcase__header p {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.kash-showcase__desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-300);
  margin-bottom: 32px;
}

.kash-showcase__highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.kash-showcase__highlights li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  transition:
    border-color var(--transition),
    background var(--transition);
}

.kash-showcase__highlights li:hover {
  border-color: rgba(147, 51, 234, 0.3);
  background: rgba(147, 51, 234, 0.05);
}

.highlight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.kash-showcase__highlights strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.kash-showcase__highlights span {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* =========================================
   FEATURES GRID
   ========================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition:
    border-color var(--transition),
    transform var(--transition),
    background var(--transition);
}

.feature-card:hover {
  border-color: rgba(147, 51, 234, 0.3);
  background: rgba(147, 51, 234, 0.04);
  transform: translateY(-4px);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 18px;
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.65;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.2) 0%,
    transparent 70%
  );
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta__inner p {
  font-size: 1.15rem;
  color: var(--gray-400);
  margin-bottom: 36px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--gray-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.footer__wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 4px;
  max-width: 300px;
}

.footer__links h5,
.footer__contact h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  color: var(--gray-300);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--purple-400);
}

.footer__contact p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.footer__email {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-400);
  transition: color var(--transition);
}

.footer__email:hover {
  color: var(--purple-300);
}

.footer__bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .kash-showcase {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .kash-showcase__phone {
    order: -1;
  }

  .kash-showcase__phone img {
    width: 260px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 72px;
  }

  .navbar__links,
  .navbar > .container > .btn {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__mobile.active {
    display: block;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero__sub {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .kash-showcase__phone img {
    width: 220px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }
}
