/* Design tokens and variables - Richer Colors (Teal, Navy, Indigo, Purple) */
:root {
    --bg-color: #05070a; /* Ultra dark deep space background */
    
    /* Brand Colors */
    --brand-teal: #539e9e;
    --brand-navy: #142c5a;
    
    /* Accent Colors for gradients */
    --accent-cyan: #38bdf8;
    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;
    
    --primary-color: var(--brand-teal);
    --primary-rgb: 83, 158, 158;
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.45);
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    line-height: 1.6;
}

/* Animated Aurora Background (More Colors, No Box Constraint) */
.bg-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bg-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.22;
    pointer-events: none;
}

.bg-glow-1 {
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.9) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: floatGlow1 25s infinite alternate ease-in-out;
}

.bg-glow-2 {
    background: radial-gradient(circle, rgba(20, 44, 90, 0.95) 0%, transparent 70%);
    bottom: -15%;
    right: -10%;
    animation: floatGlow2 28s infinite alternate ease-in-out;
}

.bg-glow-3 {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.7) 0%, transparent 70%);
    top: 30%;
    right: -5%;
    animation: floatGlow3 22s infinite alternate ease-in-out;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 64px 64px;
    z-index: 1;
}

/* Fluid animations for the colored glows */
@keyframes floatGlow1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(120px, 80px) scale(1.15); }
    100% { transform: translate(-60px, 120px) scale(0.9); }
}

@keyframes floatGlow2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, -60px) scale(0.9); }
    100% { transform: translate(60px, -120px) scale(1.1); }
}

@keyframes floatGlow3 {
    0% { transform: translate(0, 0) scale(0.95); }
    50% { transform: translate(-80px, 120px) scale(1.15); }
    100% { transform: translate(100px, -60px) scale(1); }
}

/* Page Layout */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* Clean, Borderless Floating Card (Removed Box, Border, Shadow) */
.card {
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 40px 24px;
    width: 100%;
    max-width: 580px;
    text-align: center;
    box-shadow: none;
    position: relative;
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.99); }
    100% { opacity: 1; transform: scale(1); }
}

/* Status Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 36px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse 2.0s infinite;
}

.badge-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-color);
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.6);
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
        box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0);
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

/* Logo Layout */
.logo-container {
    margin-bottom: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    max-width: 100%;
    max-height: 105px; /* Increased size by 25% */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(var(--primary-rgb), 0.15));
    transform: translateX(-20px); /* Optical alignment adjusted for larger size */
    transition: var(--transition-smooth);
}

.brand-logo:hover {
    transform: translateX(-20px) scale(1.02);
    filter: drop-shadow(0 0 24px rgba(var(--primary-rgb), 0.3));
}

/* Content Details */
.content {
    margin-bottom: 44px;
}

.title {
    font-family: 'Outfit', sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* Multi-color Gradient Highlight Text */
.highlight {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--brand-teal) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-weight: 400;
}

.sub-description {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 90%;
    margin: 0 auto;
}

/* Centered & Clean Borderless Email Component */
.email-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.email-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.12em;
}

.email-display-container {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 18px 10px 24px;
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.email-display-container:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(var(--primary-rgb), 0.08);
    transform: translateY(-2px);
}

.email-address {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
}

.email-address:hover {
    color: var(--accent-cyan);
}

/* Copy Action Button */
.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.action-btn svg {
    width: 18px;
    height: 18px;
}

.action-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.4);
}

/* Success State */
.action-btn.success {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.hidden {
    display: none !important;
}

/* Tooltip popup */
.tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #ffffff;
    color: #05070a;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Card Footer */
.card-footer {
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.company-attribution {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.company-name {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .card {
        padding: 24px 16px;
    }
    
    .title {
        font-size: 34px;
    }
    
    .email-display-container {
        padding: 8px 12px 8px 16px;
        gap: 12px;
    }
    
    .email-address {
        font-size: 17px;
    }
    
    .action-btn {
        width: 34px;
        height: 34px;
    }
}
