/* CSS Variables */
:root {
    --primary-color: #6B7C32;
    --primary-dark: #4A5A1F;
    --primary-light: #8B9A5A;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

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

/* 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: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    margin: 4rem 0 3rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--gray-700);
}

.methodology-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.methodology-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    font-weight: 500;
}

.contact-tagline {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-tagline p:first-child {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.contact-tagline p:last-child {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--primary-dark);
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: block;
}

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

.nav-link {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.2s ease;
    transform-origin: center;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gray-800) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title br {
    display: block;
    content: "";
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--gray-100);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 90%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-btn {
    font-size: 1.2rem;
    padding: 18px 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* AI Assistant Mockup */
.ai-assistant-mockup {
    width: 380px;
    height: 600px;
    background: var(--white);
    border-radius: 20px;
    padding: 15px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--gray-200);
}

.screen-container {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-icon {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
}

.header-info {
    flex: 1;
}

.ai-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.ai-status {
    font-size: 0.7rem;
    color: var(--primary-light);
    opacity: 0.9;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    display: flex;
    margin-bottom: 8px;
}

.ai-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
}

.ai-message .message-content {
    background: var(--gray-100);
    color: var(--gray-800);
    border-bottom-left-radius: 4px;
}

.user-message .message-content {
    background: var(--primary-color);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.message-text {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 4px;
}

.message-time {
    font-size: 0.65rem;
    opacity: 0.7;
    text-align: right;
}

.recommendation-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.rec-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 8px 12px;
    border-left: 4px solid var(--primary-color);
}

.rec-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.rec-risk {
    font-size: 0.65rem;
    font-weight: 600;
    margin-bottom: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.rec-risk.high {
    background: #fee;
    color: #dc3545;
}

.rec-risk.medium {
    background: #fff3cd;
    color: #856404;
}

.rec-risk.low {
    background: #d4edda;
    color: #155724;
}

.rec-desc {
    font-size: 0.7rem;
    color: var(--gray-600);
    line-height: 1.3;
}

.chat-input {
    padding: 16px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-50);
}

.input-placeholder {
    flex: 1;
    color: var(--gray-500);
    font-size: 0.85rem;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
}

.send-button {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.send-button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--gray-100);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(107, 124, 50, 0.15);
    border-color: var(--primary-dark);
}

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

.feature-card:hover h3 {
    color: var(--primary-dark);
}

.feature-icon {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

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

/* Leadership Section */
.leadership {
    padding: 80px 0;
    background-color: var(--white);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.leader-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(107, 124, 50, 0.15);
    border-color: var(--primary-dark);
}

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

.leader-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.leader-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.leader-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.leader-company {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.leader-bio {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.leader-bio p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.leader-bio p:last-child {
    margin-bottom: 0;
}

.leader-credentials {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.credentials-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.credentials-list {
    list-style: none;
    padding: 0;
}

.credentials-list li {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.credentials-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.credentials-list li:last-child {
    margin-bottom: 0;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    height: fit-content;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-800);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(107, 124, 50, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem 0;
}

.contact-icon {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    background: var(--primary-color);
    padding: 6px 12px;
    border-radius: 16px;
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--white);
}

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

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    text-decoration: none;
    padding: 12px;
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    transition: var(--transition);
    width: 44px;
    height: 44px;
}

.social-icons a:hover {
    color: var(--white);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-dark);
    color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    }
    
    .nav.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
        animation: slideDown 0.2s ease-out;
    }
    
    .nav.active .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .leader-card {
        padding: 2rem;
    }
    
    .leader-name {
        font-size: 1.5rem;
    }
    
    .leader-title {
        font-size: 1rem;
    }
    
    .leader-company {
        font-size: 0.95rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: stretch;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
        margin: 0 0.5rem;
    }
    
    .contact-item {
        padding: 0.8rem 0;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .social-icons a {
        width: 50px;
        height: 50px;
        padding: 14px;
    }
    
    .social-icons a svg {
        width: 22px;
        height: 22px;
    }
    
    .ai-assistant-mockup {
        width: 320px;
        height: 420px;
    }
    
    .chat-header {
        padding: 10px 12px;
    }
    
    .ai-avatar {
        width: 32px;
        height: 32px;
    }
    
    .avatar-icon {
        font-size: 0.7rem;
    }
    
    .ai-name {
        font-size: 0.8rem;
    }
    
    .ai-status {
        font-size: 0.65rem;
    }
    
    .chat-messages {
        padding: 12px;
        gap: 8px;
    }
    
    .message-content {
        max-width: 85%;
        padding: 10px 12px;
    }
    
    .message-text {
        font-size: 0.8rem;
    }
    
    .rec-card {
        padding: 6px 10px;
    }
    
    .rec-header {
        font-size: 0.7rem;
    }
    
    .rec-risk {
        font-size: 0.6rem;
    }
    
    .rec-desc {
        font-size: 0.65rem;
    }
    
    .chat-input {
        padding: 12px;
    }
    
    .input-placeholder {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    
    .send-button {
        width: 32px;
        height: 32px;
    }
    
    .tablet-mockup {
        width: 320px;
        height: 400px;
    }
    
    .analysis-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .knowledge-panel, .analysis-panel, .learning-panel {
        padding: 6px;
    }
    
    .panel-title {
        font-size: 0.55rem;
        margin-bottom: 6px;
    }
    
    .source-name {
        font-size: 0.55rem;
    }
    
    .source-count {
        font-size: 0.45rem;
    }
    
    .metric-label {
        font-size: 0.45rem;
    }
    
    .metric-value {
        font-size: 0.55rem;
    }
    
    .insight-text {
        font-size: 0.5rem;
    }
    
    .indicator-text {
        font-size: 0.45rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        max-width: 100%;
    }
    
    .hero-btn {
        font-size: 1rem;
        padding: 14px 28px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.6rem;
        margin: 2.5rem 0 1.5rem;
        padding: 0 0.5rem;
    }
    
    .about-content {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .methodology-content {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .methodology-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .contact-tagline {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-tagline p:first-child {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-tagline p:last-child {
        font-size: 1rem;
    }
    
    .contact-tagline {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-tagline p:first-child {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .contact-tagline p:last-child {
        font-size: 0.95rem;
    }
    
    .leader-card {
        padding: 1.5rem;
    }
    
    .leader-name {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .leader-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .leader-company {
        font-size: 0.85rem;
    }
    
    .leader-bio p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .leader-credentials {
        padding: 1rem;
    }
    
    .credentials-title {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .credentials-list li {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 15px 30px rgba(107, 124, 50, 0.12);
    }
    
    .feature-card:hover .feature-icon {
        transform: scale(1.05);
    }
    
    .ai-assistant-mockup {
        width: 280px;
        height: 380px;
    }
    
    .chat-header {
        padding: 8px 10px;
    }
    
    .ai-avatar {
        width: 28px;
        height: 28px;
    }
    
    .avatar-icon {
        font-size: 0.6rem;
    }
    
    .ai-name {
        font-size: 0.75rem;
    }
    
    .ai-status {
        font-size: 0.6rem;
    }
    
    .chat-messages {
        padding: 10px;
        gap: 6px;
    }
    
    .message-content {
        max-width: 90%;
        padding: 8px 10px;
    }
    
    .message-text {
        font-size: 0.75rem;
    }
    
    .rec-card {
        padding: 5px 8px;
    }
    
    .rec-header {
        font-size: 0.65rem;
    }
    
    .rec-risk {
        font-size: 0.55rem;
    }
    
    .rec-desc {
        font-size: 0.6rem;
    }
    
    .chat-input {
        padding: 10px;
    }
    
    .input-placeholder {
        font-size: 0.75rem;
        padding: 8px 10px;
    }
    
    .send-button {
        width: 28px;
        height: 28px;
    }
    
    .tablet-mockup {
        width: 280px;
        height: 350px;
    }
    
    .analysis-header {
        padding: 6px 8px;
        font-size: 0.6rem;
    }
    
    .analysis-status {
        font-size: 0.5rem;
        padding: 1px 4px;
    }
    
    .knowledge-panel, .analysis-panel, .learning-panel {
        padding: 4px;
    }
    
    .panel-title {
        font-size: 0.5rem;
        margin-bottom: 4px;
    }
    
    .source-item {
        gap: 4px;
        padding: 2px 0;
    }
    
    .source-icon {
        font-size: 0.7rem;
    }
    
    .source-name {
        font-size: 0.5rem;
    }
    
    .source-count {
        font-size: 0.4rem;
    }
    
    .metric {
        padding: 1px 0;
    }
    
    .metric-label {
        font-size: 0.4rem;
    }
    
    .metric-value {
        font-size: 0.5rem;
        padding: 1px 3px;
    }
    
    .ai-insight {
        padding: 4px;
    }
    
    .insight-header {
        font-size: 0.45rem;
        margin-bottom: 2px;
    }
    
    .insight-text {
        font-size: 0.45rem;
    }
    
    .indicator {
        gap: 4px;
        padding: 1px 0;
    }
    
    .indicator-dot {
        width: 5px;
        height: 5px;
    }
    
    .indicator-text {
        font-size: 0.4rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Mobile Navigation Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}
