/*==================================================
   AUDACIOUS IVES PVT. LTD. - DIGITAL VISITING CARD
   DESIGN SYSTEM & CUSTOM STYLES
==================================================*/

:root {
    --brand-blue: #0052cc;
    --brand-blue-hover: #003d99;
    --brand-blue-light: #e6efff;
    --brand-brown: #5c3d28;
    --brand-brown-light: #f7f3f0;
    --whatsapp-green: #25D366;
    --whatsapp-green-hover: #1da851;
    
    --bg-dark: #070d19;
    --card-bg: rgba(255, 255, 255, 0.92);
    --card-border: rgba(255, 255, 255, 0.6);
    --text-primary: #1e293b;
    --text-muted: #64748b;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 82, 204, 0.12);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 25px 60px rgba(0, 82, 204, 0.22);
    
    --radius-card: 28px;
    --radius-btn: 16px;
    --radius-icon: 50%;
    
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Outfit', sans-serif;
    color: var(--text-primary);
    background-color: #0b1329;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Ambient Animated Glow Background */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #0f1c3f 0%, #070d19 100%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: #0052cc;
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #5c3d28;
    bottom: -100px;
    right: -100px;
    animation-delay: -4s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: #00c2ff;
    top: 40%;
    left: 30%;
    opacity: 0.2;
    animation-delay: -8s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.1); }
}

/* Main Container */
.main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px 0;
}

/* Visiting Card Container */
.visiting-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    padding: 35px 32px;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.visiting-card:hover {
    box-shadow: var(--shadow-hover);
}

/* Card Header Badge */
.card-header-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.card-badge {
    background: rgba(0, 82, 204, 0.08);
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 82, 204, 0.15);
}

/* Brand Header */
.card-brand {
    padding: 10px 0;
}

.logo-wrapper {
    max-width: 220px;
    margin: 0 auto;
    padding: 12px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    display: inline-block;
    transition: var(--transition);
}

.logo-wrapper:hover {
    transform: scale(1.03);
}

.brand-logo {
    max-height: 90px;
    object-fit: contain;
}

.company-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -0.5px;
}

.company-title span {
    color: var(--brand-brown);
    font-weight: 700;
}

.company-tagline {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.8px;
    margin-bottom: 0;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 82, 204, 0.2), transparent);
    margin: 25px 0;
}

/* Action Buttons Grid */
.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-call {
    background: linear-gradient(135deg, #0052cc, #0066ff);
    color: #ffffff !important;
}

.btn-call:hover {
    background: linear-gradient(135deg, #0040a8, #0052cc);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 82, 204, 0.3);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff !important;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1da851, #0e7266);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-email {
    background: linear-gradient(135deg, #5c3d28, #7d5338);
    color: #ffffff !important;
}

.btn-email:hover {
    background: linear-gradient(135deg, #422b1c, #5c3d28);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(92, 61, 40, 0.3);
}

.btn-vcard {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #ffffff !important;
}

.btn-vcard:hover {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.3);
}

/* Contact Details Cards */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    padding: 16px 18px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(0, 82, 204, 0.1);
    border-color: rgba(0, 82, 204, 0.3);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.phone-icon {
    background: rgba(0, 82, 204, 0.1);
    color: var(--brand-blue);
}

.email-icon {
    background: rgba(92, 61, 40, 0.1);
    color: var(--brand-brown);
}

.website-icon {
    background: rgba(0, 194, 255, 0.1);
    color: #0088cc;
}

.address-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.map-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.card-info {
    flex: 1;
    min-width: 0;
}

.info-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    word-break: break-word;
    display: block;
    transition: var(--transition);
}

.clickable-link:hover {
    color: var(--brand-blue);
}

.address-value {
    font-size: 14px;
    line-height: 1.5;
}

.map-hint {
    display: block;
    font-size: 11px;
    color: var(--brand-blue);
    font-weight: 500;
    margin-top: 4px;
}

.small-icon {
    font-size: 12px;
}

/* Copy Button */
.copy-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    text-decoration: none;
}

.copy-btn:hover {
    background: var(--brand-blue);
    color: #ffffff;
    transform: scale(1.08);
}

.external-link-btn:hover {
    background: #0088cc;
}

.map-btn-direct:hover {
    background: #16a34a;
}

/* Big Map Banner CTA */
.btn-map-cta {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 24px;
    border-radius: var(--radius-btn);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
    border: none;
    transition: var(--transition);
}

.btn-map-cta:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.35);
}

/* Secondary Pills */
.btn-secondary-pill {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(203, 213, 225, 0.8);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-secondary-pill:hover {
    background: #ffffff;
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

/* Footer */
.card-footer {
    padding-top: 5px;
}

.copyright-text {
    font-size: 13px;
    color: var(--text-muted);
}

.powered-by {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0;
}

.trio-brand {
    color: var(--brand-blue);
    font-weight: 700;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0052cc, #0066ff);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0, 82, 204, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.floating-call-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.call-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(0, 82, 204, 0.6);
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* Custom Toast Notification */
.custom-toast {
    background: var(--text-primary);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.3s ease forwards;
}

.toast-icon {
    color: #22c55e;
    font-size: 18px;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal QR Code styling */
.qr-container {
    background: #f8fafc;
    padding: 20px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid #e2e8f0;
}

.qr-image {
    width: 220px;
    height: 220px;
}

/* Responsive Media Queries */
@media (max-width: 576px) {
    .visiting-card {
        padding: 25px 20px;
        border-radius: 22px;
    }
    
    .company-title {
        font-size: 1.8rem;
    }
    
    .company-tagline {
        font-size: 13px;
    }
    
    .action-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .action-btn {
        padding: 12px 10px;
        font-size: 14px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .action-btn i {
        font-size: 18px;
    }

    .detail-card {
        padding: 14px 14px;
        gap: 12px;
    }

    .card-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .info-value {
        font-size: 14px;
    }

    .floating-call-btn {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 20px;
    }
}