/* --- Global Styles --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

:root {
    --remote-vault-blue: #1E90FF;
    --remote-vault-blue-dark: #1a78e7;
    --text-dark: #333;
    --text-light: #f4f7f6;
    --radius-md: 10px;
}

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

/* --- Typography --- */
h1, h2, h3 {
    font-weight: 700;
    color: var(--remote-vault-blue);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.5em; }

/* --- Logo & Hero --- */
.logo {
    width: 110px;
    height: auto;
    margin-bottom: 1em;
}

.hero {
    text-align: center;
    padding: 120px 20px 80px; /* space for nav bar only */
    background-color: var(--text-light);
    border-bottom: 3px solid var(--remote-vault-blue);
}





.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 1em auto 2em;
}

/* --- CTA Buttons --- */
.cta-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.primary {
    background-color: var(--remote-vault-blue);
    color: var(--text-light);
    border: 2px solid var(--remote-vault-blue);
}

.primary:hover {
    background-color: var(--remote-vault-blue-dark);
}

.secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.secondary:hover {
    background-color: var(--text-light);
    color: var(--remote-vault-blue);
}

/* --- Features Section --- */
.features {
    padding: 80px 20px;
    background-color: #fff;
}

.features-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    padding: 30px;
    flex: 1;
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--remote-vault-blue);
    color: var(--text-light);
    text-align: center;
    padding: 100px 20px;
}

.cta-section h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px 20px;
    font-size: 0.9em;
    color: #666;
}

footer a {
    color: #666;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: var(--remote-vault-blue);
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    margin: 0 10px;
    color: var(--remote-vault-blue);
    text-decoration: none;
    font-weight: 600;
}

.social-links a:hover {
    color: var(--remote-vault-blue-dark);
}

/* --- Language Switcher (Cleaned & Final) --- */
.language-switcher {
    display: flex;
    gap: 14px;
    align-items: center;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 600;
    color: var(--remote-vault-blue);
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.lang-item:hover {
    opacity: 0.7;
}

.flag-icon {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

/* --- Mobile Tweaks --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    .features-grid { flex-direction: column; }
}

@media (max-width: 480px) {
    .language-switcher {
        top: 10px;
        right: 10px;
        gap: 6px;
    }
    .flag-icon {
        width: 18px;
        height: 18px;
    }
}

/* --- Top Navigation Bar --- */
.top-nav {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 2px solid var(--remote-vault-blue);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999; /* stays above hero */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo img {
    width: 40px;
    height: auto;
}

.nav-logo span {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--remote-vault-blue);
}

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

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: var(--remote-vault-blue);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--remote-vault-blue-dark);
}

/* Mobile Navigation */
@media (max-width: 600px) {
    .nav-links {
        gap: 14px;
    }
    .nav-logo span {
        font-size: 1.1em;
    }
}

.time-travel {
  padding: 60px 0;
  background: #f7f9fc;
}

.section-title {
  text-align: center;
  margin: 0 0 10px;
}

.section-subtitle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.time-travel-cta {
  text-align: center;
  margin-top: 25px;
}

/* --- Pricing Section --- */
.pricing {
  padding: 80px 20px;   
  background-color: #fff;
  max-width: 1600px;    
  margin: 0 auto;       
}

/* Pricing grid: Default (Large Screens) */
.pricing-grid {
  display: grid;        
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px;            
  width: 100%;
  justify-content: center;
}

/* Medium screens: 2 per row */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 20px;
  }
}

/* Small screens: 1 per row */
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}



.price-card {
  display: flex;
  flex-direction: column;
}

.plan-header h3 {
  margin: 0;
}

.plan-meta {
  margin: 4px 0 0;
  font-weight: 600;
  color: #666;
}

.price {
  margin: 18px 0 10px;
}

.price-main {
  font-size: 2.2em;
  font-weight: 800;
  color: var(--remote-vault-blue);
  line-height: 1.1;
}

.price-period {
  font-size: 0.45em;
  font-weight: 700;
  color: #666;
  margin-left: 6px;
}

.price-sub {
  margin-top: 6px;
  color: #666;
  font-weight: 600;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}

.plan-features li {
  padding-left: 22px;
  position: relative;
  color: #444;
}

.plan-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--remote-vault-blue);
  font-weight: 800;
}

.price-card .cta-button {
  margin-top: auto;
}

/* Recommended plan */
.price-card.recommended {
  border: 2px solid var(--remote-vault-blue);
  transform: translateY(-4px);
}

.badge {
  align-self: flex-start;
  background: var(--remote-vault-blue);
  color: var(--text-light);
  font-weight: 800;
  font-size: 0.85em;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.pricing-note {
  text-align: center;
  max-width: 900px;
  margin: 25px auto 0;
  color: #666;
  font-weight: 600;
}
