:root {
    /* Color Palette - Premium Dark UI */
    --bg-color: #080c18;
    --bg-darker: #04060c; 
    --surface-color: rgba(15, 22, 38, 0.45);
    --surface-subtle: rgba(255, 255, 255, 0.02);
    
    --accent-red: #ff3344;
    --accent-pink: #d946ef;
    --accent-purple: #8b5cf6;
    --accent-gold: #f59e0b;
    
    --text-main: #ffffff;
    --text-sec: #a1a1aa;
    
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-glow: rgba(139, 92, 246, 0.15);

    /* Uniform service image height */
    --service-img-height: 220px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .section-tag {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: url('assets/hero_bg_photo.png') center/cover no-repeat;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(8, 12, 24, 0.4), rgba(4, 6, 12, 0.98)),
                linear-gradient(to bottom, rgba(8, 12, 24, 0.3), rgba(4, 6, 12, 0.95));
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
}

.hero-logo {
    width: 700px;
    max-width: 100%;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
}

.hook-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 40%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.hero-subtext {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-sec);
    max-width: 680px;
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-pink));
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(255, 51, 68, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(217, 70, 239, 0.45);
}

.cta-secondary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* SECTIONS & TAGS */
.section {
    padding: 7rem 0;
    position: relative;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.bg-gradient {
    background: linear-gradient(to bottom, var(--bg-color), var(--bg-darker));
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(45deg, var(--accent-pink), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-sec);
    max-width: 600px;
    margin: 0 auto 4rem;
}

.p-lead {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

p {
    color: var(--text-sec);
    margin-bottom: 1rem;
}

/* PHILOSOPHY LAYOUT */
.philosophy-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.comparison-card {
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comp-item {
    padding: 1rem 0;
}

.comp-icon {
    font-size: 2rem;
    color: var(--text-sec);
    margin-bottom: 0.8rem;
}

.comp-icon.accent {
    background: linear-gradient(45deg, var(--accent-pink), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.comp-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.comp-item ul {
    list-style: none;
}

.comp-item ul li {
    font-size: 0.9rem;
    color: var(--text-sec);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.comp-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-pink);
}

.comp-divider {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(255,255,255,0.15);
    position: relative;
}

.comp-divider::before, .comp-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.comp-divider::before { left: 0; }
.comp-divider::after { right: 0; }

/* GRIDS & CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    align-items: stretch;
}

.card {
    position: relative;
    border-radius: 24px;
    padding: 2rem 1.8rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Service images - full visibility, no crop on flyer text */
.service-img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: block;
    flex-shrink: 0;
    padding: 0.5rem;
}

/* Taller container for portrait-format flyers */
.service-img-tall {
    height: 460px;
}

/* Push CTA button to bottom of card */
.card-cta {
    margin-top: auto;
    text-align: center;
}

.glass {
    background: var(--surface-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(217, 70, 239, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-pink);
    margin-bottom: 2rem;
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card .desc {
    color: var(--text-sec);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* PRICE & COMBOS STYLING */
.education-banner {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 3.5rem;
    align-items: center;
}

.education-banner .info-icon {
    font-size: 2rem;
    color: var(--accent-pink);
}

.education-banner h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.education-banner p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.combo-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-pink);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.2rem;
    margin-top: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-sec);
    font-weight: 400;
}

.market-compare {
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    font-weight: 600;
    text-decoration: line-through;
    opacity: 0.85;
}

.features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.features li {
    font-size: 0.92rem;
    color: var(--text-sec);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.4;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-pink);
    font-weight: bold;
}

.card .desc {
    color: var(--text-sec);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* card-cta always goes to bottom */
.card-cta {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding-top: 1rem;
}

/* Featured Card specific styling */
.card.featured {
    border-color: rgba(217, 70, 239, 0.3);
    background: linear-gradient(to bottom, rgba(15, 22, 38, 0.65), rgba(21, 27, 43, 0.45));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(217, 70, 239, 0.05);
}

.badge-featured {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-pink));
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* PRINT SIZES TABLE */
.sizes-container {
    margin-top: 4rem;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
}

.sizes-container h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.sizes-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.size-tag {
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.size-tag:hover {
    background: rgba(217, 70, 239, 0.08);
    border-color: rgba(217, 70, 239, 0.3);
    transform: translateY(-2px);
}

.size-tag.double-page {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.05);
}

.size-tag.double-page:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.5);
}

/* VANESSA MAKEUP ALLIANCE */
.alliance-wrapper {
    display: grid;
    grid-template-columns: 1.20fr 0.80fr;
    gap: 4rem;
    border-radius: 32px;
    padding: 4rem;
    align-items: center;
    background: radial-gradient(circle at 90% 10%, rgba(217, 70, 239, 0.10), transparent 50%),
                rgba(15, 22, 38, 0.4);
}

.alliance-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.alliance-content p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.makeup-btn {
    margin-top: 1rem;
    background: linear-gradient(45deg, var(--accent-pink), var(--accent-purple));
    box-shadow: 0 10px 25px rgba(217, 70, 239, 0.25);
}

.icon-btn {
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.makeup-mirror-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 40px rgba(217, 70, 239, 0.02);
}

.makeup-mirror-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.25) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.magic-makeup-icon {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--accent-pink), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.makeup-mirror-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    z-index: 1;
}

.makeup-subtitle-mini {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-sec);
    margin: 0;
    z-index: 1;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 5rem 0 3rem;
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.copyright {
    margin-top: 4rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    background-color: #20b858;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ANIMATIONS */
.fade-in, .animate-slide-up, .animate-pop {
    opacity: 0;
    will-change: transform, opacity;
}

.animate-slide-up {
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-pop {
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in {
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }


/* =============================================
   RESPONSIVE DESIGN
   Desktop-first. Breakpoints:
   1024px → mid desktop / laptop
    768px → tablet portrait
    480px → mobile
   ============================================= */

/* --- MID DESKTOP / LAPTOP (≤1024px) --- */
@media (max-width: 1024px) {

    .hero-logo {
        width: 580px;
    }

    .philosophy-layout {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .alliance-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 3rem;
    }

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

    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* --- TABLET PORTRAIT (≤768px) --- */
@media (max-width: 768px) {

    /* Container padding */
    .container {
        padding: 0 1.2rem;
    }

    /* Sections */
    .section {
        padding: 4rem 0;
    }

    /* Hero */
    .hero {
        padding: 5rem 0 4rem;
    }

    .hero-logo {
        width: 90%;
        max-width: 380px;
        margin-bottom: 1.2rem;
    }

    .hook-title {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
    }

    .cta-button, .cta-secondary {
        width: 100%;
        max-width: 320px;
        text-align: center;
        padding: 0.85rem 1.5rem;
    }

    /* Section headings */
    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    /* Philosophy */
    .philosophy-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .text-left {
        text-align: center;
    }

    .p-lead {
        font-size: 1.05rem;
    }

    .comparison-card {
        padding: 1.5rem 1.2rem;
    }

    /* Grids → single column on tablet */
    .grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* Cards */
    .card {
        padding: 1.8rem 1.5rem;
    }

    /* Service images on tablet: slightly shorter */
    .service-img {
        height: 260px;
    }

    .service-img-tall {
        height: 380px;
    }

    /* Education banner → stack vertically */
    .education-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .education-banner .info-icon {
        font-size: 2.5rem;
    }

    /* Sizes grid → wrap tighter */
    .sizes-container {
        padding: 2rem 1.2rem;
    }

    .sizes-grid {
        gap: 0.6rem;
    }

    .size-tag {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Alliance → stack */
    .alliance-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .alliance-content h2 {
        font-size: 1.6rem;
    }

    .makeup-mirror-card {
        min-height: 200px;
    }

    /* Footer */
    .footer-title {
        font-size: 1.6rem;
    }

    /* WhatsApp button position */
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }
}

/* --- MOBILE PHONES (≤480px) --- */
@media (max-width: 480px) {

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    /* Hero */
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-logo {
        width: 95%;
        max-width: 300px;
    }

    .hook-title {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
    }

    .hero-subtext {
        font-size: 0.92rem;
    }

    /* Headings */
    .section-title {
        font-size: 1.5rem;
    }

    .section-tag {
        font-size: 0.78rem;
    }

    /* Cards */
    .card {
        padding: 1.4rem 1.2rem;
        border-radius: 18px;
    }

    .card h3 {
        font-size: 1.25rem;
    }

    /* Service images on mobile: compact */
    .service-img {
        height: 210px;
    }

    .service-img-tall {
        height: 320px;
    }

    /* Price */
    .price {
        font-size: 1.8rem;
    }

    /* Philosophy comparison card */
    .comparison-card {
        padding: 1.2rem 1rem;
    }

    .comp-icon {
        font-size: 1.5rem;
    }

    /* Education banner */
    .education-banner {
        padding: 1.2rem 1rem;
        border-radius: 14px;
    }

    .education-banner h4 {
        font-size: 1rem;
    }

    /* Sizes grid */
    .sizes-grid {
        flex-direction: column;
        align-items: center;
    }

    .size-tag {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    /* Alliance */
    .alliance-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 18px;
    }

    .alliance-content h2 {
        font-size: 1.35rem;
    }

    .makeup-mirror-card {
        min-height: 160px;
        padding: 2rem 1rem;
    }

    .magic-makeup-icon {
        font-size: 2.2rem;
    }

    .makeup-mirror-card h3 {
        font-size: 1.4rem;
    }

    /* Featured badge */
    .badge-featured {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-title {
        font-size: 1.35rem;
    }

    .copyright {
        font-size: 0.78rem;
        margin-top: 2rem;
    }

    /* WhatsApp */
    .whatsapp-float {
        bottom: 14px;
        right: 14px;
        width: 46px;
        height: 46px;
        font-size: 1.5rem;
    }

    /* Card icon wrapper */
    .card-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
}
