* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0f1020;
  color: white;
  font-family: Arial, sans-serif;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 8%;

    background: rgba(15,16,32,0.8);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;

    background: linear-gradient(
        135deg,
        #ffffff,
        #8b5cf6,
        #06b6d4
    );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}

.logo-v {
    font-size: 38px;

    text-shadow:
        0 0 15px rgba(139,92,246,0.6);
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    transition: 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #8b5cf6;
}

.hero {
  min-height: 70vh;
  padding: 60px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
    font-size: 58px;
    line-height: 1.2;
    margin-bottom: 25px;

    background: linear-gradient(135deg, #ffffff, #8b5cf6, #06b6d4);
    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 19px;
  color: #c7c7d9;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
}

.btn {
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
}

.primary {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    transition: 0.3s;
    box-shadow: 0 0 25px rgba(139,92,246,0.5);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(139,92,246,0.8);
}

.secondary {
  border: 1px solid #8b5cf6;
  color: white;
}

.hero-card {
    width: 650px;
    min-height: 340px;

    border-radius: 30px;

    background: linear-gradient(
        135deg,
        rgba(139,92,246,0.95),
        rgba(6,182,212,0.95)
    );

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 40px 50px;

    box-shadow:
        0 0 70px rgba(139,92,246,0.5);

    border:
        1px solid rgba(255,255,255,0.2);
}

@keyframes floatCard {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
    100% {
        transform: translateY(0);
    }
}


.hero-card h3 {
    font-size: 58px;
    line-height: 1;
    margin-bottom: 25px;
}

.hero-card p {
    margin-top: 20px;
    font-size: 22px;
}
.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px 8%;
    flex-wrap: wrap;
}

.stat-box {
    background: #17182c;
    padding: 35px;
    border-radius: 20px;
    width: 260px;
    text-align: center;
    transition: 0.3s;
}

.stat-box:hover {
    transform: translateY(-8px);
}

.stat-box h2 {
    color: #8b5cf6;
    font-size: 40px;
    margin-bottom: 10px;
}
.services {
    padding: 100px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-title p {
    color: #c7c7d9;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    width: 320px;

    background: rgba(255,255,255,0.05);

    backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,0.1);

    padding: 35px;

    border-radius: 24px;

    transition: 0.3s;

    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(139,92,246,0.4);
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.service-card p {
    color: #c7c7d9;
    line-height: 1.7;
}
.portfolio {
    padding: 100px 8%;
}

.portfolio-grid {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}
.portfolio-card {

    width: 380px;
    height: 280px;

    border-radius: 24px;

    overflow: hidden;

    position: relative;

    cursor: pointer;

    transition: 0.4s;

    background: #17182c;

}
.portfolio-card img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

}

.portfolio-card:hover img {

    transform: scale(1.08);

}

.portfolio-card:hover {

    transform: translateY(-10px);

}

.portfolio-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.15)
    );

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 25px;

}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 24px;

    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: #8b5cf6;
}
.footer {
    margin-top: 100px;
    background: #0a0b16;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {
    padding: 70px 8%;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand h2 {
    color: #8b5cf6;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #c7c7d9;
    line-height: 1.7;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 15px;
}

.footer-links a {
    color: #c7c7d9;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #8b5cf6;
}

.footer-contact p {
    color: #c7c7d9;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #888;
}

    
.page-hero {
    padding: 120px 8% 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.page-hero p {
    color: #c7c7d9;
    font-size: 18px;
}

.services-page {
    padding: 60px 8% 120px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    
}

.service-big-card {
    height:auto;
    background: #17182c;
    padding: 45px;
    border-radius: 24px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.08);
}

.service-big-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(139,92,246,0.35);
}

.service-big-card h2 {
    margin-bottom: 18px;
    font-size: 28px;
}

.service-big-card p {
    color: #c7c7d9;
    line-height: 1.7;
}


.blur-circle {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
}

.blur-1 {
    width: 350px;
    height: 350px;
    background: #8b5cf6;
    top: -100px;
    left: -100px;
}

.blur-2 {
    width: 300px;
    height: 300px;
    background: #06b6d4;
    bottom: -100px;
    right: -100px;
}

.blur-circle {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    z-index: -2;
}
    

.blur-1 {
    width: 380px;
    height: 380px;
    background: #8b5cf6;
    top: -120px;
    left: -120px;
}

.blur-2 {
    width: 360px;
    height: 360px;
    background: #06b6d4;
    bottom: -120px;
    right: -120px;
}

.grid-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}
    

.why-us {
    padding: 120px 8%;
}

.why-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.why-card {
    width: 320px;
    padding: 35px;

    background: rgba(255,255,255,0.05);

    backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 24px;

    transition: 0.3s;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 35px rgba(139,92,246,0.35);
}

.why-card h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.why-card p {
    color: #c7c7d9;
    line-height: 1.7;
}

.cta {
    text-align: center;
    padding: 120px 8%;
}

.cta h2 {
    font-size: 58px;
    margin-bottom: 20px;

    background: linear-gradient(
        135deg,
        #ffffff,
        #8b5cf6,
        #06b6d4
    );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}

.cta p {
    color: #c7c7d9;
    font-size: 20px;
    margin-bottom: 40px;
}
.navbar-scroll {

    background: rgba(10,11,22,0.95);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.3);

    border-bottom:
        1px solid rgba(255,255,255,0.1);

}

.hero-card:hover {

    transform:
        rotateY(8deg)
        rotateX(4deg)
        translateY(-10px);

}




.hero-badge {

    display: inline-block;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.1);

    margin-bottom: 25px;

    color: #c7c7d9;

    font-size: 14px;

    backdrop-filter: blur(10px);

}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88),
        rgba(0,0,0,0.15)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: 0.4s;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: #8b5cf6;
    font-weight: bold;
}
.hero-list {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hero-list p {
    background: rgba(255,255,255,0.12);
    padding: 14px;
    border-radius: 14px;
    font-size: 16px;
}
.about-section {
    padding: 60px 8% 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(15px);
    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(139,92,246,0.35);
}

.about-card h2 {
    margin-bottom: 18px;
}

.about-card p {
    color: #c7c7d9;
    line-height: 1.7;
}


.contact-section {
    padding: 60px 8% 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #c7c7d9;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 15px;
}

.contact-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 35px;
    backdrop-filter: blur(15px);
}
.contact-form .btn {
    width: 100%;
    padding: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0f1020;
    color: white;
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}


.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: 0.8s ease;
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: 0.8s ease;
}

.fade-left.show,
.fade-right.show {
    opacity: 1;
    transform: translateX(0);
}

.fade-up.show,
.fade-left.show,
.fade-right.show {
    opacity: 1;
    transform: translate(0);
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    transition: 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: white;
    border-color: rgba(139,92,246,0.8);
    background: rgba(139,92,246,0.15);
    box-shadow: 0 0 18px rgba(139,92,246,0.35);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    transition: 0.5s;
}

nav a:hover::after {
    width: 100%;
}
nav a.active {
    color: #8b5cf6;
    border-color: rgba(139,92,246,0.5);
    background: rgba(139,92,246,0.08);
}

nav a.active::after {
    width: 100%;
}
.nav-contact {
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        #8b5cf6,
        #06b6d4
    );
    color: white !important;
}
.success-message {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}
.admin-section {
    padding: 40px 8% 120px;
    display: grid;
    gap: 20px;
}

.admin-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 25px;
}

.admin-card h3 {
    color: #8b5cf6;
    margin-bottom: 10px;
}

.admin-card p {
    color: #c7c7d9;
    margin-bottom: 8px;
}
.delete-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;

    background: #ef4444;
    color: white;

    text-decoration: none;

    border-radius: 10px;

    transition: 0.3s;
}

.delete-btn:hover {
    background: #dc2626;
}
.dashboard-cards {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.dashboard-card {
    flex: 1;
    min-width: 220px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 20px;

    padding: 30px;

    text-align: center;
}

.dashboard-card h2 {
    color: #8b5cf6;
    font-size: 36px;
    margin-bottom: 10px;
}

.dashboard-card p {
    color: #c7c7d9;
}
.login-container {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 400px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 20px;

    padding: 40px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-card h1 {
    text-align: center;
}

.login-card input {
    padding: 15px;
    border-radius: 10px;
    border: none;
}

.login-card button {
    padding: 15px;

    border: none;

    border-radius: 10px;

    background: #8b5cf6;

    color: white;

    cursor: pointer;
}
.logout-btn {
    display: inline-block;
    padding: 10px 15px;
    background: #ef4444;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    margin-top: 15px;
}

.logout-btn:hover {
    background: #dc2626;
}
.logout-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #ef4444;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    margin-top: 15px;
    transition: 0.3s;
}

.logout-btn:hover {
    background: #dc2626;
}
/* RESPONSIVE FIX GENERALE */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
}



html, body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto !important;
}
.service-cta {
    padding: 80px 8% 120px;
    text-align: center;
}

.service-cta h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.service-cta .btn {
    padding: 18px 36px;
    font-size: 17px;
}

.service-cta p {
    color: #c7c7d9;
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.7;
}


.faq-mini {
    padding: 40px 8% 80px;
    text-align: center;
}

.faq-mini h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.faq-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 18px;

    padding: 30px;

    margin: 15px auto;

    max-width: 700px;
}

.faq-card h3 {
    margin-bottom: 18px;
    color: #8b5cf6;
}

.faq-card p {
    color: #c7c7d9;
    line-height: 1.6;
}

.about-extra {
    max-width: 800px;
    margin: 80px auto;
    text-align: center;
    padding: 0 8%;
}

.about-extra h2 {
    margin-bottom: 20px;
    font-size: 36px;
}

.about-extra p {
    color: #c7c7d9;
    line-height: 1.8;
}
.privacy-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 8% 120px;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.privacy-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 35px;
    backdrop-filter: blur(10px);
    transition: .3s;
}

.privacy-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139,92,246,.5);

    box-shadow:
    0 0 30px rgba(139,92,246,.25);
}

.privacy-card h2 {
    margin-bottom: 15px;
    font-size: 28px;
}

.privacy-card p {
    color: #cfcfe8;
    line-height: 1.8;
    font-size: 16px;
}

.privacy-final {
    text-align: center;
    margin-top: 60px;
}

.privacy-final h2 {
    margin-bottom: 15px;
}

.privacy-final a {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
}