/* ----------------------------------------------------------- */
/* HERO SECTION (3D Layout) */
/* ----------------------------------------------------------- */
.product-hero {
    padding: 8rem 0 6rem 0;
    width: 100%;
    max-width: var(--mw-content);
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 10rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-top: 8rem;
}

.hero-text { flex: 1; }

.product-headline {
    font-size: 3.5rem; 
    font-weight: 700; 
    color: var(--text-color);
    line-height: 1.1; 
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.product-subheading {
    font-size: 1.1rem; 
    color: var(--text-subtle); /* Defined in global.css */
    line-height: 1.7; 
    margin-bottom: 2.5rem;
    max-width: 90%;
    
    /* THE FIXES */
    text-align: center;      /* Centers the text lines */
    margin-inline: auto;     /* Centers the container on the page */
}
/* 3D Visual Mockup */
.hero-visual {
    flex: 1.2;
    perspective: 93.75rem; /* 1500px */
}

.interface-mockup {
    position: relative;
    border-radius: 1rem; /* 16px */
    overflow: hidden;
    box-shadow: 0 1.875rem 3.75rem rgba(0,0,0,0.15); /* 30px 60px */
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    
    /* 3D Properties */
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.interface-mockup img { width: 100%; height: auto; display: block; }

.reflection-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none; z-index: 2;
}

/* ----------------------------------------------------------- */
/* VALUE PROP */
/* ----------------------------------------------------------- */
.value-prop-section { padding: 0 2rem; margin-bottom: 10rem; display: flex; justify-content: center; }

.glass-monolith {
    max-width: 60rem; background: var(--surface-color);
    backdrop-filter: blur(1.875rem); /* 30px */
    -webkit-backdrop-filter: blur(1.875rem);
    border: 1px solid var(--border-color); border-radius: 1.5rem; /* 24px */
    padding: 4rem 3rem; text-align: center; box-shadow: var(--card-shadow);
    position: relative; overflow: hidden;
}

.glass-monolith::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, var(--aurora-1), transparent 70%);
    opacity: 0.1; pointer-events: none;
}

.glass-monolith h2 { font-size: 2.5rem; font-weight: 700; color: var(--text-color); margin-bottom: 1.5rem; }
.glass-monolith p { font-size: 1.15rem; color: var(--text-subtle); line-height: 1.8; }

/* ----------------------------------------------------------- */
/* FEATURES GRID */
/* ----------------------------------------------------------- */
.features-section { padding: 0 2rem; margin-bottom: 10rem; }
.section-headline { text-align: center; font-size: 2.5rem; font-weight: 700; margin-bottom: 5rem; }

.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    max-width: var(--mw-content); margin: 0 auto;
}

.feature-tile {
    background: var(--bg-color); 
    padding: 3rem 2rem; 
    border-radius: 1.25rem; /* 20px */
    border: 1px solid var(--border-color);
    display: flex; flex-direction: column; align-items: flex-start;
    transition: all 0.3s ease;
}

.feature-tile:hover {
    background: var(--surface-color);
    transform: translateY(-0.5rem); /* -8px */
    box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,0.05); /* 20px 40px */
    border-color: var(--text-color);
}

.tile-icon {
    font-size: 2rem; color: var(--text-color); margin-bottom: 1.5rem;
    width: 3.5rem; height: 3.5rem; display: flex; justify-content: center; align-items: center;
    border-radius: 0.75rem; /* 12px */
    background: var(--surface-color); border: 1px solid var(--border-color);
    transition: background 0.3s;
}

.feature-tile:hover .tile-icon {
    background: var(--text-color); color: var(--bg-color);
    box-shadow: 0 0 1.25rem var(--aurora-1); /* 20px */
    transform: rotate(5deg);
}

.feature-tile h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--text-color); }
.feature-tile p { font-size: 0.95rem; color: var(--text-subtle); line-height: 1.6; }

.feature-tile.special-tile { background: linear-gradient(135deg, var(--aurora-1), transparent); border: 1px solid rgba(255,255,255,0.2); }

.bottom-cta { text-align: center; margin-bottom: 5rem; }

/* Standardize Desktop Spacing */
.product-hero {
    padding: 0rem 2rem 0rem 2rem; /* Aligns top padding with Home Hero */
    margin-bottom: 8rem; /* Standard section gutter */
}

.value-prop-section, 
.features-section {
    margin-bottom: 8rem; /* Matches Home section gaps */
}

.footer {
    margin-top: 8rem; /* Consistent footer push */
}

/* Laptop & Tablet (Max 64rem / 1024px) */
@media (max-width: 64rem) {
    
    /* 1. HEADER & HERO SPACING */
    .product-hero {
        padding: 4rem 1.5rem; /* Matches Home hero mobile padding */
        margin-bottom: 4rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding-top: 2rem;
    }

    .product-headline {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    /* 2. SECTION GAPS & MONOLITH */
    .value-prop-section, 
    .features-section {
        margin-bottom: 4rem; /* Aligns with Home showcased sections */
        padding: 0 1.5rem;
    }

    .glass-monolith {
        padding: 3rem 2rem;
        width: 100%;
    }

    /* 3. FEATURES GRID (ORIGINAL STYLE PRESERVED) */
    .features-grid {
        grid-template-columns: 1fr; /* Standard 1-column stack as originally coded */
        gap: 2rem;
    }

    .feature-tile {
        align-items: center; /* Centers original vertical layout */
        text-align: center;
        padding: 3rem 2rem;
    }

    .tile-icon {
        margin: 0 auto 1.5rem auto;
    }

    /* 4. FOOTER ALIGNMENT */
    .footer {margin:  0rem; padding: 2rem 0rem;}
}

/* Mobile (Max 48rem / 768px) */
@media (max-width: 48rem) {
    .product-hero {
        padding-top: 3rem;
    }

    .product-headline {
        font-size: 2.2rem;
    }

    .section-headline {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .glass-monolith h2 {
        font-size: 1.8rem;
    }
}