/* ══════════════════════════════════════════════════════════════════════════════
   AstraVault — Website Stylesheet
   Domain: astravault.co.in
   Theme: Deep navy + white + blue accent (matching app icon)
   ══════════════════════════════════════════════════════════════════════════════ */

:root {
    --navy-deep:    #0A0A14;
    --navy-surface: #12121F;
    --navy-card:    #1A1A2E;
    --navy-border:  #2A2A40;
    --blue-primary: #3B7DD8;
    --blue-light:   #5A9CF5;
    --blue-glow:    #3B7DD840;
    --white:        #FFFFFF;
    --text-primary: #F0F0F5;
    --text-secondary: #A0A0B8;
    --text-hint:    #6B6B85;
    --gold:         #FFD700;
    --emerald:      #34D399;
    --rose:         #F43F5E;
    --radius:       16px;
    --radius-sm:    10px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy-deep);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Navigation ───────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navy-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--blue-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: white;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

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

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: 0.2s;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue-light), #74C7EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-cta {
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--blue-primary);
    color: white;
    box-shadow: 0 4px 24px var(--blue-glow);
}

.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--blue-glow);
}

.btn-sm {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 13px;
    color: var(--text-hint);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--navy-border);
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 56px;
}

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

.feature-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    border-color: var(--blue-light);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(59, 125, 216, 0.2);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Security ─────────────────────────────────────────────────────────────── */
.security {
    padding: 100px 0;
    background: var(--navy-surface);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 56px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-item:hover {
    transform: translateX(4px);
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 4px 20px rgba(52, 211, 153, 0.1);
}

.security-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(52, 211, 153, 0.15);
    color: var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.security-item div:last-child {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.security-item strong {
    color: var(--white);
}

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 56px auto 0;
}

.pricing-card {
    position: relative;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    background: rgba(30, 30, 60, 0.75);
    border-color: var(--blue-light);
    box-shadow: 0 0 50px var(--blue-glow);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 0 60px rgba(90, 156, 245, 0.5);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-hint);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.pricing-period {
    font-size: 13px;
    color: var(--text-hint);
    margin-bottom: 24px;
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--navy-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓ ';
    color: var(--emerald);
    font-weight: 700;
}

/* ── DPDP ─────────────────────────────────────────────────────────────────── */
.dpdp {
    padding: 100px 0;
    background: var(--navy-surface);
}

.dpdp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.dpdp-card {
    background: rgba(26, 26, 46, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.dpdp-card:hover {
    transform: translateY(-4px);
    opacity: 0.9;
    border-color: rgba(255, 215, 0, 0.3);
}

.dpdp-card h4 {
    color: var(--gold);
    font-size: 15px;
    margin-bottom: 8px;
}

.dpdp-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
    padding: 64px 0 40px;
    border-top: 1px solid var(--navy-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 12px;
}

.footer-copy {
    color: var(--text-hint) !important;
    font-size: 12px !important;
    margin-top: 16px !important;
}

.footer-links h4 {
    color: var(--text-hint);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links a,
.footer-links p {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--blue-light);
}

/* ── Legal Pages ──────────────────────────────────────────────────────────── */
.legal-page {
    padding: 120px 0 80px;
}

.legal-page .container {
    max-width: 780px;
}

.legal-page h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.legal-page .last-updated {
    color: var(--text-hint);
    font-size: 13px;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--blue-light);
}

.legal-page h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-page p,
.legal-page li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-page ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page li {
    margin-bottom: 6px;
}

.legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.legal-page th,
.legal-page td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--navy-border);
    font-size: 14px;
    color: var(--text-secondary);
}

.legal-page th {
    color: var(--text-primary);
    font-weight: 600;
    background: var(--navy-card);
}

.legal-page .highlight-box {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-left: 4px solid var(--blue-primary);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 20px 0;
}

.legal-page .highlight-box p {
    margin-bottom: 4px;
}

.legal-page a {
    color: var(--blue-light);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* ── Support Page ─────────────────────────────────────────────────────────── */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.support-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius);
    padding: 32px;
}

.support-card h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 12px;
}

.support-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 12px;
}

.faq-item h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--navy-surface);
        flex-direction: column;
        padding: 20px 24px;
        border-bottom: 1px solid var(--navy-border);
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .hero h1 { font-size: 36px; }
    .hero { padding: 120px 0 60px; }
    .hero-subtitle { font-size: 15px; }
    .hero-stats { gap: 20px; }
    .stat-value { font-size: 18px; }

    .section-title { font-size: 28px; }
    .features-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
    .dpdp-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 30px; }
    .section-title { font-size: 24px; }
    .dpdp-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
