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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #fef7f0;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-logo h2 {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    font-size: 1rem;
    display: inline-block;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

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

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Terms Header */
.terms-header {
    background: linear-gradient(135deg, #fef7f0 0%, #fff5e6 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.terms-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 1.1rem;
    color: #4a5568;
    font-style: italic;
}

/* Terms Content */
.terms-content {
    padding: 60px 0;
    background: white;
}

.terms-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

/* Sidebar */
.terms-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-nav {
    background: #fef7f0;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #fed7aa;
}

.sidebar-nav h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-nav ul li {
    margin-bottom: 0.75rem;
}

.sidebar-nav .nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    font-size: 1rem;
    display: inline-block;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background: #ff6b35;
    color: white;
    transform: translateX(5px);
}

/* Main Content */
.terms-main {
    max-width: none;
}

.terms-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.terms-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fed7aa;
}

.terms-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 2rem 0 1rem;
}

.terms-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff6b35;
    margin: 1.5rem 0 0.75rem;
}

.terms-section p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.terms-section ul li {
    color: #4a5568;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.terms-section ul li strong {
    color: #2d3748;
    font-weight: 600;
}

/* Special Boxes */
.important-notice {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.important-notice h4 {
    color: #c53030;
    margin-bottom: 0.75rem;
}

.important-notice p {
    color: #c53030;
    margin-bottom: 0;
}

.disclaimer-box {
    background: #fffaf0;
    border: 1px solid #fbd38d;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.disclaimer-box h4 {
    color: #c05621;
    margin-bottom: 0.75rem;
}

.disclaimer-box p {
    color: #c05621;
    margin-bottom: 0;
}

.contact-info {
    background: #fef7f0;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #fed7aa;
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.contact-info p strong {
    color: #ff6b35;
}

.effective-date {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.effective-date h4 {
    color: #2f855a;
    margin-bottom: 0.75rem;
}

.effective-date p {
    color: #2f855a;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b35;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.social-links a:hover {
    color: white;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.social-icon {
    font-size: 1.2rem;
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    color: #cbd5e0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-legal-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .terms-layout {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }

    .sidebar-nav {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        width: 100vw;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: none;
        padding: 0;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }

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

    .nav-menu .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        color: white;
        text-decoration: none;
        padding: 1rem 2rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        min-width: 200px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .nav-toggle {
        display: flex;
        z-index: 10000;
        position: relative;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-toggle .bar {
        transition: all 0.3s ease;
    }

.nav-icon {
    font-size: 1rem;
    display: inline-block;
}

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .nav-toggle {
        display: flex;
        z-index: 10000;
        position: relative;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-toggle .bar {
        transition: all 0.3s ease;
    }

    .terms-header h1 {
        font-size: 2.5rem;
    }

    .terms-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .terms-sidebar {
        order: -1;
        position: static;
    }

    .sidebar-nav {
        padding: 1rem;
    }

    .sidebar-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .sidebar-nav ul li {
        margin-bottom: 0;
    }

    .sidebar-nav .nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    font-size: 1rem;
    display: inline-block;
}

    .terms-section h2 {
        font-size: 1.75rem;
    }

    .terms-section h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal-links {
        gap: 1rem;
    }
}

    .terms-header {
        padding: 100px 0 40px;
    }

    .terms-header h1 {
        font-size: 2rem;
    }

    .terms-content {
        padding: 40px 0;
    }

    .terms-section {
        margin-bottom: 2rem;
    }

    .terms-section h2 {
        font-size: 1.5rem;
    }

    .important-notice,
    .disclaimer-box,
    .contact-info,
    .effective-date {
        padding: 1rem;
        margin: 1rem 0;
    }

    .sidebar-nav ul {
        flex-direction: column;
    }

    .sidebar-nav .nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    font-size: 1rem;
    display: inline-block;
}
}
