/* Tailwind CSS Output - Base Styles */

/* Reset and Base */
*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0 solid #e5e7eb;
}

*,
::before,
::after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-scroll-snap-strictness: proximity;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
    /* 设置rem基准值 */
    /* 手机端：1rem = 1rpx (基于750rpx设计稿) */
    font-size: calc(100vw / 750);
}

@media (min-width: 768px) {
    html {
        font-size: 1px;
    }
}

@font-face {
    font-family: 'PingFang';
    src: url('https://yanwukeji.oss-cn-hongkong.aliyuncs.com/redirectPage/fonts/PingFangRegular.ttf') format('truetype');
}

body {
    margin: 0;
    line-height: inherit;
    font-family: 'PingFang', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif !important;
    background-image: url('img/mag.png') !important;
    background-position: top center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    min-height: 100vh;
    background-color: rgb(253, 247, 243);
    font-size: 16px;
    width: 100%;
}

@media (min-width: 768px) {
    body {
        background-image: url('img/bacg.png') !important;
        background-size: cover;
        background-position: top;
    }
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
}

abbr:where([title]) {
    text-decoration: underline dotted;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: inherit;
    text-decoration: inherit;
}

b, strong {
    font-weight: bolder;
}

code, kbd, pre, samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button, select {
    text-transform: none;
}

button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

button, [role=button] {
    cursor: pointer;
}

:disabled {
    cursor: default;
}

audio, canvas, embed, iframe, img, object, svg, video {
    display: block;
    vertical-align: middle;
}

img, video {
    max-width: 100%;
    height: auto;
}

[hidden]:where(:not([hidden=until-found])) {
    display: none;
}

/* Utility Classes - Layout */
.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.bottom-0 {
    bottom: 0px;
}

.left-0 {
    left: 0px;
}

.z-10 {
    z-index: 10;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

/* Utility Classes - Sizing */
.h-auto {
    height: auto;
}

.w-100% {
    width: 100%;
}

/* Generated REM sizes - 1-1920 */
.h-100r { height: 100rem; }
.w-100r { width: 100rem; }
.w-160r { width: 160rem; }
.w-210r { width: 210rem; }
.w-380r { width: 380rem; }
.w-670r { width: 670rem; }

.mb-16r { margin-bottom: 16rem; }
.mb-24r { margin-bottom: 24rem; }
.mb-40r { margin-bottom: 40rem; }
.mr-0 { margin-right: 0px; }
.mt-24r { margin-top: 24rem; }
.mt-40r { margin-top: 40rem; }
.mt-48r { margin-top: 48rem; }
.mt-72r { margin-top: 72rem; }

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Utility Classes - Flexbox */
.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* Utility Classes - Text */
.text-center {
    text-align: center;
}

.text-24r { font-size: 24rem; }
.text-28r { font-size: 28rem; }
.text-32r { font-size: 32rem; }
.text-48r { font-size: 48rem; }
.text-64r { font-size: 64rem; }
.text-20r { font-size: 20rem; }
.text-18r { font-size: 18rem; }

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.leading-45r { line-height: 45rem; }
.leading-32r { line-height: 32rem; }

.text-black2 {
    color: rgba(0, 0, 0, 0.65);
}

.text-black3 {
    color: rgba(0, 0, 0, 0.85);
}

.text-white {
    color: rgb(255 255 255 / 1);
}

/* Utility Classes - Background */
.bg-no-repeat {
    background-repeat: no-repeat;
}

.bg-pink-100 {
    background-color: rgba(255, 105, 180, 0.1);
}

.bg-pink-50 {
    background-color: rgba(255, 105, 180, 0.05);
}

/* Utility Classes - Borders */
.rounded-16r {
    border-radius: 16rem;
}

/* Utility Classes - Padding */
.p-24r {
    padding: 24rem;
}

.p-6 {
    padding: 1.5rem;
}

/* Utility Classes - Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

/* Custom Component Styles */

/* CTA Button */
.ctaButton {
    width: 100%;
    height: 96rem;
    background: linear-gradient(180deg, #FF69B4 0%, #FF1493 46%, #FF69B4 100%);
    box-shadow: 0px 12rem 20rem 0rem rgba(255, 20, 147, 0.3);
    border-radius: 48rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ctaButton:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

@media (min-width: 768px) {
    .ctaButton {
        height: 80rem;
        width: 340rem;
    }
}

/* FAQ Accordion Styles */
.faqItem {
    margin-bottom: 24rem;
}

.faqToggle {
    width: 100%;
    text-align: left;
    padding: 24rem;
    background-color: rgba(255, 105, 180, 0.1);
    border: none;
    border-radius: 16rem;
    cursor: pointer;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faqToggle:hover {
    background-color: rgba(255, 105, 180, 0.15);
    opacity: 0.9;
}

.faqContent {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faqContent.open {
    max-height: 500px;
}

/* Responsive Utilities */
@media (min-width: 768px) {
    .md\:mb-0 { margin-bottom: 0px; }
    .md\:mb-12r { margin-bottom: 12rem; }
    .md\:mb-16r { margin-bottom: 16rem; }
    .md\:mr-40r { margin-right: 40rem; }
    .md\:mt-24r { margin-top: 24rem; }
    .md\:mt-40r { margin-top: 40rem; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:h-120r { height: 120rem; }
    .md\:w-120r { width: 120rem; }
    .md\:w-601r { width: 601rem; }
    .md\:w-720r { width: 720rem; }
    .md\:w-auto { width: auto; }
    .md\:bg-top { background-position: top; }
    .md\:pl-13r { padding-left: 13rem; }
    .md\:pr-8r { padding-right: 8rem; }
    .md\:text-18r { font-size: 18rem; }
    .md\:text-24r { font-size: 24rem; }
    .md\:text-64r { font-size: 64rem; }
    .md\:leading-32r { line-height: 32rem; }
    .md\:hover\:scale-\[1\.02\]:hover {
        --tw-scale-x: 1.02;
        --tw-scale-y: 1.02;
        transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    }
    .md\:hover\:opacity-80:hover {
        opacity: 0.8;
    }
}
