/* Variables */
:root {
    --dark-blue: #070A26;
    --purple: #853DFF;
    --light-purple: #AD80FF;
    --light-gray: #ECEBF1;
    --white: #FFFFFF;
    --black: #000000;
    --shadow: rgba(7, 10, 38, 0.1);
    --transition: all 0.3s ease;
    --success: #4CAF50;
    --warning: #FF9800;
    --pending: #2196F3;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Albert Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-blue);
    background-color: var(--white);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--purple);
}

h3 {
    font-size: 1.75rem;
    color: var(--purple);
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--purple);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--light-purple);
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
}

/* Header */
header {
    background-color: var(--dark-blue);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--light-gray);
    font-weight: 500;
    position: relative;
}

nav ul li a:hover {
    color: var(--white);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light-purple);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--dark-blue);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    nav.active ul {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        margin: 10px 0;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, #f5f4fa 100%);
    text-align: center;
    padding: 100px 0;
    box-shadow: 0 5px 15px var(--shadow);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(133, 61, 255, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.cta-container {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple) 0%, var(--light-purple) 100%);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(133, 61, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--purple) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(133, 61, 255, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
    box-shadow: none;
    padding: 13px 30px;
}

.cta-button.secondary:hover {
    background: rgba(133, 61, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(133, 61, 255, 0.2);
}

.ics-notice {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--dark-blue);
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline-Checklist Combined Section */
.timeline-checklist {
    background-color: var(--white);
    padding: 80px 0;
}

.view-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    background-color: var(--light-gray);
    border-radius: 50px;
    padding: 5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.view-toggle button {
    background: none;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-blue);
}

.view-toggle button.active {
    background: linear-gradient(135deg, var(--purple) 0%, var(--light-purple) 100%);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(133, 61, 255, 0.3);
}

.filter-options {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-options button {
    background: none;
    border: 2px solid var(--light-gray);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-blue);
}

.filter-options button.active {
    background-color: var(--light-gray);
    border-color: var(--purple);
    color: var(--purple);
}

.filter-options button:hover {
    border-color: var(--purple);
}

.view-content {
    display: none;
}

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

/* Timeline View */
.week {
    margin-bottom: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    border: 2px solid var(--light-purple);
}

.week-header {
    background: linear-gradient(135deg, var(--purple) 0%, var(--light-purple) 100%);
    padding: 15px 20px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.week-header h3 {
    color: var(--white);
    margin: 0;
}

.week-header .toggle-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.week-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.week-content {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.week-content.collapsed {
    max-height: 0;
}

.week-objectives {
    background: linear-gradient(135deg, var(--light-purple) 0%, #c9b6ff 100%);
    padding: 20px;
    color: var(--white);
}

.week-objectives h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.week-objectives ul {
    margin-bottom: 0;
}

.days {
    padding: 20px;
}

.day {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
}

.day:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.day h4 {
    color: var(--purple);
    margin-bottom: 15px;
}

/* Compact Table Style */
.day-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.day-table th {
    background: linear-gradient(135deg, var(--light-purple) 0%, #c9b6ff 100%);
    color: var(--white);
    text-align: left;
    padding: 12px 15px;
}

.day-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--light-gray);
    background-color: var(--white);
}

.day-table tr:last-child td {
    border-bottom: none;
}

.day-table tr:nth-child(even) td {
    background-color: rgba(236, 235, 241, 0.3);
}

/* Progress View */
.progress-container {
    margin-bottom: 30px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-header h3 {
    margin: 0;
}

.progress-bar-container {
    width: 100%;
    height: 10px;
    background-color: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--purple) 0%, var(--light-purple) 100%);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.task-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.task-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--purple);
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.task-card.completed {
    border-left-color: var(--success);
}

.task-card.in-progress {
    border-left-color: var(--warning);
}

.task-card.pending {
    border-left-color: var(--pending);
}

.task-card h4 {
    color: var(--dark-blue);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-card h4 .status-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 20px;
    color: var(--white);
}

.task-card h4 .status-badge.completed {
    background-color: var(--success);
}

.task-card h4 .status-badge.in-progress {
    background-color: var(--warning);
}

.task-card h4 .status-badge.pending {
    background-color: var(--pending);
}

.task-card p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.task-card .task-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.task-card .task-owner {
    font-weight: 600;
}

.task-card .checkbox-container {
    margin-top: 15px;
}

/* Progress Circle */
.progress-circle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
}

.progress-circle svg circle {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    transform: translate(5px, 5px);
}

.progress-circle svg circle.bg {
    stroke: var(--light-gray);
}

.progress-circle svg circle.progress {
    stroke: var(--purple);
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 0.5s ease;
}

.progress-circle .percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple);
}

/* Checkbox Container */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}

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

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: var(--light-gray);
    border-radius: 5px;
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--purple) 0%, var(--light-purple) 100%);
}

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

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

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Glossary Section */
.glossary {
    background: linear-gradient(135deg, #f0eef7 0%, var(--light-gray) 100%);
    padding: 80px 0;
}

.glossary-container {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(133, 61, 255, 0.15);
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.glossary-item {
    border-left: 3px solid var(--purple);
    padding-left: 15px;
}

.glossary-item h4 {
    color: var(--purple);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.glossary-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--purple);
    cursor: help;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 250px;
    background-color: var(--dark-blue);
    color: var(--white);
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark-blue) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.accordion {
    margin-top: 30px;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.accordion-header {
    width: 100%;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f5f4fa 100%);
    padding: 20px;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #e0dfe5 0%, #ebeaf0 100%);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

.accordion-content {
    background-color: var(--white);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 1000px;
}

/* Feedback Button */
.feedback-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--light-purple) 100%);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(133, 61, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    z-index: 99;
}

.feedback-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(133, 61, 255, 0.5);
}

.feedback-button i {
    font-size: 1.5rem;
}

.feedback-tooltip {
    position: absolute;
    top: -40px;
    right: 0;
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
}

.feedback-button:hover .feedback-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1d3d 100%);
    color: var(--light-gray);
    padding: 50px 0 30px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px 10px 0;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--light-purple);
    transform: translateY(-3px);
}

.social-links a i {
    font-size: 1.2rem;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Confetti Animation */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
    display: none;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--purple);
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .day-table {
        display: block;
        overflow-x: auto;
    }
    
    .task-list {
        grid-template-columns: 1fr;
    }
    
    .glossary-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo, .footer-links {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .feedback-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .view-toggle {
        width: 100%;
    }
    
    .view-toggle button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .filter-options button {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}
