/* Material Symbols Configuration */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ========================================
   Global Styles
   ======================================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   Gradient CTA Button
   ======================================== */
.gradient-cta {
    background: linear-gradient(135deg, #00677e 0%, #00d4ff 100%);
    transition: all 0.3s ease;
}

.gradient-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0px 10px 20px rgba(0, 103, 126, 0.2);
}

/* ========================================
   Ambient Shadow
   ======================================== */
.ambient-shadow {
    box-shadow: 0px 20px 40px rgba(22, 29, 31, 0.06);
}

/* ========================================
   Glass Effect
   ======================================== */
.glass-header {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

/* ========================================
   Feature Cards
   ======================================== */
.feature-card {
    background: #ffffff;
    border: 1px solid rgba(187, 201, 207, 0.15);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 20px 40px rgba(22, 29, 31, 0.1);
}

.feature-icon {
    background: rgba(0, 212, 255, 0.2);
    transition: transform 0.3s ease;
}

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

/* ========================================
   Encryption Demo
   ======================================== */
.encryption-demo {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

#encryption-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.encryption-demo > *:not(#encryption-canvas) {
    position: relative;
    z-index: 1;
}

/* ========================================
   Download Cards
   ======================================== */
.download-card {
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-question {
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #eef5f8;
}

.faq-question.active .material-symbols-outlined {
    transform: rotate(180deg);
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    right: 0;
    left: auto;
    z-index: 100;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Document Content (Privacy & About Pages)
   ======================================== */
.privacy-section,
.about-section {
    background: #ffffff;
    border: 1px solid rgba(187, 201, 207, 0.15);
}

.doc-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: #161d1f;
}

.doc-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #161d1f;
}

.doc-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #161d1f;
}

.doc-content p {
    margin-bottom: 1rem;
    color: #515f74;
    line-height: 1.75;
}

.doc-content ul,
.doc-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #515f74;
}

.doc-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.doc-content ul {
    list-style-type: disc;
}

.doc-content ol {
    list-style-type: decimal;
}

.doc-content strong {
    color: #161d1f;
    font-weight: 600;
}

/* ========================================
   Custom Scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e8eff2;
}

::-webkit-scrollbar-thumb {
    background: #00677e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004e5f;
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ========================================
   Form Inputs
   ======================================== */
input, textarea {
    background-color: #eef5f8;
    border: 1px solid rgba(187, 201, 207, 0.3);
    color: #161d1f;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #00677e;
    box-shadow: 0 0 0 3px rgba(0, 103, 126, 0.1);
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        gap: 1rem;
    }
}
