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

:root {
    --primary: #000000;
    --primary-foreground: #FFFFFF;
    --secondary: #8b5cf6;
    --secondary-foreground: #FFFFFF;
    --accent: #16a34a;
    --accent-foreground: #111827;
    --background: #FFFFFF;
    --foreground: #111827;
    --card: #FFFFFF;
    --card-foreground: #111827;
    --border: #E5E7EB;
    --input: #E5E7EB;
    --ring: #000000;
    --muted: #F3F4F6;
    --muted-foreground: #6B7280;
    --font-family: 'Inter', sans-serif;
    --radius: 0.5rem;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.mb-4 { margin-bottom: 1rem; }

/* Animation Classes */
.animate-hide {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-hide.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Icons */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 2rem; height: 2rem; }
.icon-xl { width: 3rem; height: 3rem; }

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--primary);
}

.btn-primary:hover {
    border-bottom: 3px solid var(--secondary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-bottom: 3px solid var(--secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--secondary);
}

.btn-secondary:hover {
    border-bottom: 3px solid var(--accent);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
    border-bottom: 3px solid var(--secondary);
}

.btn-link-white {
    background: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid white;
}

.btn-link-white:hover {
    border-bottom: 3px solid var(--secondary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Top Bar */
.topbar {
    background: var(--secondary);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

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

.topbar-contact {
    display: flex;
    gap: 2rem;
}

.topbar-contact a {
    color: white;
    text-decoration: none;
}

.topbar-contact a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .topbar-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .topbar-contact {
        gap: 1rem;
    }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo .logo-img {
    height: 2.5rem;
    width: auto;
}

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

.nav-links a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.dremonalix-top_mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.dremonalix-top_mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.dremonalix-top_mobile-menu a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.dremonalix-top_mobile-menu a:hover,
.dremonalix-top_mobile-menu a.active {
    color: var(--primary);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .dremonalix-top_mobile-menu-toggle {
        display: block;
    }
    
    .dremonalix-top_mobile-menu {
        display: flex;
    }
    
    .dremonalix-top_mobile-menu.hidden {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: var(--primary);
    color: white;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    .9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* Page Header */
.page-header {
    padding: 4rem 0;
    text-align: center;
    background: var(--muted);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Partners Section */
.partners-section {
    background: var(--muted);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.partner-item {
    text-align: center;
    padding: 2rem;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.partner-item .icon-box {
    background: rgba(0, 0, 0, 0.05);
    margin: 0 auto 1rem;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .partner-item {
        padding: 1.5rem;
    }
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0 0.5rem;
}

.stat-label {
    color: var(--muted-foreground);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: var(--muted);
}

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

.testimonial-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content p {
    margin: 1rem 0 1.5rem;
    font-style: italic;
    color: var(--muted-foreground);
}

.testimonial-author strong {
    display: block;
    color: var(--primary);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    .9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.125rem;
    }
}

/* Services Page */
.service-section {
    padding: 4rem 0;
}

.service-section.service-reverse .service-content {
    direction: rtl;
}

.service-section.service-reverse .service-text {
    direction: ltr;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--muted-foreground);
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-section.service-reverse .service-content {
        direction: ltr;
    }
    
    .service-title {
        font-size: 1.75rem;
    }
}

/* Features Grid */
.features-section {
    background: var(--muted);
}

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

.feature-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-description {
    color: var(--muted-foreground);
}

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

/* About Page */
.mission-section {
    text-align: center;
    background: var(--muted);
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary);
}

.mission-statement {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

.story-section {
    padding: 4rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text p {
    margin-bottom: 1.5rem;
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .mission-title {
        font-size: 2rem;
    }
    
    .mission-statement {
        font-size: 1.25rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Values Section */
.values-section {
    background: var(--muted);
}

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

.value-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.value-description {
    color: var(--muted-foreground);
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Expertise Section */
.expertise-section {
    padding: 4rem 0;
}

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

.expertise-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.expertise-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.expertise-item p {
    color: var(--muted-foreground);
}

@media (max-width: 768px) {
    .expertise-areas {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Achievements Section */
.achievements-section {
    background: var(--muted);
}

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

.achievement-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.achievement-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.achievement-card p {
    color: var(--muted-foreground);
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Team Section */
.team-section {
    padding: 4rem 0;
}

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

.team-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-avatar {
    margin-bottom: 1.5rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.team-role {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--muted-foreground);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Contact Page */
.contact-info-bar {
    background: var(--muted);
    padding: 3rem 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-info-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.contact-info-text p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.4;
}

.contact-info-text a {
    color: var(--primary);
    text-decoration: none;
}

.contact-info-text a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-info-item {
        padding: 1rem;
    }
}

/* Contact Form */
.dremonalix-top_contact-form-section {
    padding: 4rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.form-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

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

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--input);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--background);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input:invalid {
    border-color: #ef4444;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: var(--primary);
}

.checkbox-text {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.4;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.success-message {
    background: #dcfce7;
    border: 1px solid #16a34a;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.success-content h3 {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--accent-foreground);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Additional Contact Methods */
.additional-contact-section {
    background: var(--muted);
    padding: 4rem 0;
}

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

.contact-method-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-method-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0;
    color: var(--primary);
}

.contact-method-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Location Section */
.location-section {
    padding: 4rem 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-details {
    margin-top: 2rem;
}

.location-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.location-item p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.4;
}

.location-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-document h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--primary);
}

.legal-document h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary);
}

.legal-document p {
    margin-bottom: 1rem;
    color: var(--muted-foreground);
}

.legal-document ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--muted-foreground);
}

.legal-document li {
    margin-bottom: 0.5rem;
}

.legal-document a {
    color: var(--primary);
    text-decoration: none;
}

.legal-document a:hover {
    text-decoration: underline;
}

.last-updated {
    background: var(--muted);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    font-weight: 500;
}

.contact-details {
    background: var(--muted);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

/* Cookie Table */
.cookie-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cookie-table th {
    background: var(--muted);
    font-weight: 600;
    color: var(--primary);
}

.cookie-table td {
    color: var(--muted-foreground);
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.footer-logo .logo-img {
    height: 2rem;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    gap: 3rem;
}

.footer-links h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-contact a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links-group {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Cookie Banner */
.dremonalix-top_cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    color: white;
    z-index: 10000;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.dremonalix-top_cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.dremonalix-top_cookie-banner-text {
    flex: 1;
}

.dremonalix-top_cookie-banner-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.dremonalix-top_cookie-banner-text a {
    color: var(--secondary);
    text-decoration: none;
}

.dremonalix-top_cookie-banner-text a:hover {
    text-decoration: underline;
}

.dremonalix-top_cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.dremonalix-top_cookie-banner-actions button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .dremonalix-top_cookie-banner-inner {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dremonalix-top_cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .dremonalix-top_cookie-banner-actions button {
        width: 100%;
    }
}

/* Cookie Modal */
.dremonalix-top_cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dremonalix-top_cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.dremonalix-top_cookie-modal-content {
    position: relative;
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.cookie-toggles {
    margin: 1.5rem 0;
}

.dremonalix-top_cookie-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.dremonalix-top_cookie-toggle-row:last-child {
    border-bottom: none;
}

.dremonalix-top_cookie-toggle-row div {
    flex: 1;
}

.dremonalix-top_cookie-toggle-row input[type="checkbox"] {
    margin-left: 1rem;
    accent-color: var(--primary);
    transform: scale(1.2);
}

.dremonalix-top_cookie-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.dremonalix-top_cookie-modal-actions button {
    flex: 1;
}

@media (max-width: 768px) {
    .dremonalix-top_cookie-modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .dremonalix-top_cookie-modal-actions {
        flex-direction: column;
    }
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */

/* Cookie banner visibility rules */
#dremonalix-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#dremonalix-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#dremonalix-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
