/* --- Variables & Reset --- */
:root {
    --bg-dark: #121218;       /* Deep dark background */
    --bg-card: #1e1e26;       /* Slightly lighter for cards */
    --text-main: #ffffff;
    --text-muted: #b0b0c0;
    --accent-cyan: #00f0ff;   /* Matches logo left side */
    --accent-purple: #bf00ff; /* Matches logo right side */
    --font-heading: 'Orbitron', sans-serif; /* Techy font */
    --font-body: 'Roboto', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- Header --- */
header {
    background: rgba(18, 18, 24, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Rounding the logo image in the header */
.nav-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%; 
    object-fit: cover;
}

.logo-text .highlight { color: var(--accent-cyan); }

nav ul { display: flex; align-items: center; gap: 30px; }
nav a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); }
nav a:hover, nav a.active { color: var(--accent-cyan); }

.btn-main {
    border: 1px solid var(--accent-purple);
    padding: 8px 20px;
    border-radius: 5px;
    color: var(--accent-purple);
}
.btn-main:hover {
    background: var(--accent-purple);
    color: white;
    box-shadow: 0 0 15px rgba(191, 0, 255, 0.4);
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

/* Large Main Logo Styling */
.hero-image img {
    max-width: 100%;
    width: 400px;
    /* This makes the square JPG look like a perfect circle */
    border-radius: 50%; 
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.cta-group { display: flex; gap: 15px; }

.btn-primary {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-secondary {
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    padding: 12px 30px;
    border-radius: 5px;
}
.btn-secondary:hover { border-color: var(--text-main); }

/* --- Services Section --- */
.services {
    padding: 80px 0;
    background-color: #16161d;
}

.services h2 {
    text-align: center;
    font-family: var(--font-heading);
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    border-top: 3px solid var(--accent-cyan);
    transition: 0.3s;
}

.card:nth-child(2) { border-top-color: var(--accent-purple); }

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card h3 { font-family: var(--font-heading); margin-bottom: 15px; }
.card p { color: var(--text-muted); }
.expertise-list { list-style: none; padding: 0; margin-top: 15px; }
.expertise-list li { color: var(--text-muted); font-size: 0.9rem; padding: 5px 0 5px 18px; position: relative; border-top: 1px solid rgba(255,255,255,0.06); }
.expertise-list li::before { content: "›"; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

/* --- Products Section --- */
.products {
    padding: 80px 0;
    background-color: #16161d;
}

.products h2 {
    text-align: center;
    font-family: var(--font-heading);
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 60px;
    transition: 0.3s;
}

.product-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 4px;
}

.product-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 35px;
    line-height: 1.7;
}

.store-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transition: 0.3s;
}

.store-badge:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
    transform: translateY(-2px);
}

.store-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent-cyan);
}

.store-label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.store-name {
    font-size: 1rem;
    font-weight: 700;
}

.product-graphic {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulsar-icon {
    width: 160px;
    height: 160px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
}

.pulsar-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        padding: 35px 25px;
        text-align: center;
        gap: 30px;
    }
    .product-info h3 { font-size: 2rem; }
    .product-desc { max-width: 100%; }
    .store-badges { justify-content: center; }
    .product-graphic { order: -1; }
    .pulsar-icon { width: 100px; height: 100px; }
}

/* --- Contact Page Specifics --- */
.contact-page { padding: 80px 0; }
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info { flex: 1; min-width: 300px; }
.contact-info h1 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 20px; }
.info-item { margin-top: 30px; }
.info-item h4 { color: var(--accent-cyan); margin-bottom: 5px; }

object.email {
	height: 2em;
	margin: -1em 0;
	vertical-align: middle;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text-muted); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: #121218;
    border: 1px solid #333;
    border-radius: 5px;
    color: white;
    font-family: var(--font-body);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.full-width { width: 100%; cursor: pointer; border: none;}

/* --- Footer --- */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Mobile Tweaks --- */
@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.5rem; }
    .nav-container { flex-direction: column; gap: 15px; }
    .hero-content { text-align: center; justify-content: center; }
    .cta-group { justify-content: center; }
}

/* --- Legal / Privacy Page Styles --- */
.legal-page {
    padding: 80px 0;
    min-height: 80vh;
}

.legal-wrapper {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 10px;
    /* Subtle purple border for theme consistency */
    border: 1px solid rgba(191, 0, 255, 0.1); 
    max-width: 900px;
    margin: 0 auto; /* Centers the content */
}

.legal-wrapper h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.legal-wrapper h2 {
    font-family: var(--font-heading);
    color: var(--accent-cyan);
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.legal-wrapper h3 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-wrapper p, .legal-wrapper li {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.legal-wrapper ul {
    list-style: disc; /* Restores bullets for the list */
    padding-left: 25px;
    margin-bottom: 20px;
}

.legal-wrapper li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.legal-wrapper a {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.legal-wrapper a:hover {
    color: var(--accent-purple);
}

.meta-date {
    font-style: italic;
    color: var(--text-muted);
    opacity: 0.8;
    margin-bottom: 30px;
    border-left: 3px solid var(--accent-purple);
    padding-left: 15px;
}

.divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.contact-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 5px;
    border-left: 3px solid var(--accent-cyan);
}

/* Mobile Responsiveness for Legal Page */
@media (max-width: 768px) {
    .legal-wrapper {
        padding: 30px 20px;
    }
    .legal-wrapper h1 {
        font-size: 1.8rem;
    }
}

/* --- Footer Updates --- */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: 0.3s;
    border-bottom: 1px dotted var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}