/* ========================================
   JILLIAN THOMAS & CO - THANK YOU PAGE
   Brand Colors:
   - Primary: #8D1C90 (signature purple)
   - Secondary: #1C908D (teal)
   - Accent: #908D1C (muted gold)
   - Text: #000000
   - Background: #FFFFFF
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 20px;
    line-height: 1.7;
    color: #000000;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

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

section {
    padding: 5rem 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }
section:nth-child(5) { animation-delay: 0.5s; }
section:nth-child(6) { animation-delay: 0.6s; }
section:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    color: #000000;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #908D1C;
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ========================================
   BUTTONS
   ======================================== */

.cta-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(141, 28, 144, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.primary-cta {
    background-color: #8D1C90;
    color: #FFFFFF;
}

.primary-cta:hover {
    background-color: #6f1673;
    box-shadow: 0 6px 20px rgba(141, 28, 144, 0.3);
    transform: translateY(-2px);
}

.secondary-cta {
    background-color: #1C908D;
    color: #FFFFFF;
}

.secondary-cta:hover {
    background-color: #157470;
    box-shadow: 0 6px 20px rgba(28, 144, 141, 0.3);
    transform: translateY(-2px);
}

/* ========================================
   SECTION 1: HERO / CONFIRMATION
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, rgba(141, 28, 144, 0.03) 0%, rgba(28, 144, 141, 0.03) 100%);
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    color: #000000;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subhead {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.confirmation-note {
    font-size: 1.1rem;
    color: #000000;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(28, 144, 141, 0.08);
    border-radius: 12px;
    border-left: 4px solid #1C908D;
}

.confirmation-note strong {
    color: #8D1C90;
    font-weight: 600;
}

/* ========================================
   SECTION 2: WARM WELCOME VIDEO
   ======================================== */

.welcome-section {
    background-color: #FFFFFF;
}

.video-section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 2rem 0;
}

.video-embed-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-embed-container .instagram-media {
    max-width: 400px !important;
    margin: 0 auto !important;
}

.video-transcript {
    padding: 2rem;
    background-color: rgba(144, 141, 28, 0.05);
    border-left: 4px solid #908D1C;
    border-radius: 8px;
}

.video-greeting {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #000000;
}

.video-transcript p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000000;
}

.video-transcript p:last-child {
    margin-bottom: 0;
}

/* ========================================
   SECTION 3: THE ROOTED & SEEN PHILOSOPHY
   ======================================== */

.philosophy-section {
    background-color: rgba(141, 28, 144, 0.02);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.pillar {
    text-align: center;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.pillar-title {
    color: #8D1C90;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.pillar-text {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.philosophy-footer-large {
    text-align: center;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #000000;
    margin: 3rem 0 0 0;
    line-height: 1.6;
}

/* ========================================
   SECTION 4: WHAT TO EXPECT ON YOUR CALL
   ======================================== */

.expect-section {
    background-color: #FFFFFF;
}

.expect-content {
    max-width: 750px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.expect-list {
    background-color: rgba(28, 144, 141, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #1C908D;
}

.list-title {
    color: #1C908D;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.7;
}

.styled-list .bullet {
    color: #908D1C;
    font-size: 1.5rem;
    margin-right: 1rem;
    line-height: 1.4;
}

.closing-text-large {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    color: #000000;
    margin: 3rem 0 0 0;
    line-height: 1.6;
}

/* ========================================
   SECTION 5: CLIENT WINS / SOCIAL PROOF
   ======================================== */

.testimonials-section {
    background: linear-gradient(135deg, rgba(28, 144, 141, 0.03) 0%, rgba(141, 28, 144, 0.03) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial {
    background-color: transparent;
    perspective: 1000px;
    min-height: 300px;
    cursor: pointer;
}

.testimonial-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.testimonial:hover .testimonial-inner,
.testimonial.flipped .testimonial-inner {
    transform: rotateY(180deg);
}

.testimonial-front,
.testimonial-back {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 300px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    background-color: #FFFFFF;
    overflow-y: auto;
}

.testimonial-front {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-back {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.testimonial-front {
    background: linear-gradient(135deg, rgba(141, 28, 144, 0.05) 0%, rgba(28, 144, 141, 0.05) 100%);
}

.testimonial-back {
    background-color: #FFFFFF;
    transform: rotateY(180deg);
}

.testimonial-front::before {
    content: '"';
    font-size: 4rem;
    color: #8D1C90;
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-back::before {
    content: '"';
    font-size: 3rem;
    color: #8D1C90;
    opacity: 0.3;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-quote-preview {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #8D1C90;
    margin: 0;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #000000;
    margin: 0;
    text-align: left;
    width: 100%;
    position: relative;
    z-index: 1;
}



/* ========================================
   SECTION 6: RESOURCE FOOTER
   ======================================== */

.resource-footer {
    background-color: rgba(144, 141, 28, 0.05);
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background-color: #FFFFFF;
    border-radius: 12px;
    text-decoration: none;
    color: #000000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.resource-link:hover {
    border-left-color: #1C908D;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(28, 144, 141, 0.15);
}

.resource-link i {
    font-size: 1.8rem;
    color: #8D1C90;
    width: 40px;
    text-align: center;
}

.resource-link span {
    font-size: 1.1rem;
    font-weight: 600;
}

.resource-footer-note-large {
    text-align: center;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #000000;
    margin: 3rem 0 0 0;
    line-height: 1.6;
}

/* ========================================
   CONFETTI ANIMATION
   ======================================== */

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
    animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(0) rotateZ(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotateZ(720deg);
    }
}

.confetti-purple { background-color: #8D1C90; }
.confetti-teal { background-color: #1C908D; }
.confetti-gold { background-color: #908D1C; }
.confetti-pink { background-color: #E91E8C; }
.confetti-white { background-color: #FFFFFF; border: 1px solid #8D1C90; }

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: 2.5rem 0;
    text-align: center;
}

.footer-text {
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
    opacity: 0.95;
}

.footer-links {
    font-size: 0.9rem;
    margin: 0;
}

.footer-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-divider {
    margin: 0 0.75rem;
    opacity: 0.7;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    body {
        font-size: 18px;
    }

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subhead {
        font-size: 1.1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial {
        min-height: 250px;
    }

    .testimonial-inner {
        min-height: 250px;
    }

    .testimonial-front,
    .testimonial-back {
        min-height: 250px;
        padding: 2rem;
    }

    .testimonial-quote-preview {
        font-size: 1.15rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .expect-list {
        padding: 1.5rem;
    }

    .video-section-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-embed-container .instagram-media {
        max-width: 100% !important;
    }

    .video-greeting {
        font-size: 2rem;
    }

    .philosophy-footer-large {
        font-size: 1.25rem;
    }

    .closing-text-large {
        font-size: 1.25rem;
    }

    .resource-footer-note-large {
        font-size: 1.25rem;
    }

    .resource-link {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .resource-link i {
        font-size: 1.5rem;
        width: 35px;
    }

    .resource-link span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

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

    .section-header {
        font-size: 1.5rem;
    }

    .pillar-icon {
        font-size: 2.5rem;
    }

    .testimonial {
        padding: 2rem 1.5rem;
    }

    .video-greeting {
        font-size: 1.75rem;
    }

    .philosophy-footer-large {
        font-size: 1.1rem;
    }

    .closing-text-large {
        font-size: 1.1rem;
    }

    .resource-footer-note-large {
        font-size: 1.1rem;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 3px solid #1C908D;
    outline-offset: 3px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .cta-button,
    .video-placeholder {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    section {
        page-break-inside: avoid;
    }
}
