:root {
    --color-primary: #26A375;
    --color-primary-dark: #1E8A63;
    --color-primary-light: rgba(38, 163, 117, 0.1);
    --color-accent: #34D399;
    --color-dark: #1B1B1B;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-light: #F8FAFC;
    --color-white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #e8f5f0 0%, #e6fbf1ff 50%, #ecfff6ff 100%);
    min-height: calc(100vh - 80px);
    padding: 4rem 0;
    position: relative;
    margin-top: -2%;
    overflow: hidden;
}

.hero-content {
    margin-top: 2%;
    display: flex;
    margin-left: -5%;
    align-items: center;
    min-height: 70vh;
}

/* Badges */
.badge-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: -5%;
}

.badge-company,
.badge-authorized {
    display: inline-block;
    width: auto;
}

.badge-company {
    background-color: rgba(255, 255, 255, 0.9);
    color: #475569;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.badge-company::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #64748b;
    border-radius: 50%;
    margin-right: 10px;
}

.badge-authorized {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 2rem;
    border: 1px solid var(--color-primary);
}

.badge-authorized::before {
    content: '';
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Typography */
.main-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.title-highlight {
    color: #26a375ff;
}

.hero-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Buttons */
.btn-explore {
    background-color: #26a375ff;
    border: none;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-right: 1.5rem;
}

.btn-explore:hover {
    background-color: #10b981;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 10px 25px rgba(52, 211, 153, 0.3);
}

.btn-explore::after {
    content: '→';
    margin-left: 12px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-explore:hover::after {
    transform: translateX(3px);
}

.btn-contact {
    background-color: transparent;
    border: 2px solid #26a375ff;
    color: #26a375ff;
    padding: 13px 33px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #208761ff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 211, 153, 0.3);
}

/* Hero Image */
.hero-image-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #334155 60%, #475569 100%);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 70%, rgba(52, 211, 153, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 60%);
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, #26a375ff 30%, #10b981 70%, transparent 100%);
    height: 2px;
    border-radius: 1px;
}

.circuit-line:nth-child(1) {
    top: 15%;
    left: -20%;
    width: 70%;
    animation: slideIn 4s ease-in-out infinite;
    animation-delay: 0s;
}

.circuit-line:nth-child(2) {
    top: 35%;
    left: -30%;
    width: 80%;
    animation: slideIn 4s ease-in-out infinite;
    animation-delay: 0.8s;
}

.circuit-line:nth-child(3) {
    top: 55%;
    left: -25%;
    width: 75%;
    animation: slideIn 4s ease-in-out infinite;
    animation-delay: 1.6s;
}

.circuit-line:nth-child(4) {
    top: 75%;
    left: -35%;
    width: 85%;
    animation: slideIn 4s ease-in-out infinite;
    animation-delay: 2.4s;
}

@keyframes slideIn {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateX(40px);
        opacity: 1;
    }
}

.anritsu-brand {
    width: 100%;       
    height: 100%;       
    overflow: hidden;  
}

.anritsu-brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    display: block;     
}

.anritsu-logo {
    font-size: 4rem;
    font-weight: bold;
    color: #26a375ff;
    text-shadow: 0 0 30px rgba(52, 211, 153, 0.5);
    margin-bottom: 0.5rem;
}

.anritsu-tagline {
    color: white;
    font-size: 1.6rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 15px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(38, 163, 117, 0.1);
    border-color: var(--color-primary-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, rgba(204, 241, 232, 0.7) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--color-primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Product Categories Section */
.product-categories-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(38, 163, 117, 0.1);
    border-color: var(--color-primary-light);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.category-icon i {
    font-size: 1.5rem;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.category-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.category-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: var(--color-primary-dark);
    transform: translateX(3px);
}

/* Key Advantages Section */
.key-advantages-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(38, 163, 117, 0.15);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.advantage-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.advantage-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.advantage-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Best Seller Section */
/* Product Cards */
.product-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: white;
    color: var(--color-primary);
    display: inline-block;
    border: 1px solid var(--color-primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(38, 163, 117, 0.3);
}

.product-category {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-text-light);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 500;
    z-index: 3;
    border: 1px solid #e2e8f0;
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(248, 250, 252, 0.8) 50%,
            rgba(241, 245, 249, 0.9) 100%);
}

.product-image-container {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-image-placeholder {
    width: 130px;
    height: 85px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 120" fill="%2326A375"><rect width="200" height="120" fill="%23f8fafc" rx="8"/><rect x="10" y="15" width="180" height="4" fill="%2326A375" opacity="0.3"/><rect x="10" y="25" width="120" height="4" fill="%2326A375" opacity="0.3"/><rect x="10" y="35" width="150" height="4" fill="%2326A375" opacity="0.3"/><rect x="10" y="50" width="180" height="8" fill="%2326A375" opacity="0.5"/><rect x="10" y="65" width="100" height="6" fill="%2326A375" opacity="0.4"/><rect x="10" y="80" width="160" height="6" fill="%2326A375" opacity="0.4"/><circle cx="160" cy="85" r="15" fill="%2326A375" opacity="0.2"/></svg>') no-repeat center;
    background-size: contain;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    border: 2px solid #f1f5f9;
}

.product-card:hover .product-image-container {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-model {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.product-description {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.price-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.price-action {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.price-action:hover {
    color: var(--color-primary-dark);
}

.product-links {
    display: flex;
    gap: 6px;
}

.product-link {
    flex: 1;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.link-datasheet {
    background-color: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.link-datasheet:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.link-quote {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: 1px solid var(--color-primary);
    font-weight: 600;
}

.link-quote:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(38, 163, 117, 0.3);
}

.link-quote::after {
    content: '→';
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.link-quote:hover::after {
    transform: translateX(2px);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-link:hover .product-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    transition: all 0.2s ease;
}

/* ============================================ */
/* RESPONSIVE BREAKPOINTS */
/* ============================================ */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .main-title {
        font-size: 4.5rem;
    }
    
    .hero-image-container {
        height: 500px;
    }
}

/* Large Devices (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-content {
        margin-left: -3%;
    }
    
    .main-title {
        font-size: 3.8rem;
    }
}

/* Medium Large Devices (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-content {
        margin-left: 0;
        gap: 2rem;
    }
    
    .main-title {
        font-size: 3.2rem;
    }
    
    .hero-image-container {
        height: 400px;
    }
    
    .badge-container {
        margin-top: -2%;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .feature-card {
        padding: 2rem 1rem;
    }
    
    .advantage-card {
        padding: 2rem 1.5rem;
    }
}

/* Medium Devices (768px to 991px) - Tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        padding: 3rem 0;
        margin-top: -10;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        margin-left: 0;
        margin-top: 0;
    }
    
    .badge-container {
        align-items: center;
        margin-top: 0;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-image-container {
        height: 350px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .advantage-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .advantage-number {
        font-size: 2.2rem;
    }
    
    .product-image {
        height: 180px;
        padding: 15px;
    }
}

/* Small Medium Devices (576px to 767px) - Large Mobile */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section {
        padding: 2.5rem 0;
        margin-top: 0;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        margin-left: 0;
        margin-top: 0;
        min-height: auto;
    }
    
    .badge-container {
        align-items: center;
        margin-top: 0;
    }
    
    .badge-company,
    .badge-authorized {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .main-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .btn-explore,
    .btn-contact {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .hero-image-container {
        height: 280px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }
    
    .why-choose-section,
    .product-categories-section,
    .key-advantages-section {
        padding: 3.5rem 0;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .category-icon i {
        font-size: 1.3rem;
    }
    
    .advantage-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .advantage-icon {
        width: 50px;
        height: 50px;
    }
    
    .advantage-icon i {
        font-size: 1.3rem;
    }
    
    .advantage-number {
        font-size: 2rem;
    }
    
    .advantage-title {
        font-size: 1rem;
    }
    
    .product-image {
        height: 160px;
        padding: 12px;
    }
    
    .product-content {
        padding: 15px;
    }
}

/* Extra Small Devices (up to 575px) - Mobile */
@media (max-width: 575px) {
    .hero-section {
        padding: 2rem 0;
        margin-top: -10px;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-left: 0;
        margin-top: 0;
        min-height: auto;
    }
    
    .badge-container {
        align-items: center;
        margin-top: 0;
        width: 100%;
    }
    
    .badge-company,
    .badge-authorized {
        font-size: 0.8rem;
        padding: 6px 14px;
        text-align: center;
        width: auto;
        max-width: 90%;
    }
    
    .main-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .btn-explore,
    .btn-contact {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.8rem;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .hero-image-container {
        height: 250px;
        border-radius: 15px;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .why-choose-section,
    .product-categories-section,
    .key-advantages-section {
        padding: 3rem 0;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.6rem;
    }
    
    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
    
    .category-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .category-icon i {
        font-size: 1.2rem;
    }
    
    .category-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .category-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .category-link {
        font-size: 0.85rem;
    }
    
    .advantage-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
    
    .advantage-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .advantage-icon i {
        font-size: 1.2rem;
    }
    
    .advantage-number {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .advantage-title {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .advantage-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
    
    .product-image {
        height: 200px;
        padding: 10px;
    }
    
    .product-content {
        padding: 12px;
    }
    
    .product-model {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .product-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
        top: 8px;
        left: 8px;
    }
    
    .product-description {
        font-size: 0.8rem;
        margin-bottom: 15px;
        -webkit-line-clamp: 2;
    }
    
    .product-price {
        margin-bottom: 8px;
    }
    
    .price-label,
    .price-action {
        font-size: 0.7rem;
    }
    
    .product-links {
        gap: 4px;
    }
    
    .product-link {
        padding: 6px 8px;
        font-size: 0.75rem;
        border-radius: 4px;
    }
    
    .circuit-line {
        height: 1px;
    }
    
    .anritsu-logo {
        font-size: 2.5rem;
    }
    
    .anritsu-tagline {
        font-size: 1.2rem;
    }
}

/* Ultra Small Devices (up to 375px) - Very Small Mobile */
@media (max-width: 375px) {
    .hero-section {
        padding: 1.5rem 0;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .main-title {
        font-size: 1.9rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn-explore,
    .btn-contact {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .hero-image-container {
        height: 220px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .why-choose-section,
    .product-categories-section,
    .key-advantages-section {
        padding: 2.5rem 0;
    }
    
    .feature-card,
    .category-card,
    .advantage-card {
        padding: 1.2rem 0.8rem;
    }
    
    .product-image {
        height: 120px;
        padding: 8px;
    }
    
    .product-content {
        padding: 10px;
    }
    
    .advantage-number {
        font-size: 1.6rem;
    }
    
    .badge-company,
    .badge-authorized {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 0.8rem;
    }
}

/* Landscape Mobile Devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 1.5rem 0;
    }
    
    .hero-content {
        min-height: auto;
        margin-top: 0;
    }
    
    .hero-image-container {
        height: 200px;
    }
    
    .main-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .badge-container {
        margin-top: 0;
        margin-bottom: 1rem;
    }
}

/* Print Styles */
@media print {
    .hero-section {
        background: white !important;
        -webkit-print-color-adjust: exact;
    }
    
    .circuit-lines {
        display: none;
    }
    
    .hero-image-container::before {
        display: none;
    }
    
    .btn-explore,
    .btn-contact {
        border: 1px solid #26a375ff;
        background: white !important;
        color: #26a375ff !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-image-placeholder {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 240" fill="%2326A375"><rect width="400" height="240" fill="%23f8fafc" rx="16"/><rect x="20" y="30" width="360" height="8" fill="%2326A375" opacity="0.3"/><rect x="20" y="50" width="240" height="8" fill="%2326A375" opacity="0.3"/><rect x="20" y="70" width="300" height="8" fill="%2326A375" opacity="0.3"/><rect x="20" y="100" width="360" height="16" fill="%2326A375" opacity="0.5"/><rect x="20" y="130" width="200" height="12" fill="%2326A375" opacity="0.4"/><rect x="20" y="160" width="320" height="12" fill="%2326A375" opacity="0.4"/><circle cx="320" cy="170" r="30" fill="%2326A375" opacity="0.2"/></svg>');
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .circuit-line {
        animation: none;
    }
    
    .feature-card:hover,
    .category-card:hover,
    .advantage-card:hover,
    .product-card:hover {
        transform: none;
    }
}

/* Focus Styles for Accessibility */
.btn-explore:focus,
.btn-contact:focus,
.category-link:focus,
.price-action:focus,
.product-link:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Improved contrast for accessibility */
@media (prefers-contrast: high) {
    :root {
        --color-text-light: #475569;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
        --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
    }
    
    .feature-card,
    .category-card,
    .advantage-card,
    .product-card {
        border: 2px solid #e2e8f0;
    }
}
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 8px;
  background-color: #39a578;
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: #1c9cd6;
}
