:root {
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-pink: #f6b5f4;

    --btn-gradient-start: #b98fd6;
    --btn-gradient-end: #8ccdeb;

    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    /* Rich purple to blue gradient */
    background: linear-gradient(135deg, #9C51B6 0%, #6E68B8 40%, #2980B9 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Decor Overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* SVG Line decorations */
.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-decoration .curve {
    position: absolute;
    width: 80vh;
    height: 80vh;
}

.bg-decoration .top-left {
    top: -20vh;
    left: -30vw;
    transform: rotate(45deg);
}

.bg-decoration .bottom-right {
    bottom: -20vh;
    right: -20vw;
    transform: rotate(-30deg);
}

/* Draw a fine line mimicking the original image curves */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url('data:image/svg+xml;utf8,<svg viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M -100,300 C 400,200 300,900 200,1100" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1.5"/><path d="M 800,-100 C 700,400 900,800 1100,900" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1.5"/><path d="M -200,800 C 300,600 600,1000 800,1200" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1.5"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    pointer-events: none;
    z-index: 0;
}


.container {
    padding: 3rem 2rem;
    max-width: 900px;
    width: 100%;
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 100vh;
}

/* Typography */
.header {
    margin-top: 4vh;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out forwards;
}

.eyebrow {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-pink);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 1.5rem;
}

.title {
    font-size: clamp(2.2rem, 11vw, 6.5rem);
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    word-break: break-word;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.mt-sm {
    margin-top: 0.5rem;
}

/* Actions Section */
.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
    margin-top: 1rem;
    margin-bottom: 4vh;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    cursor: pointer;
}

.btn:nth-child(1) {
    animation-delay: 0.2s;
}

.btn-group {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.4s;
    width: 100%;
}

.btn.bottom-btn {
    animation-delay: 0.6s;
}

.material-symbols-outlined {
    font-size: 1.3rem;
}

.icon-arrow {
    font-weight: 200;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* Primary Gradient Button */
.btn-primary {
    background: linear-gradient(90deg, var(--btn-gradient-start), var(--btn-gradient-end));
    color: #4a5568;
    box-shadow: 0 10px 30px rgba(185, 143, 214, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(185, 143, 214, 0.5);
    filter: brightness(1.05);
}

.btn-primary:hover .icon-arrow {
    transform: translateX(4px);
}

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

/* Outline Buttons */
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--text-primary);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-transparent.glow {
    border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.btn-outline:hover .icon-arrow {
    transform: translateX(4px);
}

/* Icon specific styles */
.icon-folder {
    color: var(--text-pink);
}

.btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.btn-caption {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 450px;
    line-height: 1.5;
}

.bottom-btn {
    padding: 1.1rem 2.8rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .title {
        font-size: clamp(2.2rem, 12vw, 4rem);
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
    }

    .btn {
        width: 100%;
        max-width: 340px;
        padding: 1.1rem 1.2rem;
    }

    .actions {
        gap: 2rem;
    }
}

@media (max-height: 800px) and (min-width: 601px) {
    .header {
        margin-top: 2vh;
        margin-bottom: 1.5rem;
    }

    .actions {
        margin-bottom: 2vh;
        gap: 2.5rem;
    }

    .title {
        margin-bottom: 1.5rem;
    }

    .container {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

/* Install App Button */
.btn-install {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-install:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .btn-install {
        bottom: 1.5rem;
        right: 50%;
        transform: translateX(50%);
    }

    .btn-install:hover {
        transform: translate(50%, -3px);
    }
}