/* ------------------- */
/* --- AESTHETIC THEME & BASE --- */
/* ------------------- */
:root {
    --bg-color: #fefcfa;
    --text-color: #6d6374;
    --heading-color: #4a3e51;
    --primary-accent: #e1b3be; /* Soft Blush Pink */
    --secondary-accent: #b4a0e5; /* Lavender Mist */
    --white: #ffffff;
    --shadow-soft: 0 8px 30px -15px rgba(120, 100, 130, 0.1);
    --shadow-strong: 0 15px 40px -15px rgba(120, 100, 130, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    /* User's requested font for body */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Helvetica Neue", Arial, Helvetica, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ------------------- */
/* --- LAYOUT & TYPOGRAPHY --- */
/* ------------------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 150px 20px;
}

h1, h2, h3, h4 {
    /* Elegant Serif for headings */
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.2;
}

h1 { font-size: clamp(3.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.8rem, 5vw, 4rem); text-align: center; margin-bottom: 80px; }
p { font-size: 1.1rem; max-width: 600px; }

.btn {
    display: inline-block;
    padding: 18px 42px;
    background-image: linear-gradient(135deg, var(--primary-accent) 0%, #eac9d1 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-soft);
}

.btn:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-strong);
}

/* Reveal Animation on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ------------------- */
/* --- HEADER --- */
/* ------------------- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    position: absolute;
    width: 100%;
    top: 0; left: 0; z-index: 100;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--heading-color);
    text-decoration: none;
}
.logo span { color: var(--primary-accent); }

/* ------------------- */
/* --- HERO SECTION --- */
/* ------------------- */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    perspective: 1500px;
}

#hero h1 { font-style: italic; }
#hero p { margin: 25px 0 40px; }

.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
}

.card {
    position: absolute;
    width: 300px;
    height: 450px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-strong);
    top: 50%; left: 50%;
    transform-origin: center center;
    overflow: hidden;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.card-1 {
    transform: translate(-50%, -50%) rotate(-10deg) translateZ(0px);
    background-color: #fdeef2;
}
.card-1::before {
    background: var(--primary-accent);
    top: -100px; left: -100px;
}

.card-2 {
    transform: translate(-50%, -50%) rotate(0deg) translateZ(50px);
}
.card-2::before {
    background: var(--secondary-accent);
    bottom: -150px; right: -150px;
    opacity: 0.3;
}

.card-3 {
    transform: translate(-50%, -50%) rotate(10deg) translateZ(100px);
    background-color: #f3effc;
}
.card-3::before {
    background: var(--secondary-accent);
    bottom: -100px; right: -100px;
}

/* ------------------- */
/* --- PAIN POINTS BLOCK --- */
/* ------------------- */
#pain-points {
    background-color: var(--white);
}
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.pain-card {
    padding: 30px;
}
.pain-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.pain-card .emoji {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
}

/* ------------------- */
/* --- SOLUTION BLOCK --- */
/* ------------------- */
.solution-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.solution-list .solution-item {
    margin-bottom: 30px;
    padding-left: 40px;
    position: relative;
}

.solution-list .solution-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 5px;
    font-weight: 600;
    color: var(--primary-accent);
    font-size: 1.5rem;
}

.solution-list h3 { font-size: 1.8rem; margin-bottom: 5px; }

.solution-visual-abstract {
    position: relative;
    height: 450px;
    border-radius: 20px;
    background: #f8f6fd;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.abstract-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: popIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.abstract-icon { width: 40px; height: 40px; border-radius: 50%; }
.abstract-line { height: 12px; border-radius: 6px; background: #f0eaf3; }

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ------------------- */
/* --- EXAMPLES (STYLES) BLOCK --- */
/* ------------------- */
#examples {
    background-color: var(--white);
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.style-card {
    height: 400px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-soft);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.style-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.style-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.style-card h4 {
    font-size: 2rem;
    z-index: 3;
    position: relative;
    color: var(--white);
}

.style-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

/* Nail Master Style */
#style-nails { background-color: #f9e7e8; }
#style-nails .glitter {
    position: absolute;
    width: 8px; height: 8px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.8;
    animation: sparkle 3s infinite;
}
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Cosmetologist Style */
#style-cosmo { background-color: #e6e9fc; }
#style-cosmo .wave {
    position: absolute;
    width: 200%; height: 200%;
    top: -50%; left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: wave-move 20s linear infinite;
}
@keyframes wave-move {
    from { transform: rotate(0deg); } to { transform: rotate(360deg); }
}

/* Hair Stylist Style */
#style-hair { background-color: #f5e6d3; }
#style-hair .line {
    position: absolute;
    height: 150%;
    width: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.4), rgba(255,255,255,0));
    transform: rotate(20deg);
    animation: shine 4s ease-in-out infinite;
}
@keyframes shine {
    0% { left: -20%; } 100% { left: 120%; }
}

/* ------------------- */
/* --- FINAL CTA & FOOTER --- */
/* ------------------- */
#final-cta { text-align: center; }
#final-cta h2 { font-style: italic; }
#final-cta p { margin: 20px auto 40px; }

footer {
    text-align: center;
    padding: 50px 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* ------------------- */
/* --- RESPONSIVENESS --- */
/* ------------------- */
@media (max-width: 992px) {
    #hero { grid-template-columns: 1fr; text-align: center; }
    #hero p { margin-left: auto; margin-right: auto; }
    .hero-visual { order: -1; margin-bottom: 40px; height: 400px; }
    .solution-wrapper { grid-template-columns: 1fr; }
    .solution-visual-abstract { margin-top: 40px; }
}

@media (max-width: 768px) {
    .container { padding: 100px 20px; }
    h2 { margin-bottom: 60px; }
    .pain-grid, .styles-grid { grid-template-columns: 1fr; }
}
