/* newhomeTV Custom Styles - Complete Version */

/* ==================== 
   Base & Reset 
   ==================== */
.newhometv-content {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.newhometv-content * {
    box-sizing: border-box;
}

/* ==================== 
   Typography 
   ==================== */
.newhometv-title {
    text-align: center;
    margin: 40px 0 30px;
    font-size: 2.2em;
    color: #333;
    font-weight: 700;
    line-height: 1.3;
}

.newhometv-content h2.section-title {
    text-align: center;
    margin: 50px 0 30px;
    color: #333;
    font-size: 1.8em;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.newhometv-content h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.newhometv-content h3 {
    color: #667eea;
    font-size: 1.4em;
    margin: 25px 0 15px;
    font-weight: 600;
}

.newhometv-content h4 {
    font-size: 1.2em;
    margin: 15px 0 10px;
    color: #444;
}

.newhometv-content p {
    margin-bottom: 15px;
}

.newhometv-content strong {
    color: #e84747;
}

/* ==================== 
   Buttons 
   ==================== */
.button-wrapper {
    text-align: center;
    margin: 40px 0;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #e84747 0%, #d13636 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 71, 71, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 71, 71, 0.4);
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #e84747;
    color: #e84747;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline:hover {
    background: #e84747;
    color: #fff !important;
}

.btn-large {
    font-size: 1.3em;
    padding: 18px 60px;
}

/* ==================== 
   Layout Utilities 
   ==================== */
.spacer {
    height: 40px;
}

.center {
    text-align: center;
}

/* ==================== 
   Intro Section 
   ==================== */
.intro-text {
    font-size: 1.15em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.9;
    color: #555;
}

/* ==================== 
   Stats Grid 
   ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    text-align: center;
    margin: 40px 0;
}

.stat-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: #667eea;
}

.stat-number {
    font-size: 3em;
    font-weight: 700;
    color: #e84747;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-item div:last-child {
    font-size: 1.1em;
    color: #666;
    font-weight: 500;
}

/* ==================== 
   Highlight Box 
   ==================== */
.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.highlight-box h3 {
    color: white;
    border: none;
    font-size: 1.6em;
    margin-bottom: 20px;
}

.highlight-box p {
    font-size: 1.1em;
    line-height: 1.9;
    opacity: 0.95;
}

.highlight-box strong {
    color: #ffd700;
}

/* ==================== 
   Device Grid 
   ==================== */
.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.device-item {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.device-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.device-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.device-item h4 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 12px;
}

.device-item p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.device-item a {
    color: #e84747;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.device-item a:hover {
    color: #d13636;
}

.device-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
}

/* ==================== 
   Content Section 
   ==================== */
.content-section {
    margin: 40px 0;
}

.content-section h3 {
    border-bottom: 3px solid #667eea;
    padding-bottom: 12px;
    margin: 30px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* ==================== 
   Pricing Grid 
   ==================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
    align-items: start;
}

.pricing-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e8e8e8;
    border-radius: 15px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: #667eea;
}

.pricing-card h3 {
    color: #333;
    font-size: 1.4em;
    margin-bottom: 20px;
    border: none;
}

.pricing-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.featured h3 {
    color: white;
}

.price {
    font-size: 3.5em;
    font-weight: 700;
    color: #e84747;
    margin: 20px 0 5px;
    line-height: 1;
}

.pricing-card.featured .price {
    color: white;
}

.pricing-card > div:nth-child(3) {
    color: #888;
    font-size: 1.1em;
    margin-bottom: 25px;
}

.pricing-card.featured > div:nth-child(3) {
    color: rgba(255,255,255,0.8);
}

.badge {
    background: #ffd700;
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    margin-left: 10px;
    display: inline-block;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.pricing-card.featured .feature-list li {
    color: rgba(255,255,255,0.95);
    border-bottom-color: rgba(255,255,255,0.2);
}

.pricing-card.featured .feature-list li::before {
    color: #ffd700;
}

/* ==================== 
   Guarantee Box 
   ==================== */
.guarantee-box {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
}

.guarantee-box h3 {
    color: #28a745;
    margin-bottom: 20px;
    border: none;
    font-size: 1.5em;
}

.guarantee-box p {
    font-size: 1.1em;
    color: #155724;
    margin: 0;
}

.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.cta-box h2 {
    color: white;
    border: none;
    margin-bottom: 20px;
}

.cta-box h2::after {
    display: none;
}

.cta-text {
    font-size: 1.25em;
    margin: 25px 0;
    opacity: 0.95;
}

/* ==================== 
   Category Grid 
   ==================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.category-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.category-item h4 {
    color: #333;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.category-item p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.7;
    margin: 0;
}

/* ==================== 
   Getting Started 
   ==================== */
.getting-started {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

.getting-started ol {
    line-height: 2.2;
    font-size: 1.1em;
    padding-left: 25px;
}

.getting-started li {
    margin-bottom: 15px;
    color: #555;
}

.getting-started li strong {
    color: #667eea;
    font-size: 1.1em;
}

/* ==================== 
   FAQ Section 
   ==================== */
.faq-section {
    margin: 30px 0;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ==================== 
   Responsive Design 
   ==================== */
@media (max-width: 992px) {
    .pricing-card.featured {
        transform: scale(1.02);
    }
    
    .pricing-card.featured:hover {
        transform: scale(1.02) translateY(-10px);
    }
}

@media (max-width: 768px) {
    .newhometv-content {
        padding: 15px;
    }
    
    .newhometv-title {
        font-size: 1.8em;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2.2em;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 40px auto;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .price {
        font-size: 2.5em;
    }
    
    .device-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-box,
    .guarantee-box,
    .getting-started {
        padding: 25px;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    .btn-large {
        padding: 15px 40px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .newhometv-title {
        font-size: 1.5em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.5em;
    }
    
    .intro-text {
        font-size: 1em;
    }
}

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

.stat-item,
.device-item,
.pricing-card,
.category-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
a {
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== 
   Print Styles 
   ==================== */
@media print {
    .button-wrapper,
    .btn-primary,
    .btn-outline {
        display: none;
    }
    
    .newhometv-content {
        max-width: 100%;
    }
}
