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

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #10b981;
    --dark-bg: #1e293b;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

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

/* Navigation */
.navbar {
    background-color: var(--dark-bg);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1.2s ease-out;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background-color: white;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Tool Cards */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tool-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tool-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.tool-features h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.tool-features ul {
    list-style: none;
    padding-left: 0;
}

.tool-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.tool-features li:last-child {
    border-bottom: none;
}

.tool-features strong {
    color: var(--primary-color);
}

.tool-example {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--accent-color);
}

.tool-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.tool-link:hover {
    color: var(--secondary-color);
}

/* SEN Section */
.sen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.sen-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.sen-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.sen-strategies h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.sen-strategies ul {
    list-style: none;
    padding-left: 0;
}

.sen-strategies li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.sen-strategies li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.prompt-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
}

.prompt-box strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.prompt-box p {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Cover Lessons Section */
.cover-content {
    display: grid;
    gap: 3rem;
}

.cover-benefits {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.cover-benefits h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cover-benefits ul {
    list-style: none;
    padding-left: 0;
}

.cover-benefits li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.cover-templates {
    display: grid;
    gap: 1.5rem;
}

.cover-templates h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.template-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.template-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cover-tips {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.cover-tips h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cover-tips ul {
    list-style: none;
    padding-left: 0;
}

.cover-tips li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.cover-tips li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Subject Tabs */
.subject-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.subject-content {
    position: relative;
}

.subject-panel {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.subject-panel.active {
    display: block;
}

.subject-panel h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.prompt-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.prompt-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.prompt-tips {
    margin-top: 3rem;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.prompt-tips h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip {
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.tip strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.tip p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Ethics Section */
.ethics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ethics-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.ethics-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ethics-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.ethics-card ul {
    list-style: none;
    padding-left: 0;
}

.ethics-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.ethics-card li:before {
    content: "►";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.ethics-principles {
    margin-top: 3rem;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.ethics-principles h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.principles-list {
    display: grid;
    gap: 1rem;
}

.principle {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.principle .number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.principle strong {
    color: var(--primary-color);
}

.ethics-questions {
    margin-top: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 2rem;
    border-radius: 12px;
}

.ethics-questions h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.ethics-questions ul {
    list-style: none;
    padding-left: 0;
}

.ethics-questions li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

/* Recommendations Section */
.recommendations-grid {
    display: grid;
    gap: 2rem;
}

.rec-category {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.rec-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.rec-item {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

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

.rec-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.rec-item p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.rec-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.rec-item a:hover {
    text-decoration: underline;
}

.rec-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.getting-started {
    margin-top: 3rem;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.getting-started h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.plan-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.plan-week {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
}

.week-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 1rem;
}

.week-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.week-content ul {
    list-style: none;
    padding-left: 0;
}

.week-content li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.week-content li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

.footer-section li {
    padding: 0.25rem 0;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--dark-bg);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .tools-grid,
    .sen-grid,
    .ethics-grid {
        grid-template-columns: 1fr;
    }

    .subject-tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }

    .plan-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    .tool-card,
    .sen-card,
    .ethics-card,
    .rec-category {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .footer {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}
