:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #da9bd4;
    --bg-dark: #0a0a0a;
    --text-light: #ffffff;
}

body.male-theme {
    --primary-color: #1a73e8;
    --secondary-color: #0d47a1;
    --accent-color: #00bcd4;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--bg-dark);
    overflow-x: hidden;
    transition: all 0.5s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Theme Switcher */
.theme-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: rigth 1s ease;
}

.theme-label {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    user-select: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;

}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 100%);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* Contact Info */
.contact-info {
    position: fixed;
    top: 20px;
    left: 20px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 174, 239, 0.1);
    border: 2px solid rgba(217,153,212,0.5);
    z-index: 100;
    animation: slideInLeft 0.8s ease-out;
    backdrop-filter: blur(10px);
    transition: border-color 0.5s ease;
}

body.male-theme .contact-info {
    border-color: rgba(26, 115, 232, 0.5);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #da9bd4;
    flex-shrink: 0;
    transition: color 0.5s ease;
}

body.male-theme .contact-icon {
    color: #00bcd4;
}

.contact-link {
    color: #b8bec4;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #da6cc9;
}

body.male-theme .contact-link:hover {
    color: #00bcd4;
}

/* Animated Background Canvas */
#gradient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

/* NFC Visual */
.nfc-visual {
    margin: 0 auto 60px;
    width: 400px;
    height: 400px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.keyfob {
    position: relative;
    width: 360px;
    height: 350px;
    margin: 0 auto;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(https://nfc.printly.lol/i.png);
    filter: drop-shadow(22px -2px 12px #000);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease;
}

body.male-theme .keyfob {
    background-image: url(https://nfc.printly.lol/b.png);
}

.nfc-icon {
    position: relative;
    width: 220px;
    height: 220px;
}

.nfc-waves {
    position: absolute;
    top: 0%;
    left: 120%;
    transform: translate(-50%, -50%);
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 4px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: waveExpandFixed 2s ease-out infinite;
}

.wave:nth-child(1) { animation-delay: 0s; }
.wave:nth-child(2) { animation-delay: 0.5s; }
.wave:nth-child(3) { animation-delay: 1s; }
.wave:nth-child(4) { animation-delay: 1.5s; }

@keyframes waveExpandFixed {
    0% {
        width: 30px;
        height: 30px;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    99.999% {
        width: 200px;
        height: 200px;
        opacity: 0.001;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.001;
    }
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.6rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.4s backwards;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102,126,234,0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

body.male-theme .cta-button::before {
    background: rgba(26,115,232,0.1);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 5rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.features {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 100px 0;
    position: relative;
    z-index: 1;
    transition: background 0.5s ease;
}

body.male-theme .features {
    background: rgba(18,18,18,0.95);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #2d3748;
    font-weight: 800;
    margin-bottom: 70px;
    position: relative;
    animation: fadeInUp 0.8s ease;
    transition: color 0.5s ease;
}

body.male-theme .section-title {
    color: #e0e0e0;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 20px auto 0;
    border-radius: 3px;
    transition: background 0.5s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 50px 40px;
    background: rgba(248,249,250,0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

body.male-theme .feature-card {
    background: rgba(30,30,30,0.9);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(102,126,234,0.3);
}

body.male-theme .feature-card:hover {
    box-shadow: 0 30px 60px rgba(26,115,232,0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    transition: all 0.5s ease;
    box-shadow: 0 10px 25px rgba(102,126,234,0.3);
}

.feature-card:hover .feature-icon {
    background: white;
    transform: rotate(360deg) scale(1.1);
}

.feature-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2d3748;
    transition: color 0.5s ease;
}

body.male-theme .feature-title {
    color: #e0e0e0;
}

.feature-card:hover .feature-title {
    color: white;
}

.feature-description {
    color: #4a5568;
    line-height: 1.9;
    transition: color 0.5s ease;
}

body.male-theme .feature-description {
    color: #b0b0b0;
}

.feature-card:hover .feature-description {
    color: rgba(255,255,255,0.95);
}

.highlight-section {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: background 0.5s ease;
}

body.male-theme .highlight-section {
    background: rgba(0,0,0,0.3);
}

.highlight-section h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.highlight-section p {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto 50px;
    opacity: 0.95;
    line-height: 2;
    position: relative;
    z-index: 1;
}

.benefits {
    padding: 100px 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    transition: background 0.5s ease;
}

body.male-theme .benefits {
    background: rgba(18,18,18,0.95);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.benefit-item {
    padding: 40px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

body.male-theme .benefit-item {
    background: rgba(30,30,30,0.9);
}

.benefit-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateX(10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(102,126,234,0.3);
}

body.male-theme .benefit-item:hover {
    box-shadow: 0 15px 35px rgba(26,115,232,0.3);
}

.benefit-item strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    transition: color 0.4s ease;
}

body.male-theme .benefit-item strong {
    color: #1a73e8;
}

.benefit-item:hover strong {
    color: white;
}

.benefit-item:hover {
    color: white;
    border-left-color: white;
}

footer {
    background: rgba(26,32,44,0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 50px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-section {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 100px 0;
    position: relative;
    z-index: 1;
    transition: background 0.5s ease;
}

body.male-theme .video-section {
    background: rgba(18,18,18,0.95);
}

.video-container {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.video-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.gallery-section {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 100px 0;
    position: relative;
    z-index: 1;
    transition: background 0.5s ease;
}

body.male-theme .gallery-section {
    background: rgba(0,0,0,0.3);
}

.gallery-flex {
    display: flex;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    flex: 0 1 300px;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(102,126,234,0.4);
}

body.male-theme .gallery-item:hover {
    box-shadow: 0 20px 50px rgba(26,115,232,0.4);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    min-width: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    backdrop-filter: blur(20px);
    margin: 20px;
    padding: 40px;
    border-radius: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    position: relative;
    animation: slideUp 0.4s ease;
    transition: background 0.5s ease;
}

body.male-theme .modal-content {
    background: linear-gradient(135deg, rgba(30,30,30,0.95) 0%, rgba(40,40,40,0.95) 100%);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--primary-color);
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-content h2 {
    padding-top: 20px;
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
    transition: color 0.5s ease;
}

body.male-theme .modal-content h2 {
    color: #e0e0e0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
    transition: color 0.5s ease;
}

body.male-theme .form-group label {
    color: #e0e0e0;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
    color: #2d3748;
}

body.male-theme .form-group input {
    background: rgba(50,50,50,0.8);
    color: #e0e0e0;
    border-color: #444;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
}

body.male-theme .form-group input:focus {
    background: rgba(60,60,60,0.9);
    box-shadow: 0 0 0 4px rgba(26,115,232,0.1);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(102,126,234,0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102,126,234,0.4);
}

body.male-theme .submit-btn:hover {
    box-shadow: 0 15px 40px rgba(26,115,232,0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(72, 187, 120, 0.15);
    color: #2f855a;
    border: 2px solid #48bb78;
}

.form-message.error {
    display: block;
    background: rgba(245, 101, 101, 0.15);
    color: #c53030;
    border: 2px solid #f56565;
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px 20px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: all 0.3s ease;
    border-radius: 0 8px 8px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    z-index: 10001;
}

.lightbox-next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.lightbox-prev {
    left: 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #fff;
    padding: 20px;
    font-size: 1.1rem;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .nfc-visual {
        width: 300px;
        height: 300px;
    }

    .keyfob {
        width: 290px;
        height: 280px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .theme-switcher {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        gap: 10px;
        transition: rigth 0.3s ease;
    }

    .theme-label {
        font-size: 1.2rem;
    }

    .contact-info {
        top: 100px;
        left: 10px;
        padding: 15px;
    }

    .nfc-waves {
        top: 10%;
        left: 100%;
    }

    .scroll-indicator {
        font-size: 2rem;
    }

    .hero {
        padding-bottom: 50px;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-content h2 {
        padding-top: 30px;
        font-size: 1.5rem;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 24px;
        padding: 12px 16px;
    }

    .lightbox-caption {
        font-size: 0.9rem;
        width: 90%;
        bottom: 15px;
        padding: 15px;
    }
}
#bp2 stop {
  transition: stop-color 0.4s linear;
}

.right-300 {
right: -300px;
}


