:root {
    --primary-color: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --secondary-color: #f59e0b;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Noto Sans KR', 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
}

.logo-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
#hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f0fdfa 0%, var(--bg-light) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    position: relative;
}

.hero-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.hero-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slider-controls {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.main-hero-img:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Services Section */
#services {
    padding: 100px 0;
}

.section-title {
    text-align: left;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 60px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    padding: 10px;
    margin-bottom: 24px;
    transition: var(--transition);
    align-self: center;
}

.service-card:hover .product-img {
    transform: scale(1.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* About Section */
#about {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--primary-light);
    border-radius: 20px;
    position: relative;
}

.image-placeholder::after {
    content: '🐾';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
}

.features {
    list-style: none;
    margin-top: 30px;
}

.features li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Platform Section Refined */
.platform-section-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    padding: 100px 0;
}

.platform-text-content .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.platform-btns {
    margin-top: 40px;
}

/* Phone Mockup Styling */
.platform-visual-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.phone-frame-mockup {
    width: 280px;
    height: 600px;
    background: #000;
    border: 10px solid #27272a;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.phone-frame-mockup::before {
    display: none;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: #0f172a;
    position: relative;
    padding: 8px 4px 0;
}

.app-screenshot-slider {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.app-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background: #0f172a;
}

.app-slide.active {
    opacity: 1;
    z-index: 10;
}

.slider-nav-dots {
    display: flex;
    gap: 12px;
}

.app-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.app-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 5px;
}

/* Contact Section */
#contact {
    padding: 100px 0;
}

.contact-card {
    background: var(--primary-color);
    color: white;
    padding: 60px 80px;
    border-radius: 30px;
    text-align: left;
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-info p {
    color: white;
    /* 텍스트 가독성 확보 */
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Existing Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

/* 히어로 슬라이드 전환 시 애니메이션 재실행 보정 */
.hero-slide .fade-in {
    animation: none;
    opacity: 0;
}

.hero-slide.active .fade-in {
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 30px;
        /* 여백 더 확보 */
    }

    header {
        padding: 15px 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    #hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        /* 모바일 폰트 크기 축소 */
        word-break: keep-all;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        word-break: keep-all;
    }

    .hero-btns {
        flex-direction: column;
        /* 버튼 세로 배치 */
        gap: 12px;
    }

    .btn-lg {
        width: 100%;
        padding: 14px 24px;
    }

    .main-hero-img {
        max-width: 100%;
        border-radius: 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card p {
        word-break: keep-all;
    }

    .about-wrapper,
    .platform-section-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 20px;
        /* 모바일 전용 여백 추가 */
    }

    .about-content,
    .platform-text-content {
        text-align: left;
    }

    .about-content .section-title {
        text-align: left !important;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .stat-item {
        background: white;
        padding: 20px;
        border-radius: 15px;
        box-shadow: var(--shadow-sm);
    }

    .contact-card {
        padding: 40px 30px;
        /* 모바일 전용 여백 조절 */
    }

    .contact-card h2 {
        font-size: 1.8rem;
    }

    .contact-info {
        gap: 20px;
    }

    footer {
        padding: 30px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1e293b;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Login Modal States */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: white;
    padding: 50px 40px;
    border-radius: 30px;
    width: 100%;
    max-width: 440px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.open .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-dark);
}

.login-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.login-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.modal-card .subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.input-wrapper {
    display: flex;
    gap: 10px;
}

.input-wrapper input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    min-width: 0;
    /* Flexbox overflow fix */
}

.input-wrapper .btn {
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 100px;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

#recaptcha-container {
    margin-top: 20px;
}

.hidden {
    display: none !important;
}

/* OTP Input Specific Styling */
#otpInput {
    font-size: 1.5rem;
    letter-spacing: 12px;
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    background-color: #f8fafc;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
    width: 100%;
    padding: 16px;
    border-radius: 12px;
}

#otpInput::placeholder {
    font-size: 1rem;
    letter-spacing: normal;
    font-weight: 400;
    color: #cbd5e1;
}

#otpGroup {
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   COLOSTAR Product Lineup Modal Styles
   ======================================== */

/* Clickable product card styling */
.product-card.clickable {
    cursor: pointer;
    position: relative;
}

.product-card.clickable:hover {
    border: 2px solid var(--primary-color);
}

.view-lineup-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.product-card.clickable:hover .view-lineup-badge {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
}

/* COLOSTAR Modal Specific Styles */
.colostar-modal .colostar-modal-content {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 30px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.3);
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px -12px rgba(0, 0, 0, 0.35);
}

.colostar-modal.open .colostar-modal-content {
    transform: scale(1);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.colostar-header {
    text-align: center;
    margin-bottom: 40px;
}

.colostar-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.colostar-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Products Grid */
.colostar-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Individual Product Card */
.colostar-product-card {
    background: white;
    border-radius: 24px;
    padding: 24px 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.colostar-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-color);
    transition: height 0.3s ease;
}

.colostar-product-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.colostar-product-card:hover::before {
    height: 6px;
}

.colostar-product-card.featured {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 50%);
    border: 2px solid #fecaca;
}

.colostar-product-card.featured::before {
    height: 6px;
    background: linear-gradient(90deg, #ef4444, #f97316);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.supplement {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

.product-badge.replacer {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
}

.product-badge.premium {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(251, 191, 36, 0);
    }
}

/* Product Image */
.colostar-product-image {
    text-align: center;
    margin-bottom: 16px;
    padding: 10px;
}

.colostar-product-image img {
    width: 100%;
    max-width: 140px;
    height: auto;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.colostar-product-card:hover .colostar-product-image img {
    transform: scale(1.08) rotate(-2deg);
}

/* Product Info */
.colostar-product-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.product-type {
    font-size: 0.8rem;
    color: var(--card-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.product-specs li:last-child {
    border-bottom: none;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.spec-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

.spec-value.highlight {
    color: #ef4444;
    font-size: 1rem;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
}

/* Footer */
.colostar-footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border-radius: 16px;
    border: 1px solid #99f6e4;
}

.colostar-footer p {
    font-size: 0.95rem;
    color: #0f766e;
    margin: 0;
}

/* Responsive for COLOSTAR Modal */
@media (max-width: 1200px) {
    .colostar-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .colostar-modal .colostar-modal-content {
        padding: 24px 16px;
        border-radius: 20px;
        max-height: 85vh;
    }

    .colostar-header h2 {
        font-size: 1.75rem;
    }

    .colostar-subtitle {
        font-size: 0.95rem;
    }

    .colostar-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .colostar-product-card {
        padding: 16px 12px;
    }

    .colostar-product-image img {
        max-width: 100px;
    }

    .colostar-product-info h3 {
        font-size: 1rem;
    }

    .product-specs {
        padding: 8px;
    }

    .product-specs li {
        padding: 4px 0;
    }

    .spec-label,
    .spec-value {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .colostar-products-grid {
        grid-template-columns: 1fr;
    }

    .colostar-product-card {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 16px;
        align-items: center;
    }

    .colostar-product-image {
        margin-bottom: 0;
    }

    .product-badge {
        top: 8px;
        right: 8px;
        font-size: 0.6rem;
        padding: 4px 8px;
    }

    .product-desc {
        text-align: left;
    }
}

/* ========================================
   BEWI-MILK Product Modal Styles
   ======================================== */

.bewimilk-modal .bewimilk-modal-content {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    padding: 40px;
    border-radius: 30px;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.3);
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px -12px rgba(0, 0, 0, 0.35);
}

.bewimilk-modal.open .bewimilk-modal-content {
    transform: scale(1);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hero Section */
.bewimilk-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.bewimilk-hero-image {
    text-align: center;
}

.bewimilk-hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s ease;
}

.bewimilk-hero-image img:hover {
    transform: scale(1.05);
}

.bewimilk-category {
    display: inline-block;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.bewimilk-hero-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #166534;
    margin-bottom: 20px;
}

.bewimilk-hero-text h2 sup {
    font-size: 0.5em;
    color: #22c55e;
}

.bewimilk-tagline {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 500;
}

.bewimilk-challenge {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid #22c55e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.bewimilk-challenge h4 {
    font-size: 1.1rem;
    color: #166534;
    margin-bottom: 12px;
}

.bewimilk-challenge p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.bewimilk-challenge p:last-child {
    margin-bottom: 0;
}

.bewimilk-challenge strong {
    color: #166534;
}

/* Features Grid */
.bewimilk-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.bewimilk-benefits,
.bewimilk-solutions {
    padding: 28px;
    border-radius: 20px;
}

.bewimilk-benefits {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

.bewimilk-solutions {
    background: linear-gradient(135deg, #166534 0%, #15803d 100%);
    color: white;
}

.bewimilk-benefits h3,
.bewimilk-solutions h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.bewimilk-benefits h3 {
    color: #166534;
}

.bewimilk-solutions h3 {
    color: white;
}

.solutions-intro {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    opacity: 0.95;
}

.bewimilk-benefits ul,
.bewimilk-solutions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bewimilk-benefits li,
.bewimilk-solutions li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bewimilk-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    font-size: 1.2rem;
}

.bewimilk-solutions li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #86efac;
    font-weight: bold;
    font-size: 1.2rem;
}

.bewimilk-solutions li:last-child {
    margin-bottom: 0;
}

/* Footer & BVS Badge */
.bewimilk-footer {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 2px solid #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.bvs-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid #94a3b8;
}

.bvs-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 1px;
}

.bvs-version {
    font-size: 1.5rem;
    font-weight: 800;
    color: #166534;
}

.bewimilk-footer p {
    font-size: 1rem;
    color: #166534;
    font-weight: 600;
    margin: 0;
}

/* Responsive for BEWI-MILK Modal */
@media (max-width: 768px) {
    .bewimilk-modal .bewimilk-modal-content {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .bewimilk-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bewimilk-hero-image img {
        max-width: 200px;
    }

    .bewimilk-hero-text h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .bewimilk-category {
        display: block;
        text-align: center;
    }

    .bewimilk-features-grid {
        grid-template-columns: 1fr;
    }

    .bewimilk-footer {
        flex-direction: column;
        gap: 16px;
    }
}

/* ========================================
   Image Only Modal Styles
   ======================================== */

.image-modal .image-modal-content {
    background: transparent;
    padding: 0;
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    transform: scale(0.3);
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-modal.open .image-modal-content {
    transform: scale(1);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-modal .image-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.image-modal .modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    border: none;
    font-size: 24px;
    color: #1e293b;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.image-modal .modal-close:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}