/* css/product-style.css - Styles for Product Pages ONLY */

/* --- Product Page Hero --- */
.product-hero {
    text-align: center;
    padding: 60px 20px;
}

.product-hero h1 {
    /* The animation is now global. We only define the size here. */
    font-size: 3.5em;
}

.product-hero .description {
    font-size: 1.3em;
    max-width: 700px;
    margin: 1em auto 0 auto;
    color: var(--text-light);
}

.page-section {
    padding: 60px 0 20px 0;
}

.page-section:first-child {
    padding-top: 20px;
}

.page-section h2 {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5em;
    margin: 0 auto 1.5em auto;
    max-width: 400px;
}

/* --- Downloads Section Styles --- */
.downloads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.download-card {
    background-color: var(--bg-secondary);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.software-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.software-card-icon {
    font-size: 1.5em;
    color: var(--accent-color);
}

.download-card h3 {
    font-size: 1.3em;
    margin: 0;
    font-weight: 600;
}

.download-card p {
    margin: 0 0 20px 0;
    color: var(--text-light);
    flex-grow: 1;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.button-group a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    background: var(--text-color);
    color: var(--bg-color);
}

.button-group a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.button-group a.playstore {
    background-color: #00b894;
    color: #fff;
}

.button-group a.secondary {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

/* --- Interactive Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5em;
    color: var(--accent-color);
    margin-bottom: 0.5em;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.2em;
    margin: 0.5em 0;
    font-weight: 600;
}

.feature-card p {
    margin: 0;
    color: var(--text-light);
}

/* --- Carousel Gallery Styles --- */
.carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 400px;
    transition: transform 250ms ease-in;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    z-index: 1;
}

.carousel-button:hover {
    background: #fff;
}

.carousel-button--left {
    left: -20px;
}

.carousel-button--right {
    right: -20px;
}

.carousel-button.is-hidden {
    display: none;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
}

.carousel-dot {
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
}

.carousel-dot.is-selected {
    background: var(--accent-color);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .product-hero h1 {
        font-size: 2.8em;
    }

    .carousel-button--left {
        left: 10px;
    }

    .carousel-button--right {
        right: 10px;
    }
}

@media (max-width: 600px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .carousel-track {
        height: 300px;
    }
}
.product-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

.product-hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 24px;
}

.product-hero h1 {
    font-size: 3em;
    margin-bottom: 16px;
}

.product-hero .description {
    font-size: 1.2em;
    max-width: 650px;
    color: var(--text-light);
}