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

:root {
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  --bg-dark: #000000;
  --bg-card: rgba(18, 26, 34, 0.65); /* matching darkSurface 0xFF121A22 */
  --bg-card-hover: rgba(31, 42, 54, 0.85); /* matching darkBorder 0xFF1F2A36 */
  
  --primary: #c6ff00; /* SwapkaColors.neon */
  --primary-glow: rgba(198, 255, 0, 0.22);
  --primary-light: #e6ff4d;
  
  --accent: #9bef00; /* SwapkaColors.lime */
  --accent-glow: rgba(155, 239, 0, 0.22);
  
  --text-primary: #eaf2ff; /* SwapkaColors.darkTextPrimary */
  --text-secondary: #a9b4c0; /* SwapkaColors.darkTextSecondary */
  --text-muted: #5e6b7c;
  
  --border-color: rgba(31, 42, 54, 0.7); /* matching darkBorder */
  --border-hover: rgba(198, 255, 0, 0.4);
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  font-family: var(--font-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark);
  line-height: 1.6;
}



/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 14px 40px;
  background: rgba(10, 8, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

.logo:hover .logo-img {
  transform: scale(1.08) rotate(-5deg);
}

.logo-text {
  height: 22px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 3px;
  border-radius: 8px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}

.lang-btn.active {
  background: var(--primary);
  color: #000000;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-nav-download {
  text-decoration: none;
  background: var(--primary);
  color: #0b0f14; /* matching primaryBtnText */
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  background: var(--primary-light);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 180px 0 100px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  font-weight: 400;
}

.download-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.badge-wrapper {
  position: relative;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  transition: var(--transition);
  cursor: pointer;
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.download-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-tag {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-title {
  font-size: 15px;
  font-weight: 600;
}

.soon-tag {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff5252 100%);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px var(--accent-glow);
}

/* Mockup display styling */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 320px;
  height: 640px;
  border-radius: 40px;
  background: #1c1833;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
              0 0 0 1px var(--border-color),
              inset 0 0 15px rgba(255, 255, 255, 0.1);
  animation: floatMockup 6s ease-in-out infinite alternate;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0d0b1a;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mockup interface components */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 25px;
  background: #1c1833;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 5;
}

.mockup-app {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}

.mockup-header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.mockup-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mockup-body {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mockup-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-image {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e193f 0%, #2e265c 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.mockup-image svg {
  width: 40px;
  height: 40px;
  opacity: 0.3;
}

.mockup-card-title {
  font-size: 14px;
  font-weight: 700;
}

.mockup-card-meta {
  font-size: 11px;
  color: var(--text-secondary);
}

.mockup-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.mockup-btn {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  border: 1px solid transparent;
}

.mockup-btn-primary {
  background: var(--primary);
  color: white;
}

.mockup-btn-accent {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.mockup-footer {
  height: 60px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(18, 15, 36, 0.8);
}

.mockup-tab {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.mockup-tab.active {
  background: var(--primary);
}

/* Floating blur behind phone */
.mockup-blur {
  position: absolute;
  width: 250px;
  height: 450px;
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--accent-glow) 100%);
  filter: blur(80px);
  z-index: -1;
  border-radius: 40px;
  transform: translate3d(0, 0, 0);
  will-change: filter;
}

/* Sections Common */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(157, 80, 255, 0.08), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
              0 0 20px rgba(157, 80, 255, 0.1);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
  color: var(--primary);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 15px;
}

/* How It Works Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-number {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 900;
  line-gradient: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: -15px;
  opacity: 0.15;
}

.step-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  flex: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Call to Action Section */
.cta {
  padding: 100px 0;
}

.cta-box {
  background: linear-gradient(135deg, rgba(157, 80, 255, 0.15) 0%, rgba(255, 64, 129, 0.05) 100%);
  border: 1px solid rgba(157, 80, 255, 0.2);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.cta .download-badges {
  justify-content: center;
}

/* Footer Section */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px 0;
  background-color: #06050d;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  max-width: 320px;
}

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

.footer-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* Privacy Policy Layout */
.privacy-page {
  padding: 160px 0 100px 0;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.privacy-header h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
}

.privacy-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.privacy-section h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.privacy-section p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.privacy-section ul {
  list-style: none;
  padding-left: 0;
}

.privacy-section li {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.privacy-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 30px;
  transition: var(--transition);
}

.btn-back-home:hover {
  color: var(--primary-light);
  transform: translateX(-4px);
}

/* Animations */
@keyframes floatMockup {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(0, -15px, 0) rotate(1deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }
  
  .header.scrolled {
    padding: 12px 20px;
  }
  
  .nav-links {
    display: none; /* simple responsive nav hide, can toggle if needed */
  }

  .btn-nav-download {
    display: none; /* Hide download button in header on mobile to fit controls */
  }
  
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 34px;
    letter-spacing: -1px;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 15px;
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .download-badges {
    justify-content: center;
  }

  .phone-mockup-wrapper {
    width: 280px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 2;
  }

  .phone-notch {
    width: 120px;
  }
  
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .section-subtitle {
    font-size: 14px;
  }

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

  .feature-card {
    padding: 30px 20px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .step-number {
    font-size: 60px;
    margin-bottom: -10px;
  }

  .step-content {
    padding: 24px 20px;
  }

  .cta {
    padding: 60px 0;
  }

  .cta-box {
    padding: 50px 20px;
    border-radius: 24px;
  }

  .cta-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .cta-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
