/* VaulTool - Official Website Stylesheet
   Designed for vaulttool.mminfocare.com
   Dark Theme matching VaulTool Native Android App
*/

:root {
  --bg-main: #0a0b10;
  --bg-surface: #141722;
  --bg-surface-elevated: #1b1f2e;
  --bg-surface-hover: #22273a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(124, 77, 255, 0.4);
  
  --primary: #7c4dff;
  --primary-gradient: linear-gradient(135deg, #7c4dff 0%, #6200ea 100%);
  --primary-glow: rgba(124, 77, 255, 0.35);
  
  --secondary: #18ffff;
  --tertiary: #2ecc71;
  --danger: #ff5252;
  --warning: #ffb74d;
  
  --text-main: #f5f6fa;
  --text-muted: #9aa1b2;
  --text-dim: #6b7280;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere Effects */
.bg-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.orb-primary {
  background: var(--primary);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.orb-secondary {
  background: var(--secondary);
  top: 900px;
  right: -100px;
  opacity: 0.1;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: var(--transition-smooth);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(124, 77, 255, 0.35);
}

.brand-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--primary);
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(124, 77, 255, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  position: relative;
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 77, 255, 0.12);
  border: 1px solid rgba(124, 77, 255, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tertiary);
  box-shadow: 0 0 10px var(--tertiary);
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 540px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 34px;
}

.playstore-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000000;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.playstore-button:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.playstore-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.playstore-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.playstore-text .caption {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a0a0a0;
}

.playstore-text .store {
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.highlight-item svg {
  color: var(--tertiary);
  flex-shrink: 0;
}

/* Device Simulator / Showcase */
.device-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 320px;
  background: #11141f;
  border-radius: 40px;
  border: 8px solid #232738;
  padding: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 77, 255, 0.15);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 20px;
  background: #232738;
  margin: 0 auto 16px;
  border-radius: 0 0 14px 14px;
}

.phone-screen {
  background: var(--bg-main);
  border-radius: 24px;
  padding: 20px 16px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-header {
  text-align: center;
}

.screen-shield-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  background: rgba(124, 77, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.screen-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.screen-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Pin Dots Interactive Demo */
.pin-display {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 22px 0 16px;
}

.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  transition: var(--transition-smooth);
}

.pin-dot.filled {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.key-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: 12px;
  padding: 12px 0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}

.key-btn:hover {
  background: rgba(124, 77, 255, 0.2);
  border-color: var(--primary);
}

.key-btn:active {
  transform: scale(0.95);
}

.sim-message {
  text-align: center;
  font-size: 0.75rem;
  height: 18px;
  color: var(--secondary);
  font-weight: 500;
}

/* Floating Badges on Mockup */
.floating-card {
  position: absolute;
  background: rgba(20, 23, 34, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.card-top {
  top: 40px;
  left: -40px;
}

.card-bottom {
  bottom: 50px;
  right: -30px;
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.icon-camera {
  background: rgba(255, 82, 82, 0.15);
  color: var(--danger);
}

.icon-vault {
  background: rgba(24, 255, 255, 0.15);
  color: var(--secondary);
}

.floating-content h5 {
  font-size: 0.85rem;
  font-weight: 700;
}

.floating-content p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Section Common */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background: #0d0f17;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  background: var(--bg-surface-hover);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(124, 77, 255, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(124, 77, 255, 0.25);
}

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

.feature-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  flex-grow: 1;
}

.feature-tech-tag {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--secondary);
  font-family: monospace;
  font-weight: 600;
}

/* Technical Architecture Banner */
.tech-banner {
  background: linear-gradient(180deg, #121520 0%, #0d0f17 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin: 40px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.tech-item {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.tech-item h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* Disclosure Box (Google Play Compliance) */
.disclosure-box {
  background: rgba(24, 255, 255, 0.03);
  border: 1px solid rgba(24, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 40px;
}

.disclosure-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.disclosure-header h3 {
  font-size: 1.3rem;
  color: var(--secondary);
}

.disclosure-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.disclosure-body p {
  margin-bottom: 12px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
  transition: max-height 0.4s ease-in-out;
}

/* Download CTA Card */
.download-banner {
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.2) 0%, rgba(20, 23, 34, 0.9) 100%);
  border: 1px solid rgba(124, 77, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.download-banner h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-banner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Footer */
.site-footer {
  background: #07080b;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

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

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--text-main);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 14px;
}

/* Privacy & Legal Page Specifics */
.legal-page {
  padding: 60px 0 100px;
}

.legal-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.legal-header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-content h2 {
  color: var(--text-main);
  font-size: 1.5rem;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h3 {
  color: var(--text-main);
  font-size: 1.2rem;
  margin: 22px 0 10px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  margin: 12px 0 20px 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-callout {
  background: rgba(124, 77, 255, 0.08);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas, .hero-highlights {
    justify-content: center;
  }

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

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

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: #0d0f18;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .tech-banner {
    padding: 28px 20px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card-top, .card-bottom {
    display: none;
  }

  .legal-content {
    padding: 24px;
  }
}

