/* Medical Design - Professional Healthcare Theme */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;700;900&family=Roboto:wght@300;400;500;700&display=swap');

/* CSS Variables - Medical Color Scheme */
:root {
    /* Medical Colors */
    --medical-blue: #0066CC;
    --medical-blue-dark: #004C99;
    --medical-blue-light: #1976D2;
    --medical-green: #00A651;
    --medical-green-light: #4CAF50;
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F5F7FA;
    --bg-blue-light: #E8F4F8;
    --bg-blue-lighter: #D1E7F0;
    
    /* Text Colors */
    --text-dark: #2C3E50;
    --text-gray: #5A6C7D;
    --text-light: #7F8C9A;
    
    /* Accent Colors */
    --accent-red: #E74C3C;
    --accent-orange: #F39C12;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 102, 204, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 102, 204, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 102, 204, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Lato', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation - Professional Medical Style */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: var(--bg-white);
    padding: 20px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--medical-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: '+';
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--medical-blue);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 300;
}

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

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--medical-blue);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--medical-blue);
}

.nav-link.active {
    color: var(--medical-blue);
    font-weight: 700;
}

.btn-nav {
    background: var(--medical-blue);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    background: var(--medical-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--medical-blue);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-link {
    display: block;
    padding: 15px 0;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--bg-light);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--medical-blue);
    padding-left: 10px;
}

/* Hero Section - Medical Professional */
.hero {
    padding: 140px 0 80px;
    margin-top: 80px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-blue-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Contact Hero Section - для інших сторінок */
.contact-hero {
    padding: 140px 0 80px;
    margin-top: 80px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-blue-light) 100%);
    text-align: center;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-blue-lighter);
    color: var(--medical-blue);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hero-title {
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--medical-blue);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.feature-item svg {
    color: var(--medical-green);
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--medical-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
    background: var(--bg-blue-light);
}

/* Hero Image */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-showcase {
    position: relative;
    max-width: 500px;
}

.product-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Trust Badges */
.trust-badges {
    padding: 60px 0;
    background: var(--bg-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.trust-icon svg {
    color: var(--medical-blue);
}

.trust-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--bg-blue-lighter);
    color: var(--medical-blue);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Benefits Section */
.benefits {
    background: var(--bg-white);
}

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

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    border: 2px solid var(--bg-blue-lighter);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--medical-blue);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.benefit-icon svg {
    color: var(--medical-blue);
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Symptoms Section */
.symptoms {
    background: var(--bg-light);
}

.symptoms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.symptoms-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.symptom-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--medical-blue);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.symptom-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.symptom-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.symptom-number {
    width: 40px;
    height: 40px;
    background: var(--medical-blue);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.symptom-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.symptom-item p {
    color: var(--text-gray);
    line-height: 1.6;
    padding-left: 55px;
}

.symptoms-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Ingredients Section */
.ingredients {
    background: var(--bg-white);
}

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

.ingredient-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--bg-blue-lighter);
    transition: var(--transition);
}

.ingredient-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--medical-blue);
}

.ingredient-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.ingredient-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ingredient-content {
    padding: 25px;
}

.ingredient-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.ingredient-content p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 15px;
}

.research-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--medical-blue);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
}

.research-link:hover {
    gap: 12px;
}

/* Order Section */
.order-section {
    background: var(--bg-light);
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.order-visual img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.order-info {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.price-badge {
    background: var(--medical-green);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 30px;
}

.price-label {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

.price-amount {
    font-size: 42px;
    font-weight: 700;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--bg-blue-lighter);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    font-family: 'Lato', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--medical-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Disclaimer */
.disclaimer {
    background: var(--bg-blue-light);
    padding: 50px 0;
}

.disclaimer-content {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: white;
    padding: 35px;
    border-radius: 16px;
    border-left: 4px solid var(--accent-orange);
}

.disclaimer-content svg {
    color: var(--accent-orange);
    flex-shrink: 0;
}

.disclaimer-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.disclaimer-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 2;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--medical-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
}

.fab:hover {
    background: var(--medical-blue-dark);
    transform: translateY(-3px);
}

.fab svg {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content,
    .symptoms-grid,
    .order-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .benefits-grid,
    .ingredients-grid {
        grid-template-columns: 1fr;
    }
    
    .order-info {
        padding: 30px;
    }
}

/* Success/Error Messages */
.success-message,
.error-message {
    display: none;
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
}

.success-message {
    background: rgba(0, 166, 81, 0.1);
    border: 2px solid var(--medical-green);
}

.error-message {
    background: rgba(231, 76, 60, 0.1);
    border: 2px solid var(--accent-red);
}

.success-message.show,
.error-message.show {
    display: block;
}

.success-message svg {
    color: var(--medical-green);
}

.error-message svg {
    color: var(--accent-red);
}

.success-message h3,
.error-message h3 {
    font-size: 24px;
    margin: 15px 0 10px;
}

/* Utility Classes for Inline Styles Replacement */
.container-narrow {
    max-width: 900px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-8 {
    margin-top: 8px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.text-gray {
    color: var(--text-gray);
}

.text-light {
    color: var(--text-light);
}

.line-height-18 {
    line-height: 1.8;
}

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

.font-size-28 {
    font-size: 28px;
}

.font-size-32 {
    font-size: 32px;
}

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

.heading-section {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--medical-blue);
}

.heading-order {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.subtitle-order {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.paragraph-info {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.paragraph-info-last {
    color: var(--text-gray);
    line-height: 1.8;
}

.paragraph-info-small {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 10px;
}

.info-note-text {
    font-size: 14px;
    margin-top: 8px;
}

.btn-full-width {
    width: 100%;
    justify-content: center;
}

.link-cyan {
    color: var(--medical-blue);
}

.info-card-spacing {
    margin-bottom: 30px;
}