/*
Theme Name: Digital Business Cards Direct
Theme URI: https://dbcdirect.com/
Author: IT WebSmith Inc.
Author URI: https://www.itwebsmith.com
Description: A futuristic, neon-inspired theme for digital business cards with AI-driven multimedia features.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dbcdirect
*/

/* 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;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 243, 255, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(0, 243, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-neon);
    box-shadow: 0 0 10px var(--primary-neon);
}

/* Firefox scrollbar support */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 243, 255, 0.2) var(--bg-color);
}

* {
    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);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    min-height: 80vh;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--primary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* Interactive Card Preview */
.qr-card {
    width: 320px;
    height: 480px;
    padding: 2rem;
    text-align: center;
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.6s ease;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.15);
}

.qr-card:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    border-color: var(--primary-neon);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.3);
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed var(--primary-neon);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-neon);
    font-weight: bold;
    border-radius: 15px;
}

.card-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.card-title {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn-glow {
    background: var(--primary-neon);
    color: #000;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary-neon);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--primary-neon), inset 0 0 10px #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.interactive-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.name-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.name-input:focus {
    border-color: var(--primary-neon);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 5rem 5%;
}

.feature-box {
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--primary-neon);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 5rem 5%;
    background: linear-gradient(to bottom, transparent, rgba(188, 19, 254, 0.05));
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlight {
    border-color: var(--secondary-neon);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.2);
    transform: scale(1.05);
}

.pricing-card.custom-card {
    border-color: rgba(255, 255, 255, 0.1);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-neon);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 15px var(--secondary-neon);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-subtitle {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-neon);
    margin-right: 1rem;
    font-weight: bold;
}

.highlight .pricing-features li::before {
    color: var(--secondary-neon);
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Showcase Section */
.product-showcase {
    padding: 8rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-details h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-details p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Global Slide-out Drawer System */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.modal-content {
    width: 100% !important;
    max-width: 650px !important;
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    padding: 7rem 4rem 4rem !important;
    background: rgba(5, 5, 10, 0.98) !important;
    backdrop-filter: blur(40px) !important;
    border-radius: 0 !important;
    border: none !important;
    border-left: 2px solid var(--primary-neon) !important;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9) !important;
    transform: translateX(100%) !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
    position: relative !important;
}

.modal-overlay.active .modal-content {
    transform: translateX(0) !important;
}

/* Close Button Positioned inside Drawer */
.close-btn {
    position: absolute !important;
    top: 2.5rem !important;
    left: 2.5rem !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 15px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.8rem !important;
    z-index: 10001 !important;
    transition: all 0.3s ease !important;
}

.close-btn:hover {
    background: var(--primary-neon) !important;
    color: #000 !important;
    box-shadow: 0 0 25px var(--primary-neon) !important;
    transform: rotate(90deg) !important;
}

/* All Forms inside Side-out Drawers */
.order-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.8rem !important;
}

.order-form h2 {
    font-size: 2.8rem !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    text-align: left !important;
    background: linear-gradient(90deg, #fff, var(--primary-neon)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.order-form p {
    text-align: left !important;
    color: var(--text-muted) !important;
    margin-bottom: 2.5rem !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group input, 
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-neon);
    background: rgba(255, 255, 255, 0.08);
}

.btn-purple {
    background: var(--secondary-neon);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px var(--secondary-neon);
    text-align: center;
}

.btn-purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--secondary-neon), inset 0 0 10px #fff;
}

.btn-purple-outline {
    background: transparent;
    color: var(--secondary-neon);
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-neon);
    cursor: pointer;
}

.btn-purple-outline:hover {
    background: rgba(188, 19, 254, 0.1);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.3);
}

/* Form Footer Links */
.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--primary-neon);
    text-decoration: none;
}

/* Demo Card in Modal */
.demo-card {
    text-align: center;
    padding: 1rem;
}

.demo-profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 3px solid var(--primary-neon);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    overflow: hidden;
}

.demo-title-modal {
    color: var(--primary-neon);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.demo-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.demo-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.demo-link {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.demo-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-neon);
}

.demo-link span {
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-neon);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.social-icon:hover svg {
    fill: #000;
}

.btn-save {
    background: var(--primary-neon);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: block;
    box-shadow: 0 0 15px var(--primary-neon);
}

/* Loading Animation */
.loading-container {
    height: 4px;
    width: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
    display: none;
}

.loading-container.active {
    display: block;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-neon);
    box-shadow: 0 0 10px var(--primary-neon);
    transition: width 0.3s ease;
}

.loading-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary-neon);
    margin-top: 0.5rem;
    display: none;
}

.loading-text.active {
    display: block;
}

/* Hamburger & Mobile Nav */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    width: 80%;
    max-width: 400px;
}

.mobile-link {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--primary-neon);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 3rem;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    .interactive-controls {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #desktopNav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .interactive-controls {
        flex-direction: column;
        width: 100%;
    }
    .name-input, .btn-glow, .btn-outline {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .pricing-card.highlight {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .logo {
        font-size: 1.2rem;
    }
}
