:root {
    --bg-dark: #0a0f1a;
    --bg-darker: #050811;
    --bg-card: #111827;
    --bg-card-light: #1f2937;
    --msp-primary: #f97316;
    --msp-primary-dark: #ea580c;
    --msp-primary-glow: rgba(249, 115, 22, 0.15);
    --msp-secondary: #8b5cf6;
    --msp-secondary-dark: #7c3aed;
    --msp-accent: #10b981;
    --msp-accent-dark: #059669;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border: #374151;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --radius: 12px;
    --radius-lg: 16px;
}

.left-menu nav ul {
    flex-direction:column;
    align-items: flex-start;
    justify-content: left;
}

.left-menu nav ul li {
    margin-left: 0px;
}
/* Agreement Hero */
.agreement-hero {
    padding: 180px 0 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.agreement-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.agreement-hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--text-primary), var(--msp-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agreement-hero-text h1 span {
    display: block;
    font-size: 1.5rem;
    margin-top: 10px;
    color: var(--msp-secondary);
    -webkit-text-fill-color: var(--msp-secondary);
}

.agreement-hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 600px;
}

.agreement-hero-buttons {
    display: flex;
    gap: 20px;
}

.agreement-hero-visualization {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agreement-icon {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(139, 92, 246, 0.1));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    color: var(--msp-primary);
    animation: pulse 3s infinite;
}

/* Main Layout */
.agreement-main-container {
    background-color: var(--bg-dark);
}

.agreement-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    padding: 60px 0;
}

/* Left Sidebar */
.agreement-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 110px;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    height: calc(100vh - 140px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--msp-primary) var(--bg-darker);
}

.sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.sidebar-sticky::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-radius: 3px;
}

.sidebar-sticky::-webkit-scrollbar-thumb {
    background-color: var(--msp-primary);
    border-radius: 3px;
}

.sidebar-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-header h3 i {
    color: var(--msp-primary);
}

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

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 15px;
}

.sidebar-nav-link:hover {
    background-color: rgba(249, 115, 22, 0.1);
    border-color: var(--msp-primary);
    color: var(--msp-primary);
    transform: translateX(5px);
}

.sidebar-nav-link.active {
    background-color: rgba(249, 115, 22, 0.2);
    border-color: var(--msp-primary);
    color: var(--msp-primary);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.sidebar-nav-link.cta-nav-link {
    background: linear-gradient(135deg, var(--msp-primary), var(--msp-primary-dark));
    color: white;
    border: none;
    margin-top: 20px;
    font-weight: 700;
}

.sidebar-nav-link.cta-nav-link:hover {
    background: linear-gradient(135deg, var(--msp-primary-dark), #c2410c);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.3);
}

.nav-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(249, 115, 22, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--msp-primary);
    flex-shrink: 0;
}

.sidebar-nav-link.active .nav-number {
    background-color: var(--msp-primary);
    color: white;
}

.sidebar-nav-link.cta-nav-link .nav-number {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.sidebar-nav-link::after {
    content: none !important;
}

.nav-text {
    flex: 1;
}

.sidebar-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.sidebar-help {
    background-color: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.sidebar-help h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-help h4 i {
    color: var(--msp-secondary);
}

.sidebar-help p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.sidebar-help-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--msp-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.sidebar-help-link:hover {
    color: var(--msp-secondary-dark);
    text-decoration: underline;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-action-btn {
    padding: 12px 20px;
    background-color: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-action-btn:hover {
    background-color: rgba(249, 115, 22, 0.1);
    border-color: var(--msp-primary);
    color: var(--msp-primary);
}

/* Right Content Area */
.agreement-content {
    position: relative;
}

.agreement-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    scroll-margin-top: 80px;
}

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

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--msp-primary), var(--msp-primary-dark));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-right: 25px;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
}

.section-body {
    padding-left: 85px;
}

.section-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.section-body h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 30px 0 15px;
}

.section-body ul {
    color: var(--text-secondary);
    padding-left: 20px;
    margin-bottom: 25px;
}

.section-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Last Updated */
.last-updated {
    background-color: rgba(249, 115, 22, 0.1);
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.last-updated i {
    color: var(--msp-primary);
}

/* Agreement Cards */
.agreement-card {
    background-color: var(--bg-card-light);
    border-radius: var(--radius);
    padding: 30px;
    margin: 30px 0;
    border-left: 4px solid var(--msp-primary);
}

.agreement-card.warning {
    border-left-color: var(--warning);
}

.agreement-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.agreement-card-header i {
    font-size: 1.8rem;
    color: var(--msp-primary);
    margin-right: 15px;
}

.agreement-card.warning .agreement-card-header i {
    color: var(--warning);
}

.agreement-card-header h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
}

.agreement-card-body ul {
    margin-bottom: 0;
}

/* Definitions Grid */
.definitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.definition-item {
    background-color: rgba(249, 115, 22, 0.05);
    border-radius: var(--radius);
    padding: 25px;
    border: 1px solid rgba(249, 115, 22, 0.2);
    transition: transform 0.3s ease;
}

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

.definition-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--msp-primary);
}

.definition-item h4 {
    font-size: 1.2rem;
    color: var(--msp-primary);
    margin-bottom: 10px;
}

.definition-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Responsibility Grid */
.responsibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.responsibility-item {
    display: flex;
    gap: 20px;
    background-color: rgba(16, 185, 129, 0.05);
    border-radius: var(--radius);
    padding: 25px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.responsibility-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--success);
    flex-shrink: 0;
}

.responsibility-content h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.responsibility-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* Two Column List */
.two-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.pricing-table tr {
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

.pricing-table thead tr {
    background-color: rgba(249, 115, 22, 0.1);
    border-bottom: 2px solid var(--msp-primary);
}

.pricing-col {
    padding: 15px;
    text-align: left;
}

.pricing-table thead th {
    font-weight: 700;
    color: var(--text-primary);
}


/* Termination Grid */
.termination-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.termination-item {
    display: flex;
    gap: 20px;
    background-color: rgba(239, 68, 68, 0.05);
    border-radius: var(--radius);
    padding: 25px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.termination-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--danger);
    flex-shrink: 0;
}

.termination-content h5 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* Provisions Grid */
.provisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.provision-item {
    display: flex;
    gap: 20px;
    background-color: rgba(139, 92, 246, 0.05);
    border-radius: var(--radius);
    padding: 25px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.provision-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--msp-secondary);
    flex-shrink: 0;
}

.provision-content h4 {
    font-size: 1.2rem;
    color: var(--msp-secondary);
    margin-bottom: 10px;
}

.provision-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* Notice Addresses */
.notice-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.notice-address h5 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.notice-address p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.notice-address a {
    color: var(--msp-primary);
    text-decoration: none;
}

.notice-address a:hover {
    text-decoration: underline;
}

/* Agreement Acceptance */
.agreement-acceptance {
    margin-top: 80px;
    padding: 60px 0;
    border-top: 1px solid rgba(55, 65, 81, 0.3);
}

.agreement-acceptance-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--msp-primary);
}

.acceptance-header {
    text-align: center;
    margin-bottom: 30px;
}

.acceptance-header i {
    font-size: 4rem;
    color: var(--msp-primary);
    margin-bottom: 20px;
}

.acceptance-header h3 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.agreement-acceptance-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.acceptance-summary {
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius);
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item i {
    color: var(--success);
}

.summary-item span {
    color: var(--text-secondary);
}

.acceptance-terms {
    text-align: left;
    max-width: 600px;
    margin: 40px auto;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 1.6;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: var(--bg-darker);
    border: 2px solid var(--border);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(249, 115, 22, 0.1);
    border-color: var(--msp-primary);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--msp-primary);
    border-color: var(--msp-primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.checkbox-text a {
    color: var(--msp-primary);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.acceptance-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

#acceptAgreementBtn {
    padding: 16px 40px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

#declineAgreementBtn {
    padding: 16px 40px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.acceptance-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    border-radius: var(--radius);
    padding: 30px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.success-icon i {
    font-size: 3.5rem;
    color: var(--success);
}

.success-content h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.success-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.success-timer i {
    color: var(--msp-primary);
}

#countdown {
    font-weight: 700;
    color: var(--msp-primary);
}

.acceptance-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.acceptance-footer a {
    color: var(--msp-primary);
    text-decoration: none;
}

.acceptance-footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .agreement-layout {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .agreement-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .agreement-sidebar {
        display: none; /* Hide sidebar on mobile, could implement mobile menu toggle */
    }
    
    .agreement-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .agreement-hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .agreement-hero-buttons {
        justify-content: center;
    }
    
    .section-body {
        padding-left: 0;
    }
    
    .two-column-list,
    .termination-grid,
    .notice-addresses {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .agreement-hero {
        padding: 150px 0 60px;
    }
    
    .agreement-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .agreement-hero-icon {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .agreement-acceptance-card {
        padding: 30px 20px;
    }
    
    .acceptance-actions {
        flex-direction: column;
    }
    
    .agreement-layout {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .definitions-grid,
    .responsibility-grid,
    .provisions-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-table {
        display: block;
        overflow-x: auto;
    }
}
