/* ==========================================================
   MY AI BUILD
   STYLE.CSS
========================================================== */

:root {

    --bg: #070B1A;
    --bg-secondary: #0D1329;

    --card: #10172F;

    --text: #F5F7FF;
    --text-muted: #AAB3D1;

    --accent: #6D5DFE;
    --accent-hover: #8477FF;

    --border: rgba(255, 255, 255, .08);

    --radius: 24px;

    --container: 1200px;

    --shadow:
        0 20px 60px rgba(0, 0, 0, .35);

}

/* ==========================================================
RESET
========================================================== */

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

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Inter', sans-serif;

    background: var(--bg);

    color: var(--text);

    overflow-x: hidden;

    line-height: 1.7;

}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ==========================================================
CONTAINER
========================================================== */

.container {

    width: min(var(--container),
            92%);

    margin: auto;

}

/* ==========================================================
BACKGROUND
========================================================== */

.hero-background {

    position: fixed;

    inset: 0;

    z-index: -1;

    overflow: hidden;

    pointer-events: none;

}

.hero-background img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    opacity: .08;

    filter: blur(10px);

}

/* ==========================================================
HEADER
========================================================== */

.header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 80px;

    z-index: 999;

    background:
        rgba(7, 11, 26, .85);

    backdrop-filter:
        blur(14px);

    border-bottom:
        1px solid var(--border);

}

.navbar {

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo {

    display: flex;

    align-items: center;

    gap: 12px;

    font-weight: 700;

    color: white;

}

.logo img {

    width: 50px;

    height: 50px;

    border-radius: 50%;

}

.nav-links {

    display: flex;

    gap: 32px;

}

.nav-links a {

    color: var(--text-muted);

    transition: .3s;

}

.nav-links a:hover {

    color: white;

}

/* ==========================================================
BUTTONS
========================================================== */

.btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        16px 32px;

    border-radius: 16px;

    background:
        linear-gradient(90deg,
            #6D5DFE,
            #8B7BFF);

    color: white;

    font-weight: 600;

    transition: .3s;

    border: none;

    cursor: pointer;

}

.btn-primary:hover {

    transform:
        translateY(-3px);

}

.btn-secondary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        16px 32px;

    border-radius: 16px;

    border:
        1px solid var(--border);

    color: white;

    transition: .3s;

}

.btn-secondary:hover {

    background:
        rgba(255, 255, 255, .05);

}

/* ==========================================================
HERO
========================================================== */

.hero {

    display: flex;

    align-items: center;

    padding-top: 120px;
    padding-bottom: 40px;

}

.hero-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    align-items: center;
}

.hero-badge {

    display: inline-flex;

    padding:
        10px 18px;

    border-radius: 999px;

    border:
        1px solid var(--border);

    background:
        rgba(255, 255, 255, .03);

    margin-bottom: 24px;

}

.hero h1 {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    text-align: center;
    max-width: none;
}

.gradient {

    background:
        linear-gradient(90deg,
            #6D5DFE,
            #9D8DFF);

    -webkit-background-clip: text;

    -webkit-text-fill-color:
        transparent;

}

.hero-highlight {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.hero p {

    font-size: 20px;

    color: var(--text-muted);

    margin-bottom: 32px;

    max-width: 650px;

}

.hero-buttons {

    display: flex;

    gap: 16px;

    margin-bottom: 32px;

}

.hero-features {

    display: flex;

    gap: 24px;

    flex-wrap: wrap;

    color: var(--text-muted);

}

.hero-image {

    position: relative;

}

.hero-image img {

    max-width: 650px;
    width: 100%;

    border-radius: 24px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    animation: float 6s ease-in-out infinite;

}


/* ==========================================================
TOOLS
========================================================== */

.trusted-tools {

    padding: 20px 0;

}

.tools-title {

    text-align: center;

    color: var(--text-muted);

    margin-bottom: 24px;

}

.tools-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 20px;

}

.tool {

    background:
        rgba(255, 255, 255, .03);

    border:
        1px solid var(--border);

    padding: 20px;

    text-align: center;

    border-radius: 18px;

}

/* ==========================================================
SECTIONS
========================================================== */

section {

    position: relative;

    padding: 90px 60px 50px 60px;


}

.section-header {

    text-align: center;

    max-width: 800px;

    margin: 0 auto 80px;

}

.section-tag {

    display: inline-flex;

    padding: 10px 18px;

    border-radius: 999px;

    border: 1px solid var(--border);

    background: rgba(255, 255, 255, .03);

    margin-bottom: 20px;

    font-size: 14px;

    font-weight: 600;

    color: var(--accent);

}

.section-header h2 {

    font-size: 56px;

    font-weight: 800;

    line-height: 1.1;

    margin-bottom: 20px;

}

.section-header p {

    font-size: 18px;

    color: var(--text-muted);

}

.align-right {
    text-align: right;
}

/* ==========================================================
SOLUTIONS
========================================================== */


.solutions-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

.solution-card {

    background: rgba(255, 255, 255, .03);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 40px;

    backdrop-filter: blur(12px);

    transition: .35s ease;

}

.solution-card:hover {

    transform: translateY(-8px);

    border-color: rgba(109, 93, 254, .4);

}

.solution-card h3 {

    font-size: 24px;

    margin-bottom: 16px;

}

.solution-card p {

    color: var(--text-muted);

}

/* ==========================================================
PORTFOLIO
========================================================== */

.portfolio {

    overflow: hidden;

}

.portfolio-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;

}

.portfolio-card {

    background: rgba(255, 255, 255, .03);

    border: 1px solid var(--border);

    border-radius: 28px;

    overflow: hidden;

    backdrop-filter: blur(16px);

    transition:
        transform .4s ease,
        border-color .4s ease,
        box-shadow .4s ease;

}

.portfolio-card:hover {

    transform: translateY(-10px);

    border-color:
        rgba(109, 93, 254, .4);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .35);

}

.portfolio-image {

    overflow: hidden;

}

.portfolio-image img {

    width: 100%;

    aspect-ratio: 16/9;

    object-fit: cover;

    transition: transform .6s ease;

}

.portfolio-card:hover .portfolio-image img {

    transform: scale(1.04);

}

.portfolio-content {

    padding: 28px;

}

.portfolio-content h3 {

    font-size: 24px;

    margin-bottom: 16px;

    line-height: 1.3;

}

.portfolio-content p {

    color: var(--text-muted);

    margin-bottom: 20px;

}

.portfolio-content ul {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.portfolio-content li {

    color: var(--text-muted);

    font-size: 15px;

}

.portfolio-badges {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 18px;

}

.portfolio-badges span {

    padding: 8px 12px;

    border-radius: 999px;

    background:
        rgba(109, 93, 254, .15);

    border:
        1px solid rgba(109, 93, 254, .25);

    font-size: 13px;

    font-weight: 600;

}

/* ==========================================================
PROCESS
========================================================== */

.process-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 24px;

}

.process-card {

    background: rgba(255, 255, 255, .03);

    border: 1px solid var(--border);

    padding: 40px 30px;

    border-radius: 24px;

    transition: .35s ease;

}

.process-card:hover {

    transform: translateY(-8px);

    border-color:
        rgba(109, 93, 254, .35);

}

.step {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(135deg,
            #6D5DFE,
            #9A8CFF);

    font-size: 22px;

    font-weight: 800;

    margin-bottom: 24px;

}

.process-card h3 {

    font-size: 24px;

    margin-bottom: 14px;

}

.process-card p {

    color: var(--text-muted);

}


/* ==========================================================
ABOUT
========================================================== */

.about {

    position: relative;

    overflow: hidden;

}

.about-grid {

    display: grid;

    grid-template-columns:
        420px 1fr;

    gap: 80px;

    align-items: center;

}

.about-image {

    display: flex;

    justify-content: center;

    align-items: center;

}

.about-image img {

    width: 100%;

    max-width: 320px;

    border-radius: 50%;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    padding: 20px;

    background: rgba(255, 255, 255, .03);

}

.about-content h2 {

    font-size: 52px;

    margin-bottom: 24px;

}

.about-content p {

    color: var(--text-muted);

    margin-bottom: 20px;

    font-size: 18px;

}

.certification {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 16px 24px;

    border-radius: 18px;

    background:
        rgba(109, 93, 254, .12);

    border:
        1px solid rgba(109, 93, 254, .25);

    font-weight: 600;

    margin: 20px 0;

}

.about-skills {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
    justify-content: center;

}

.about-skills span {

    padding: 10px 16px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid var(--border);

    font-size: 14px;

}

/* ==========================================================
INDUSTRIES
========================================================== */



.industries-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 24px;

}

.industry-card {

    background:
        rgba(255, 255, 255, .03);

    border:
        1px solid var(--border);

    border-radius: 24px;

    padding: 32px;

    transition: .35s ease;

}

.industry-card:hover {

    transform: translateY(-8px);

    border-color:
        rgba(109, 93, 254, .35);

}

.industry-card h3 {

    font-size: 24px;

    margin-bottom: 24px;

}

.industry-card ul {

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.industry-card li {

    color: var(--text-muted);

}

/* ==========================================================
FAQ
========================================================== */

.faq {

    position: relative;

}

.faq-list {

    max-width: 900px;

    margin: auto;

    display: flex;

    flex-direction: column;

    gap: 20px;

}

.faq-item {

    background:
        rgba(255, 255, 255, .03);

    border:
        1px solid var(--border);

    border-radius: 24px;

    padding: 30px;

    transition: .35s ease;

}

.faq-item:hover {

    border-color:
        rgba(109, 93, 254, .35);

}

.faq-item h3 {

    font-size: 22px;

    margin-bottom: 15px;

}

.faq-item p {

    color: var(--text-muted);

    line-height: 1.8;

}


/* ==========================================================
REVEAL ANIMATION PREP
========================================================== */

.reveal {

    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}

.reveal.active {

    opacity: 1;

    transform: none;

}

/* ==========================================================
CONTACT
========================================================== */

.contact {

    position: relative;

    overflow: hidden;

}

.contact-grid {

    display: grid;

    grid-template-columns: 380px 1fr;

    gap: 40px;

    align-items: start;

}

.contact-info {

    display: flex;

    flex-direction: column;

    gap: 20px;

}

.contact-card {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 24px;

    background:
        rgba(255, 255, 255, .03);

    border:
        1px solid var(--border);

    border-radius: 24px;

    transition: .35s ease;

}

.contact-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(109, 93, 254, .35);

}

.contact-icon {

    width: 56px;

    height: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

    border-radius: 16px;

    background:
        rgba(109, 93, 254, .12);

}

.contact-card h3 {

    font-size: 18px;

    margin-bottom: 4px;

}

.contact-card a {

    color: var(--text-muted);

    transition: .3s;

}

.contact-card a:hover {

    color: white;

}

.contact-form {

    background:
        rgba(255, 255, 255, .03);

    border:
        1px solid var(--border);

    border-radius: 32px;

    padding: 40px;

    backdrop-filter: blur(16px);

}

.form-group {

    margin-bottom: 20px;

}

.contact-form input,
.contact-form textarea {

    width: 100%;

    padding: 18px 20px;

    background:
        rgba(255, 255, 255, .03);

    border:
        1px solid var(--border);

    border-radius: 18px;

    color: white;

    font-family: inherit;

    font-size: 16px;

    outline: none;

    transition: .3s;

}

.contact-form input:focus,
.contact-form textarea:focus {

    border-color:
        rgba(109, 93, 254, .5);

    box-shadow:
        0 0 0 4px rgba(109, 93, 254, .12);

}

.contact-form textarea {

    resize: vertical;

    min-height: 180px;

}

/* ==========================================================
FOOTER
========================================================== */

.footer {

    padding: 80px 0 40px;

    border-top:
        1px solid var(--border);

    background: #050814;

}

.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 50px;

    margin-bottom: 50px;

}

.footer-brand img {

    width: 80px;

    margin-bottom: 20px;

}

.footer-brand h3 {

    margin-bottom: 10px;

}

.footer-brand p {

    color: var(--text-muted);

}

.footer-links h4 {

    margin-bottom: 20px;

}

.footer-links ul {

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.footer-links a {

    color: var(--text-muted);

    transition: .3s;

}

.footer-links a:hover {

    color: white;

}

.footer-bottom {

    padding-top: 30px;

    border-top:
        1px solid var(--border);

    text-align: center;

    color: var(--text-muted);

}

/* ==========================================================
HAMBURGER
========================================================== */

.hamburger {

    display: none;

    background: none;

    border: none;

    cursor: pointer;

}

.hamburger span {

    display: block;

    width: 28px;

    height: 2px;

    background: white;

    margin: 6px 0;

    transition: .3s;

}

/* ==========================================================
ANIMATIONS
========================================================== */

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }

}

@keyframes fadeUp {

    from {

        opacity: 0;

        transform:
            translateY(40px);

    }

    to {

        opacity: 1;

        transform: none;

    }

}

/* ==========================================================
TABLETTE
========================================================== */

@media(max-width:1024px) {

    .btn-contact {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        transform: translateX(-50%);
        background: rgba(7, 11, 26, .98);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 20px;
        padding: 25px;
        gap: 20px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
        align-items: flex-end;
        right: -65px;
    }

    .hamburger {
        display: block;
    }

    .hero-grid,
    .about-grid,
    .contact-grid {

        grid-template-columns: 1fr;

    }

    .hero {

        padding-top: 160px;

    }

    .hero h1 {

        font-size: 56px;

    }

    .portfolio-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .solutions-grid {

        grid-template-columns:
            1fr;

    }

    .process-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .industries-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .footer-grid {

        grid-template-columns:
            1fr;

    }

}

/* ==========================================================
MOBILE
========================================================== */

@media(max-width:768px) {


    .hero h1 {

        font-size: 42px;

    }

    .hero p {

        font-size: 18px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .hero-features {

        flex-direction: column;

        gap: 10px;

    }

    .tools-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .portfolio-grid {

        grid-template-columns: 1fr;

    }

    .process-grid {

        grid-template-columns: 1fr;

    }

    .industries-grid {

        grid-template-columns: 1fr;

    }

    .contact-grid {

        grid-template-columns: 1fr;

    }

    .section-header h2 {

        font-size: 38px;

    }

    .about-content h2 {

        font-size: 38px;

    }

    .contact-form {

        padding: 25px;

    }

    .footer {

        text-align: center;

    }

    .footer-brand img {

        margin: auto auto 20px;

    }

}

/* ==========================================================
SMALL MOBILE
========================================================== */

@media(max-width:480px) {



    .hero h1 {

        font-size: 34px;

    }

    .btn-primary,
    .btn-secondary {

        width: 100%;

    }

    .tools-grid {

        grid-template-columns: 1fr;

    }

    .section-header h2 {

        font-size: 32px;

    }

}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.hero-image img {
    animation: floating 6s ease-in-out infinite;
}

/* ==========================================
POPUP SUCCÈS
========================================== */

.success-popup {

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .75);

    display: none;

    justify-content: center;
    align-items: center;

    z-index: 9999;

    backdrop-filter: blur(8px);

}

.success-popup.active {

    display: flex;

}

.success-card {

    background: #0B1335;

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    padding: 40px;

    max-width: 500px;

    width: 90%;

    text-align: center;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);

}

.success-card h2 {

    font-size: 38px;

    margin-bottom: 16px;

}

.success-card p {

    font-size: 18px;

    color: #BFC7E0;

    margin-bottom: 24px;

    line-height: 1.6;

}

.success-card button {

    background: linear-gradient(90deg,
            #6D5DFE,
            #C84FFF);

    border: none;

    color: white;

    padding: 14px 28px;

    border-radius: 12px;

    font-weight: 700;

    cursor: pointer;

}

/* LIGHTBOX */
.zoomable{cursor:pointer;}
.image-lightbox{
position:fixed;inset:0;background:rgba(0,0,0,.9);
display:none;justify-content:center;align-items:center;z-index:100000;
}
.image-lightbox.active{display:flex;}
.image-lightbox img{max-width:95%;max-height:95vh;border-radius:12px;}
.close-lightbox{
position:absolute;top:20px;right:30px;font-size:50px;color:#fff;cursor:pointer;
}
