/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #4d5a77;
    background-color: #f0f4ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --bg-primary: #f0f4ff;
    --bg-secondary: #cbd8f0;
    --text-primary: #4d5a77;
    --text-secondary: #525e76;
    --text-light: #6f87b3;
    --accent-primary: #01579b;
    --accent-secondary: #9cc69b;
    --accent-tertiary: #a7c7e7;
    --accent-warm: #ffae88;
    --white: #ffffff;
    --shadow: rgba(79, 90, 119, 0.1);
    --shadow-hover: rgba(79, 90, 119, 0.2);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-small {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: #004a7a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-light);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--white);
}

/* Navigation */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo svg {
    height: 40px;
    width: auto;
}

.nav-logo a {
    text-decoration: none;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #01579b;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.footer .logo-text {
    color: #ffffff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-cta {
    margin-left: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px var(--shadow);
    max-width: 400px;
    width: 100%;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-secondary);
}

.card-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.pending {
    background: var(--accent-warm);
    color: var(--white);
}

.card-content p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.flag-item {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 0.75rem;
    margin: 1rem 0;
}

.flag-level {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.flag-level.medium {
    background: var(--accent-warm);
    color: var(--white);
}

.flag-level.flagged {
    background: #ff6b6b;
    color: var(--white);
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Problem & Solution Section */
.problem-solution {
    padding: 80px 0;
    background: var(--white);
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.problem-card, .solution-card {
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow);
}

.problem-card {
    background: var(--text-primary);
    color: var(--white);
}

.problem-card .problem-text {
    color: var(--white);
}

.solution-card {
    background: var(--white);
    border: 2px solid var(--accent-primary);
}

.problem-card h2, .solution-card h2 {
    color: inherit;
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-primary);
}

.section-title {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.feature-title {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon.pain {
    background: #ff6b6b;
    color: var(--white);
}

.feature-icon.solution {
    background: var(--accent-secondary);
    color: var(--white);
}

.feature-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Product Demo Section */
.product-demo {
    padding: 80px 0;
    background: var(--white);
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.demo-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 15px 35px var(--shadow);
    border: 1px solid var(--bg-secondary);
}

.demo-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-secondary);
}

.demo-title {
    font-weight: 600;
    color: var(--text-primary);
}

.demo-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.note-preview {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--accent-primary);
}

.note-preview p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.compliance-flags {
    margin: 1rem 0;
}

.supervisor-feedback {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.supervisor-feedback h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.supervisor-feedback p {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.demo-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Future Vision Section */
.future-vision {
    padding: 80px 0;
    background: var(--bg-primary);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vision-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
}

.vision-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.vision-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.vision-card p {
    color: var(--text-secondary);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent-primary);
}

.contact-cta h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo svg {
    height: 40px;
    width: auto;
}

.footer-logo a {
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-tertiary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--text-light);
    color: var(--white);
}

.footer-bottom p {
    color: var(--white);
}

/* Legal Pages Styles */
.legal-content {
    padding: 120px 0 80px;
    background: var(--white);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-secondary);
}

.legal-header h1 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-body h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bg-secondary);
}

.legal-body h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-body p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.legal-body ul {
    margin: 1rem 0 1.5rem 2rem;
}

.legal-body li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.legal-body a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.legal-body a:hover {
    text-decoration: underline;
}

.legal-body .contact-info {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent-primary);
}

.legal-body .contact-info p {
    margin-bottom: 0.5rem;
}

.legal-body .contact-info p:last-child {
    margin-bottom: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px var(--shadow);
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 1rem;
}

.close:hover,
.close:focus {
    color: var(--text-primary);
}

.modal-content h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-right: 2rem;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--bg-secondary);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .problem-solution-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-buttons, .cta-buttons {
        justify-content: center;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
    
    .legal-body {
        padding: 0 1rem;
    }
    
    .legal-body h2 {
        font-size: 1.5rem;
    }
    
    .legal-body h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
} 