:root {
    --bg-color: #F9F7FF;
    --text-primary: #2D2344;
    --text-secondary: #6B5E85;
    --accent-soft: #E6D9FF;
    --accent-main: #9D84D6;
    --white: #FFFFFF;
    --card-shadow: 0 10px 40px -10px rgba(138, 115, 184, 0.15);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --button-bg: #2D2344;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body, html {
    height: 100%;
    height: var(--app-height, 100vh);
    width: 100%;
    overflow: hidden;
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    position: relative;
}

/* --- Ambient Background --- */
.background-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: #EBE0FF;
    animation: float 20s ease-in-out infinite alternate;
}

.blob-2 {
    bottom: -10%;
    right: -20%;
    width: 70vw;
    height: 70vw;
    background: #F3EEFF;
    animation: float 25s ease-in-out infinite alternate-reverse;
}

.blob-3 {
    top: 40%;
    left: 30%;
    width: 40vw;
    height: 40vw;
    background: #FDFBFF;
    opacity: 0.8;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* --- Main Layout --- */
.container {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 2.5rem;
}

/* --- Logo Section --- */
.logo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
}

.logo-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 15px 35px rgba(107, 76, 154, 0.15);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* --- Typography --- */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.app-name {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    letter-spacing: -0.02em;
}

.tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* --- Instruction Card --- */
.browser-instruction-card {
    display: flex; /* Always shown */
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 1.25rem;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    text-align: left;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.instruction-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.browser-instruction-card .text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.browser-instruction-card strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Visual Guide Styling */
.visual-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 0.75rem;
    margin-top: 0.25rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.step-icon-box {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(107, 76, 154, 0.1);
}

.step-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.arrow {
    display: flex;
    align-items: center;
    opacity: 0.5;
    margin-bottom: 1.2rem; /* Align with icon box roughly */
}

/* --- Buttons --- */
.app-store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: var(--button-bg); /* Dark purple from image */
    color: var(--white);
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(45, 35, 68, 0.15);
    letter-spacing: 0.01em;
}

.app-store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(45, 35, 68, 0.25);
    background-color: #3E3159;
}

.app-store-button:active {
    transform: scale(0.98);
}

/* --- Mobile Tweaks --- */
@media (max-width: 360px) {
    .app-name { font-size: 2.5rem; }
    .logo-wrapper { width: 120px; height: 120px; }
    .visual-guide { padding: 0.5rem; gap: 0.5rem; }
}
