/* CSS Variables for Futuristic Theme */
:root {
    --bg-color: #050505;
    --surface-color: rgba(20, 20, 30, 0.7);
    --primary-neon: #00f3ff;
    --secondary-neon: #bc13fe;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(188, 19, 254, 0.1), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.1), transparent 25%);
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--surface-color);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px var(--primary-neon);
}

.logo span {
    color: var(--primary-neon);
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 8px var(--primary-neon);
}

/* Hamburger & Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--primary-neon);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
    box-shadow: 0 0 5px var(--primary-neon);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    z-index: 99;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 2rem;
    color: var(--text-main);
    text-decoration: none;
    margin: 1.5rem 0;
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-menu a:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 15px var(--primary-neon);
}

.mobile-menu .close-btn {
    color: var(--text-main);
    top: 2rem;
    right: 5%;
}

.mobile-menu .close-btn:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-top: -2rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.interactive-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.name-input {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 30px;
    color: white;
    outline: none;
    transition: all 0.3s ease;
    width: 250px;
}

.name-input:focus {
    border-color: var(--primary-neon);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.btn-glow {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    background: var(--primary-neon);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--primary-neon), inset 0 0 10px #fff;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px var(--primary-neon), inset 0 0 15px #fff;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-neon);
    background: transparent;
    border: 2px solid var(--primary-neon);
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4), inset 0 0 10px rgba(0, 243, 255, 0.2);
    background: rgba(0, 243, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Visual / QR Code Area */
.hero-visual {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.qr-card {
    width: 300px;
    height: 450px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(188, 19, 254, 0.2);
    transform-style: preserve-3d;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
    100% { transform: translateY(0) rotate(0); }
}

.qr-card::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    z-index: -1;
    border-radius: 16px;
    opacity: 0.5;
    filter: blur(10px);
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: repeating-linear-gradient(
        45deg,
        var(--surface-color),
        var(--surface-color) 10px,
        rgba(0, 243, 255, 0.1) 10px,
        rgba(0, 243, 255, 0.1) 20px
    );
    border: 2px solid var(--primary-neon);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-placeholder:hover {
    transform: scale(1.05);
    box-shadow: inset 0 0 40px rgba(0, 243, 255, 0.5), 0 0 20px rgba(0, 243, 255, 0.3);
}

.qr-placeholder p {
    color: var(--primary-neon);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
    min-height: 36px;
    transition: all 0.2s ease;
}

.card-title {
    color: var(--primary-neon);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Features Section */
.features {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-box {
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-neon);
    box-shadow: 0 10px 30px rgba(188, 19, 254, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-neon);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--secondary-neon);
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-muted);
    line-height: 1.5;
}

/* Showcase Section */
.product-showcase {
    padding: 8rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.product-details {
    max-width: 800px;
}

.product-details h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-neon);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.product-details p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Pricing Section */
.pricing {
    padding: 5rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.pricing-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.pricing-card {
    padding: 3rem 2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card.highlight {
    border-color: var(--primary-neon);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.highlight:hover {
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.2);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-neon);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--secondary-neon);
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 25px var(--primary-neon);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    text-shadow: none;
    font-weight: normal;
}

.pricing-subtitle {
    color: var(--primary-neon);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: block;
}

.pricing-features {
    list-style: none;
    margin: 0 0 2.5rem 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.4;
}

.pricing-features li::before {
    content: '✓';
    color: var(--secondary-neon);
    font-weight: bold;
    text-shadow: 0 0 10px var(--secondary-neon);
    font-size: 1.2rem;
}

.pricing-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem 2rem;
    position: relative;
    transform: translateY(50px);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.2);
    border: 1px solid var(--primary-neon);
    border-radius: 20px;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.close-btn:hover {
    color: var(--secondary-neon);
}

/* Form Styling */
.order-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.order-form h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-neon);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 0.5rem;
}

.form-group input, 
.form-group textarea {
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input[type="file"] {
    padding: 0.6rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.form-group input[type="file"]::-webkit-file-upload-button {
    background: var(--primary-neon);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    margin-right: 1rem;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary-neon);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Demo Card UI items in Modal */
.demo-profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    margin: 0 auto 1.5rem auto;
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 20px var(--primary-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.demo-card h2 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.demo-title-modal {
    color: var(--primary-neon);
    font-weight: normal;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.demo-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.demo-links {
    display: flex;
    flex-direction: column; gap: 1rem; margin-bottom: 1.5rem;
}

.demo-link {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    color: var(--text-main);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.demo-link:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--primary-neon);
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icon:hover {
    background: rgba(188, 19, 254, 0.1);
    border-color: var(--secondary-neon);
    color: var(--secondary-neon);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(188, 19, 254, 0.3);
}

.btn-save {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 1rem 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    background: var(--primary-neon);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px var(--primary-neon), inset 0 0 10px #fff;
    transition: all 0.3s ease;
}

.btn-save:hover {
    box-shadow: 0 0 35px var(--primary-neon), inset 0 0 15px #fff;
    transform: translateY(-2px);
}

/* Footer */footer {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 3rem;
    line-height: 1.8;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-neon);
}

/* Responsive */
@media (max-width: 900px) {
    #desktopNav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }
    .hero-content {
        max-width: 100%;
        margin-bottom: 4rem;
    }
    .interactive-controls {
        justify-content: center;
    }
    .hero-visual {
        width: 100%;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .product-showcase {
        padding: 5rem 5%;
    }
    .product-details h2 {
        font-size: 2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}