/* =============================================
   PEPTIVA - Calculadora de Peptídeos
   Tema: Azul Ciano / Azul Gradiente / Branco
   Design: Clean, Premium, Moderno
   ============================================= */

:root {
    --primary-blue: #1565C0;
    --primary-cyan: #00BCD4;
    --primary-dark: #0D47A1;
    --gradient-main: linear-gradient(135deg, #00BCD4 0%, #1565C0 50%, #0D47A1 100%);
    --gradient-light: linear-gradient(135deg, #E0F7FA 0%, #E3F2FD 50%, #BBDEFB 100%);
    --gradient-btn: linear-gradient(135deg, #00BCD4 0%, #1565C0 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 188, 212, 0.05) 0%, rgba(21, 101, 192, 0.08) 100%);
    --bg-white: #ffffff;
    --bg-light: #f8fbff;
    --bg-section: #f0f7ff;
    --card-bg: #ffffff;
    --text-dark: #1a1a2e;
    --text-body: #4a4a68;
    --text-muted: #8892a4;
    --text-white: #ffffff;
    --border-light: rgba(21, 101, 192, 0.12);
    --border-cyan: rgba(0, 188, 212, 0.3);
    --shadow-sm: 0 2px 8px rgba(13, 71, 161, 0.08);
    --shadow-md: 0 4px 20px rgba(13, 71, 161, 0.12);
    --shadow-lg: 0 8px 40px rgba(13, 71, 161, 0.15);
    --shadow-glow: 0 0 30px rgba(0, 188, 212, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== HEADER / LOGO AREA ========== */
.header-bar {
    background: var(--bg-white);
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

.header-bar .logo-img {
    height: 70px;
    width: auto;
    display: block;
    margin: 0 auto;
    transition: var(--transition);
}

.header-bar .logo-img:hover {
    transform: scale(1.05);
}

/* ========== LEGAL DISCLAIMER ========== */
.legal-disclaimer {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFECB3 100%);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-size: 0.85rem;
    color: #5D4037;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.legal-disclaimer .icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-disclaimer strong {
    color: #E65100;
}

/* ========== HERO SECTION ========== */
.hero {
    background: var(--gradient-main);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 188, 212, 0.15) 0%, transparent 50%);
    animation: heroFloat 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(15px, -15px) rotate(2deg);
    }

    66% {
        transform: translate(-10px, 10px) rotate(-1deg);
    }
}

.hero h1 {
    color: var(--text-white);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* ========== SECTION STYLES ========== */
.section-light {
    background: var(--bg-white);
    padding: 50px 0;
}

.section-alt {
    background: var(--bg-section);
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== CALCULATOR CARD ========== */
.calculator-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
}

.calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-header h2 {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.calculator-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========== FORM SECTIONS ========== */
.form-block {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    transition: var(--transition);
}

.form-block:hover {
    border-color: var(--border-cyan);
    box-shadow: var(--shadow-sm);
}

.form-block h3 {
    color: var(--primary-blue);
    font-size: 1.05rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.form-block h3 .icon {
    font-size: 1.3rem;
}

/* ========== INPUTS & SELECTS ========== */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.input-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%231565C0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

.input-group select option {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 12px;
    font-weight: 500;
}

.input-group select optgroup {
    background: var(--bg-light);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 0;
}

.input-group select optgroup option {
    padding-left: 20px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-weight: 500;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-btn);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 188, 212, 0.05);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(0, 188, 212, 0.5);
    }

    100% {
        transform: scale(1);
    }
}

/* ========== RESULTS ========== */
.results-wrapper {
    background: var(--bg-white);
    border: 2px solid var(--primary-cyan);
    border-radius: var(--radius-xl);
    padding: 30px;
    margin-top: 30px;
    box-shadow: var(--shadow-glow);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-title {
    text-align: center;
    margin-bottom: 24px;
}

.results-title h3 {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 800;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.result-box {
    background: var(--gradient-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.result-box:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.result-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.result-value {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
}

.result-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ========== CONCENTRATION INFO ========== */
.concentration-info {
    background: var(--bg-section);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.concentration-info h4 {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-bottom: 12px;
}

.concentration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.concentration-item label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.concentration-item .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ========== SYRINGE SVG ========== */
.syringe-svg-wrap {
    width: 100%;
    margin: 16px 0 4px;
    position: relative;
    padding-bottom: 20px;
    overflow: hidden;
}

.syringe-svg {
    width: 100%;
    height: auto;
    display: block;
}

.syringe-labels {
    display: flex;
    justify-content: space-between;
    padding: 2px 12% 0 12%;
    margin-top: 0;
}

.syringe-labels span {
    font-size: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-family: 'Outfit', monospace;
    text-align: center;
    min-width: 12px;
    line-height: 1;
}

@media (min-width: 768px) {
    .syringe-labels span {
        font-size: 0.6rem;
        min-width: 16px;
    }
}

@media (max-width: 480px) {
    .syringe-labels span {
        font-size: 0.42rem;
        min-width: 8px;
    }

    .syringe-labels {
        padding: 2px 10% 0 10%;
    }
}


/* ========== CALCULATION STEPS ========== */
.calculation-steps {
    background: var(--bg-section);
    border-radius: var(--radius-md);
    padding: 24px;
    font-size: 0.9rem;
}

.calculation-steps h3 {
    color: var(--primary-blue);
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.calculation-steps ol {
    padding-left: 22px;
    line-height: 2;
    color: var(--text-body);
}

.calculation-steps strong {
    color: var(--text-dark);
}

/* ========== PEPTIDE INFO CARD ========== */
.peptide-info-card {
    background: var(--gradient-card);
    border-left: 4px solid var(--primary-cyan);
    padding: 20px;
    margin-top: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.3s ease;
}

.peptide-info-card h4 {
    color: var(--primary-blue);
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.peptide-info-card .category-badge {
    display: inline-block;
    background: var(--gradient-btn);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.peptide-info-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-top: 10px;
}

/* ========== EDUCATIONAL GUIDE ========== */
.guide-section {
    padding: 50px 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.guide-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-cyan);
}

.guide-card:hover::before {
    opacity: 1;
}

.guide-card .step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-btn);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 900;
    font-size: 1.3rem;
    margin: 0 auto 16px;
    font-family: 'Outfit', sans-serif;
}

.guide-card h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 10px;
}

.guide-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.guide-card .icon-large {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

/* ========== ACCORDION ========== */
.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--border-cyan);
}

.accordion-header {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 0.95rem;
}

.accordion-header:hover {
    background: rgba(0, 188, 212, 0.04);
}

.accordion-header.active {
    color: var(--primary-blue);
    background: rgba(0, 188, 212, 0.06);
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--primary-cyan);
    font-size: 0.9rem;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content.active {
    max-height: 2000px;
}

.accordion-body {
    padding: 0 24px 20px;
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.8;
}

.accordion-body ul {
    list-style: none;
    padding-left: 0;
}

.accordion-body li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.accordion-body li:last-child {
    border-bottom: none;
}

.accordion-body li .bullet {
    color: var(--primary-cyan);
    font-weight: 600;
    flex-shrink: 0;
}

.accordion-body strong {
    color: var(--primary-blue);
}

/* ========== INFO TABLE ========== */
.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin: 15px 0;
}

.info-table th {
    background: var(--gradient-main);
    color: var(--text-white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.info-table td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0.88rem;
}

.info-table tr:nth-child(even) td {
    background: rgba(0, 188, 212, 0.03);
}

.info-table tr:hover td {
    background: rgba(0, 188, 212, 0.06);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gradient-main);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer .disclaimer {
    font-size: 0.75rem;
    opacity: 0.7;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== SOCIAL SHARE ========== */
.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.twitter {
    background: #1DA1F2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.tiktok {
    background: #010101;
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.link {
    background: var(--gradient-btn);
}

/* ========== DOSAGE TYPE RADIO ========== */
.dosage-type-selection {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.dosage-type-selection label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-body);
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.dosage-type-selection label:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 188, 212, 0.04);
}

.dosage-type-selection input[type="radio"] {
    accent-color: var(--primary-cyan);
    width: 18px;
    height: 18px;
}

/* ========== CHECKBOX ========== */
input[type="checkbox"] {
    accent-color: var(--primary-cyan);
    width: 18px;
    height: 18px;
}

/* ========== BLEND CARDS ========== */
.blend-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.blend-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-md);
}

.blend-card h4 {
    color: var(--primary-blue);
    font-size: 1.05rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blend-card .blend-badge {
    display: inline-block;
    background: var(--gradient-btn);
    color: var(--text-white);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blend-card p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.7;
}

.blend-card .components {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.blend-card .component-tag {
    background: rgba(0, 188, 212, 0.1);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ========== WARNING BANNER ========== */
.warning-banner {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    font-weight: 600;
    color: #C62828;
    font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 40px 0 35px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .calculator-card {
        padding: 24px 18px;
        border-radius: var(--radius-lg);
    }

    .form-block {
        padding: 18px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .result-value {
        font-size: 1.8rem;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .section-light,
    .section-alt,
    .guide-section {
        padding: 35px 0;
    }

    .concentration-grid {
        grid-template-columns: 1fr;
    }

    .legal-disclaimer {
        flex-direction: column;
        text-align: center;
    }

    .header-bar .logo-img {
        height: 55px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .calculator-card {
        padding: 18px 14px;
    }

    .input-group label {
        font-size: 0.85rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .result-value {
        font-size: 1.5rem;
    }

    .social-share-buttons {
        flex-direction: column;
    }

    .social-btn {
        min-width: 200px;
        justify-content: center;
    }

    .dosage-type-selection {
        flex-direction: column;
        gap: 10px;
    }

    .header-bar .logo-img {
        height: 45px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slide-in {
    animation: slideIn 0.5s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease forwards;
}

/* ========== TOOLTIP ========== */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: var(--text-white);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.tooltip:hover::after {
    opacity: 1;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* ========== FLOATING CALCULATOR BUTTON (mobile) ========== */
.floating-calc-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-btn);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.5);
    z-index: 99;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
    animation: pulse 2s infinite;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .floating-calc-btn {
        display: flex;
    }

    /* Better touch targets */
    .input-group input,
    .input-group select {
        padding: 16px 14px;
        font-size: 16px !important;
        /* prevents iOS zoom */
        -webkit-text-size-adjust: 100%;
        min-height: 50px;
    }

    .btn {
        min-height: 54px;
        font-size: 1rem;
    }

    /* Better table for mobile */
    .info-table {
        font-size: 0.78rem;
    }

    .info-table th,
    .info-table td {
        padding: 10px 8px;
    }

    /* Info card improvements */
    .peptide-info-card {
        padding: 14px;
    }

    .peptide-info-card p {
        font-size: 0.82rem;
    }

    /* Calculator section enhanced */
    .calculator-card {
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        margin: 0 -8px;
    }

    /* Results syringe on mobile */
    .syringe-container {
        margin: 10px 8px;
        padding: 8px 0 30px;
    }

    .syringe-body {
        height: 36px;
    }

    /* Better accordion */
    .accordion-header {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    /* Guide cards smaller */
    .guide-card {
        padding: 20px 16px;
    }

    .guide-card .icon-large {
        font-size: 2rem;
    }

    .guide-card .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {

    /* Make the calculator feel bigger */
    .calculator-header h2 {
        font-size: 1.3rem;
    }

    .form-block h3 {
        font-size: 0.95rem;
    }

    .results-wrapper {
        padding: 16px;
        border-radius: var(--radius-md);
    }

    .result-value {
        font-size: 2rem;
    }

    /* Section titles */
    .section-title h2 {
        font-size: 1.35rem;
    }

    .section-title p {
        font-size: 0.88rem;
    }

    /* Hero improvements */
    .hero {
        padding: 40px 0 35px;
    }

    .hero p {
        font-size: 0.9rem;
        padding: 0 8px;
    }

    /* Better flex layout for dose inputs */
    .form-block div[style*="display: flex"] {
        flex-wrap: wrap;
    }

    /* Concentration grid */
    .concentration-item .value {
        font-size: 1.1rem;
    }

    /* Footer on mobile */
    .footer {
        padding: 25px 0;
        font-size: 0.82rem;
    }

    .footer .disclaimer {
        font-size: 0.72rem;
        padding: 0 8px;
    }
}

/* ========== PRINT STYLES ========== */
@media print {

    .header-bar,
    .hero,
    .social-share-buttons,
    .floating-calc-btn,
    .btn {
        display: none !important;
    }

    .calculator-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}