/* EasyTrashMail - Index Page Styles */

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: white;
    min-height: 100vh;
    color: #1e293b;
    overflow-x: hidden;
}

/* Utility Classes */
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.-z-10 { z-index: -10; }
.overflow-hidden { overflow: hidden; }
.absolute { position: absolute; }
.-top-40 { top: -10rem; }
.-right-80 { right: -20rem; }
.w-80 { width: 20rem; }
.h-80 { height: 20rem; }
.rounded-full { border-radius: 9999px; }
.opacity-30 { opacity: 0.3; }
.top-40 { top: 10rem; }
.-left-40 { left: -10rem; }
.w-96 { width: 24rem; }
.h-96 { height: 24rem; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-cyan-400 { --tw-gradient-from: #22d3ee; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 211, 238, 0)); }
.to-blue-500 { --tw-gradient-to: #3b82f6; }
.opacity-20 { opacity: 0.2; }
.bottom-40 { bottom: 10rem; }
.right-20 { right: 5rem; }
.w-64 { width: 16rem; }
.h-64 { height: 16rem; }
.from-purple-400 { --tw-gradient-from: #c084fc; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(192, 132, 252, 0)); }
.to-pink-500 { --tw-gradient-to: #ec4899; }
.opacity-25 { opacity: 0.25; }

/* Additional Utility Classes */
.z-50 { z-index: 50; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* Email Status Indicator */
.email-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #6b7280;
    transition: all 0.3s ease;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.active {
    background: #10b981;
    box-shadow: 0 0 0.5rem rgba(16, 185, 129, 0.3);
}

.status-dot.expired {
    background: #ef4444;
    box-shadow: 0 0 0.5rem rgba(239, 68, 68, 0.3);
}

.status-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.3s ease;
}

.status-text.active {
    color: #10b981;
}

.status-text.expired {
    color: #ef4444;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.text-center { text-align: center; }
.hidden { display: none; }
.bg-white { background-color: white; }
.border { border: 1px solid #e5e7eb; }
.rounded-xl { border-radius: 0.75rem; }
.p-8 { padding: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.opacity-100 { opacity: 1; }
.opacity-0 { opacity: 0; }
.transition-all { transition: all 0.3s ease; }
.duration-500 { transition-duration: 0.5s; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.font-semibold { font-weight: 600; }
.text-slate-700 { color: #334155; }
.text-slate-500 { color: #64748b; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.w-32 { width: 8rem; }
.h-1 { height: 0.25rem; }
.bg-blue-200 { background-color: #dbeafe; }
.bg-blue-500 { background-color: #3b82f6; }
.rounded-full { border-radius: 9999px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.overflow-hidden { overflow: hidden; }
.h-full { height: 100%; }
.transition-all { transition: all 0.3s ease; }
.duration-300 { transition-duration: 0.3s; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* Animated Background */
.gradient-mesh {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    filter: blur(100px);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

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

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

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

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
    to { box-shadow: 0 0 40px rgba(59, 130, 246, 0.6); }
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    padding-top: 120px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 2rem;
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.hero-badge svg {
    color: #ffffff !important;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 300;
}

.create-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.create-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.create-btn:hover::before {
    left: 100%;
}

.create-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

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

.create-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner {
    display: inline-flex;
}

.btn-spinner.hidden {
    display: none;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Email Result Display */
.email-result {
    margin-top: 2rem;
    opacity: 1;
    transition: all 0.5s ease-out;
    animation: slideUp 0.5s ease-out;
}

.email-result.hidden {
    display: none;
}

.email-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
}

.email-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.email-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

.email-actions {
    display: flex;
    gap: 0.5rem;
}

.copy-email-btn {
    padding: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
    color: #3b82f6;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-email-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.05);
}

.email-address {
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
    word-break: break-all;
}

.open-inbox-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.open-inbox-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.open-inbox-btn:active {
    transform: translateY(0);
}

/* Features Section */
#features {
    padding: 6rem 0;
    position: relative;
}

.max-w-7xl {
    max-width: 80rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.from-slate-900 {
    --tw-gradient-from: #0f172a;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(15, 23, 42, 0));
}

.to-blue-600 {
    --tw-gradient-to: #2563eb;
}

.bg-clip-text {
    background-clip: text;
}

.text-transparent {
    color: transparent;
}

.max-w-2xl {
    max-width: 42rem;
}

.grid {
    display: grid;
}

.md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-8 {
    gap: 2rem;
}

.lg\:gap-12 {
    gap: 3rem;
}

.group {
    position: relative;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.duration-500 {
    transition-duration: 500ms;
}

.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hover\:-translate-y-2:hover {
    transform: translateY(-0.5rem);
}

.border-2 {
    border-width: 2px;
}

.border-transparent {
    border-color: transparent;
}

.hover\:border-blue-200:hover {
    border-color: #dbeafe;
}

.hover\:border-purple-200:hover {
    border-color: #e9d5ff;
}

.hover\:border-green-200:hover {
    border-color: #bbf7d0;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-blue-500 {
    --tw-gradient-from: #3b82f6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.to-cyan-400 {
    --tw-gradient-to: #22d3ee;
}

.from-purple-500 {
    --tw-gradient-from: #8b5cf6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0));
}

.to-pink-400 {
    --tw-gradient-to: #f472b6;
}

.from-green-500 {
    --tw-gradient-from: #22c55e;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 197, 94, 0));
}

.to-emerald-400 {
    --tw-gradient-to: #34d399;
}

.rounded-2xl {
    border-radius: 1rem;
}

.text-white {
    color: #ffffff;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.group-hover\:animate-bounce:hover {
    animation: bounce 1s infinite;
}

.-top-2 {
    top: -0.5rem;
}

.-right-2 {
    right: -0.5rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.bg-green-400 {
    background-color: #4ade80;
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.text-slate-900 {
    color: #0f172a;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.leading-relaxed {
    line-height: 1.625;
}

.mt-6 {
    margin-top: 1.5rem;
}

.text-blue-600 {
    color: #2563eb;
}

.text-purple-600 {
    color: #9333ea;
}

.text-green-600 {
    color: #16a34a;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group-hover\:translate-x-1:hover {
    transform: translateX(0.25rem);
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.mt-24 {
    margin-top: 6rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.text-cyan-600 {
    color: #0891b2;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}


/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 1rem;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:col-span-2 {
        grid-column: span 1 / span 1;
    }
    
    .text-4xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .text-5xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}
