/* Variables */
:root {
    --primary-color: #0a192f; /* Dark navy blue */
    --secondary-color: #e63946; /* Vibrant red */
    --accent-color: #64ffda;
    --text-color: #e6f1ff;
    --text-secondary: #8892b0;
    --dark-bg: #0a1624;
    --card-bg: #112240;
}

/* Base Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 700;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 1rem auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: linear-gradient(90deg, var(--text-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Navigation */
.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.3s, border-bottom 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--text-color);
}

.nav-link:hover::after {
    width: 80%;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.mobile-nav-link:hover {
    background-color: var(--card-bg);
    color: var(--text-color);
}

/* Hero Section */
.hero-bg {
    background: radial-gradient(circle at 10% 20%, var(--primary-color) 0%, var(--dark-bg) 90%);
    opacity: 0.8;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(230, 57, 70, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: rgba(230, 57, 70, 0.1);
    transform: translateY(-2px);
}

/* Team Section */
.team-member {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 280px;
    height: 280px;
    margin: 0 auto;
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.team-member:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--secondary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-photo-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.75rem;
    border: 2px solid var(--secondary-color);
    position: relative;
    flex-shrink: 0;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: grayscale(20%);
}

.team-member:hover .team-photo {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(230, 57, 70, 0.7) 0%, rgba(10, 25, 47, 0.3) 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.team-member:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 0.5rem;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member:hover .team-social {
    transform: translateY(0);
    opacity: 1;
}

.team-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    color: var(--secondary-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.team-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.team-member h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: color 0.3s ease;
    line-height: 1.2;
    max-width: 100%;
}

.team-member p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.2rem;
    margin-bottom: 0;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.team-member:hover h3 {
    color: var(--secondary-color);
}

/* Force same size for all team cards */
.same-size {
    min-height: 280px;
    max-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ensure text doesn't cause sizing issues */
.same-size h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Features Section */
.feature-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    border-left: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-left: 3px solid var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Demo Section */
.demo-container {
    max-width: 800px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.demo-placeholder {
    background-color: var(--card-bg);
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.demo-placeholder:hover {
    background-color: var(--dark-bg);
    color: var(--secondary-color);
}

.demo-placeholder i {
    transition: all 0.3s;
}

.demo-placeholder:hover i {
    transform: scale(1.2);
}

/* Testimonials */
.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-slide {
    flex: 1;
    min-width: 300px;
}

.testimonial-content {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-author {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--text-color);
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Download Section */
.download-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(230, 57, 70, 0.2);
    position: relative;
    overflow: hidden;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(230, 57, 70, 0.3);
}

.download-btn:hover::after {
    animation: pulse 1.5s infinite;
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Footer */
.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-color);
    background-color: var(--card-bg);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: #d32f3c;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Animation Add-ons */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .team-photo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .team-member {
        padding: 1.2rem 1rem;
        max-width: 240px;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Security Visualizer - now Privacy Policy Visualizer */
.visualizer-container {
    max-width: 900px;
    margin: 0 auto;
}

.visualizer-browser {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-header {
    background-color: #1a2942;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-controls {
    display: flex;
    gap: 6px;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.browser-dot:nth-child(1) {
    background-color: #ff5f57;
}

.browser-dot:nth-child(2) {
    background-color: #febc2e;
}

.browser-dot:nth-child(3) {
    background-color: #28c840;
}

.browser-address {
    flex: 1;
    margin: 0 1rem;
    background-color: #0a1221;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #8892b0;
}

.browser-address span {
    color: #64ffda;
    margin-right: 3px;
}

.secure-badge {
    margin-right: 0.5rem;
    color: #28c840;
    font-size: 0.8rem;
}

.browser-safe-badge {
    background-color: rgba(230, 57, 70, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.browser-viewport {
    height: 400px;
    position: relative;
    background-color: #0a192f;
    background-image: 
        radial-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    overflow-y: auto;
    padding: 20px;
}

/* Privacy Document Styling */
.privacy-document {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.document-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
}

.document-line {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 5px;
}

.document-text {
    position: relative;
}

/* New specific keyword highlighting */
.keyword-risk {
    color: var(--secondary-color);
    font-weight: 500;
    background-color: rgba(230, 57, 70, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
    position: relative;
    animation: keywordPulse 2s infinite;
    display: inline-block;
    margin: 0 2px;
    border-bottom: 1px dashed var(--secondary-color);
}

@keyframes keywordPulse {
    0% {
        background-color: rgba(230, 57, 70, 0.1);
    }
    50% {
        background-color: rgba(230, 57, 70, 0.2);
    }
    100% {
        background-color: rgba(230, 57, 70, 0.1);
    }
}

.keyword-risk::after {
    content: '!';
    position: absolute;
    top: -8px;
    right: -3px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.6rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    animation: popIn 0.5s forwards;
    animation-delay: var(--delay, 0.3s);
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.highlight-risk {
    color: var(--secondary-color);
    font-weight: 500;
    background-color: rgba(230, 57, 70, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
    position: relative;
    animation: highlightPulse 2s infinite;
}

@keyframes highlightPulse {
    0% {
        background-color: rgba(230, 57, 70, 0.1);
    }
    50% {
        background-color: rgba(230, 57, 70, 0.2);
    }
    100% {
        background-color: rgba(230, 57, 70, 0.1);
    }
}

.risk-tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    position: relative;
    vertical-align: middle;
}

/* OpenAI Logo Styles */
.openai-logo {
    margin-right: 8px;
    vertical-align: middle;
}

.openai-logo-small {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.ai-summary {
    background-color: rgba(100, 255, 218, 0.05);
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid var(--accent-color);
}

.summary-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.summary-content {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Scanning animation */
.document-line.scanning {
    position: relative;
}

.document-line.scanning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5px;
    background-color: var(--accent-color);
    animation: scanningAnimation 1.5s infinite ease-in-out;
}

/* How It Works Section */
.tech-diagram {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
}

.tech-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-step {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tech-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(100, 255, 218, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.tech-arrow {
    color: var(--text-secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tech-label {
    font-weight: 500;
    color: var(--text-color);
}

.tech-details {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tech-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    border-left: 3px solid var(--accent-color);
}

@keyframes scanningAnimation {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

.threat-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Technical Demonstrations */

/* Code Animation */
.code-animation-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: var(--card-bg);
}

.code-tabs {
    display: flex;
    background-color: #1a2942;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-tab {
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.code-tab:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.code-tab.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    background-color: rgba(100, 255, 218, 0.05);
}

.code-window {
    position: relative;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    background-color: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.code-dots span:nth-child(1) {
    background-color: #ff5f57;
}

.code-dots span:nth-child(2) {
    background-color: #febc2e;
}

.code-dots span:nth-child(3) {
    background-color: #28c840;
}

.code-title {
    margin-left: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.code-content {
    display: none;
    padding: 1rem;
    height: 100%;
    max-height: 450px;
    overflow-y: auto;
}

.code-content.active {
    display: block;
}

.code-content pre {
    margin: 0;
    color: var(--text-secondary);
    font-family: 'Fira Code', 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
}

.highlight-code {
    color: var(--accent-color);
    background-color: rgba(100, 255, 218, 0.05);
    display: inline-block;
    width: 100%;
    border-radius: 4px;
    animation: codePulse 3s infinite;
}

@keyframes codePulse {
    0%, 100% {
        background-color: rgba(100, 255, 218, 0.05);
    }
    50% {
        background-color: rgba(100, 255, 218, 0.15);
    }
}

/* X-ray View of Trackers */
.xray-container {
    max-width: 900px;
    margin: 0 auto;
}

.xray-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.xray-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.xray-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.xray-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--card-bg);
    transition: .4s;
    border-radius: 30px;
}

.xray-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: var(--text-secondary);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .xray-slider {
    background-color: var(--accent-color);
}

input:checked + .xray-slider:before {
    transform: translateX(30px);
    background-color: white;
}

.xray-viewport {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.xray-website {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
}

/* Website mockup content */
.xray-website-content {
    padding: 2rem;
    transition: all 0.5s;
}

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

.xray-logo {
    width: 120px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.xray-nav {
    display: flex;
    gap: 1rem;
}

.xray-nav-item {
    width: 70px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.xray-website-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.xray-hero-title {
    width: 250px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.xray-hero-text {
    width: 400px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.xray-cta-button {
    width: 150px;
    height: 40px;
    background-color: rgba(100, 255, 218, 0.2);
    border-radius: 20px;
}

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

.xray-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.xray-item-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    margin-bottom: 1rem;
}

.xray-item-title {
    width: 100px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 0.5rem;
}

.xray-item-text {
    width: 100%;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* Trackers */
.xray-tracker {
    position: absolute;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: rgba(230, 57, 70, 0.2);
    border: 2px solid rgba(230, 57, 70, 0.5);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    max-width: 250px;
    z-index: 5;
}

.xray-tracker.visible {
    opacity: 1;
    transform: scale(1);
}

.xray-tracker:before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(230, 57, 70, 0.2);
    z-index: -1;
    animation: pulseTracker 2s infinite;
}

@keyframes pulseTracker {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.tracker-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(230, 57, 70, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.tracker-info {
    flex: 1;
}

.tracker-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.tracker-purpose {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.xray-protection {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(100, 255, 218, 0.2);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s;
}

.xray-protection.visible {
    opacity: 1;
    transform: translateY(0);
}

.protection-shield {
    position: relative;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.protection-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.protection-label {
    color: var(--text-color);
    font-weight: 500;
}

/* 3D Browser Mockup */
.browser-3d-container {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 4rem;
    perspective: 1200px;
    position: relative;
}

.browser-3d {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    position: relative;
}

.browser-3d-screen {
    background-color: var(--card-bg);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    transform: translateZ(1px);
}

.browser-3d-toolbar {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    background-color: #1a2942;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-3d-controls {
    display: flex;
    gap: 6px;
}

.browser-3d-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-3d-controls span:nth-child(1) {
    background-color: #ff5f57;
}

.browser-3d-controls span:nth-child(2) {
    background-color: #febc2e;
}

.browser-3d-controls span:nth-child(3) {
    background-color: #28c840;
}

.browser-3d-addressbar {
    flex: 1;
    margin: 0 1rem;
    background-color: #0a1221;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #8892b0;
}

.browser-3d-addressbar i {
    color: #28c840;
    margin-right: 0.5rem;
}

.browser-3d-extension-icon {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.3rem;
    border-radius: 4px;
    opacity: 0.5;
    transition: all 0.3s;
}

.browser-3d-extension-icon.active {
    opacity: 1;
    background-color: rgba(230, 57, 70, 0.1);
}

.browser-3d-content {
    height: 350px;
    padding: 1rem;
    overflow-y: auto;
    background-color: #0a192f;
}

.browser-3d-policy {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.policy-line {
    margin-bottom: 0.8rem;
    padding: 0.2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.policy-line.highlight {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--secondary-color);
    padding: 0.4rem;
    border-radius: 4px;
    position: relative;
}

.policy-line.highlight::before {
    content: '!';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.browser-3d-reflection {
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: rotateX(180deg);
    transform-origin: top;
    border-radius: 0 0 12px 12px;
    margin-top: -1px;
}

.browser-3d-stand {
    width: 60%;
    height: 20px;
    background-color: #1a2942;
    margin: 0 auto;
    border-radius: 0 0 20px 20px;
    transform: translateY(-1px) rotateX(60deg);
    transform-origin: top;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.browser-3d-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.control-btn:hover {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Extension Popup */
.browser-extension-popup {
    position: absolute;
    top: 60px;
    right: -20px;
    width: 300px;
    background-color: #0f172a;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0);
    transform-origin: top right;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.browser-extension-popup.visible {
    transform: scale(1);
}

.extension-popup-header {
    background-color: #1a2942;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.extension-popup-content {
    padding: 1rem;
}

.extension-risk-meter {
    margin-bottom: 1rem;
}

.risk-meter-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.risk-meter-value {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.risk-meter-value.high {
    color: var(--secondary-color);
}

.risk-meter-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.risk-meter-fill {
    height: 100%;
    width: 75%;
    background-color: var(--secondary-color);
    animation: fillBar 1.5s ease-out;
}

@keyframes fillBar {
    from {
        width: 0;
    }
    to {
        width: 75%;
    }
}

.extension-summary {
    margin-bottom: 1rem;
    background-color: rgba(100, 255, 218, 0.05);
    border-radius: 4px;
    padding: 0.8rem;
    border-left: 2px solid var(--accent-color);
}

.summary-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.summary-header svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.extension-summary p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

.extension-issues {
    margin-bottom: 1rem;
}

.issues-header {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.issues-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.issues-list li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1.2rem;
}

.issues-list li:before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.extension-popup-footer {
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
}

.extension-btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.extension-btn:hover {
    background-color: #4bd8b5;
    transform: translateY(-2px);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .xray-website-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .xray-tracker {
        max-width: 200px;
    }
    
    .browser-3d {
        width: 95%;
    }
    
    .browser-extension-popup {
        right: 0;
        width: 250px;
    }
    
    .code-tab {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* ==================== */
/* Breach Cascade */
/* ==================== */

.breach-universe {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
}

.breach-card {
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.breach-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.breach-card-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2942 0%, #0a1221 100%);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.breach-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(100, 255, 218, 0.15) 0%,
        rgba(100, 255, 218, 0) 70%
    );
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    pointer-events: none;
}

.breach-card:hover .breach-glow {
    opacity: 1;
    transform: scale(1);
}

.breach-company {
    height: 120px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
}

.breach-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: grayscale(60%) brightness(0.9);
    transition: all 0.4s ease;
}

.breach-card:hover .breach-logo {
    filter: grayscale(0%) brightness(1.2);
    transform: translate(-50%, -50%) scale(1.1);
}

.breach-company-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(230, 57, 70, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.breach-card:hover .breach-company-overlay {
    opacity: 1;
}

.breach-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.breach-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.breach-year {
    font-size: 1rem;
    opacity: 0.6;
    font-weight: 400;
    margin-left: 0.5rem;
}

.breach-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

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

.breach-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.2rem;
}

.breach-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breach-impact-meter {
    margin-top: 1rem;
}

.breach-meter-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.breach-meter {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.breach-meter-fill {
    height: 100%;
    border-radius: 3px;
    width: 0;
    animation: fillMeter 1.5s forwards ease-out;
}

.breach-meter-fill.low {
    background-color: #4cc9f0;
    width: 30%;
}

.breach-meter-fill.moderate {
    background-color: #4361ee;
    width: 50%;
}

.breach-meter-fill.high {
    background-color: #7209b7;
    width: 70%;
}

.breach-meter-fill.severe {
    background-color: #f72585;
    width: 85%;
}

.breach-meter-fill.critical {
    background-color: #e63946;
    width: 90%;
}

.breach-meter-fill.extreme {
    background-color: #d00000;
    width: 100%;
}

@keyframes fillMeter {
    from { width: 0; }
    to { width: var(--fill-width, 100%); }
}

.breach-explore {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.breach-card:hover .breach-explore {
    opacity: 1;
    transform: translateY(0);
}

.breach-explore-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-color);
}

.breach-explore-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.breach-card:hover .breach-explore-icon {
    transform: scale(1.1);
}

/* Breach Cascade Overlay */
.breach-cascade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.98);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

.breach-cascade-overlay.active {
    display: block;
    opacity: 1;
}

.cascade-close-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.cascade-close-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

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

.cascade-content {
    display: none;
}

.cascade-content.active {
    display: block;
}

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

.cascade-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.cascade-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 1rem;
}

.cascade-title h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.cascade-title h3 span {
    font-size: 1.5rem;
    opacity: 0.6;
    font-weight: 400;
}

.cascade-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.cascade-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    position: relative;
}

.cascade-primary {
    grid-column: span 12;
}

.cascade-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: cardAppear 0.6s forwards cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(20px);
    animation-delay: var(--delay, 0.1s);
}

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.impact-card {
    grid-column: span 6;
    --delay: 0.2s;
}

.secondary-card {
    grid-column: span 4;
    --delay: 0.3s;
}

.tertiary-card {
    grid-column: span 4;
    --delay: 0.4s;
}

.primary-card {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2) 0%, rgba(230, 57, 70, 0.05) 100%);
    border-left: 4px solid var(--secondary-color);
}

.impact-card {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.2) 0%, rgba(100, 255, 218, 0.05) 100%);
    border-left: 4px solid var(--accent-color);
}

.secondary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-left: 4px solid var(--text-secondary);
}

.tertiary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-left: 4px solid var(--text-secondary);
    opacity: 0.9;
}

.cascade-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cascade-card-header i {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    color: var(--accent-color);
}

.cascade-card-header span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.cascade-card-content {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cascade-card-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.cascade-card-content ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.cascade-card-content ul li:before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.cascade-card-footer {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.cascade-footer {
    margin-top: 4rem;
}

.cascade-stat-large {
    text-align: center;
    margin-bottom: 3rem;
}

.cascade-stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    animation: countUp 2s forwards ease-out;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cascade-stat-label {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.cascade-timeline {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    margin: 5rem 0 2rem;
}

.timeline-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 0;
}

.timeline-marker:before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-color);
    margin: 0 auto 1rem;
    box-shadow: 0 0 0 rgba(100, 255, 218, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(100, 255, 218, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0);
    }
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    text-align: center;
}

.timeline-event {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    text-align: center;
}

/* Cascade Animation */
.cascade-in-view .cascade-card {
    animation: cascadeCard 0.8s forwards cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: scale(0.8);
}

@keyframes cascadeCard {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Card Duplication Effect */
.card-duplicate {
    position: fixed;
    z-index: 100;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
}

.card-duplicate.active {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .cascade-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .cascade-primary {
        grid-column: span 6;
    }
    
    .impact-card {
        grid-column: span 3;
    }
    
    .secondary-card, .tertiary-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .breach-universe {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cascade-grid {
        grid-template-columns: 1fr;
    }
    
    .cascade-primary, .impact-card, .secondary-card, .tertiary-card {
        grid-column: span 1;
    }
    
    .cascade-title h3 {
        font-size: 1.8rem;
    }
    
    .cascade-title h3 span {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .breach-universe {
        grid-template-columns: 1fr;
    }
    
    .cascade-stat-value {
        font-size: 2.5rem;
    }
}

/* Safari Fix */
@supports (-webkit-overflow-scrolling: touch) {
    .breach-cascade-overlay {
        backdrop-filter: none;
        background-color: rgba(10, 25, 47, 0.98);
    }
}

/* Privacy News Feed */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.news-card {
    height: 100%;
    background: rgba(30, 30, 38, 0.5);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: newsCardAppear 0.5s forwards;
    animation-delay: calc(var(--delay, 0) * 100ms);
}

@keyframes newsCardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.news-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

.news-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.news-tag.breaking {
    background: linear-gradient(135deg, #ff4a4a, #ff0000);
    color: white;
}

.news-tag.update {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.news-tag.alert {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.news-tag.breach {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.news-tag.study {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.news-tag.guide {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.news-content {
    padding: 1.25rem;
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #a0aec0;
    margin-bottom: 0.75rem;
}

.news-source {
    font-weight: 600;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: #fff;
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #cbd5e0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.news-impact {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.news-impact.critical {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.news-impact.high {
    background-color: rgba(243, 156, 18, 0.2);
    color: #f39c12;
}

.news-impact.medium {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.news-impact.informative {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.news-reading-time {
    font-size: 12px;
    color: #a0aec0;
}

.news-expand-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.news-card:hover .news-expand-btn {
    background: #3B82F6;
    transform: rotate(45deg);
}

/* News Article Overlay */
.news-article-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow-y: auto;
}

.news-article-overlay.active {
    opacity: 1;
}

.article-close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.article-close-btn:hover {
    background: #f44336;
    transform: rotate(90deg);
}

.article-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 2rem;
}

.article-content {
    display: none;
    animation: fadeSlideUp 0.6s ease forwards;
}

.article-content.active {
    display: block;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-header {
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 14px;
    color: #a0aec0;
}

.article-dot {
    color: #4a5568;
}

.article-tag {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.article-tag.breaking {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.article-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: white;
}

.author-role {
    font-size: 14px;
    color: #a0aec0;
}

.article-featured-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 14px;
    font-style: italic;
}

.article-body {
    color: #e2e8f0;
    line-height: 1.7;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: white;
}

.article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body ul li {
    margin-bottom: 0.75rem;
}

.article-body blockquote {
    border-left: 4px solid #3B82F6;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(59, 130, 246, 0.1);
    font-style: italic;
    color: #a0aec0;
}

.article-related {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-related h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.article-related ul {
    padding-left: 1.5rem;
}

.article-related ul li {
    margin-bottom: 0.75rem;
}

.article-related ul li a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.3s;
}

.article-related ul li a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* Card Duplication Animation */
.news-duplicate {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1.275), 
                opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1.275);
}

.news-duplicate.active {
    opacity: 1;
}

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

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-container {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .news-meta, .news-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-dot {
        display: none;
    }
}

/* The Privacy Odyssey - Data Packet Journey */
.odyssey-container {
    position: relative;
    width: 100%;
    min-height: 700px;
    background: linear-gradient(to bottom, rgba(10, 10, 20, 0.8), rgba(20, 20, 40, 0.9));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

/* Cosmic Map */
.odyssey-map {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.odyssey-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 25px 5px, white, rgba(255, 255, 255, 0)),
        radial-gradient(1px 1px at 50px 25px, white, rgba(255, 255, 255, 0)),
        radial-gradient(1px 1px at 125px 20px, white, rgba(255, 255, 255, 0)),
        radial-gradient(1.5px 1.5px at 50px 75px, white, rgba(255, 255, 255, 0)),
        radial-gradient(2px 2px at 15px 125px, white, rgba(255, 255, 255, 0)),
        radial-gradient(2.5px 2.5px at 110px 80px, white, rgba(255, 255, 255, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: starsAnimation 100s linear infinite;
    opacity: 0.5;
}

.odyssey-constellations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 100px 50px, rgba(100, 255, 218, 0.5), rgba(100, 255, 218, 0)),
        radial-gradient(2px 2px at 200px 150px, rgba(100, 255, 218, 0.5), rgba(100, 255, 218, 0)),
        radial-gradient(3px 3px at 300px 100px, rgba(111, 136, 255, 0.5), rgba(111, 136, 255, 0)),
        radial-gradient(2px 2px at 400px 200px, rgba(111, 136, 255, 0.5), rgba(111, 136, 255, 0)),
        radial-gradient(3px 3px at 100px 250px, rgba(239, 83, 255, 0.5), rgba(239, 83, 255, 0)),
        radial-gradient(2px 2px at 200px 300px, rgba(239, 83, 255, 0.5), rgba(239, 83, 255, 0));
    opacity: 0.2;
    animation: constellationsPulse 10s ease-in-out infinite;
}

@keyframes starsAnimation {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 200px 200px;
    }
}

@keyframes constellationsPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

/* Internet Realms */
.odyssey-realm {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(50, 50, 70, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 
                inset 0 0 10px rgba(255, 255, 255, 0.1);
    transform: scale(0);
    animation: realmAppear 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(var(--delay, 0) * 0.1s);
}

.odyssey-realm:hover {
    transform: scale(1.1) translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 
                inset 0 0 15px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.odyssey-realm:hover .realm-icon {
    transform: scale(1.2);
}

@keyframes realmAppear {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.realm-icon {
    font-size: 30px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

.realm-name {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    max-width: 90%;
}

.origin-realm {
    background: radial-gradient(circle at center, rgba(100, 255, 218, 0.2), rgba(50, 50, 70, 0.7));
    --delay: 0;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
}

.destination-realm {
    background: radial-gradient(circle at center, rgba(111, 136, 255, 0.2), rgba(50, 50, 70, 0.7));
    --delay: 9;
    top: 50%;
    right: 10%;
    transform: translate(50%, -50%);
}

.realm-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(100, 255, 218, 0.7);
    transform: translate(-50%, -50%) scale(1);
    animation: pulsate 2s ease-out infinite;
}

.destination-realm .realm-pulse {
    border-color: rgba(111, 136, 255, 0.7);
}

@keyframes pulsate {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Dangerous Realms */
.danger-realm {
    background: radial-gradient(circle at center, rgba(255, 87, 34, 0.2), rgba(50, 50, 70, 0.7));
    border-color: rgba(255, 87, 34, 0.3);
}

.danger-realm .realm-icon {
    color: rgba(255, 87, 34, 0.9);
}

.danger-zone {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 87, 34, 0.1), transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: dangerPulse 4s ease-in-out infinite;
}

@keyframes dangerPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Positioning individual realms */
.odyssey-realm[data-realm="forge"] {
    --delay: 1;
    top: 30%;
    left: 20%;
}

.odyssey-realm[data-realm="encryption"] {
    --delay: 2;
    top: 20%;
    left: 30%;
}

.odyssey-realm[data-realm="isp"] {
    --delay: 3;
    top: 40%;
    left: 40%;
}

.odyssey-realm[data-realm="tracking"] {
    --delay: 4;
    top: 20%;
    left: 55%;
}

.odyssey-realm[data-realm="adnetwork"] {
    --delay: 5;
    top: 70%;
    left: 55%;
}

.odyssey-realm[data-realm="brokers"] {
    --delay: 6;
    top: 80%;
    left: 65%;
}

.odyssey-realm[data-realm="dns"] {
    --delay: 7;
    top: 30%;
    left: 70%;
}

.odyssey-realm[data-realm="https"] {
    --delay: 8;
    top: 60%;
    left: 80%;
}

/* Path Connections */
.odyssey-paths {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.odyssey-path {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    filter: url(#glow);
    opacity: 0;
    stroke-dasharray: 5, 5;
    animation: pathAppear 2s ease forwards, pathDash 30s linear infinite;
}

.main-path {
    stroke: url(#safe-path-gradient);
    stroke-width: 3;
}

.danger-path {
    stroke: url(#danger-path-gradient);
}

.alt-path {
    stroke: rgba(100, 255, 218, 0.5);
    stroke-dasharray: 1, 10;
    animation-duration: 60s;
}

@keyframes pathAppear {
    from {
        opacity: 0;
        stroke-dashoffset: 1000;
    }
    to {
        opacity: 0.7;
        stroke-dashoffset: 0;
    }
}

@keyframes pathDash {
    to {
        stroke-dashoffset: 1000;
    }
}

/* Data Packet */
.data-packet-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.data-packet {
    position: absolute;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    transition: left 2s cubic-bezier(0.34, 1.56, 0.64, 1), top 2s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.packet-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #64ffda;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #64ffda, 0 0 20px rgba(100, 255, 218, 0.5);
}

.packet-shell {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(100, 255, 218, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: shellRotate 4s linear infinite;
}

.packet-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at center, rgba(100, 255, 218, 0.5), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: auraPulse 2s ease-in-out infinite;
}

.packet-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.packet-particles::before,
.packet-particles::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(100, 255, 218, 0.8);
    border-radius: 50%;
    animation: particleFloat 2s ease-in-out infinite;
}

.packet-particles::before {
    top: 30%;
    left: 20%;
    animation-delay: 0.5s;
}

.packet-particles::after {
    top: 70%;
    left: 80%;
    animation-delay: 1s;
}

@keyframes shellRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes auraPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(5px, -5px);
    }
}

/* Story Panel */
.odyssey-story-panel {
    background: rgba(20, 20, 40, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    overflow: hidden;
}

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.packet-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4CAF50;
    box-shadow: 0 0 5px #4CAF50;
    animation: statusBlink 2s ease-in-out infinite;
}

.status-text {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.journey-progress {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 200px;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 10%;
    background: linear-gradient(to right, #4CAF50, #8BC34A);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.story-content {
    position: relative;
    min-height: 180px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.story-chapter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.story-chapter.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chapter-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.chapter-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.story-controls {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.story-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.story-control:hover {
    background: rgba(255, 255, 255, 0.2);
}

#odyssey-auto {
    background: rgba(59, 130, 246, 0.2);
}

#odyssey-auto:hover {
    background: rgba(59, 130, 246, 0.3);
}

/* Lore Panel */
.odyssey-lore-panel {
    position: absolute;
    top: 10%;
    right: -400px;
    width: 350px;
    max-height: 80%;
    background: rgba(20, 20, 40, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px 0 0 8px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 50;
    overflow: hidden;
}

.odyssey-lore-panel.active {
    right: 0;
}

.lore-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lore-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.lore-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lore-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lore-content {
    padding: 1rem;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

.lore-placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-align: center;
    padding: 2rem 0;
}

.lore-entry {
    display: none;
}

.lore-entry.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.lore-entry h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.lore-entry p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.lore-facts {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.lore-fact {
    margin-bottom: 0.5rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.lore-fact span {
    color: #64ffda;
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Threat Entities */
.threat-entities {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.threat {
    position: absolute;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.threat.visible {
    opacity: 1;
}

.tracker-entity {
    background: rgba(255, 87, 34, 0.2);
    border-radius: 50%;
    border: 1px solid rgba(255, 87, 34, 0.5);
}

.threat-body {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(255, 87, 34, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.threat-eyes {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 20px;
    height: 6px;
    transform: translate(-50%, -50%);
}

.threat-eyes::before,
.threat-eyes::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: blink 3s infinite;
}

.threat-eyes::before {
    left: 0;
}

.threat-eyes::after {
    right: 0;
}

.threat-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 87, 34, 0.8);
    transform: translate(-50%, -50%) scale(1);
    animation: threatPulse 2s infinite;
}

@keyframes blink {
    0%, 45%, 55%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.1);
    }
}

@keyframes threatPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Defender Entities */
.defender-entity {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.defender-entity.visible {
    opacity: 1;
}

.defender-body {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(76, 175, 80, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.defender-shield {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(76, 175, 80, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: shieldPulse 3s infinite;
}

@keyframes shieldPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
}

/* Interaction Layer */
.odyssey-interaction-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

.realm-info-popup {
    position: absolute;
    width: 250px;
    background: rgba(20, 20, 40, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    transform: translate(-50%, -110%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.realm-info-popup.visible {
    opacity: 1;
}

.realm-info-header {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 0.5rem;
    color: white;
}

.realm-info-content {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.realm-info-lore {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 4px;
    color: #64ffda;
    font-size: 12px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.realm-info-lore:hover {
    background: rgba(100, 255, 218, 0.2);
}

.encounter-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    background: rgba(20, 20, 40, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    display: none;
    text-align: center;
}

.encounter-popup.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    display: block;
}

.encounter-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 24px;
    color: white;
}

.encounter-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.encounter-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.encounter-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.encounter-option {
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.encounter-option.primary {
    background: rgba(100, 255, 218, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.5);
    color: #64ffda;
}

.encounter-option.primary:hover {
    background: rgba(100, 255, 218, 0.3);
}

.encounter-option.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.encounter-option.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .odyssey-map {
        height: 400px;
    }
    
    .odyssey-realm {
        width: 80px;
        height: 80px;
    }
    
    .realm-icon {
        font-size: 24px;
    }
    
    .realm-name {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .odyssey-map {
        height: 350px;
    }
    
    .odyssey-realm {
        width: 70px;
        height: 70px;
    }
    
    .story-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .story-control {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .odyssey-map {
        height: 300px;
    }
    
    .odyssey-realm {
        width: 60px;
        height: 60px;
    }
    
    .realm-icon {
        font-size: 20px;
        margin-bottom: 4px;
    }
    
    .realm-name {
        font-size: 8px;
    }
    
    .chapter-title {
        font-size: 16px;
    }
    
    .chapter-text {
        font-size: 14px;
    }
}

/* Coming Soon Section */
.coming-soon-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.coming-soon-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.2);
}

.coming-soon-badge i {
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
} 

/* Coming Soon Elements */
.coming-soon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.coming-soon-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2dd4bf 100%);
    color: var(--dark-bg);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.2);
    position: relative;
    overflow: hidden;
}

.coming-soon-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(100, 255, 218, 0.3);
}

.coming-soon-pill i {
    animation: rocketShake 2s infinite;
}

.launch-dots {
    display: inline-flex;
    align-items: center;
    margin-left: 0.5rem;
}

.launch-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--dark-bg);
    margin: 0 2px;
    opacity: 0.5;
    animation: dotPulse 1.5s infinite;
}

.launch-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.launch-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.notify-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes rocketShake {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
} 

/* Feature Buttons */
.feature-btn-wrapper {
    position: relative;
    perspective: 1000px;
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff4d5a 100%);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
    transform-style: preserve-3d;
}

.feature-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.feature-btn.coming-soon {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.1);
}

.feature-btn.coming-soon:hover {
    background: rgba(230, 57, 70, 0.1);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.2);
}

.feature-btn.coming-soon .launch-dots span {
    background-color: var(--secondary-color);
    opacity: 0.9;
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(45deg);
    animation: btnGlow 3s infinite;
    pointer-events: none;
}

.launch-dots {
    display: inline-flex;
    align-items: center;
    margin-left: 0.5rem;
}

.launch-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    margin: 0 2px;
    opacity: 0.9;
    animation: dotPulse 1.5s infinite;
}

.launch-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.launch-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes btnGlow {
    0% {
        transform: rotate(45deg) translateY(0%);
        opacity: 0;
    }
    50% {
        transform: rotate(45deg) translateY(-50%);
        opacity: 0.3;
    }
    100% {
        transform: rotate(45deg) translateY(-100%);
        opacity: 0;
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
} 

/* Privacy Policy Page Styles */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.policy-header {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.policy-header:hover {
    background: rgba(255, 255, 255, 0.12);
}

.policy-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.policy-icon i {
    font-size: 20px;
    color: white;
}

.policy-toggle {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.policy-toggle i {
    font-size: 18px;
    color: var(--secondary-color);
}

.policy-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 20px;
}

.policy-content.active {
    max-height: 2000px;
    padding: 20px;
}

/* Data Flow Visualization */
.data-flow-visualization {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.data-node {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.data-node:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.data-node i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.data-node span {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.data-details {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.data-arrow {
    font-size: 24px;
    color: var(--secondary-color);
    animation: arrowPulse 2s infinite;
}

@keyframes arrowPulse {
    0% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(10px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.5; }
}

/* Storage Visualization */
.storage-visualization {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.storage-type {
    flex: 1;
    min-width: 250px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.storage-type:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.storage-type i {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.storage-type h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.storage-type.crossed {
    opacity: 0.7;
    position: relative;
}

.crossed-text {
    color: var(--secondary-color);
    font-weight: 600;
}

.storage-type.crossed::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
    transform: rotate(-5deg);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.service-logo {
    height: 48px;
    margin-bottom: 16px;
}

.service-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    transform: translateX(4px);
}

/* Contact Card */
.contact-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item i {
    font-size: 20px;
    color: var(--secondary-color);
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    transform: translateX(4px);
}

/* Data List */
.data-list {
    list-style: none;
    padding: 0;
}

.data-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.data-list li:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.08);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .data-flow-visualization {
        flex-direction: column;
    }
    
    .data-arrow {
        transform: rotate(90deg);
    }
    
    .storage-visualization {
        flex-direction: column;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Service Details */
.service-details {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 32px;
    color: var(--secondary-color);
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.right-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.right-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.right-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.right-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Children's Privacy */
.children-privacy-content {
    padding: 1rem;
}

.alert-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(234, 179, 8, 0.1);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-box i {
    font-size: 1.5rem;
}

.policy-list {
    list-style: none;
    padding: 0;
}

.policy-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.policy-list li:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.08);
}

.policy-list i {
    color: var(--secondary-color);
}

/* Security Measures */
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.security-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.security-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon i {
    font-size: 24px;
    color: var(--secondary-color);
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.practice-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.practice-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.08);
}

/* Policy Updates */
.update-channels {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.update-channels li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.update-channels li:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.08);
}

.update-channels i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.version-timeline {
    margin-top: 1.5rem;
}

.version-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.version-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.08);
}

.version-date {
    color: var(--secondary-color);
    font-weight: 600;
    min-width: 100px;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.summary-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.summary-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.summary-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .rights-grid,
    .security-measures,
    .practices-grid,
    .summary-cards {
        grid-template-columns: 1fr;
    }

    .version-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .version-date {
        min-width: auto;
    }
}

/* Service Card OpenAI Logo */
.service-card .service-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.service-card:hover .service-logo {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* HaveIBeenPwned Logo specific styles */
.service-card .hibp-logo {
    width: 120px;
    height: 60px;
}

.service-card:hover .hibp-logo {
    filter: brightness(1.1);
}

/* Interactive Feature Showcase */
.flip-card {
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Only apply hover effect on non-touch devices */
@media (hover: hover) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

/* Touch device specific styles */
.flip-card.touch-device .flip-card-inner {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-card.touch-device.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #1a1e2c, #0f1219);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    -webkit-backface-visibility: hidden; /* Fix for Safari */
}

.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, #1f2937, #111827);
}

/* Active state indicator for touch devices */
.flip-card.touch-device::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.flip-card.touch-device.flipped::after {
    transform: translateX(-50%) scale(1);
}

/* Tap animation feedback */
.flip-card.touch-device:active {
    transform: scale(0.98);
}

.showcase-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--secondary-color), #ff4d57);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(230, 57, 70, 0.5);
    }
    100% {
        box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    }
}

.flip-card-back ul {
    width: 100%;
    max-width: 250px;
}

.flip-card-back li {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.flip-card-back li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

/* Browser Compatibility Logos */
.browser-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.browser-logo-wrapper:hover {
    transform: translateY(-5px);
}

.browser-logo-wrapper img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
}

.browser-logo-wrapper:hover img {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    transform: scale(1.1);
}

.browser-logo-wrapper span {
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.browser-logo-wrapper:hover span {
    opacity: 1;
    color: var(--secondary-color);
}

/* Video Player Styles */
.video-player-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #1a1e2c, #0f1219);
    aspect-ratio: 16 / 9;
}

.demo-video {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 25, 47, 0.5);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.video-container.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, var(--secondary-color), #ff4d57);
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 30px rgba(230, 57, 70, 0.5);
}

.video-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-highlight i {
    font-size: 1.25rem;
}

.feature-highlight span {
    font-size: 0.9rem;
    color: #e6e6e6;
}

@media (max-width: 768px) {
    .video-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .feature-highlight {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}