/* =========================================
   CSS Variables
   ========================================= */
:root {
    --bg-page: #0B1426;
    --bg-section: #0F1B33;
    --bg-card: #162040;
    --border-card: #1E3A5F;
    --color-primary: #3B82F6;
    --color-primary-hover: #2563EB;
    --color-text-main: #E2E8F0;
    --color-text-muted: #94A3B8;
    --color-text-dark: #64748B;
    --color-text-darker: #475569;
    --color-white: #FFFFFF;
    --gradient-accent: linear-gradient(90deg, #3B82F6 0%, #06B6D4 100%);
    
    --font-main: 'Inter', sans-serif;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--color-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button, input {
    font-family: inherit;
    border: none;
    outline: none;
}

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

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 26px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-white);
}

.section-subtitle {
    font-size: 14px;
    color: var(--color-text-dark);
    text-align: center;
    margin-top: -40px;
    margin-bottom: 40px;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-large {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    padding: 12px 28px;
}

/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(11, 20, 38, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 20px;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--color-white);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-page);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.nav-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.nav-mobile .nav-link {
    font-size: 24px;
    color: var(--color-white);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--bg-page);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,58,95,0.4) 0%, rgba(11,20,38,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    align-items: center;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.hero-note {
    font-size: 13px;
    color: var(--color-text-dark);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-art {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.shield-ring-1 {
    width: 100%;
    height: 100%;
    border-style: dashed;
    animation: rotate 20s linear infinite;
}

.shield-ring-2 {
    width: 75%;
    height: 75%;
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1);
}

.shield-ring-3 {
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
}

.shield-core {
    position: relative;
    z-index: 2;
    font-size: 64px;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =========================================
   Features Section
   ========================================= */
.features {
    background-color: var(--bg-section);
    padding: 80px 0;
}

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

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.feature-icon {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.feature-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-white);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* =========================================
   Pricing Section
   ========================================= */
.pricing {
    background-color: var(--bg-page);
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.pricing-card-featured {
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--color-white);
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-duration {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 16px;
}

.pricing-old-price {
    font-size: 14px;
    color: var(--color-text-dark);
    text-decoration: line-through;
    margin-bottom: 4px;
    height: 20px; /* To keep alignment consistent */
}

.pricing-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 12px;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    flex-grow: 1;
}

.promo-code-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.promo-form {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 400px;
}

.promo-input {
    flex-grow: 1;
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 50rem;
    padding: 12px 20px;
    color: var(--color-white);
    font-size: 14px;
}

.promo-input::placeholder {
    color: var(--color-text-dark);
}

.pricing-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.p-feature {
    font-size: 13px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #0A1122;
    padding: 60px 0 20px;
}

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

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-text-dark);
    font-size: 14px;
}

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

.footer-legal p {
    font-size: 12px;
    color: var(--color-text-darker);
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-card);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--color-text-darker);
}

/* =========================================
   Media Queries
   ========================================= */
/* Tablet */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-form {
        flex-direction: row;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero-content {
        flex: 0 0 60%;
        text-align: left;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta {
        align-items: flex-start;
    }

    .hero-visual {
        flex: 0 0 40%;
    }
    
    .shield-art {
        width: 340px;
        height: 340px;
    }

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

    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
