/* ========================================
   Dr.R Product Pages - Shared Styles
   ======================================== */

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

body {
    font-family: 'Microsoft JhengHei', 'Noto Sans TC', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
}

/* ========================================
   Header Styles
   ======================================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 40px;
    border-bottom: 1px solid #eee;
}

.logo-section {
    flex: 1;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.tagline {
    display: flex;
    gap: 30px;
    font-size: 11px;
    color: #666;
    margin-bottom: 20px;
}

.tagline-item {
    display: flex;
    flex-direction: column;
}

.tagline-item::before {
    content: "✓";
    color: #ff6633;
    font-weight: bold;
    margin-right: 5px;
    float: left;
}

.highlights {
    list-style: none;
    font-size: 12px;
    color: #ff6633;
}

.highlights li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.highlights li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff6633;
}

/* ========================================
   Hero Section - Common Styles
   ======================================== */
.hero {
    display: grid;
    min-height: 500px;
}

.hero-left {
    background: linear-gradient(135deg, #ff6633 0%, #ff6633 100%);
    color: white;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

/* ========================================
   Hero Section - Flywheel Specific
   ======================================== */
.hero.flywheel {
    grid-template-columns: 1fr 1.5fr;
}

.hero.flywheel .hero-left {
    padding: 60px 40px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.hero.flywheel .hero-right {
    background: linear-gradient(to bottom, #f8f8f8 0%, #ebebeb 100%);
    padding: 40px 220px 40px 60px;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
}

.features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: white;
}

.hero-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.price-section {
    border-top: 2px solid rgba(255,255,255,0.3);
    padding-top: 20px;
    margin-top: auto;
}

.price-label {
    font-size: 14px;
    margin-bottom: 5px;
}

.price {
    font-size: 28px;
    font-weight: bold;
}

/* Product Specs Sidebar */
.product-specs-sidebar {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    background: linear-gradient(135deg, #ff6633 0%, #ff6633 100%);
    color: white;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    box-shadow: -5px 0 20px rgba(255, 102, 51, 0.3);
}

.specs-header {
    text-align: center;
    margin-bottom: 30px;
}

.specs-header h3 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 15px;
}

.specs-subtitle {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.specs-details {
    text-align: left;
    font-size: 13px;
    line-height: 2;
}

.specs-details .spec-label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.specs-details .spec-value {
    margin-bottom: 12px;
    opacity: 0.95;
    display: block;
    padding-left: 10px;
}

.product-main-image {
    max-width: 550px;
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* ========================================
   Hero Section - VITAAIR Specific
   ======================================== */
.hero.vitaair {
    grid-template-columns: 180px 1fr;
    border-bottom: 3px solid #ff6633;
}

.hero.vitaair .hero-left {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 28px;
    letter-spacing: 15px;
    font-weight: 300;
    padding: 60px 20px;
}

.hero.vitaair .hero-right {
    background: linear-gradient(to right, #f8f8f8 0%, #ffffff 50%);
    padding: 60px;
}

.vitaair-label {
    position: absolute;
    writing-mode: vertical-rl;
    font-weight: bold;
    letter-spacing: 8px;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 72px;
    color: #ff6633;
    opacity: 0.15;
}

.product-image-container {
    max-width: 600px;
    width: 100%;
}

.product-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ========================================
   Content Sections
   ======================================== */
.content-wrapper {
    padding: 40px;
}

.content-wrapper.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.left-content {
    border-right: 1px solid #eee;
    padding-right: 40px;
}

.details-section,
.audience-section {
    padding: 40px;
    border-bottom: 1px solid #eee;
}

.section {
    padding: 0;
    margin-bottom: 40px;
    border: none;
}

.section-title,
.accessories-title {
    font-size: 13px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before,
.accessories-title::before {
    content: "";
    width: 3px;
    height: 16px;
    background: #ff6633;
}

.section-subtitle,
.accessories-subtitle {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-content,
.details-content {
    color: #666;
    font-size: 13px;
    line-height: 1.9;
}

.details-content p,
.section-content p {
    margin-bottom: 12px;
}

.detail-item {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 2px solid #f0f0f0;
}

.detail-label {
    color: #ff6633;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

/* ========================================
   Target Audience Section
   ======================================== */
.audience-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.audience-tag {
    background: linear-gradient(135deg, #ff6633 0%, #ff6633 100%);
    color: white;
    padding: 10px 25px;
    font-size: 12px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.2);
    transition: all 0.3s;
}

.audience-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.audience-description {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.audience-description p {
    margin-bottom: 10px;
    padding-left: 15px;
    border-left: 2px solid #f0f0f0;
}

/* ========================================
   Specifications
   ======================================== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-top: 20px;
}

.spec-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    font-size: 13px;
    color: #666;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.spec-label {
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.spec-value {
    color: #666;
    font-size: 13px;
}

/* ========================================
   Accessories Section
   ======================================== */
.accessories-section {
    padding: 40px;
    background: #fafafa;
}

.accessories-basic,
.accessories-optional {
    margin-bottom: 50px;
}

.accessories-optional:last-child {
    margin-bottom: 0;
}

.accessories-grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.accessories-grid.flywheel-grid {
    grid-template-columns: repeat(4, 1fr);
}

.accessories-grid.vitaair-grid {
    grid-template-columns: 1fr;
}

.accessory-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.accessory-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    border-color: #e0e0e0;
}

.accessories-grid.vitaair-grid .accessory-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    background: white;
    border: 1px solid #f0f0f0;
}

.accessories-grid.vitaair-grid .accessory-item:hover {
    transform: translateX(5px);
    border-color: #e0e0e0;
}

.accessory-image {
    width: 100%;
    height: 150px;
    background: transparent;
    border-radius: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.accessories-grid.vitaair-grid .accessory-image {
    width: 100px;
    height: 100px;
    background: transparent;
    margin-bottom: 0;
    flex-shrink: 0;
}

.accessory-image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.accessory-info {
    flex: 1;
}

.accessory-name {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.accessories-grid.vitaair-grid .accessory-name {
    font-size: 14px;
    color: #333;
}

.accessory-price {
    font-size: 13px;
    color: #ff6633;
    margin-top: 8px;
    font-weight: 600;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .content-wrapper.two-column {
        grid-template-columns: 1fr;
    }

    .left-content {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 40px;
    }

    .hero.vitaair {
        grid-template-columns: 120px 1fr;
    }

    .hero.vitaair .hero-left {
        font-size: 20px;
        letter-spacing: 10px;
    }
    
    .product-specs-sidebar {
        width: 160px;
        padding: 30px 15px;
    }
    
    .specs-header h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 20px;
    }

    .tagline {
        flex-direction: column;
        gap: 10px;
    }

    .hero.flywheel,
    .hero.vitaair {
        grid-template-columns: 1fr;
    }

    .hero.vitaair .hero-left {
        writing-mode: horizontal-tb;
        padding: 20px;
        text-align: center;
        letter-spacing: 8px;
    }

    .hero.flywheel .hero-left {
        padding: 30px 20px;
    }
    
    .hero.flywheel .hero-right {
        padding: 20px;
    }
    
    .product-specs-sidebar {
        position: static;
        width: 100%;
        margin-top: 20px;
        box-shadow: 0 3px 15px rgba(255, 102, 51, 0.2);
    }

    .accessories-grid.flywheel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        padding: 20px;
    }

    .details-section,
    .audience-section,
    .accessories-section {
        padding: 20px;
    }

    .vitaair-label {
        font-size: 48px;
        right: 20px;
    }
    
    .accessory-image {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .accessories-grid.flywheel-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .price {
        font-size: 24px;
    }
}
.cta-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
    padding: 80px 40px;
    text-align: center;
    color: #333;
    border-bottom: 3px solid #ff6633; /* 加一條橙色線與 footer 分隔 */
}

.cta-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333; /* 深色文字 */
}

.cta-description {
    font-size: 16px;
    margin-bottom: 40px;
    color: #666; /* 灰色文字 */
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff6633 0%, #ff8855 100%); /* 改成橙色按鈕 */
    color: white; /* 白色文字 */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 51, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 51, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #ff6633; /* 橙色文字 */
    border: 2px solid #ff6633; /* 橙色邊框 */
}

.cta-button.secondary:hover {
    background: #ff6633;
    color: white;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}
/* ========================================
   Footer Styles
   ======================================== */
.footer {
    background: linear-gradient(135deg, #ff6633 0%, #ff8855 100%);
    padding: 80px 40px;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    font-size: 18px;
}

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

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

@media (max-width: 768px) {
    .footer {
        padding: 60px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}