/* Norse VPN - Styles
   Matching Norse Data aesthetic with deep navy, gold accents, aurora effects
*/

/* CSS Variables */
:root {
    --deep-navy: #0D0D26;
    --midnight-blue: #141433;
    --slate: #2A2A4A;
    --gold: #D9A64D;
    --gold-light: #E8C078;
    --aurora-green: #4DD99A;
    --aurora-teal: #4AE0B5;
    --aurora-purple: #8B5CF6;
    --frost: #F0F4F8;
    --stone: #8A8AA3;
    --error: #D94D4D;
    
    --font-display: 'Cinzel', serif;
    --font-body: 'Raleway', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(217, 166, 77, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--deep-navy);
    color: var(--frost);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--stone);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--deep-navy);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(217, 166, 77, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid rgba(217, 166, 77, 0.5);
}

.btn-secondary:hover {
    background: rgba(217, 166, 77, 0.1);
    border-color: var(--gold);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(13, 13, 38, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 166, 77, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-rune {
    font-size: 1.5rem;
    color: var(--gold);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--frost);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--stone);
    transition: color 0.3s ease;
}

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

.nav-cta {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--deep-navy);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--deep-navy);
    padding: 2rem;
    border-bottom: 1px solid rgba(217, 166, 77, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-links a {
    font-size: 1.1rem;
    color: var(--frost);
}

.mobile-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gold);
    color: var(--deep-navy) !important;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.aurora-1 {
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, var(--aurora-green) 0%, transparent 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    animation: aurora-float 8s ease-in-out infinite;
}

.aurora-2 {
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, var(--aurora-purple) 0%, transparent 70%);
    bottom: 100px;
    right: -100px;
    animation: aurora-float 10s ease-in-out infinite reverse;
}

@keyframes aurora-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(20px); }
}

.rune-decoration {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: var(--gold);
    opacity: 0.4;
    letter-spacing: 1rem;
    font-family: serif;
}

.rune-alt {
    top: auto;
    bottom: 60px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--gold);
    position: relative;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--stone);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--stone);
}

.hero-shield {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 240px;
    display: none;
}

@media (min-width: 1024px) {
    .hero-shield {
        display: block;
    }
    
    .hero-content {
        text-align: left;
        margin-right: auto;
        margin-left: 10%;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-stats {
        justify-content: flex-start;
    }
}

.shield-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, var(--aurora-green) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(40px);
    animation: shield-pulse 3s ease-in-out infinite;
}

@keyframes shield-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.shield-icon {
    position: relative;
    width: 100%;
    height: 100%;
}

.shield-icon svg {
    width: 100%;
    height: 100%;
}

/* Section Styles */
section {
    position: relative;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.1rem;
}

/* Features Section */
.features {
    background: var(--midnight-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(42, 42, 74, 0.5);
    border: 1px solid rgba(217, 166, 77, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 166, 77, 0.3);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--frost);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Servers Section */
.servers {
    background: var(--deep-navy);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.server-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: rgba(42, 42, 74, 0.3);
    border: 1px solid rgba(217, 166, 77, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.server-card:hover {
    border-color: rgba(217, 166, 77, 0.3);
    background: rgba(42, 42, 74, 0.5);
}

.server-flag {
    font-size: 2rem;
}

.server-name {
    font-weight: 600;
    color: var(--frost);
    font-size: 0.95rem;
}

.server-count {
    font-size: 0.8rem;
    color: var(--stone);
}

.servers-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--gold);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
    background: var(--midnight-blue);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    position: relative;
    background: rgba(42, 42, 74, 0.5);
    border: 1px solid rgba(217, 166, 77, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.price-card.featured {
    border-color: var(--gold);
    background: rgba(217, 166, 77, 0.05);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--deep-navy);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-header {
    margin-bottom: 2rem;
}

.price-header h3 {
    color: var(--stone);
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--gold);
}

.amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--frost);
}

.period {
    font-size: 1rem;
    color: var(--stone);
}

.price-note {
    font-size: 0.85rem;
    color: var(--aurora-green);
    margin-top: 0.5rem;
}

.price-features {
    text-align: left;
    margin-bottom: 2rem;
}

.price-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--stone);
    font-size: 0.95rem;
}

.price-features li::before {
    content: "✓";
    color: var(--aurora-green);
    margin-right: 0.75rem;
    font-weight: 600;
}

.price-card .btn {
    width: 100%;
    justify-content: center;
}

/* Download Section */
.download {
    background: linear-gradient(180deg, var(--deep-navy) 0%, var(--midnight-blue) 100%);
    text-align: center;
    padding: 8rem 2rem;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download h2 {
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--frost);
    transition: all 0.3s ease;
}

.app-store-btn:hover {
    background: #111;
    border-color: rgba(255, 255, 255, 0.3);
}

.app-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-store-text span {
    font-size: 0.7rem;
    color: var(--stone);
}

.app-store-text strong {
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--deep-navy);
    border-top: 1px solid rgba(217, 166, 77, 0.1);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--frost);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--stone);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    font-size: 1.25rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    section {
        padding: 4rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Legal Pages Specific Styles */
.legal-page {
    padding-top: 120px;
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(217, 166, 77, 0.2);
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-date {
    color: var(--stone);
    font-size: 0.9rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--gold);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(217, 166, 77, 0.1);
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--frost);
    margin: 2rem 0 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul, .legal-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--stone);
    line-height: 1.7;
}

.legal-content a {
    color: var(--gold);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--gold-light);
}

/* Support/Contact Page Styles */
.support-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--midnight-blue) 0%, var(--deep-navy) 100%);
}

.support-hero h1 {
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-card {
    background: rgba(42, 42, 74, 0.5);
    border: 1px solid rgba(217, 166, 77, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(217, 166, 77, 0.3);
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--frost);
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-card .btn {
    width: 100%;
    justify-content: center;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    background: rgba(42, 42, 74, 0.3);
    border: 1px solid rgba(217, 166, 77, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--frost);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
}

/* Contact Form */
.contact-form-section {
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(42, 42, 74, 0.3);
    border: 1px solid rgba(217, 166, 77, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--frost);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(13, 13, 38, 0.8);
    border: 1px solid rgba(217, 166, 77, 0.2);
    border-radius: 8px;
    color: var(--frost);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D9A64D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}