/* UrionSoft - Common Styles */
/* These styles are shared across all product pages */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
    min-height: 100vh;
}

/* Navigation Bar */
nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

nav .logo {
    font-size: 1.5em;
    font-weight: 700;
    color: #004B66;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav ul li {
    padding: 0;
}

nav ul li::before {
    content: none;
}

nav a {
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
}

nav a:hover {
    color: #004B66;
    opacity: 1;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    color: #2c3e50;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px;
}

section {
    margin-bottom: 60px;
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 60px 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

h1 {
    font-size: 3em;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.6em;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 25px;
    letter-spacing: -0.2px;
}

p {
    margin: 15px 0;
    font-size: 1.05em;
    line-height: 1.8;
}

a {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    /* Color defined in page-specific CSS */
}

a:hover {
    text-decoration: none;
    opacity: 0.8;
    /* Hover style defined in page-specific CSS */
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05em;
}

ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2em;
}

/* Button System */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.btn-primary {
    background: #004B66;
    color: #fff;
}

.btn-primary:hover {
    background: #003d52;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,75,102,0.3);
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    border: 2px solid currentColor;
}

.btn-secondary:hover {
    background: rgba(0,0,0,0.05);
    opacity: 1;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1em;
}

img.responsive-img {
    width: 100%;
    max-width: 250px;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Video Container Styles */
.video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    text-align: left;
    margin: 40px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.video-container img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

.video-container iframe {
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    display: block;
    border-radius: 16px;
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 0, 0, 1);
}

.play-button::after {
    content: '▶';
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin-left: 3px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .video-container {
        max-width: 90%;
    }

    .video-container img {
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .video-container {
        max-width: 100%;
    }

    .video-container img {
        max-width: 250px;
    }
}

/* Screenshot Container */
.screenshot-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.screenshot-small {
    width: 300px !important;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.screenshot-small:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    filter: brightness(1.05);
}

.screenshot-small:active {
    transform: scale(0.98);
}

/* Footer */
footer {
    color: #fff;
    padding: 60px 30px 30px;
    margin-top: 80px;
    font-size: 0.95em;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-column p {
    margin: 10px 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    padding: 8px 0;
    padding-left: 0;
}

.footer-column ul li::before {
    content: none;
}

.footer-column a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #fff;
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2em;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.social-links a svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    transition: fill 0.3s ease;
}

/* Couleurs au hover pour chaque réseau */
.social-links a:nth-child(1):hover {
    background: #1DA1F2;
}

.social-links a:nth-child(2):hover {
    background: #FF0000;
}

.social-links a:nth-child(3):hover {
    background: #000000;
}

.social-links a:nth-child(4):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9em;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

/* Download Section CTA */
#download {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
    padding: 50px 40px !important;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

#download h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

#download p {
    font-size: 1.15em;
    margin-bottom: 35px;
    color: #495057;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.download-buttons a {
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    display: inline-block;
    background: none !important;
}

.download-buttons a:hover {
    transform: translateY(-3px);
    background: none !important;
}

.download-buttons img {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.download-buttons a:hover img {
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* YouTube Shorts Container */
.shorts-container {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.short-wrapper {
    position: relative;
    width: 250px;
    height: 444px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.short-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.short-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.short-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.short-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

/* Badges/Tags */
.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.badge.free {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.badge.premium {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.badge.new {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.badge.levels {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.badge.multiplatform {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px;
        gap: 15px;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    main {
        padding: 40px 20px;
    }

    section {
        padding: 40px 30px;
        margin-bottom: 40px;
    }
}
