/* ================================
STYLE.CSS - MyWeapons Landing Page
================================ */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-accent: #dc2626;
    /* --primary-accent: #3b82f6; */
    --dark-bg: #0E1929;
    --darker-bg: #0E1929;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-header {
    width: 100%;
    margin: auto;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header */
header {
    background-color: rgba(14, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 64px;               
    width: auto;
    display: block;
    margin: -12px 0;            
    transition: transform 0.2s ease, opacity 0.2s ease;
}


/* Hover elegante */
.logo a:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}


.logo span {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: var(--primary-accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    padding: 0 48px;
    border-radius: 52px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 16px;
}

.btn-red {
    background: var(--primary-accent);
    color: white;
    border: none;
}

.btn-red:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 25px rgba(59, 130, 246, 0.45),
        0 0 0 1px rgba(59, 130, 246, 0.25);
}


.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark-bg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0a0a0a;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(59, 130, 246, 0.35) 100%
    );
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #0a0a0a 0%,
        #1a1a2e 100%
    );
}


.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 25px;
}

.hero-content h1 em {
    font-style: italic;
    color: var(--primary-accent);
}

.hero-content p {
    font-size: 18px;
    color: #9ca3af;
    margin-bottom: 35px;
    max-width: 40ch;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-card {
    width: 580px;
    padding: 20px;
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.hero-card-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-card-left {
    flex: 1;
    min-width: 150px;
}

.hero-card h6 {
    font: 500 20px/1.2 var(--font-primary);
    color: white;
    margin-bottom: 20px;
}

.hero-card p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.5;
}

.counter span {
    display: block;
    font-size: 64px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.counter small {
    font-size: 16px;
    color: var(--text-gray);
    margin-top: 5px;
    display: block;
}

.hero-card-img {
    width: 360px;
    height: auto;
    flex-shrink: 0;
    border-radius: 1.25rem;
}

.hero-content h1,
.hero-content p {
    color: #fff;
    text-shadow:
        0 2px 8px rgba(0,0,0,0.7),
        6px 5px 20px rgba(0,0,0,0.7);
}

/* Features Section (About) */
.features {
    background: var(--darker-bg);
    padding: 100px 0 50px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.features-content h2 span {
    color: var(--primary-accent);
}

.features-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 16px;
}

.features-phones {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-group {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.8));
}

/* Apps Section (Functionality) */
.functionality {
    background: var(--dark-bg);
    padding: 50px 0 100px 0;
}

.functionality h2 {
    text-align: center;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 60px;
}

.functionality h2 span {
    color: var(--primary-accent);
}

/* App Showcase */
.app-showcase {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-info h3 {
    font-size: 28px;
    color: var(--primary-accent);
    margin-bottom: 20px;
}

.app-info p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.app-description {
    margin: 30px 0;
}

.store-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 40px;
}

.store-buttons img {
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s;
}

.store-buttons img:hover {
    transform: translateY(-3px);
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 400px;
    margin: auto;
    overflow: hidden;
    border-radius: 20px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    cursor: pointer;
    background-color: rgba(59, 130, 246, 0.85);
    backdrop-filter: blur(6px);
    color: white;
    border: none;
    padding: 15px;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: var(--primary-accent);
    transform: translateY(-50%) scale(1.1);
}

/* Features Grid */
.func-container {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 60px;
}

.func-item {
    text-align: center;
}

.func-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.func-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.func-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.func-item p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Transform Section */
.transform {
    position: relative;
    padding: 120px 0;
    background: var(--darker-bg);
    overflow: hidden;
}

.transform::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    opacity: 0.7;
}

.wave-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(30, 60, 120, 0.3));
}

.transform .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.transform h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 30px;
    color: white;
}

.transform h2 em {
    font-style: italic;
    color: var(--primary-accent);
}

.transform-desc {
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-gray);
    font-size: 16px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.process-step {
    text-align: center;
}

.step-circle {
    width: 109px;
    height: 109px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-circle img {
    width: 109px;
    height: 109px;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

.process-step p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Contact Section */
.contact {
    background: var(--darker-bg);
    padding: 100px 0;
}

.contact h2 {
    text-align: center;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 50px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 20px;
    color: white;
    font-family: inherit;
    font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    background: rgba(255, 255, 255, 0.08);
}

.btn-submit {
    width: 100%;
    font-size: 18px;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.06);
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: var(--text-gray);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    position: relative;
}

.dropdown {
    position: relative;
}

/* Link principale */
#appsPrivacyToggle {
    background: none;
    border: none;
    /* color: #ffffff; */
    font-weight: 500;
    cursor: pointer;
}

/* Menu */
.dropdown-menu {
    position: absolute;
    bottom: 130%;
    left: 0;
    background-color: #0f1f33; /* stesso del lang-menu */
    border-radius: 10px;
    padding: 6px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: none;
    min-width: 220px;
    z-index: 1000;
}

/* Link interni */
.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

/* Hover coerente con lang-menu */
.dropdown-menu a:hover {
    background-color: rgba(59, 130, 246, 0.15);
}

/* Stato aperto */
.dropdown-menu.open {
    display: block;
}


.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icons 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;
}

.social-icons a:hover {
    background: var(--primary-accent);
    transform: translateY(-2px);
}

footer p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        margin-top: 40px;
        justify-content: center;
    }

    .hero-card {
        margin: 0 auto;
        width: 100%;
        max-width: 600px;
    }

    .hero-buttons, 
    .store-buttons{
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .features-phones {
        margin-top: 40px;
    }

    .app-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .func-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .logo img {
        height: 52px;
        margin: -8px 0;
    }

    .hero .container {
        padding-top: 20px;
    }

    .container-header {
        flex-direction: column;
        gap: 20px;
    }

    header nav ul {
        gap: 20px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-card {
        width: 100%;
        max-width: 500px;
        padding: 20px;
    }

    .hero-card-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-card-img {
        width: 270px;
        /* margin-top: 20px; */
    }

    .counter span {
        font-size: 48px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .app-showcase {
        padding: 30px;
    }

    .func-container {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }

    .carousel-container {
        max-width: 300px;
    }

    .store-buttons img {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        gap: 15px;
    }

    .footer-links {
        gap: 20px;
        flex-wrap: wrap;
    }

    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}


.hero-content {
    animation: fadeUp 0.8s ease-out both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-showcase:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}


/* TECH BLUE */

:root {
    --primary-accent: #3b82f6;

    --dark-bg: #0b1220;
    --darker-bg: #0f172a;

    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);

    --header-bg: rgba(15, 23, 42, 0.9);
    --footer-bg: rgba(15, 23, 42, 0.95);

    --text-white: #e5edff;
    --text-gray: #94a3b8;
}


body { background: var(--dark-bg); }

header { background: var(--header-bg); }

.hero {
    background: linear-gradient(135deg, #0b1220 0%, #111c33 100%);
}

.app-showcase,
.func-container,
.hero-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

/* footer { background: var(--footer-bg); } */
footer { background: var(--dark-bg); }

/* ================================
   MODALE – TECH BLUE DARK UI
================================ */

/* Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(14, 25, 41, 0.85);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}

/* Contenuto */
.modal-content {
  background-color: #0f1f33;
  margin: 6% auto;
  padding: 28px;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  color: #ffffff;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(59, 130, 246, 0.15);
  animation: modalFadeIn 0.25s ease-out;
}

/* Pulsante chiusura */
.close {
  color: #9ca3af;
  float: right;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.close:hover,
.close:focus {
  color: #3b82f6;
  transform: scale(1.1);
  cursor: pointer;
  text-decoration: none;
}

/* Link interni */
.modal-content a {
  color: #3b82f6;
  text-decoration: none;
}

.modal-content a:hover {
  text-decoration: underline;
}

#openModalBtn {
    margin: 2px;
    cursor: pointer;
}

/* Animazione apertura */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.lang-switch {
    position: relative;
}

.lang-current {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.lang-menu {
    position: absolute;
    top: 130%;
    right: 0;
    background-color: #0f1f33;
    border-radius: 10px;
    padding: 6px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: none;
}

.lang-menu a {
    display: block;
    padding: 8px 16px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.lang-menu a:hover {
    background-color: rgba(59, 130, 246, 0.15);
}

.lang-menu.open {
    display: block;
}
