* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-health: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.go-green {
    color: #00d977;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gradient-health);
    position: relative;
    overflow: hidden;
    padding: 100px 20px 50px;
    color: white;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.title-line {
    display: block;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.title-main {
    display: block;
    font-size: 5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.hero-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

.floating-icon {
    position: absolute;
    font-size: 4rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 50%;
    right: 15%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.icon-4 {
    top: 30%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Sections */
.section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.section-alt {
    background: white;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Symptom Checker */
.symptom-checker-container {
    max-width: 900px;
    margin: 0 auto;
}

.checker-form, .plan-form, .workout-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.checker-form h3, .plan-form h3, .workout-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.checker-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.checker-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.symptom-options {
    margin-bottom: 1.5rem;
}

.symptom-options label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.symptom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.symptom-tag {
    background: var(--light-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.symptom-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.checker-result {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.checker-result h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.disclaimer {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.analysis-result {
    line-height: 1.8;
}

.analysis-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
}

.analysis-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.analysis-section ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.analysis-section li {
    margin-bottom: 0.5rem;
}

.meal-plan-summary, .workout-summary {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.meal-plan-summary p, .workout-summary p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Meal Plans & Workouts */
.meal-plan-builder, .workout-builder {
    max-width: 900px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.plan-result, .workout-result {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.plan-result h3, .workout-result h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.meal-day, .workout-day {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
}

.meal-day h4, .workout-day h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.meal-item, .exercise-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

/* Telehealth */
.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.doctor-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.doctor-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.doctor-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.doctor-specialty {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.doctor-info {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Mental Health Chatbot */
.chatbot-container {
    max-width: 800px;
    margin: 0 auto;
}

.chatbot-window {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: var(--gradient-health);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.chat-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.chat-header p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: var(--light-color);
}

.message {
    margin-bottom: 1rem;
    display: flex;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 70%;
    padding: 1rem 1.5rem;
    border-radius: 18px;
    line-height: 1.6;
}

.bot-message .message-content {
    background: white;
    color: var(--text-color);
    border-bottom-left-radius: 4px;
}

.user-message .message-content {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    padding: 1rem;
    background: white;
    display: flex;
    gap: 0.5rem;
    border-top: 2px solid #e2e8f0;
}

.chat-input-area input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-family: inherit;
    font-size: 1rem;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quick-responses {
    padding: 1rem;
    background: var(--light-color);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    border-top: 2px solid #e2e8f0;
}

.quick-btn {
    padding: 8px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Biohacking */
.biohacking-container {
    max-width: 900px;
    margin: 0 auto;
}

.biohacking-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.biohacking-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.biohacking-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.biohacking-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.biohacking-options {
    margin-bottom: 1.5rem;
}

.biohacking-options label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.biohacking-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.biohacking-tag {
    background: var(--light-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.biohacking-tag:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--secondary-color);
}

.biohacking-result {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.biohacking-result h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.biohacking-solution {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.biohacking-solution h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.biohacking-solution p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.biohacking-solution ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.biohacking-solution li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.biohacking-category {
    display: inline-block;
    padding: 5px 12px;
    background: var(--secondary-color);
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Blog */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-image {
    height: 200px;
    background: var(--gradient-health);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.blog-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer-text {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.appointment-form {
    padding: 1rem;
}

.appointment-form h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .title-main {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar .container {
        padding: 1rem 20px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo-icon {
        font-size: 1.8rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 40px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .title-line {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .title-main {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        white-space: normal;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 44px;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .hero-features {
        justify-content: center;
        gap: 0.75rem;
    }

    .feature-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .hero-visual {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .checker-form,
    .biohacking-form,
    .plan-form,
    .workout-form {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .checker-form h3,
    .biohacking-form h3,
    .plan-form h3,
    .workout-form h3 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .checker-form textarea,
    .biohacking-form textarea {
        font-size: 1rem;
        padding: 0.875rem;
        min-height: 120px;
    }

    .symptom-tags,
    .biohacking-tags {
        gap: 0.5rem;
    }

    .symptom-tag,
    .biohacking-tag {
        font-size: 0.85rem;
        padding: 8px 14px;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group input,
    .form-group select {
        padding: 14px;
        font-size: 1rem;
        min-height: 44px;
    }

    .checker-result,
    .biohacking-result,
    .plan-result,
    .workout-result {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .checker-result h3,
    .biohacking-result h3,
    .plan-result h3,
    .workout-result h3 {
        font-size: 1.5rem;
    }

    .disclaimer {
        font-size: 0.85rem;
        padding: 0.875rem;
    }

    .doctor-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .disclaimer-text {
        font-size: 0.8rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
        max-height: 85vh;
    }

    .chatbot-window {
        height: 500px;
    }

    .chat-header {
        padding: 1rem;
    }

    .chat-header h3 {
        font-size: 1.2rem;
    }

    .message-content {
        max-width: 85%;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .chat-input-area {
        padding: 0.875rem;
    }

    .chat-input-area input {
        padding: 10px;
        font-size: 0.95rem;
    }

    .quick-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-height: 36px;
    }

    .biohacking-solution {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .biohacking-solution h4 {
        font-size: 1.2rem;
    }

    .analysis-section {
        padding: 0.875rem;
    }

    .analysis-section h4 {
        font-size: 1rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .navbar .container {
        padding: 0.875rem 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.6rem;
    }

    .hero {
        padding: 90px 15px 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .title-line {
        font-size: 1.2rem;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .feature-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .checker-form,
    .biohacking-form,
    .plan-form,
    .workout-form {
        padding: 1.25rem;
    }

    .checker-form h3,
    .biohacking-form h3,
    .plan-form h3,
    .workout-form h3 {
        font-size: 1.3rem;
    }

    .checker-form textarea,
    .biohacking-form textarea {
        font-size: 0.95rem;
        padding: 0.75rem;
    }

    .symptom-tag,
    .biohacking-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .form-group input,
    .form-group select {
        padding: 12px;
        font-size: 0.95rem;
    }

    .checker-result,
    .biohacking-result,
    .plan-result,
    .workout-result {
        padding: 1.25rem;
    }

    .checker-result h3,
    .biohacking-result h3,
    .plan-result h3,
    .workout-result h3 {
        font-size: 1.3rem;
    }

    .biohacking-solution {
        padding: 1rem;
    }

    .biohacking-solution h4 {
        font-size: 1.1rem;
    }

    .chatbot-window {
        height: 450px;
    }

    .message-content {
        max-width: 90%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Very Small Mobile Phones */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .title-main {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .checker-form,
    .biohacking-form {
        padding: 1rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 20px 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .symptom-tag,
    .biohacking-tag,
    .quick-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-menu a {
        padding: 1rem;
        display: block;
    }

    .menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }
}

