/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

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

.section {
    padding: 60px 0;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 0;
    align-items: center;
}

.nav-button {
    background: none;
    border: none;
    color: #2d3748;
    text-decoration: none;
    padding: 15px;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
    cursor: pointer;
}

.nav-button:hover {
    color: #667eea;
}

.nav-button.active {
    color: #667eea;
    border-bottom: 3px solid #667eea;
    font-weight: 500;
}

/* Mobile responsive navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
}

.nav-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
}

.nav-links a,
.nav-links a:hover {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 15px;
}


/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.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 1000 100" fill="rgba(255,255,255,0.05)"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>') no-repeat center bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    opacity: 0.95;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    color: #667eea;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    margin: 15px 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.hero-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23667eea'%3E%3Cpath d='M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    padding-right: 50px;
}

.hero-cta:hover::after {
    transform: translateY(-50%) scale(1);
}

.hero-cta.primary {
    background: white;
    color: #667eea;
    font-size: 20px;
    padding: 22px 44px;
}

.hero-cta.secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

.hero-cta.secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
}

.hero-cta.secondary::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* ===== TRUST INDICATORS ===== */
.trust-indicators {
    margin-top: 60px;
    opacity: 0.8;
}

.trust-indicators p {
    font-size: 14px;
    margin-bottom: 15px;
}

.ratings {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffd700;
    font-size: 16px;
}

/* ===== BUTTONS ===== */
.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    color: #2d3748;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.save-profile-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 2px solid #E5E7EB;
}

/* ===== CARDS & CONTAINERS ===== */
.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tab-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    min-height: 500px;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
}

/* ===== NAVIGATION TABS ===== */
.nav-tabs {
    display: flex;
    background: white;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .nav-tabs {
        flex-wrap: nowrap;
        padding: 5px 20px;
        gap: 5px;
    }
    
    .tab-button {
        padding: 10px 15px;
        font-size: 14px;
        white-space: nowrap;
        flex: 1;
    }
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #4a5568;
}

.tab-button.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.tab-button:hover:not(.active) {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

/* ===== CHAT INTERFACE ===== */
.chat-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background: #f8fafc;
}

@media (max-width: 768px) {
    .chat-messages {
        margin-left: -20px;
        margin-right: -20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

.message {
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease-in;
}

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

.bot-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 20px 20px 20px 5px;
    max-width: 85%;
    display: inline-block;
    line-height: 1.6;
}

.user-message {
    text-align: right;
}

.user-message .message-content {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #2d3748;
    padding: 15px 20px;
    border-radius: 20px 20px 5px 20px;
    max-width: 85%;
    display: inline-block;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .bot-message .message-content,
    .user-message .message-content {
        max-width: 95%;
    }
}

.chat-input-container {
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-group input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.chat-btn {
    padding: 15px 25px;
    border-radius: 25px;
    white-space: nowrap;
    margin: 0;
}

.quick-questions {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
}

.question-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-btn {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

.mood-btn, .energy-btn {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.mood-btn:hover, .energy-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mood-btn.active, .energy-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ===== TYPING INDICATOR ===== */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 20px 5px;
    max-width: 85%;
    display: inline-block;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* ===== HISTORY PANEL ===== */
.history-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.history-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-item:hover {
    background: #f7fafc;
    border-color: #667eea;
    transform: translateY(-1px);
}

.history-item h5 {
    margin: 0 0 5px 0;
    color: #2d3748;
    font-size: 0.9em;
}

.history-item p {
    margin: 0;
    color: #718096;
    font-size: 0.8em;
    line-height: 1.4;
}

.history-item .date {
    color: #a0aec0;
    font-size: 0.7em;
    margin-top: 5px;
}

/* ===== PROFILE & TRACKING ===== */
.profile-setup {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.mood-energy-tracker {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.slider-container {
    margin: 15px 0;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: none;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    padding: 0 10px;
}

.slider-ticks span {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
    width: 20px;
    text-align: center;
}

.profile-status {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.phase-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.phase-option {
    padding: 10px 20px;
    border: 2px solid #667eea;
    border-radius: 25px;
    background: white;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.phase-option.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.quick-log-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* ===== EDUCATION CARDS ===== */
.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.education-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.education-card h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.education-card p {
    color: #718096;
    line-height: 1.6;
}

.expandable {
    cursor: pointer;
    position: relative;
}

.expandable::after {
    content: ' ▼';
    font-size: 0.8em;
    color: #667eea;
}

.expandable.expanded::after {
    content: ' ▲';
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.expandable-content.expanded {
    max-height: 1000px;
    margin-top: 15px;
}

.card-preview {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 10px 0;
    font-style: italic;
}

/* ===== PROGRESS & METRICS ===== */
.progress-summary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.metric-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.metric-value {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
}

.metric-label {
    color: #718096;
    font-size: 0.9em;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* ===== ALERTS ===== */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* ===== FOOTER ===== */
.footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer p {
    opacity: 0.8;
    margin-bottom: 10px;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.hero {
    will-change: transform;
}

/* Loading state for better perceived performance */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    margin-right: 15px;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: #667eea;
    transition: all 0.3s ease;
}

/* Response Feedback Buttons */
.response-feedback {
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #e2e8f0;
}

.feedback-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.feedback-btn {
    padding: 5px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.feedback-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.feedback-btn.helpful:hover {
    background: #f0fff4;
    border-color: #68d391;
}

.feedback-btn.not-helpful:hover {
    background: #fff5f5;
    border-color: #fc8181;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }

    .container {
        padding: 0 20px;
    }

    .nav {
        padding: 15px 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 10px 0;
        font-size: 18px;
        width: 100%;
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .nav-cta {
        margin-top: 20px;
        width: 100%;
        text-align: center;
        border: none;
    }

    .logo {
        font-size: 22px;
    }

    .nav-cta {
        padding: 12px 24px;
        font-size: 15px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 20px;
        margin-top: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .hero-cta {
        width: calc(100% - 40px);
        margin: 10px 20px;
        padding: 16px 24px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
    }

    .ratings {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .rating {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px;
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .feature {
        padding: 30px;
    }

    .feature-icon {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .feature h3 {
        font-size: 20px;
    }

    .testimonials {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .testimonial {
        padding: 25px;
    }

    .testimonial-quote {
        font-size: 16px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 10px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 14px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ===== ADDITIONAL CHATBOT STYLES ===== */
.chat-description {
    margin-bottom: 30px;
    color: #718096;
}

.ai-status-container {
    display: none;
    margin-bottom: 20px;
    text-align: center;
}

.ai-status-text {
    font-size: 0.9em;
    color: #718096;
}

.ai-status {
    color: #48bb78;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.chat-header h3 {
    margin: 0;
    color: #2d3748;
}

.chat-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.chat-control-btn:hover {
    background: rgba(102, 126, 234, 0.1);
}

.chat-control-icon {
    font-size: 1.2em;
}

.chat-control-icon.primary {
    color: #667eea;
}

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

.history-header h4 {
    margin: 0;
    color: #2d3748;
}

.history-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
}

.history-list {
    max-height: 300px;
    overflow-y: auto;
}

.quick-questions-title {
    margin-bottom: 15px;
    color: #4a5568;
    font-weight: 600;
}

.education-description {
    margin-bottom: 30px;
    color: #718096;
}

.education-list {
    margin: 10px 0;
    padding-left: 20px;
}

.profile-description {
    margin-bottom: 20px;
    color: #718096;
}

.profile-edit-btn {
    margin-top: 10px;
    background: rgba(255,255,255,0.2);
}

.mood-description {
    margin-bottom: 20px;
    color: #718096;
}

.data-description {
    margin-bottom: 20px;
    color: #718096;
}

.export-description {
    margin-bottom: 15px;
}

.export-btn {
    width: 100%;
}

.clear-description {
    margin-bottom: 15px;
}

.clear-btn {
    width: 100%;
    background: #f56565;
    border-color: #f56565;
}

.clear-btn:hover {
    background: #e53e3e;
    border-color: #e53e3e;
}

.no-history-message {
    text-align: center;
    color: #718096;
    font-style: italic;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* ===== INDEX.HTML SPECIFIC STYLES ===== */

/* Problem Section */
.problem {
    background: #f8fafc;
    text-align: center;
}

.problem h2 {
    font-size: 34px;
    margin-bottom: 24px;
    color: #2d3748;
}

.problem-subtitle {
    font-size: 20px;
    color: #718096;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.frustrations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.frustration {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left;
}

.frustration-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.frustration h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2d3748;
}

.frustration p {
    color: #718096;
    line-height: 1.6;
}

/* Solution Preview */
.solution-preview {
    background: white;
    text-align: center;
}

.solution-preview h2 {
    font-size: 42px;
    margin-bottom: 24px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
}

.solution-subtitle {
    font-size: 20px;
    color: white;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-preview p {
    color: white;
}

.app-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.app-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.app-preview-content {
    position: relative;
    z-index: 2;
}

.app-preview h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.app-preview p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
}

.feature-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-preview-item {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.feature-preview-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-preview-item p {
    font-size: 14px;
    opacity: 0.8;
}

/* How It Works */
.how-it-works {
    background: #f8fafc;
    text-align: center;
}

.how-it-works h2 {
    font-size: 34px;
    margin-bottom: 60px;
    color: #2d3748;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 30px auto;
    padding: 0 15px;
    max-width: 1000px;
}

.step {
    background: white;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(102,126,234,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    margin: 0 auto;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102,126,234,0.15);
    border-color: rgba(102,126,234,0.3);
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 16px;
    position: relative;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.step-number::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    transition: all 0.3s ease;
}

.step:hover .step-number::after {
    transform: scale(1.2);
    opacity: 0.15;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #2d3748;
    font-weight: 600;
    max-width: 200px;
}

.step p {
    color: #718096;
    line-height: 1.5;
    font-size: 15px;
    margin: 0;
    max-width: 200px;
    opacity: 0.9;
}

/* Features Section */
.features {
    background: white;
}

.features h2 {
    font-size: 34px;
    margin-bottom: 24px;
    text-align: center;
    color: #2d3748;
}

.features-subtitle {
    text-align: center;
    font-size: 20px;
    color: #718096;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 25px;
    display: inline-block;
    padding: 15px;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    border-radius: 15px;
}

.feature h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature p {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 16px;
}

.feature-highlight {
    background: #f8fafc;
    color: #667eea;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(102,126,234,0.2);
    transition: all 0.3s ease;
}

.feature:hover .feature-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

/* Social Proof */
.social-proof {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.social-proof h2 {
    font-size: 34px;
    margin-bottom: 60px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.testimonial-quote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    font-size: 16px;
}

.testimonial-role {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 5px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.final-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 24px;
}

.final-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.final-cta-button {
    background: white;
    color: #667eea;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.final-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Responsive adjustments for index.html */
@media (max-width: 1024px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .step {
        width: 240px;
        height: 240px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .frustrations {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 10px;
    }

    .step {
        width: 220px;
        height: 220px;
        padding: 20px;
    }

    .step h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .step p {
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .step {
        width: 260px;
        height: 260px;
        padding: 25px;
    }

    .step h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .step p {
        font-size: 15px;
    }
}
