@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #692ec6;
    --primary-hover: #53239e;
    --bg-icon: #f5f1fc; /* Very light tint for icons */
    --border-accent: #8b55e3;
    --grad-bg-1: #fbf9ff;
    --grad-bg-2: #f6f7fb;
    --grad-bg-3: #ede6f8;
    
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --bg-body: #f3f4f6; /* Very light gray for background */
    --bg-card: #ffffff;
    --bg-callout: #f8fafc;
    --border-accent: #3b82f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--grad-bg-1) 0%, var(--grad-bg-2) 50%, var(--grad-bg-3) 100%);
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    line-height: 1.6;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.landing-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 100%;
    max-width: 800px;
    padding: 3rem 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(0,0,0,0.05); /* Premium shadow */
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

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

.header {
    margin-bottom: 2.5rem;
}

.brand-logo {
    max-width: 180px;  /* Optimal mobile-ready size */
    max-height: 80px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.title {
    font-size: 2.25rem;
    color: var(--primary-hover); /* Tie title color to theme */
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.steps-callout {
    background-color: transparent;
    padding: 0;
    margin: 3rem 0;
}

.steps-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    text-align: left;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.05rem;
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(105, 46, 198, 0.3);
}

.step-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background-color: var(--bg-icon);
    color: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.step-item:hover .step-icon {
    transform: scale(1.1);
}

.step-icon svg {
    width: 22px;
    height: 22px;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
    margin: 2rem 0;
}

.hero-action {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 9999px; /* Pill shape */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px rgba(105, 46, 198, 0.4);
    position: relative;
}

.btn-hero::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 9999px;
    border: 2px solid var(--primary-color);
    opacity: 0;
    animation: ringPulse 2s infinite;
}

@keyframes ringPulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    100% { transform: scale(1.05); opacity: 0; }
}

.btn-hero:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(105, 46, 198, 0.5);
}

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

.btn-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.btn-hero:hover .btn-icon {
    transform: translateX(5px);
}

.steps-grid.minimal {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.steps-grid.minimal .step-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    background: transparent;
    border: none;
    box-shadow: none;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.steps-grid.minimal .step-item:hover {
    transform: translateY(-2px);
    color: var(--text-main);
}

.steps-grid.minimal .step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
    background-color: var(--bg-icon);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    body {
        padding: 1rem; /* Better edge-to-edge on mobile */
    }

    .landing-container {
        padding: 2.25rem 1.25rem;
        margin: 0;
        border-radius: .75rem; /* Slightly softer corners on small screens */
    }
    
    .brand-logo {
        max-width: 150px;
    }
    
    .title {
        font-size: 1.85rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .steps-grid, 
    .steps-grid.minimal {
        grid-template-columns: 1fr;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}
