/* Dark theme CSS specifically for Terms and Privacy pages */

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

html {
    scroll-behavior: smooth;
}

body.terms-page {
    font-family: 'Inter', sans-serif;
    background-color: #171716 !important;
    color: #FFFFFF !important;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

/* Navigation Styles for dark theme */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(23, 23, 22, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #FFFFFF !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #AF8CE6 !important;
}

.contact-btn {
    background: linear-gradient(90deg, #AF8CE6 0%, #D1CBD9 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: #000000 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 3px 0;
    transition: 0.3s;
}

/* Terms & Conditions Dark Styles */
.terms-conditions {
    background: #171716 !important;
    min-height: 100vh;
    padding: 8rem 0 4rem 0;
    color: #FFFFFF !important;
}

.terms-header {
    text-align: center;
    margin-bottom: 4rem;
}

.terms-title {
    font-family: 'Stratos', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 150%;
    background: linear-gradient(90deg, #FFFFFF 0%, #D3E7D5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem 0;
}

.terms-effective-date {
    font-family: 'Stratos', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 135%;
    color: #FFFFFF !important;
    margin: 0;
}

.terms-content {
    max-width: 764px;
    margin: 0 auto;
}

.terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333333;
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h2 {
    font-family: 'Stratos', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 135%;
    color: #FFFFFF !important;
    margin: 0 0 1rem 0;
}

.terms-section p {
    font-family: 'Stratos', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 135%;
    color: #FFFFFF !important;
    margin: 0 0 1rem 0;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

.terms-section h3 {
    font-family: 'Stratos', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 135%;
    color: #FFFFFF !important;
    margin: 1.5rem 0 1rem 0;
}

.terms-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.terms-section li {
    font-family: 'Stratos', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 135%;
    color: #FFFFFF !important;
    margin-bottom: 0.5rem;
}

.terms-section ul li:last-child {
    margin-bottom: 0;
}

/* Last Updated Section */
.terms-last-updated {
    display: flex;
    width: 764px;
    height: 22px;
    justify-content: center;
    opacity: 1;
    margin: 4rem auto 2rem auto;
}

.last-updated-text {
    font-family: 'Stratos', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 135%;
    letter-spacing: 10%;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF !important;
    margin: 0;
}

/* Email link styling similar to hedera link */
.privacy-email-link {
    color: #009B7E !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-email-link:hover {
    text-decoration: underline;
}

/* Footer Dark Styles */
.footer {
    background: #1A1A1A;
    padding: 3rem 0 2rem 0;
    color: #FFFFFF;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(175, 140, 230, 0.2);
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

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

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #AF8CE6;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .terms-conditions {
        padding: 6rem 0 3rem 0;
    }
    
    .terms-title {
        font-size: 36px;
    }
    
    .terms-section h2 {
        font-size: 20px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(23, 23, 22, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .terms-title {
        font-size: 28px;
    }
    
    .terms-section h2 {
        font-size: 18px;
    }
    
    .terms-section h3 {
        font-size: 16px;
    }
    
    .terms-section p,
    .terms-section li {
        font-size: 14px;
    }
}