/* Root variables for modern color system */
:root {
    --bg-dark: #07090e;
    --card-bg: rgba(15, 23, 42, 0.55);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(124, 58, 237, 0.2);
    
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Elegant tech gradients */
    --primary-grad: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #e0f2fe 100%);
    --whatsapp-color: #25D366;
    --whatsapp-hover: #20ba5a;
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset and basic setup */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    padding: 2rem 1rem;
    perspective: 1000px;
}

/* Cosmic background glow blobs */
.glow-bg-1, .glow-bg-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.glow-bg-1 {
    background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: pulseGlow1 8s infinite alternate ease-in-out;
}

.glow-bg-2 {
    background: radial-gradient(circle, #c084fc 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation: pulseGlow2 8s infinite alternate ease-in-out;
}

@keyframes pulseGlow1 {
    0% { opacity: 0.10; }
    100% { opacity: 0.20; }
}

@keyframes pulseGlow2 {
    0% { opacity: 0.18; }
    100% { opacity: 0.08; }
}

/* Main Container Layout */
.container {
    max-width: 720px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 1;
}

/* Glassmorphism Card Style */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 
                inset 0 1px 0px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(129, 140, 248, 0.12), 
                0 20px 50px rgba(0, 0, 0, 0.5), 
                inset 0 1px 0px rgba(255, 255, 255, 0.15);
}

/* Premium Badge */
.badge-container {
    margin-bottom: 1.5rem;
    transform: translateZ(20px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(129, 140, 248, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.25);
    border-radius: 9999px;
    color: #a5b4fc;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #818cf8;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 10px #818cf8;
    animation: pulse 2.5s infinite ease-in-out;
    will-change: transform, opacity;
}

@keyframes pulse {
    0% { transform: scale(0.85); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.85); opacity: 0.5; }
}

/* Domain Title with Gradient Text */
.domain-title {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transform: translateZ(30px);
}

.domain-description {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 2.5rem;
    transform: translateZ(15px);
}

/* Key Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    margin-bottom: 3rem;
    transform: translateZ(10px);
}

.feature-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #e2e8f0;
}

.feature-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Call To Action Buttons Container */
.cta-container {
    display: flex;
    gap: 1.25rem;
    width: 100%;
    justify-content: center;
    transform: translateZ(25px);
}

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    flex: 1;
    max-width: 260px;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Primary Button (Demo Link) */
.btn-primary {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.25);
}

/* Secondary Button (WhatsApp Link) */
.btn-secondary {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-color);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-secondary:hover {
    background: var(--whatsapp-color);
    color: #ffffff;
    border-color: var(--whatsapp-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* Footer Section */
.footer {
    font-size: 0.85rem;
    color: #475569;
}

.footer a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #94a3b8;
}

/* Responsive adjustments for all devices */

/* Tablets / Portrait Mode (max-width: 820px) */
@media (max-width: 820px) {
    body {
        padding: 2rem 1.5rem;
    }
    
    .card {
        padding: 3rem 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        margin-bottom: 2.5rem;
    }
    
    .feature-item {
        flex-direction: row;
        text-align: left;
        padding: 1.25rem 1.5rem;
        align-items: center;
        gap: 1.25rem;
    }
    
    .feature-icon {
        font-size: 1.75rem;
        flex-shrink: 0;
    }
    
    .feature-text {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }
    
    .feature-text h3 {
        font-size: 1rem;
    }
    
    .feature-text p {
        font-size: 0.8rem;
    }
}

/* Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
    body {
        padding: 1.5rem 1rem;
    }
    
    .card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    
    .badge-container {
        margin-bottom: 1rem;
    }
    
    .domain-description {
        margin-bottom: 2rem;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .glow-bg-1, .glow-bg-2 {
        width: 300px;
        height: 300px;
        filter: blur(80px);
        opacity: 0.12;
    }
}

/* Small Mobile Devices (max-width: 380px) */
@media (max-width: 380px) {
    body {
        padding: 1rem 0.75rem;
    }
    
    .card {
        padding: 2rem 1rem;
        border-radius: 16px;
    }
    
    .badge {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .feature-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
}
