:root {
    --bricasti-gold: #d4a574;
    --bricasti-dark: #1a1a1a;
    --bricasti-gray: #333333;
    --bricasti-light-gray: #f5f5f5;
    --bricasti-text: #666666;
    --bricasti-border: #e0e0e0;
    --bricasti-shadow: 0 5px 20px rgba(0,0,0,0.1);
    --bricasti-shadow-hover: 0 10px 30px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bricasti-main {
    padding-top: 60px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-width: 300px;
    margin-bottom: 30px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--bricasti-gold);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.product-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.breadcrumb {
    font-size: 0.9em;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: var(--bricasti-gold);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #fff;
}

.product-hero-header {
    text-align: center;
    margin-bottom: 20px;
}

.brand-logo-hero-wrapper {
    display: inline-block;
    background: linear-gradient(90deg, rgba(255,255,255,0.92), rgba(248,248,248,0.97), rgba(255,255,255,0.92));
    padding: 22px 55px;
    margin-bottom: 25px;
    border-radius: 50px;
    box-shadow: 
        0 5px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(212, 165, 116, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.brand-logo-hero-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.06) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
}

.brand-logo-hero-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.brand-logo-hero-wrapper:hover::after {
    transform: translateX(100%);
}

.brand-logo-hero-wrapper:hover {
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 0 0 2px rgba(212, 165, 116, 0.25),
        inset 0 1px 3px rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.02);
}

.brand-logo-hero {
    max-width: 220px;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    opacity: 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    animation: logoFadeIn 0.8s ease-out;
}

.product-hero h1 {
    font-size: 2.5em;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.product-tagline {
    font-size: 1.2em;
    color: var(--bricasti-gold);
    font-style: italic;
}

.brand-nav {
    background: #f8f8f8;
    border-bottom: 1px solid var(--bricasti-border);
    position: sticky;
    top: 60px;
    z-index: 100;
    transition: transform 0.3s ease;
}

.brand-nav-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
    margin: 0;
    list-style: none;
}

.brand-nav-menu li {
    list-style: none;
}

.brand-nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
}

.brand-nav-menu a:hover,
.brand-nav-menu a.active {
    color: var(--bricasti-gold);
}

.store-link {
    color: var(--bricasti-gold) !important;
    font-weight: 600;
}

.btn-bricasti {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--bricasti-gold);
    color: white;
    border-color: var(--bricasti-gold);
}

.btn-primary:hover {
    background: #b8935f;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--bricasti-gold);
    border-color: var(--bricasti-gold);
}

.btn-outline:hover {
    background: var(--bricasti-gold);
    color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1em;
}

.btn-link {
    color: var(--bricasti-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.btn-link:hover {
    color: #b8935f;
}

.section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

.product-detail {
    padding: 60px 0;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-gallery-wrapper {
    position: relative;
}

.product-gallery {
    position: sticky;
    top: 150px;
}

.main-image {
    position: relative;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
}

.zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
}

.thumbnail-images img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.thumbnail-images img.active,
.thumbnail-images img:hover {
    opacity: 1;
}

.product-info {
    flex: 1;
}

.product-info-header {
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    padding: 20px;
    border-radius: 8px;
}

.brand-logo-product {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: logoFadeIn 0.8s ease-out;
}

.product-info h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.product-description {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.product-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.key-features {
    background: var(--bricasti-light-gray);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.key-features h3 {
    color: #333;
    margin-bottom: 20px;
}

.key-features ul {
    list-style: none;
    padding: 0;
}

.key-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bricasti-border);
    color: #555;
}

.key-features li:last-child {
    border-bottom: none;
}

.key-features strong {
    color: #333;
}

.features-section {
    padding: 80px 0;
    background: white;
}

.feature-grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item-detail {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.feature-item-detail h4 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 5px;
}

.feature-number {
    font-size: 3em;
    font-weight: bold;
    color: var(--bricasti-gold);
    margin-bottom: 15px;
}

.feature-subtitle-jp {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    margin-bottom: 15px;
}

.feature-item-detail p {
    color: #555;
    line-height: 1.6;
}

.hardware-section {
    padding: 80px 0;
    background: var(--bricasti-light-gray);
}

.hardware-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.hardware-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.hardware-card h3 {
    color: #333;
    margin-bottom: 5px;
}

.card-subtitle-jp {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 20px;
}

.hardware-card ul {
    list-style: none;
    padding: 0;
}

.hardware-card li {
    padding: 8px 0;
    color: #555;
}

.hardware-card li:before {
    content: "• ";
    color: var(--bricasti-gold);
    font-weight: bold;
}

.connection-section {
    background: #f5f5f5;
    padding: 80px 0;
}

.connection-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.connection-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.connection-card h3 {
    color: #000;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.connection-card ol,
.connection-card ul {
    margin-left: 20px;
}

.connection-card li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.connection-card strong {
    color: #333;
}

.benefits-section {
    padding: 80px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: #000;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.benefit-card p {
    color: #555;
    line-height: 1.6;
}

.specs-section {
    padding: 80px 0;
    background: white;
}

.specs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.specs-group {
    background: white;
    border: 1px solid var(--bricasti-border);
    border-radius: 10px;
    overflow: hidden;
}

.specs-group h3 {
    background: #f8f8f8;
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid var(--bricasti-border);
    font-size: 1.3em;
}

.spec-subtitle-jp {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
    margin-left: 10px;
}

.specs-group table {
    width: 100%;
    border-collapse: collapse;
}

.specs-group th {
    text-align: left;
    padding: 12px 20px;
    background: #fafafa;
    border-bottom: 1px solid var(--bricasti-border);
    font-weight: 500;
    color: #555;
    width: 40%;
}

.specs-group td {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.specs-group tr:last-child td {
    border-bottom: none;
}

.quote-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
}

.product-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.3em;
    font-style: italic;
    color: #555;
    position: relative;
    padding: 20px;
}

.quote-jp {
    display: block;
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
    font-style: normal;
}

.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

.products-section {
    padding: 80px 0;
    background: var(--bricasti-light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--bricasti-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bricasti-shadow-hover);
}

.product-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card-content {
    padding: 30px;
}

.product-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.product-subtitle {
    color: #666;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.product-features li {
    padding: 5px 0;
    color: #555;
}

.product-features li:before {
    content: "✓ ";
    color: var(--bricasti-gold);
    font-weight: bold;
}

.technology-section {
    padding: 80px 0;
    background: #fff;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.tech-item {
    text-align: center;
}

.tech-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.tech-item h3 {
    color: #333;
    margin-bottom: 15px;
}

.tech-item p {
    color: #666;
    line-height: 1.6;
}

.testimonials-section {
    padding: 80px 0;
    background: var(--bricasti-light-gray);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 150px;
}

.testimonial-item {
    display: none;
    text-align: center;
}

.testimonial-item.active {
    display: block;
}

.testimonial-item blockquote {
    font-size: 1.3em;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-item cite {
    color: #999;
    font-size: 0.9em;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.testimonial-nav button {
    background: var(--bricasti-gold);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.testimonial-nav button:hover {
    background: #b8935f;
}

.testimonials-cta {
    text-align: center;
    margin-top: 30px;
}

.users-section {
    padding: 60px 0;
    background: var(--bricasti-light-gray);
}

.user-testimonial {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-testimonial:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.user-testimonial:nth-child(even) {
    background: #f9f9f9;
}

.user-image {
    flex-shrink: 0;
    width: 200px;
    height: 135px;
}

.user-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.user-content {
    flex: 1;
}

.user-content h3 {
    color: #000;
    font-size: 1.5em;
    margin-bottom: 5px;
}

.user-title {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 15px;
    font-weight: 500;
}

.user-content blockquote {
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding-left: 20px;
    border-left: 3px solid var(--bricasti-gold);
    font-size: 0.95em;
}

.cta-section,
.product-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
}

.cta-section h2,
.product-cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p,
.product-cta-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    animation: fadeIn 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--bricasti-gold);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.image-loading {
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .product-showcase {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
    }
    
    .specs-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2em;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .product-hero h1 {
        font-size: 1.8em;
    }
    
    .brand-logo-hero-wrapper {
        padding: 18px 40px;
    }
    
    .brand-logo-hero {
        max-width: 180px;
    }
    
    .brand-logo-product {
        max-width: 150px;
    }
    
    .brand-nav-menu {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px;
    }
    
    .brand-nav-menu a {
        font-size: 0.9em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .products-grid,
    .tech-features,
    .hardware-features,
    .feature-grid-3col,
    .connection-info,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-group table {
        font-size: 0.9em;
    }
    
    .specs-group th {
        padding: 10px 15px;
    }
    
    .specs-group td {
        padding: 10px 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .product-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .user-testimonial {
        flex-direction: column;
    }
    
    .user-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .product-detail,
    .features-section,
    .hardware-section,
    .connection-section,
    .benefits-section,
    .specs-section,
    .quote-section,
    .about-section,
    .products-section,
    .technology-section,
    .testimonials-section,
    .cta-section,
    .product-cta-section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5em;
    }
    
    .hero-logo {
        max-width: 150px;
    }
    
    .product-hero h1 {
        font-size: 1.5em;
    }
    
    .product-tagline {
        font-size: 1em;
    }
    
    .brand-logo-hero-wrapper {
        padding: 15px 30px;
        margin-bottom: 20px;
    }
    
    .brand-logo-hero {
        max-width: 150px;
    }
    
    .brand-logo-product {
        max-width: 120px;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .btn-bricasti {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
    
    .product-card-content {
        padding: 20px;
    }
    
    .hardware-card {
        padding: 20px;
    }
    
    .connection-card {
        padding: 20px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

@media print {
    .brand-nav,
    .hero-cta,
    .product-cta,
    .cta-section,
    .product-cta-section,
    .lightbox,
    .zoom-hint {
        display: none;
    }
    
    .product-showcase {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
    }
}