/* Hero Section */
.hero {
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%),
        var(--white);
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 6rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-family: 'Urbanist', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: slideInDown 0.8s ease-out;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 500;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* Popular Domains Section */
.popular-domains {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

.popular-domains::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.popular-domains .section-title {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.domains-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.domain-card {
    background: var(--white);
    border-radius: 24px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 2px solid transparent;
}

.domain-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.domain-card:hover::before {
    opacity: 1;
}

.domain-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.domain-image-container {
    overflow: hidden;
    position: relative;
    background: var(--gray-100);
    border-radius: 20px;
    margin: 1.5rem 1.5rem 0;
    height: 240px;
}

.domain-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.92);
}

.domain-card:hover .domain-image {
    transform: scale(1.1);
    filter: brightness(1);
}

.domain-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 60%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.domain-card:hover .domain-image-container::after {
    opacity: 0.6;
}

.domain-content {
    padding: 2rem;
}

.domain-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.domain-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.domain-treatments {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.treatment-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-50);
    color: var(--text);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.treatment-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.treatment-tag:hover::before {
    left: 0;
}

.treatment-tag:hover {
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.domain-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--white);
    color: var(--secondary);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.75rem;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 10;
    border: 2px solid var(--secondary);
    animation: pulse 2s ease-in-out infinite;
}

.domain-badge.popular {
    background: var(--gradient-secondary);
    color: var(--white);
    border-color: transparent;
}

.domain-badge.discreet {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
}

.domain-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: grayscale(0.2);
    transition: all 0.4s ease;
}

.domain-card:hover .domain-icon {
    filter: grayscale(0);
    transform: scale(1.1) rotate(5deg);
}

/* CTA Card */
.domain-card-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.domain-card-cta::before {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.domain-card-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.6s ease;
}

.domain-card-cta:hover::after {
    transform: scale(1.2);
}

.domain-content-cta {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.domain-icon-cta {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.domain-card-cta .domain-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.domain-card-cta .domain-description {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--secondary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.domain-card-cta:hover .cta-button {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    background: var(--primary);
    color: var(--white);
}

/* Steps Section */
.steps {
    max-width: 1280px;
    margin: 7rem auto;
    padding: 0 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    border-radius: 30px;
    padding: 5rem 3rem;
}

.section-title {
    font-family: 'Urbanist', sans-serif;
    text-align: center;
    color: var(--dark);
    margin-bottom: 4rem;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 6px;
    background: var(--gradient-primary);
    margin: 1.5rem auto 0;
    border-radius: 10px;
}

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

.card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 24px 24px 0 0;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

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

.icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.4s ease;
    filter: grayscale(0.3);
}

.card:hover .icon {
    transform: scale(1.15);
    filter: grayscale(0);
}

.card h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 500;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

footer p {
    margin: 0.75rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

footer p:first-child {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

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

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
        display: none;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    .dropdown-arrow {
        margin-left: auto;
    }

    .nav-item > a {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 1.5rem 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .nav-container {
        padding: 0.625rem 1.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .lang-switch-container {
        gap: 8px;
    }

    .lang-label {
        font-size: 0.75rem;
    }

    .lang-switch {
        width: 50px;
        height: 28px;
    }

    .lang-switch::before {
        width: 20px;
        height: 20px;
    }

    body.lang-en .lang-switch::before {
        transform: translateX(22px);
    }

    .grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }

    .steps {
        margin: 5rem auto;
        padding: 3rem 2rem;
    }

    .domains-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .domain-image-container {
        height: 220px;
        margin: 1.25rem 1.25rem 0;
    }

    .domain-title {
        font-size: 1.55rem;
    }

    .domain-content {
        padding: 1.75rem;
    }

    .popular-domains {
        padding: 5rem 1.5rem;
    }

    .domain-badge {
        top: 1.5rem;
        right: 1.5rem;
        padding: 10px 20px;
        font-size: 0.7rem;
    }

    .domain-card-cta {
        min-height: 360px;
    }

    .domain-content-cta {
        padding: 2.5rem 2rem;
    }

    .domain-icon-cta {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .btn {
        padding: 16px 36px;
        font-size: 1rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .domain-content {
        padding: 1.75rem;
    }

    .domain-title {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps {
        padding: 2.5rem 1.5rem;
    }

    .domain-card-cta {
        min-height: 320px;
    }

    .domain-content-cta {
        padding: 2rem 1.5rem;
    }

    .domain-icon-cta {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* FAQ Section */
.faq {
    max-width: 900px;
    margin: 7rem auto;
    padding: 0 2rem;
}

.faq-container {
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--gray-100);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.75rem 2rem;
    text-align: left;
    font-family: 'Urbanist', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 2rem 1.75rem;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 500;
}

@media (max-width: 768px) {
    .faq {
        margin: 5rem auto;
    }

    .faq-question {
        padding: 1.5rem;
        font-size: 1.05rem;
    }

    .faq-answer-content {
        padding: 0 1.5rem 1.5rem;
        font-size: 0.95rem;
    }

    .faq-icon {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .faq {
        margin: 4rem auto;
        padding: 0 1.5rem;
    }

    .faq-item {
        margin-bottom: 1rem;
    }
}

/* Community Section */
.community {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    padding: 7rem 2rem;
    position: relative;
}

.community-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.community-intro p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 500;
}

.community-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.social-preview {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    height: auto;
}

.social-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.social-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #E1306C 0%, #C13584 50%, #833AB4 100%);
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.social-icon.telegram {
    background: linear-gradient(135deg, #0088CC 0%, #006699 100%);
}

.social-info h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.social-handle {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.social-content {
    padding: 1.5rem;
}

.preview-post {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.preview-post:last-child {
    margin-bottom: 0;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
}

.post-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.post-time {
    font-size: 0.75rem;
    color: var(--text-light);
}

.post-text {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.post-tag {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.message-preview {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.message-preview::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--gray-50);
}

.message-text {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-light);
    text-align: right;
}

.join-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0 0 20px 20px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: var(--gradient-secondary);
}

@media (max-width: 768px) {
    .community {
        padding: 5rem 1.5rem;
    }

    .community-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .community-intro {
        margin-bottom: 3rem;
    }

    .community-intro p {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .community {
        padding: 4rem 1.5rem;
    }

    .social-header {
        padding: 1.25rem;
    }

    .social-content {
        padding: 1.25rem;
    }

    .preview-post {
        padding: 1rem;
    }
}

/* Available Prescriptions Section */
.prescriptions {
    max-width: 900px;
    margin: 7rem auto;
    padding: 0 2rem;
}

.prescriptions-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.prescription-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.prescription-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.prescription-images {
    position: relative;
    background: var(--gray-200);
    overflow: hidden;
}

.prescription-image-slider {
    display: flex;
    transition: transform 0.3s ease;
}

.prescription-image-item {
    min-width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
}

.prescription-image-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.prescription-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark);
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.prescription-nav-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prescription-nav-btn.prev {
    left: 12px;
}

.prescription-nav-btn.next {
    right: 12px;
}

.prescription-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.prescription-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.prescription-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

.prescription-content {
    padding: 1.25rem;
}

.prescription-header {
    margin-bottom: 1rem;
}

.prescription-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.prescription-description {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
    font-weight: 400;
}

.prescription-meta {
    display: flex;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: #DCF8C6;
    border-radius: 8px;
    margin: 1rem 0;
}

.prescription-meta-item {
    flex: 1;
}

.prescription-meta-label {
    font-size: 0.7rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.prescription-meta-value {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 700;
}

.prescription-drugs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.drug-badge {
    background: #E8F5E9;
    color: var(--dark);
    padding: 0.5rem 0.875rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid #C8E6C9;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drug-badge:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.drug-badge-plus {
    width: 16px;
    height: 16px;
    background: #4CAF50;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.drug-badge:hover .drug-badge-plus {
    background: var(--white);
    color: var(--primary);
}

.prescription-timestamp {
    font-size: 0.7rem;
    color: #999;
    text-align: right;
    margin-top: 0.5rem;
}

.no-order-available {
    padding: 0.875rem 1rem;
    background: #FFF3CD;
    border-radius: 8px;
    text-align: center;
    color: #856404;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .prescriptions {
        margin: 5rem auto;
        padding: 0 1.5rem;
    }

    .prescription-image-item {
        height: 250px;
    }

    .prescription-title {
        font-size: 1.2rem;
    }

    .prescription-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .prescription-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .prescriptions {
        margin: 4rem auto;
        padding: 0 1rem;
    }

    .prescription-content {
        padding: 1rem;
    }

    .prescription-title {
        font-size: 1.15rem;
    }

    .prescription-description {
        font-size: 0.85rem;
    }

    .prescription-image-item {
        height: 220px;
    }

    .drug-badge {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .prescription-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .prescription-nav-btn.prev {
        left: 8px;
    }

    .prescription-nav-btn.next {
        right: 8px;
    }

    .prescription-image-counter {
        top: 8px;
        right: 8px;
        padding: 4px 10px;
        font-size: 0.7rem;
    }
}
