/* :root {
    --body-background-color: #ffffff;
    --color-main-text: #483c69;
    --color-action: #9d5cfe;
} */
/* :root {
    --body-background-color: #EE9385;
    --color-main-text: #FF5E46;
    --color-action: #EE9385;

    --color-1: #FF5E46;
    --color-2: #FF7E6A;
    --color-3: #EE9385;
    --color-4: #AF4C3C;
    --color-5: #C9958D;
    --color-6: #5C423E;
    --color-7: #372E2D;
} */
/* :root {
    --body-background-color: #ffe0e5;
    --color-main-text: #e4465d;
    --color-text: #2a292f;
    --color-action: #2a292f;


    --color-1: #e4465d;
    --color-2: #ffe0e5;
    --color-3: #feeeef;
    --color-4: #2a292f;

} */

/* :root {
    --body-background-color: #ffffff;
    --color-main-text: #243449;
    --color-text: #8f8f8f;
    --color-action: #d88954;
    --color-action2: #efc57a;


    --color-1: #d88954;
    --color-2: #243449;
    --color-3: #efc57a;
    --color-4: #494949;
} */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,700;0,9..144,900;1,9..144,700&family=DM+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --body-background-color: #e3dcfe;
    --color-main-text: #020011;
    --color-text: #837c9b;
    --color-action: #7f5cee;
    --color-action2: #7f5cee;


    --color-1: #020011;
    --color-2: #7f5cee;
    --color-3: #e3dcfe;
    --color-4: #837c9b;

    --playfair: 'Playfair Display', Georgia, serif;
    --inter:  'Inter', system-ui, sans-serif;
    --fraunces: 'Fraunces', Georgia, serif;
}
 


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

body {
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'Plus Jakarta Sans', sans-serif!important;
    background-color: var(--body-background-color);
    /* color: #fff; */
    height: 900px;
}

.hero {
    /* background: #1f2c5c; */
    /* border-radius: 14px;
    margin: 28px; */
    /* padding: 70px 80px; */
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.04) 0, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.03) 0, transparent 40%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 70px 70px;
    opacity: 0.25;
    pointer-events: none;
}

.redes{
    position: absolute;
    right: 50px;
    top: 50px;
}
.redes a img{
    width: 40px;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 65px;
    /* background-color: white; */
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    /* font-weight: 300; */
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    color: var(--color-text);
}

/* .eyebrow::before {
    content: "";
    width: 40px;
    height: 2px;
    background: var(--color-action);
} */

.eyebrow .eyebrow-icon{
    /* color: #ffffff; */
    padding-right: 5px;
}
.eyebrow .eyebrow-text {
    background-color: #d4cafb;
    color: #8564ef;
    padding: 7px 15px;
    border-radius: 40px;
}

h1 {
    /* font-size: 50px; */
    /* font-size: clamp(32px, 4vw + 1rem, 64px); */
    font-size: clamp(28px, 4vw + 1rem, 50px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 22px;
    color: var(--color-main-text); 

    
    /* font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: clamp(28px, 4vw + 1rem, 50px);
    margin: 10px 0 24px; */
}

.highlight{
    color:  var(--color-action2);
}

.lead {
    max-width: 460px;
}

.lead p.plead {
    font-size: clamp(1rem, 1.2vw + 0.8rem, 1.2rem);
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 300;
}
.lead p.plead strong {
    color: var(--color-main-text);
}

.lead ul{
    margin-left: 10px;
    gap: 10px;
    display: flex;
    flex-direction: column;
}
.lead ul li{
    list-style-type: none;
}
.lead ul li span.check{
    background-color: #d4cafb;
    padding: 5px 10px;
    border-radius: 50px;
}

.ctas {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 60px;
}

.btn {
    background: var(--color-action);
    color: #1f2c5c;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    /* font-family: inherit; */
    transition: background 0.2s;
}

.btn:hover {
    background: #ffc251;
}

.link {
    color: var(--color-action);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid transparent;
}

.link:hover {
    border-color: var(--color-action);
}

.stats {
    display: flex;
    gap: 20px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    /* background: var(--color-action);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2c5c;
    font-size: 14px;
    font-weight: 700; */
} 

.stat-icon i {
  font-size: 40px;
  color: #ad98f5;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-main-text);
}

.stat-value {
    font-size: 12px;
    /* color: var(--color-action2); */
    color: #7f7f7f;
    margin-top: 2px;
}


/* BONUS */
/* .book-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
} */

/* .book {
    width: 340px;
    height: auto;
    border-radius: 4px;
    display: block;
} */


.book-wrap{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}

.book{
    width:400px;
    position:relative;
    z-index:5;
}

.kdp-bonus{
  position: absolute;
  top: 60%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  z-index: 10;
}


.bonus{
    position:absolute;
    width:190px;
    padding:3px;
    background:#fff;
    border-radius:10px;
    /* box-shadow:0 15px 40px rgba(0,0,0,.15); */
    z-index:6;
}

.bonus img{
    width:100%;
    display:block;
    border-radius:10px;
}

.bonus-1{
    left: 80px;
    transform: rotate(8deg);
}

.bonus-2{
    left: -95px;
    transform: rotate(-8deg);
}

.bonus-3{
    right: 90px;
    transform: rotate(8deg);
}

.dots-decoration {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(#f5b13a 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    bottom: 30px;
    right: -10px;
    opacity: 0.8;
}

/* MARKER */
/* mark {
  border-image-source: url("https://i.sstatic.net/itcIJoj8.png");
  border-image-slice: 0 27 0 29 fill;
  border-image-width: 0px 1ch 0px 1ch;
  border-image-outset: 0px 1ch 0px 1ch;
  border-image-repeat: round stretch;
  background-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
} */


.marker,
.marker2,
.marker3{
    position:relative;
    display:inline-block;
    z-index:1;
}

.marker::after{
    content:"";
    position:absolute;
    left:-4px;
    right:-4px;
    bottom:0.1em;
    height:0.55em;
    background:#fff176;
    z-index:-1;
    transform:rotate(-1deg);
    border-radius:3px;
}


.marker2::before{
    content:"";
    position:absolute;
    left:-8px;
    right:-8px;
    bottom:0.05em;
    height:0.9em;
    background:rgba(127,92,238,.25);
    border-radius:12px;
    transform:rotate(-1.5deg);
    z-index:-2;
}

.marker3::after{
    content: "";
    position: absolute;
    left: -8px;
    right: -12px;
    bottom: 0.05em;
    height: .9em;
    background: rgba(127, 92, 238, .22);
    border-radius: 58px 40px 55px 25px / 20px 28px 14px 27px;
    transform: rotate(-4.5deg) skewX(-3deg);
    z-index: -2;
}

/* .libro-template-default footer{
    background-color: black;
    position: absolute;
    width: 100%;
    padding: 20px;
} */

@media (min-width: 1300px) {
    .hero-inner{
        padding: 3% 20px;
    }
}

@media (max-width: 1223px) {
    /* .hero {
        overflow: auto;
    } */

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content{
        display: flex;
        flex-direction: column;
        align-items: center; 
    }

    /* h1 {
        font-size: 42px;
    } */

    /* .stats {
        flex-wrap: wrap;
        gap: 28px;
    } */

    .book {
        width: 260px;
    }

    .plead{
        text-align: center;
    }
}

@media (max-width: 763px) {
    .stats {
        flex-wrap: wrap;
    }

    .hero-inner {
        padding: 25px;
    }

    .stat{
        align-items: normal;
    }
    .stat-label{
        font-size: 13px;
    }
    .stat-value {
        display: none;
    }

    .ctas{
        margin-bottom: 10px;
    }

    /* REDES */
    .redes{
        position: fixed;
        bottom: 55px;
        right: 0;
        top: auto;
        /* padding: 20px 15px; */
        padding: 20px 5px;
        z-index: 6;
        display: flex;
        flex-direction: column;
    }

    .book-wrap{
        flex-direction: column;
        gap: 20px;
    }

    /* bonus en column */
    .kdp-bonus{
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding-bottom: 20px;
        height: auto;
        top: 0; 
        left: 0;
        transform: none;
        align-items: center;
        z-index: 0;
    }

  .bonus{
    position: relative;
    width: 80%;
    /* transform: none; */
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;

    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 6px;

    box-shadow: 0 10px 25px rgba(0,0,0,.12);
  }

  .bonus img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
  }

}

@media (max-width: 629px) {
    .stats {
        flex-direction: column;
    }  
    .stat{
        align-items: normal;
    }
    .stat-label{
        font-size: 13px;
    }
    .stat-value {
        display: block;
    }

    /* bonus en column */
    /* .kdp-bonus{
        display: flex;
        flex-direction: column;
    }

    .book-wrap{
       flex-direction: column;
    }

    .bonus{
        position: relative;
        width: 100%;
        padding: 3px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
        z-index: 6;
    }

    .bonus-1,
    .bonus-2,
    .bonus-3{
        left: 0;
        right: 0;
        bottom: 0;
    } */
}
