/* Base Styles */
:root {
    --primary-color: #1a1a1a; /* Dark background */
    --secondary-color: #8c42ff; /* Brighter purple - main brand color */
    --accent-color: #b28aff; /* Brighter light purple accent */
    --tertiary-color: #00c2a8; /* Teal accent for highlights */
    --light-color: #ffffff; /* White text */
    --dark-color: #121212; /* Even darker background for sections */
    --text-color: #f5f5f5; /* Light text for readability */
    --bg-color: #18141d; /* Dark purple-tinted background */
    --light-bg: #27232e; /* Slightly lighter purple-tinted background */
    --card-bg: #1f1a26; /* Card background */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease-in-out;
    
    /* Font weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.015em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    color: var(--light-color);
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

h1 {
    font-weight: var(--font-weight-semibold);
}

p {
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-light);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
    font-weight: var(--font-weight-regular);
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: var(--font-weight-regular);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.03em;
}

.btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-color);
}

.divider {
    height: 4px;
    width: 70px;
    background-color: var(--accent-color);
    margin: 0 0 2rem 0;
}

/* Header and Navigation */
header {
    background: linear-gradient(rgba(26, 20, 34, 0.9), rgba(18, 14, 26, 0.95)), url('https://source.unsplash.com/random/1920x1080/?encryption,security') no-repeat center center/cover;
    height: 100vh;
    color: white;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Logo Styling */
.logo-svg {
    width: 130px;
    height: 60px;
    transition: var(--transition);
}

.logo-svg:hover {
    transform: scale(1.05);
}

.logo-svg-footer {
    width: 130px;
    height: 60px;
}

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0;
    color: var(--light-color);
    font-weight: var(--font-weight-medium);
}

.logo span {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--light-color);
    font-weight: var(--font-weight-regular);
    padding: 0.5rem;
    position: relative;
    letter-spacing: 0.03em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: var(--transition);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 100px);
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.025em;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--light-color);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.02em;
    line-height: 1.7;
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: var(--font-weight-medium);
}

.about-section {
    background-color: var(--dark-color);
}

.products-section {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(140, 66, 255, 0.1), transparent 70%);
    pointer-events: none;
}

/* Modern Product Cards */
.product-cards {
    margin-top: 3rem;
}

.product-card {
    display: flex;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(140, 66, 255, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(140, 66, 255, 0.15);
    border-color: rgba(140, 66, 255, 0.3);
}

.product-card.featured {
    border: 1px solid var(--secondary-color);
    position: relative;
}

.product-card.featured::before {
    content: 'Featured Product';
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.5px;
    z-index: 1;
}

.product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 2.5rem;
    padding: 1.5rem;
}

.product-content {
    padding: 2rem;
    flex: 1;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
    display: flex;
    align-items: center;
    font-weight: var(--font-weight-medium);
}

.product-content h3 img {
    height: 24px;
    /* margin-left: 10px; */
}

.product-content h3 img.enkoded-logo {
    height: 28px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.product-content p {
    color: #d1d1d1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-weight: var(--font-weight-light);
}

/* Product Features */
.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin: 1.5rem 0;
    background-color: rgba(140, 66, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
}

.feature {
    display: flex;
    align-items: center;
}

.feature i {
    color: var(--tertiary-color);
    margin-right: 0.8rem;
}

.feature span {
    font-size: 0.9rem;
    font-weight: var(--font-weight-light);
}

.product-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.privacy-section {
    background-color: var(--dark-color);
}

/* Privacy Pillars */
.privacy-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pillar {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: var(--card-bg);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(140, 66, 255, 0.1);
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(140, 66, 255, 0.3);
}

.pillar i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
}

.pillar h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: var(--font-weight-medium);
}

.pillar p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #d1d1d1;
    font-weight: var(--font-weight-light);
    line-height: 1.7;
}

.contact-section {
    background-color: var(--bg-color);
}

.contact-form {
    max-width: 600px;
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(140, 66, 255, 0.2);
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
    background-color: var(--card-bg);
    color: var(--text-color);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.01em;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(140, 66, 255, 0.1);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 0;
    font-weight: var(--font-weight-medium);
}

.footer-logo span {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: var(--font-weight-light);
    letter-spacing: 0.05em;
}

.footer-links a {
    color: white;
    margin-left: 1.5rem;
    font-weight: var(--font-weight-regular);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: var(--font-weight-light);
    letter-spacing: 0.03em;
}

/* Privacy Policy and Terms of Service Pages */
.privacy-policy-section, .terms-section {
    background-color: var(--bg-color);
    padding-top: 40px;
    padding-bottom: 5rem;
}

/* Override default section padding for policy pages */
header + .privacy-policy-section,
header + .terms-section {
    padding-top: 40px;
}

.privacy-policy-section h1, .terms-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-color);
    text-align: center;
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.02em;
}

.privacy-policy-section .divider, .terms-section .divider {
    margin: 0 auto 3rem auto;
}

.policy-content, .terms-content {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(140, 66, 255, 0.1);
    color: var(--text-color);
}

/* Fix for the terms-section inside terms-content */
.terms-content .terms-section {
    background: transparent !important; /* Force transparency */
    background-color: transparent !important;
    padding: 0;
}

.last-updated {
    color: var(--accent-color);
    font-style: italic;
    text-align: right;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: var(--font-weight-light);
}

.policy-section, .terms-content .terms-section {
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.policy-section h2, .terms-content .terms-section h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(140, 66, 255, 0.2);
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.01em;
}

.policy-section h3, .terms-content .terms-section h3 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin: 1.5rem 0 1rem 0;
    font-weight: var(--font-weight-regular);
}

.policy-section ul, .terms-content .terms-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-light);
}

.policy-section li, .terms-content .terms-section li {
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-light);
}

.policy-section p, .terms-content .terms-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-weight: var(--font-weight-light);
}

.policy-section a, .terms-content .terms-section a {
    color: var(--tertiary-color);
    text-decoration: underline;
    transition: var(--transition);
    font-weight: var(--font-weight-regular);
}

.policy-section a:hover, .terms-content .terms-section a:hover {
    color: var(--accent-color);
}

/* Additional global fix for policy and terms pages */
.privacy-policy-section *, .terms-section * {
    background-color: inherit;
}

.policy-content, .terms-content,
.policy-content *, .terms-content * {
    color: var(--text-color);
}

.policy-content, .terms-content {
    background-color: var(--card-bg);
}

.policy-content .policy-section, .terms-content .terms-section {
    background-color: transparent !important;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .product-icon {
        width: 100%;
        height: auto;
        padding: 2rem;
    }
    
    .privacy-pillars {
        grid-template-columns: 1fr;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 1rem;
    }
    
    .footer-links a {
        margin: 0 0.5rem;
    }

    .logo-svg, .logo-svg-footer {
        width: 130px;
        height: 60px;
    }
    
    .policy-content, .terms-content {
        padding: 1.5rem;
    }
    
    .privacy-policy-section h1, .terms-section h1 {
        font-size: 2rem;
    }
    
    .policy-section h2, .terms-content .terms-section h2 {
        font-size: 1.3rem;
    }
    
    .policy-section h3, .terms-content .terms-section h3 {
        font-size: 1.1rem;
    }
}

/* Success and Error Messages */
.success-message, .error-message {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 8px;
    background-color: var(--light-bg);
    box-shadow: var(--shadow);
    margin: 2rem 0;
    transition: var(--transition);
    max-width: 600px;
    margin: 0 auto;
}

.success-message {
    border-left: 4px solid var(--tertiary-color);
}

.error-message {
    border-left: 4px solid #f44336;
}

.success-icon, .error-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.success-icon i {
    color: var(--tertiary-color);
}

.error-icon i {
    color: #f44336;
}

.success-message h3, .error-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.success-message p, .error-message p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.success-message .btn, .error-message .btn {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .success-message, .error-message {
        padding: 2rem 1.5rem;
    }
    
    .success-icon, .error-icon {
        font-size: 2.5rem;
    }
    
    .success-message h3, .error-message h3 {
        font-size: 1.5rem;
    }
    
    .success-message p, .error-message p {
        font-size: 1rem;
    }
} 