:root {
    /* --card-bg: #7b68ee; */
    --card-bg: #5444b1;
    --text-bg: #5444b1;
    --btn-hover: #3f2f97;
    
    --tilt-max-angle: 3;
    --tilt-perspective: 5000px;
    --tilt-transition-speed: 0.5s;
    
    --card-gap: 20px;
    
    /* card shadow variabled   */
    --cursor-shadow-color: rgba(255, 255, 255, 0);
    --cursor-shadow-size: 250px;
   
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #e0e0e0;
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--card-gap);
    perspective: var(--tilt-perspective);
}

.card {
    width: 800px;
    max-width: 100%;
    background-color: var(--card-bg);
    border-radius: 50px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform-style: preserve-3d;
    transition: transform var(--tilt-transition-speed) ease-out,
                box-shadow var(--tilt-transition-speed) ease-out;
    will-change: transform;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    width: var(--cursor-shadow-size);
    height: var(--cursor-shadow-size);
    background: radial-gradient(circle, var(--cursor-shadow-color) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    left: var(--cursor-x, 50%);
    top: var(--cursor-y, 50%);
    transform: translate(-50%, -50%);
    filter: blur(30px);
}

.card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.text-block {
    background-color: var(--text-bg);
    padding: 30px;
    border-radius: 10px;
    color: #fff;
    line-height: 1.6;
    white-space: break-spaces;
    font-size: 17px;
    font-weight: 500;
}

.download-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 29px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.download-btn:hover {
    background-color: var(--btn-hover);
    border-color: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.main-title {
    color: white;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin: 20px 30px;
}

.section-title {
    color: white;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

@media (max-width: 840px) {
    .card {
        width: 100%;
    }
}