/* ==========================================================================
   MyPasses - Civilian Edition Styling Sheet
   Color Palette: Slate Black, Electric Blue, and Cyan Accents
   ========================================================================== */

:root {
    --bg-dark: #080b11;
    --bg-surface: #0f1420;
    --bg-card-highlight: #141b2c;
    --bg-glass: rgba(8, 11, 17, 0.75);
    
    --color-primary: #2563eb;
    --color-primary-hover: #3b82f6;
    --color-accent: #0891b2;
    --color-accent-hover: #06b6d4;
    
    --border-color: rgba(255, 255, 255, 0.04);
    --border-highlight: rgba(37, 99, 235, 0.3);
    
    --color-text-primary: #f3f4f6;
    --color-text-muted: #9ca3af;
    
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-main);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #111827;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.text-center {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-hover);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50px;
    background: rgba(6, 182, 212, 0.05);
    margin-bottom: 1.5rem;
}

/* Header Styling */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    height: 70px;
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-accent {
    font-weight: 800;
    color: var(--color-accent-hover);
    font-size: 1.4rem;
}

.logo-main {
    font-weight: 800;
    color: #ffffff;
    font-size: 1.4rem;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-item {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-item:hover {
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    padding-top: 70px;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.07) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.07) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 40%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-text-muted);
    max-width: 750px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}

/* Buttons */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Section General styling */
.features-section, .security-section, .pricing-section {
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.01);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* Security Section */
.security-layout {
    max-width: 800px;
    margin: 0 auto;
}

.security-title-text {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.security-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.paragraph-highlight {
    color: var(--color-text-primary);
}

.spec-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-item {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 300;
    position: relative;
    padding-left: 1.5rem;
}

.spec-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-hover);
    font-weight: 700;
}

.spec-item strong {
    color: #ffffff;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.pricing-featured {
    background: var(--bg-card-highlight);
    border: 2px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    position: relative;
    transform: scale(1.03);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 50px;
}

.tier-header {
    margin-bottom: 2rem;
}

.tier-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.price-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.tier-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.tier-features li {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.tier-features li strong {
    color: #ffffff;
}

.btn-tier {
    display: block;
    text-align: center;
    padding: 12px 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.btn-tier-primary {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-tier-primary:hover {
    background: var(--color-primary-hover);
}

.btn-tier-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-tier-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-alternative {
    margin-top: 4rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.pricing-alternative p {
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.app-footer {
    background: #05070a;
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.01);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-vdp-link {
    margin-top: 0.5rem;
}

.footer-vdp-link a {
    color: var(--color-accent-hover);
    font-weight: 500;
}

.footer-vdp-link a:hover {
    color: #ffffff;
}

/* Responsive Adaptations */
@media (max-width: 950px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .pricing-featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .main-nav {
        display: none;
    }
}
