:root {
    --primary: #4d88ff;
    --dark: #000000;
    --light: #ffffff;
    --accent: #00d4ff;
    --gray: #1a1a1a;
    --text-light: #ffffff;
    --text-dark: #212529;
}

body {
    background-color: var(--dark);
    color: var(--text-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(77, 136, 255, 0.1) 0%, transparent 50%);
}

.hero-section {
    background: linear-gradient(135deg, #0f0f1a, #1a1033);
    color: var(--text-light);
    padding: 5rem 0;
    margin-bottom: 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-section h1 {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-section p.lead {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.8);
}

.btn-light {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.btn-light:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* Add this to your style.css */
.tool-card {
    background: rgba(255, 255, 255, 0.95); /* Solid white with slight transparency */
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000000; /* Black text */
    backdrop-filter: none; /* Remove blur effect for solid cards */
}

.tool-card .card-text {
    color: #333333; /* Dark gray for paragraph text */
}

.tool-card .card-title {
    color: var(--primary); /* Keep blue for titles */
}

.tool-card:hover {
    box-shadow: 0 15px 30px rgba(77, 136, 255, 0.2); /* Blue shadow on hover */
}

/* ===== LEGAL PAGE LAYOUT IMPROVEMENTS ===== */
.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    color: #e2e8f0;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #2d3748;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.3;
}

.legal-header p {
    color: #a0aec0;
    font-size: 1.1rem;
}

/* ===== ENHANCED CARD STYLES ===== */
.legal-card {
    background: #1a202c;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #2d3748;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.legal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.legal-card h2 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    color: white;
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #2d3748;
}

.legal-card h2 i {
    margin-right: 12px;
    color: #4fd1c5;
}

/* ===== TEXT ALIGNMENT FIXES ===== */
.legal-content {
    line-height: 1.7;
}

.legal-content p {
    margin-bottom: 1.2rem;
    text-align: left;
}

.legal-content ul, 
.legal-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    position: relative;
    left: 0;
    transition: left 0.2s;
}

.legal-content li:hover {
    left: 3px;
}

/* ===== TABLE IMPROVEMENTS ===== */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #2d3748;
    border-radius: 6px;
    overflow: hidden;
}

.cookie-table th, 
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #3c4a5e;
}

.cookie-table th {
    background: #3c4a5e;
    color: white;
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover td {
    background: #3c4a5e;
}

/* ===== NOTICE BOXES ===== */
.notice {
    background: rgba(45, 55, 72, 0.5);
    padding: 1.25rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    border-left: 4px solid #4fd1c5;
}

.notice.warning {
    border-left-color: #f6ad55;
    background: rgba(116, 42, 42, 0.2);
}

.notice p {
    margin: 0;
}

/* ===== BUTTON ENHANCEMENTS ===== */
.btn-primary {
    background: #4299e1;
    color: white;
    padding: 0.8rem 1.75rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #3182ce;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #4299e1;
    padding: 0.8rem 1.75rem;
    border: 2px solid #4299e1;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: rgba(66, 153, 225, 0.1);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .legal-container {
        padding: 1.5rem 1rem;
    }
    
    .legal-card {
        padding: 1.5rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
    
    .rights-grid, 
    .data-flow {
        grid-template-columns: 1fr;
    }
    
    .data-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

/* ===== SPECIAL ELEMENTS ===== */
.list-arrow {
    list-style: none;
    padding-left: 0;
}

.list-arrow li {
    padding-left: 1.75rem;
    position: relative;
}

.list-arrow li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #4fd1c5;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.contact-item i {
    font-size: 1.25rem;
    color: #4fd1c5;
    margin-top: 0.25rem;
}

/* ===== Contact Card ===== */
.contact-card {
    background-color: #000;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

@media (min-width: 768px) {
    .contact-card {
        display: flex;
    }
    .contact-form-section {
        width: 50%;
    }
    .contact-info-section {
        width: 50%;
    }
}

/* ===== Form Elements ===== */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #1f2937; /* Tailwind's gray-800 */
    color: white;
    border: 1px solid #374151; /* Tailwind's gray-700 */
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6; /* Tailwind's blue-500 */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.contact-form label {
    display: block;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form button {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #2563eb; /* Tailwind's blue-600 */
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-form button:hover {
    background-color: #1d4ed8; /* Tailwind's blue-700 */
}

/* ===== Contact Info ===== */
.contact-info {
    background-color: #111827; /* Tailwind's gray-900 */
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    flex-shrink: 0;
    background-color: #2563eb; /* Tailwind's blue-600 */
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.contact-icon svg {
    height: 1.5rem;
    width: 1.5rem;
    color: white;
}

.contact-text {
    margin-left: 1rem;
}

.contact-text h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: #d1d5db; /* Tailwind's gray-300 */
}

/* ===== Success Message ===== */
.success-message {
    background-color: #10b981; /* Tailwind's green-500 */
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}
