/* 
* UGO - Static Website
* Based on the UGO design guidelines
* Colors: 
* - Teal (#0f9c9c)
* - Light teal (#add9d9)
* - Green (#99cc33)
* - Black (#1a1a1a, #232421)
*/

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
    background-color: #1a1a1a;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-align: center;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0f9c9c;
    color: white;
}

.btn-primary:hover {
    background-color: #0d8a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 156, 156, 0.3);
}

.btn-outline {
    border: 1px solid #4a4a4a;
    color: white;
}

.btn-outline:hover {
    border-color: #0f9c9c;
    color: #0f9c9c;
    transform: translateY(-2px);
}

.btn-light {
    background-color: white;
    color: #1a1a1a;
}

.btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-light-outline {
    border: 1px solid white;
    color: white;
}

.btn-light-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center; /* Centre les boutons en disposition colonne */
}

@media (min-width: 576px) {
    .button-group {
        flex-direction: row;
        justify-content: center; /* Centre les boutons en disposition ligne */
    }
}

/* Badge */
.badge {
    display: inline-block;
    background-color: #0f9c9c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: scale(1.05);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 4.5rem;
}

.desktop-nav {
    display: none;
}

.nav-link {
    margin-left: 1.5rem;
    color: white;
    font-weight: 500;
}

.nav-link:hover {
    color: #0f9c9c;
}

.mobile-menu-toggle {
    display: block;
    z-index: 101;
}

.mobile-menu-toggle button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: white;
}

.menu-icon, .close-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.close-icon {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #232421;
    z-index: 99;
    overflow: hidden;
    transition: height 0.3s ease;
}

.mobile-menu.open {
    height: auto;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav .nav-link {
    margin-left: 0;
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #232421 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: #c0c0c0;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.image-container:hover {
    transform: scale(1.02);
}

.image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.gradient-text {
    background: linear-gradient(90deg, #ffffff, #0f9c9c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@media (min-width: 992px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
    }
    
    .hero-text, .hero-image {
        flex: 1;
    }
}

/* Business Types Section */
.business-types-section {
    padding: 5rem 0;
    background-color: #232421;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.5rem 1rem;
    background-color: #333;
    color: #c0c0c0;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover {
    background-color: #444;
}

.tab-btn.active {
    background-color: #0f9c9c;
    color: white;
    box-shadow: 0 0 15px rgba(15, 156, 156, 0.3);
}

.tab-content {
    display: none;
    background-color: #333;
    border-radius: 0.5rem;
    overflow: hidden;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.tab-content-inner {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tab-content-text h3 {
    margin-bottom: 1rem;
    color: white;
}

.tab-content-text p {
    color: #c0c0c0;
}

.tab-content-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #232421;
    border-radius: 0.375rem;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    color: #0f9c9c;
}

.check-icon {
    color: #0f9c9c;
}

.x-icon {
    color: #e53e3e;
}

@media (min-width: 768px) {
    .tab-content-inner {
        flex-direction: row;
    }
    
    .tab-content-text, .tab-content-features {
        flex: 1;
    }
    
    .tab-content-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CCQ Section */
.ccq-section {
    padding: 5rem 0;
    background: linear-gradient(90deg, #0d7a7a 0%, #0f9c9c 100%);
    color: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.ccq-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ccq-benefits {
    flex: 1;
}

.card {
    background-color: #333;
    border-radius: 0.5rem;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #0f9c9c;
    margin-bottom: 1.5rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.ccq-image {
    flex: 2;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (min-width: 992px) {
    .ccq-content {
        flex-direction: row;
    }
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-box {
    background-color: #232421;
    border: 1px solid #333;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: #0f9c9c;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: #0d4c4c;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    color: #0f9c9c;
}

.feature-box h3 {
    margin-bottom: 0.75rem;
    color: white;
}

.feature-box p {
    color: #c0c0c0;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile App Section */
.mobile-app-section {
    padding: 5rem 0;
    background-color: #232421;
    position: relative;
    overflow: hidden;
}

.mobile-app-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mobile-app-image {
    position: relative;
    margin: 0 auto;
    max-width: 300px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.mobile-app-image:hover {
    transform: scale(1.05);
}

.mobile-app-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 156, 156, 0.3), transparent);
    pointer-events: none;
}

.mobile-app-text h2 {
    text-align: left;
    margin-bottom: 0.75rem;
}

.mobile-app-text p {
    font-size: 1.25rem;
    color: #c0c0c0;
    margin-bottom: 2rem;
}

.mobile-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mobile-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #333;
    border-radius: 0.375rem;
    transition: transform 0.3s ease;
}

.mobile-feature:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .mobile-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .mobile-app-content {
        flex-direction: row;
        align-items: center;
    }
    
    .mobile-app-image, .mobile-app-text {
        flex: 1;
    }
}

.feature-name {
    color: #f0f0f0;
}

.feature-ugo, .feature-others {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background-color: #232421;
}

.pricing-plans {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-plan {
    background-color: #333;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    border: 1px solid #444;
}

.pricing-plan:hover {
    transform: translateY(-10px);
}

.pricing-plan.popular {
    border-color: #0f9c9c;
    box-shadow: 0 0 30px rgba(15, 156, 156, 0.2);
    z-index: 1;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #0f9c9c;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-top-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.pricing-plan h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 2rem;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.period {
    color: #c0c0c0;
    font-size: 1rem;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #c0c0c0;
}

@media (min-width: 768px) {
    .pricing-plans {
        flex-direction: row;
    }
    
    .pricing-plan {
        flex: 1;
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(90deg, #084e4e 0%, #0f9c9c 100%);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 4.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #c0c0c0;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #333;
    border-radius: 50%;
    color: #c0c0c0;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #0f9c9c;
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-links-group h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-group a {
    color: #c0c0c0;
    transition: color 0.3s ease;
}

.footer-links-group a:hover {
    color: #0f9c9c;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #888;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #888;
}

.footer-legal a:hover {
    color: #0f9c9c;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Background Patterns */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px), 
                      radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    pointer-events: none;
    opacity: 0.5;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInLeft {
    from { 
        opacity: 0;
        transform: translateX(-20px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from { 
        opacity: 0;
        transform: translateX(20px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in, 
.animate-fade-in-left, 
.animate-fade-in-right, 
.animate-fade-in-up {
    animation-fill-mode: forwards !important;
}

.visible {
    opacity: 1 !important;
    visibility: visible !important;
}
