:root {
  --primary: #8a2be2; /* Neon Purple */
  --secondary: #00ffff; /* Cyan */
  --bg-dark: #0a0a0f;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #a0a0b0;
  
  --bg-main: #0d0d0d;
  --bg-secondary: #151515;
  --bg-card: #222222;
  --bg-input: #1a1a1a;
  --bg-footer: #0a0a0a;
  --border-color: #333;
  --border-input: #444;
  --text-body: #f0f0f0;
  --text-light: #ddd;
  --text-headers: #fff;
  --header-bg: linear-gradient(90deg, #1a0033 0%, #2b0055 50%, #1a0033 100%);
  --header-text: #fff;
}

[data-theme="light"] {
  --primary: #7520c2;
  --secondary: #009ea3;
  --bg-dark: #f0f2f5; 
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.1);
  --text-main: #111111;
  --text-muted: #555555;

  --bg-main: #f4f7f6;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --bg-footer: #e9ecef;
  --border-color: #e0e0e0;
  --border-input: #ccc;
  --text-body: #333333;
  --text-light: #666666;
  --text-headers: #111111;
  --header-bg: #ffffff;
  --header-text: #111111;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

/* Glassmorphism utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #5a189a);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4);
  color: white;
}

/* Hero Section */
.hero {
  --text-headers: #ffffff;
  --text-muted: #a0a0b0;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 5%;
  background-image: url('/images/hero-bg.png');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  color: var(--text-headers);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
}

/* Features Grid */
.features-section {
  padding: 8rem 5%;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--text-headers);
}

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

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(138, 43, 226, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-headers);
}

.feature-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-up {
  animation: fadeIn 0.8s ease forwards;
}

/* --- User Provided Header Styles --- */
header {
    background: var(--header-bg);
    padding: 0 2rem;
    height: 75px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--primary);
    transition: background 0.3s;
    flex-wrap: nowrap;
}
.logo {
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    height: 40px;
    vertical-align: middle;
}
.header-center {
    position: absolute;
	margin-top: 45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem; 
    font-weight: bold;
    color: var(--header-text);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px; 
}
.flag-icon {
    height: 24px; 
    width: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
nav {
    display: flex;
    align-items: center;
}
nav a {
    color: var(--header-text);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
}
nav a:hover {
    color: var(--secondary);
}
.login-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    transition: opacity 0.3s;
    text-decoration: none;
    color: #fff !important;
    border: none;
    margin-left: 1.5rem;
}
.login-btn:hover {
    opacity: 0.9;
    color: #fff !important;
}
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--header-text);
    cursor: pointer;
    user-select: none;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--header-text);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}
.theme-toggle:hover {
    color: var(--secondary);
}

/* --- Section Layout --- */
section {
    padding: 4rem 2rem;
}
.bg-light {
    background-color: var(--bg-secondary);
}
h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-headers);
    font-size: 2.5rem;
}
h3 {
    color: var(--secondary);
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

/* --- Pricing Styles --- */
.pricing-card {
    border: 1px solid var(--border-input);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.15);
}
.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2px 10px;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: bold;
}
.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-headers);
    margin: 1rem 0;
}
.price span {
    font-size: 1rem;
    color: var(--text-muted);
}
.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.features-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}
.features-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* --- Buttons --- */
.cta-btn {
    display: inline-block;
    background: var(--bg-input);
    color: var(--text-headers);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    border: 1px solid var(--border-input);
    cursor: pointer;
    font-size: 1.1rem;
    transition: opacity 0.3s;
    display: block;
}
.featured .cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
}
.cta-btn:hover {
    opacity: 0.9;
}

/* --- Contact & Footer --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.contact-info {
    color: var(--text-light);
    font-size: 1.05rem;
}
.contact-info h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-size: 1.5rem;
}
.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}
.contact-info strong {
    color: var(--text-headers);
    display: block;
    margin-bottom: 0.2rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
}
.contact-form h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-size: 1.5rem;
}
.contact-form input, .contact-form textarea {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-input);
    background-color: var(--bg-input);
    color: var(--text-body);
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
}
.contact-form button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

footer {
    background-color: var(--bg-footer);
    color: var(--text-body);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}
.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer; 
}
.footer-links a:hover {
    text-decoration: underline;
}

/* --- Modal (Popup) Styles --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}
.modal-content {
    background-color: var(--bg-input);
    margin: 5% auto; 
    padding: 2rem;
    border: 1px solid var(--border-input);
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    color: var(--text-body);
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.modal-content h2 {
    text-align: left;
    margin-top: 0;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    color: var(--text-headers);
}
.modal-content h3 {
    margin-top: 1.5rem;
    color: var(--secondary);
}
.modal-content ul {
    padding-left: 20px;
}
.modal-content li {
    margin-bottom: 10px;
}
.close-modal {
    color: var(--text-muted);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}
.close-modal:hover,
.close-modal:focus {
    color: var(--secondary);
    text-decoration: none;
}
.policy-content-store {
    display: none;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    header {
        flex-wrap: nowrap !important;
        padding: 0 1rem;
        height: 75px !important;
        min-height: 75px !important;
        max-height: 75px !important;
    }
    .header-center {
        font-size: 0.9rem; 
    }
    .flag-icon {
        height: 18px; 
    }
    .menu-toggle {
        display: block;
    }
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--header-bg);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        border-bottom: 2px solid var(--primary);
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    }
    nav.active {
        display: flex;
    }
    nav a {
        margin: 1rem 0;
        font-size: 1.1rem;
    }
    .theme-toggle {
        margin: 1rem 0;
    }
    .login-btn {
        margin: 1rem 0 0 0;
        width: 80%;
        box-sizing: border-box;
    }
    .modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 1.5rem;
    }
}
