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

body {
    font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #2d3b45;
    font-size: 14px;
    line-height: 1.5;
}

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

/* Navigation - Canvas Style Header */
.navbar {
    background: #394b58;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-brand .logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
    background-color: white;
    border-radius: 4px;
    padding: 1px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.nav-brand h1 {
    color: white;
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    font-size: 0.875rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section - Canvas Style */
.hero {
    background: #0374b5;
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid #025a8c;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-description {
    font-size: 0.938rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons - Canvas Style */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 0.938rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #0374b5;
    color: white;
    box-shadow: 0 1px 2px rgba(3, 116, 181, 0.2);
}

.btn-primary:hover {
    background-color: #025a8c;
    box-shadow: 0 2px 4px rgba(3, 116, 181, 0.3);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-full {
    width: 100%;
}

/* How It Works Section */
.how-it-works-section {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid #c7cdd1;
}

.how-it-works-section h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    color: #2d3b45;
    font-weight: 400;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0374b5 0%, #0056a0 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 8px rgba(3, 116, 181, 0.3);
}

.workflow-step h3 {
    font-size: 1.1rem;
    color: #2d3b45;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.workflow-step p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mission Section - Canvas Style */
.mission-section {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid #c7cdd1;
}

.mission-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.mission-header h2 {
    font-size: 1.75rem;
    color: #2d3b45;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.mission-header p {
    font-size: 0.938rem;
    color: #73818f;
    line-height: 1.6;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 968px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.mission-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 1.5rem;
    border: 1px solid #c7cdd1;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.mission-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-color: #0374b5;
}

.challenge-card {
    border-top: 3px solid #0374b5;
}

.solution-card {
    border-top: 3px solid #0374b5;
}

.card-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding: 0.375rem 0.75rem;
    border-radius: 3px;
    width: fit-content;
}

.challenge-label {
    color: #0374b5;
    background: #e8f4fd;
    border: 1px solid #0374b5;
}

.solution-label {
    color: #0374b5;
    background: #e8f4fd;
    border: 1px solid #0374b5;
}

.mission-card h3 {
    font-size: 1.25rem;
    color: #2d3b45;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.mission-card p {
    font-size: 0.938rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 0.875rem;
}

.mission-card p:last-child {
    margin-bottom: 0;
}

.mission-card p strong {
    color: #2d3b45;
    font-weight: 600;
}

/* Features Section - Canvas Card Style */
.features {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f5f5f5 0%, #ffffff 100%);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #2d3b45;
    font-weight: 500;
}

.features-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0374b5 0%, #0056a0 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(3, 116, 181, 0.15);
    border-color: #0374b5;
    transform: translateY(-4px);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    transform: scale(1.1);
}

.icon-blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #0374b5;
}

.icon-purple {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #8e24aa;
}

.icon-green {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #43a047;
}

.icon-orange {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #fb8c00;
}

.icon-teal {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    color: #00897b;
}

.icon-red {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    color: #e91e63;
}

.feature-card h3 {
    color: #2d3b45;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Page Header - Canvas Style */
.page-header {
    background: #0374b5;
    color: white;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #025a8c;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.page-header p {
    font-size: 0.938rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Products Section - Modern Canvas Style */
.products-section {
    padding: 3rem 0;
    background-color: #f5f5f5;
}

.products-section h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #2d3b45;
    font-weight: 400;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

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

.product-card {
    background: white;
    border: 1px solid #c7cdd1;
    border-radius: 4px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    transition: all 0.2s ease;
    position: relative;
    text-align: center;
}

.product-card:hover {
    border-color: #0374b5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.product-card-featured {
    border-color: #0374b5;
    border-width: 2px;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f9ff 100%);
}

/* Product Icons */
.product-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.word-icon {
    background: linear-gradient(135deg, #2b579a 0%, #1e4a7a 100%);
}

.gdocs-icon {
    background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
}

.powerpoint-icon {
    background: linear-gradient(135deg, #d24726 0%, #b83a1d 100%);
}

.vscode-icon {
    background: linear-gradient(135deg, #007acc 0%, #005a9e 100%);
    font-size: 1.5rem;
}

.jupyter-icon {
    background: linear-gradient(135deg, #f37726 0%, #e05d0d 100%);
}

.canvas-icon {
    background: linear-gradient(135deg, #e13f2b 0%, #c02a1d 100%);
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #0374b5;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card h3 {
    color: #2d3b45;
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.product-platform {
    color: #0374b5;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.product-description {
    color: #73818f;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.875rem;
    text-align: left;
}

.product-features {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.product-features li {
    color: #73818f;
    padding: 0.625rem 0 0.625rem 1.5rem;
    font-size: 0.813rem;
    position: relative;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.btn-product {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
}

/* Product Detail Pages */
.product-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.detail-section {
    background: white;
    border: 1px solid #c7cdd1;
    border-radius: 4px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.detail-section h2 {
    color: #2d3b45;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0374b5;
}

.detail-section p {
    color: #73818f;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.feature-detail-card {
    background: #f5f5f5;
    border: 1px solid #c7cdd1;
    border-radius: 4px;
    padding: 1.5rem;
}

.feature-detail-card h3 {
    color: #2d3b45;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-detail-card p {
    color: #73818f;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.how-it-works-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 1.5rem;
}

.how-it-works-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
    color: #73818f;
    line-height: 1.6;
}

.how-it-works-list li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: #0374b5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.how-it-works-list strong {
    color: #2d3b45;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.requirements-list li {
    color: #73818f;
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    border-bottom: 1px solid #c7cdd1;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.25rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

/* Portal Section - Canvas Style */
.portal-section {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
    background-color: #f5f5f5;
}

.portal-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 4px;
    border: 1px solid #c7cdd1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 2rem;
}

.portal-card h2 {
    color: #2d3b45;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 400;
}

.portal-description {
    color: #73818f;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.875rem;
}

/* Forms - Canvas Style */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    color: #2d3b45;
    font-size: 0.875rem;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    padding: 0.625rem 0.75rem;
    border: 1px solid #c7cdd1;
    border-radius: 3px;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #0374b5;
    box-shadow: 0 0 0 2px rgba(3, 116, 181, 0.1);
}

.form-group small {
    color: #73818f;
    font-size: 0.813rem;
}

.form-group small a {
    color: #0374b5;
    text-decoration: none;
}

.form-group small a:hover {
    text-decoration: underline;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 0.75rem;
    border-radius: 3px;
    border-left: 3px solid #721c24;
    font-size: 0.875rem;
}

.loading-message {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 0.75rem;
    border-radius: 3px;
    text-align: center;
    font-size: 0.875rem;
}

.warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.75rem;
    border-radius: 3px;
    margin-top: 1rem;
    font-size: 0.875rem;
    border-left: 3px solid #856404;
}

/* Modal - Canvas Style */
.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid #c7cdd1;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.close {
    position: absolute;
    right: 1rem;
    top: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
}

.close:hover {
    color: var(--text-primary);
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content ol li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Dashboard */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.user-info {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.user-info p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.dashboard-content h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

.course-card {
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.course-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.course-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.course-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.course-actions {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.dashboard-info {
    background-color: #e0f2fe;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-color);
}

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

.dashboard-info p {
    color: var(--text-secondary);
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

/* Contact Section - Simple Canvas Style */
.contact-section {
    padding: 2.5rem 0;
    background-color: #f5f5f5;
    text-align: center;
}

.contact-section h2 {
    color: #2d3b45;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: #73818f;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.contact-content {
    max-width: 500px;
    margin: 0 auto;
}

.contact-box {
    background: white;
    border: 1px solid #c7cdd1;
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.contact-box p {
    color: #73818f;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.contact-email {
    display: inline-block;
    color: #0374b5;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1rem;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-note {
    color: #73818f;
    font-size: 0.813rem;
    margin-top: 1rem;
    margin-bottom: 0;
    font-style: italic;
}

/* Footer */
/* Footer - Canvas Style */
.footer {
    background-color: #394b58;
    color: white;
    padding: 1.5rem 0;
    margin-top: 0;
    border-top: 1px solid #2d3b45;
}

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

.footer-main {
    text-align: center;
}

.footer-main p {
    opacity: 0.9;
    margin-bottom: 0.25rem;
    font-size: 0.813rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.813rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-separator {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

    .nav-links {
        gap: 1rem;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .portal-card {
        padding: 2rem 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .course-actions {
        flex-direction: column;
    }
}
