/*** GENERAL ***/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #fff;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 100px;
}

html {
  scroll-behavior: smooth;
}

main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}






/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    box-sizing: border-box;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
}

.app-title {
    font-size: 30px;
    font-weight: 600;
    color: #5280fc;
}

.btn-home {
    padding: 12px 28px;
    background: transparent;
    border: 2px solid #5280fc;
    color: #5280fc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-home:hover {
    background: #5280fc;
    color: white;
    transform: translateY(-2px);
}


/* Hero Section */
.hero {
    padding: 100px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h2{
    margin-bottom: 0.2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.logo-hero{
  width: 90px;
  height: 90px;
  margin-right: 1rem;
}


h1 {
    font-size: 56px;
    color: #5280fc;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 24px;
    color: #5280fc;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
}

.btn-primary {
    margin-top: 3rem;
    padding: 18px 45px;
    background: linear-gradient(135deg, #56f6e4 0%, #5b29ef 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(82,128,252,0.3);
    width: 15rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(82,128,252,0.4);
}




/* Features Section */
.features {
    padding: 80px 20px;
    padding-top: 0;
    background: linear-gradient(135deg, #56f6e4 0%, #5b29ef 100%);
    width: 100%;
    box-sizing: border-box;
}

.section-title1 {
    text-align: center;
    font-size: 42px;
    color: white;
    margin-bottom: 60px;
    font-weight: 700;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255,255,255,0.95);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex: 1 1 240px;
    min-width: 240px;
    max-width: 280px;
}

.feature-card-title{
    display: flex;
    flex-direction: row;
    align-items:center;
}




.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #5280fc 0%, #5b29ef 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 26px;
    margin-right: 1.2rem;
    flex-shrink: 0;
    color: #fff;
}

.feature-card h3 {
    font-size: 20px;
    color: #5b29ef;
    /*margin-bottom: 12px;*/
    font-weight: 600;
}

.feature-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}




/* Screenshots Section */

.section-title2{
    text-align: center;
    font-size: 42px;
    color: #5280fc;
    margin-bottom: 60px;
    font-weight: 700;
}

.screenshots {
    padding: 50px 20px;
    background: white;
}

.screenshots-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    flex: 1 1 200px;
    min-width: 230px;
    max-width: 260px;
}

.screenshot-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(82,128,252,0.3);
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
}


.screenshot-card img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.screenshot-caption {
    margin-top: 12px;
    text-align: center;
    font-size: 0.95rem;
    color: #5b29ef;
}






/* CTA Section */
.cta {
    margin: 60px 50px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    text-align: center;
    border: 2px solid #5280fc;
    border-radius: 10px;
    justify-content: center;
}

.cta h2 {
    padding: 1rem;
    font-size: 38px;
    color: #5280fc;
    margin: 50px 50px;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-web {
    padding: 18px 45px;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #56f6e4 0%, #5b29ef 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(82,128,252,0.3);
    text-decoration: none;
}

.btn-web:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(82,128,252,0.4);
}

.btn-android {
    padding: 18px 45px;
    background: white;
    color: #5280fc;
    border: 2px solid #5280fc;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-android:hover {
    background: #5280fc;
    color: #56f6e4;
    transform: translateY(-3px);
}





/*** FOOTER ***/
footer {
  background: linear-gradient(135deg, #56f6e4 0%, #5b29ef 100%);
  border-top:1px solid #ddd;
  padding:20px;
  text-align:center;
  color: white;
}

footer a{
  color: white;
}

.footer-socials {
  margin-bottom: 1rem;
}

.footer-socials a {
  color: white;
  margin: 0 1.2rem;
  font-size: 2.5rem;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
  color: #5b29ef;
  transform: scale(1.1);
}


.PortfolioLink{
  margin-bottom: 1.5rem;
}







/* Media Queries pour l'adaptation mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 15px 20px;
        width: 100%;
        box-sizing: border-box;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }
    
    .hero {
        padding: 80px 20px;
    }
    

    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    .logo {
        width: 35px;
        height: 35px;
    }
    
    .app-title {
        font-size: 20px;
    }


    .section-title1, .section-title2{
        font-size: 28px;
        margin-top: 0;
        margin-bottom: 1.2rem;
    }
    
    .btn-home {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .features {
        padding: 60px 15px;
        padding-top: 30px;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .feature-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .feature-card p{
        margin-top: 0;
    }
    
    .screenshots {
        padding: 40px 15px;
    }
    
    .screenshots-grid {
        gap: 20px;
    }
    
    .screenshot-card {
        flex: 1 1 100%;
        max-width: 260px;
    }
    
    .cta {
        margin: 40px 20px;
    }
    
    .cta h2 {
        font-size: 28px;
        margin: 30px 20px;
    }
}
