@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .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;
    }

    .features-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0px;
    }

    .features-phones {
        margin-top: 40px;
    }

    .func-container {
        grid-template-columns: repeat(2, 1fr);
    }
}/* ================================
   STYLE.CSS - MyWeapons Landing Page
   ================================ */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #dc2626;
    --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;
}


.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo img {
    height: 100px;
    align-items: center;
}

.logo span {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* 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;
}

.btn-red {
    background: var(--primary-red);
    color: white;
}

.btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.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(220, 38, 38, 0.4) 100%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        url('../sfumaturabottom.png') bottom/100% no-repeat,
        url('../sfondo-pistola.webp') center/cover no-repeat;
    
}

.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.05;
    margin-bottom: 25px;
}

.hero-content h1 em {
    font-style: italic;
    color: var(--primary-red);
}

.hero-content p {
    font-size: 18px;
    color: #9ca3af;
    margin-bottom: 35px;
    max-width: 40ch;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.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: none;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-card {
    width: 580px;
    padding: 40px;
    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: 40px;
}

.hero-card-left {
    flex: 1;
}

.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: 200px;
    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 */
.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-red);
}

.features-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.store-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 40px;
    justify-content: center;
}

.store-buttons img {
    height: 80px;
    cursor: pointer;
    transition: transform 0.3s;
}

.store-buttons img:hover {
    transform: translateY(-3px);
}

.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));
}

/* Functionality Section */
.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-red);
}

.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(3, 1fr);
    gap: 50px;
    backdrop-filter: blur(10px);
}

.func-item {
    text-align: center;
}

.func-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    /* background: var(--primary-red); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 15px; */
}

.func-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */
}

.func-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.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: url('../sfondo2.webp') center/cover no-repeat;
    opacity: 0.7;
}

.wave-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(30, 60, 120, 0.3));
}

.transform::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: url('../sfumaturabottom.png') bottom center/100% auto no-repeat;
}

.transform .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.transform h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 30px;
}

.transform h2 em {
    font-style: italic;
}

.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: 94px;
    margin: 0 auto 5px;
    /* border: 2px solid var(--primary-red); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: rgba(220, 38, 38, 0.1); */
}

.step-circle img {
    width: 109px;
    height: 94px;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.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-red);
    background: rgba(255, 255, 255, 0.08);
}

.btn-submit {
    width: 100%;
    font-size: 18px;
}

/* Footer */
footer {
    /* background: var(--darker-bg); */
    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 {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.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-red);
    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;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        margin-top: 40px;
        justify-content: center;
    }

    .hero-card {
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-phones {
        margin-top: 40px;
    }

    .func-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-grid {
        gap: 0px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-card {
        width: 100%;
        max-width: 500px;
        padding: 25px;
    }

    .hero-card-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-card-img {
        width: 150px;
        margin-top: 20px;
    }

    .hero-visual {
        margin-top: 30px;
    }

    .counter span {
        font-size: 48px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .features {
        padding-top: 60px;
    }

    .features-grid {
        gap: 0px;
    }

    .features-phones {
        margin-top: 0px;
    }

    .phone-group {
        max-width: 100%;
    }

    .functionality {
        padding: 0px 0 50px 0;
    }

    .func-container {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .transform {
        padding: 50px 0;
    }

    .contact {
        padding: 50px 0;
    }
}

@media (max-width: 576px) { 
    .store-buttons img {
        height: 60px;
    }

    .footer-links {
        gap: 20px;
    }
}

/* MODAL */

.modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14,25,41,0.90); /* --dark-bg con trasparenza */
  /* display: flex; */
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
}

.modal-content {
  background: var(--darker-bg);
  color: var(--text-white);
  padding: 2rem 1.5rem;
  border-radius: 10px;
  width: 90%;
  max-height: 90%;
  max-width: 700px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
  position: relative;
  overflow-y: auto;
}

.modal-content h2 {
  color: var(--primary-red);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.modal-content h3 {
  color: var(--primary-red);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  margin-top: 1.1rem;
}

.modal-content p, .modal-content a {
  color: var(--text-white);
  font-size: 0.97rem;
}

.modal-content a {
  text-decoration: underline;
  color: var(--primary-red);
}

.close {
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  font-size: 1.5rem;
  color: var(--primary-red);
  cursor: pointer;
}
