/* Basic Reset and Global Styles */
body {
    font-family: 'Inter', serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    position: relative;
}

h1, h2 {
    font-family: 'Lato', serif;
}

/* Background Overlay */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../2024-images/t4a-image-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.bg-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Adjust the last value (0.5) to control the darkness of the overlay */
}

/* Container */
.container {
    max-width: 1000px; /* Adjust the max width as needed */
    margin: 0 auto;
    padding: 0 1em; /* Add some padding for smaller screens */
}

/* Header and Footer */
header, footer {
    background: rgba(28, 28, 215, 0.75);  /* Tana for Action blue #1c1cd7 */
    color: #fff; 
    padding: 1em 0;
    text-align: center;
}

footer h2 {
    margin: 0;
}


/* Header h1 for larger screens */
header h1 {
    margin: 1em 1em 0.25em 1em;
    font-size: 3em;
}

/* Header h1 for smaller screens */
@media screen and (max-width: 768px) {
    header h1 {
        font-size: 2em; /* Adjust this value as needed */
    }
}

header h2 {
    margin: 0 1em;
    font-size: 1.8em;
    font-style: italic;
}

/* Header h2 for smaller screens */
@media screen and (max-width: 768px) {
    header h2 {
        font-size: 1.1em;
    }
}

header p {
    font-size: 1.5em;
}

/* Header p for smaller screens */
@media screen and (max-width: 768px) {
    header p {
        font-size: 1em;
    }
}


/* Section Styles */
section {
    padding: 2em;
    margin: 0;
    background: rgba(255, 255, 255, 0.95); 
}


/* Section Headers */
section h1, section h2 {
    text-align: left;
    font-size: 2em;
    font-weight: 700;
    margin: 1em 0 1.5em 0;
    padding-bottom: 0.5em;
    border-bottom: 4px solid #888;
}

section h3 {
    margin-top: 2.5em;
}


/* Section Specific Styles */
section.testimonial {
    background: rgba(75, 53, 102, 1); /* Tana Ambassador purple, #4b3566 */ 
    color: #fff;
    margin: 2em;
    border-radius: 10px;
    border: 0.5px solid #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.75);
    font-size: 1.1em;
}

@media screen and (max-width: 768px) {
    section.testimonial {
        font-size: 1em;
    }
}


section.intro, section.rj-nestor, {
    background: rgba(255, 255, 255, 0.95); 
}

section.what-is-t4a, section.outcome, section.faq {
    background: rgba(240, 244, 255, 0.95); /* Paler Tana for Action blue */ 
}

section.features, section.concerns {
    background: rgba(51, 51, 51, 0.95);
    color: #fff;
}


/* List Styles */
ul, ol {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul li, ol li {
    margin: 0.5em 0;
}

ul li ul, ol li ul {
    margin-left: 1em;
}

/* Section List Styles */

section ul {
    margin-left: 1em;
}

/* section ul for smaller screens */
@media screen and (max-width: 768px) {
    section ul {
        margin-left: 0;
    }
}


/* Image in What is APP section */
.app-live-img {
    float: right;
    margin: 0 0 1.5em 1.5em;
    max-width: 200px;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .app-live-img {
        float: none;
        display: block;
        margin: 1em auto;
    }
}



/* Section Specific List Styles */

section.features ul li::before {
    content: "✅";
    margin-right: 0.5em;
    color: #333;
}


section.outcome ul li::before {
    content: "💡 ";
}

section.concerns ul li::before {
    content: "🙋‍♀️ ";
}

section.concerns ul li:nth-of-type(even)::before {
    content: "🙋‍♂️ ";
}

section.faq ul li::before {
    content: "❓ ";
}

ul li::before {
    content: "•";
    color: #333;
    margin-right: 0.5em;
}

/* Blockquote Styles */
blockquote {
    font-size: 1.1em;
    margin: 0 auto 1em auto;
    padding: 0.5em 1em;
    quotes: "“" "”" "‘" "’";
}

blockquote::before, blockquote::after {
    font-size: 2em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
    color: #fff;
}

blockquote::before {
    content: open-quote;
}

blockquote::after {
    content: close-quote;
}

.productivity blockquote {
    margin: 1em auto;
    padding: 0.5em 1em;
    border-left: 0.25em solid #333;
    quotes: "“" "”" "‘" "’";
    color: #333;
    background-color: transparent; /* Remove gray background */
}

.productivity blockquote::before, .productivity blockquote::after {
    font-size: 2em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
    color: #333;
}

.productivity cite {
    display: block;
    text-align: left;
    margin-left: 1em;
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #666;
}

/* Primary CTA Container for Optimal Positioning */
.primary-cta-container {
    margin: 35px 0 40px 0;
    text-align: center;
}

/* Enhanced Call to Action Button - Clear Visual Priority */
.cta-button {
    display: block;
    width: fit-content;
    margin: 2em auto;
    padding: 1.3em 2.2em;
    background: linear-gradient(135deg, #00A8A8 0%, #00BABA 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 1.15em;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 168, 168, 0.4);
    transition: all 0.3s ease;
    transform: scale(1);
}

/* Enhanced hover state */
.cta-button:hover {
    background: linear-gradient(135deg, #00BABA 0%, #00CCCC 100%);
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 168, 168, 0.6);
}


.installments {
    display: block;
    width: fit-content;
    margin: 2em auto 2em auto;
    padding: 1em 1.5em;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    background-color: #ABABAB; /* Light Gray for buttons */
}

.installments:hover {
    background-color: #898989;
}

span.button-text {
    font-size: 1.5em;
    font-weight: 700;
}

span.button-price {
    font-size: 1em;
}


/* Additional Styles */


/* INTRO styles */

.intro p {
    text-align: center;
    font-size: 1.5em;
    font-weight: 700;
}

.intro p::before {
    content: "🌊 ";
}

.intro p:nth-of-type(2)::before {
    content: "😵‍💫 ";
}

.intro p:nth-of-type(3)::before {
    content: "📈 ";
}



/* HOW IT WORKS styles */

section.how-it-works ul li::before {
    content: "✅ ";
}

section.how-it-works ul li:nth-of-type(2)::before {
    content: "📺 ";
}

section.how-it-works ul li:nth-of-type(3)::before {
    content: "👥 ";
}

section.how-it-works ul li:nth-of-type(4)::before {
    content: "🆓 ";
}



span.smaller-text {
    font-size: 0.75em;
    display: block;
    margin: 0 0 0 2em;
}


footer {
    padding: 2em 0;
}

.testimonial-author {
    text-align: right;
    font-weight: bold;
    margin-top: -1em;
}

/* Updated list item styles for "concerns" and "faq" sections */
section.concerns ul li, section.faq ul li, section.who-is-app-for ul li {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

section.concerns ul p, section.faq ul p, section.who-is-app-for ul p {
    margin-left: 1em;
    margin-bottom: 2em;
}



/* R.J. Nestor Section Figure and Figcaption */
.rj-nestor {
    position: relative;
    overflow: hidden;
}

.rj-nestor-figure {
    float: right;
    margin: 0 0 1em 1.5em;
    max-width: 200px;
    width: 100%;
    height: auto;
    text-align: center;
}

.rj-nestor-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rj-nestor-figure figcaption {
    font-family: 'Inter', serif;
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5em;
}

@media screen and (max-width: 768px) {
    .rj-nestor-figure {
        float: none;
        display: block;
        margin: 1em auto;
    }
}


/* Highlight Price */
.highlight-price {
    font-weight: bold;
    color: #fff;
    background-color: #f77a27;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Video Container - Enhanced Spacing for New Position */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 50px 0 40px 0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}




section.events {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.event-card {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1em;
    padding: 1em;
    max-width: 300px;
    text-align: center;
    flex: 1 1 calc(33.333% - 2em); /* 3 cards per row with some margin */
    box-sizing: border-box;
}
.event-card h3 {
    font-size: 1.5em;
    margin: 0.5em 0;
}
.event-card p {
    margin: 0.5em 0;
}
.event-card a {
    display: inline-block;
    margin-top: 0.5em;
    padding: 0.5em 1em;
    background-color: #f77a27;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}
.event-card a:hover {
    background-color: #e56d1e;
}
@media (max-width: 1024px) {
    .event-card {
        flex: 1 1 calc(50% - 2em); /* 2 cards per row on medium screens */
    }
}
@media (max-width: 768px) {
    .event-card {
        flex: 1 1 calc(100% - 2em); /* 1 card per row on small screens */
    }
}



/* Ensure the hero-buttons are centered on larger screens */
.hero-buttons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 10px auto;
}

.hero-buttons {
    margin: 20px auto 10px auto;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #f77a27;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero-buttons .btn:hover {
    background-color: #e66923;
}




/* Accordion Styles */
.accordion {
    margin: 2em 0;
}

.accordion-section {
    border-bottom: 1px solid #ccc;
}

.accordion-toggle {
    width: 100%;
    padding: 1em;
    text-align: left;
    background: #f77a27;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: bold;
    transition: background 0.3s ease;
    position: relative;
}

.accordion-toggle:hover {
    background: #e56d1e;
}

.accordion-toggle::before {
    content: "►";
    position: absolute;
    right: 1em;
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.accordion-toggle.active::before {
    content: "▼";
}

.accordion-content {
    display: none;
    padding: 1em;
    background: #fff;
}

.accordion-content .chapter {
    margin-bottom: 1.5em;
}

.accordion-content .chapter h3 {
    margin-top: 0;
}

.accordion-content .video-container {
    margin-top: 1em;
}



/* Chapter Thumbnail Styles */
.chapter {
    overflow: hidden;
}


/* Video Thumbnail Styles */
.thumbnail-container {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
    max-width: 150px; /* Adjust the size as needed */
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

@media screen and (max-width: 768px) {
    .thumbnail-container {
        float: none;
        display: block;
        margin: 1em auto;
    }
}

.video-thumbnail {
    cursor: pointer;
    max-width: 150px;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 60px;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 80%;
    max-width: 700px;
}

.modal-content iframe {
    width: 100%;
    height: 400px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}



/* CLEANING UP FOR MOBILE */

/* Make purchase buttons stack vertically on smaller screens */
@media screen and (max-width: 768px) {
    .hero-buttons .btn {
        display: block;
        margin: 10px 0;
    }
}



/* Adjust caret and text size on smaller screens */
@media screen and (max-width: 768px) {
    .accordion-toggle {
        font-size: 1.2em; /* Adjust as needed */
    }
    
    .accordion-toggle::before {
        font-size: 1em; /* Adjust as needed */
        right: 0.5em;
    }
}



/* Adjust video modal aspect ratio on smaller screens */
@media screen and (max-width: 768px) {
    .modal-content iframe {
        height: 200px; /* Adjust as needed */
    }
}




/* Chapter Div Styling */
.chapter {
    padding: 1em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9; /* Subtle background color */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ensure thumbnail container and text are aligned properly */
.chapter .thumbnail-container {
    float: left;
    margin-right: 1em;
}

/* Clearfix for chapter div to contain floated elements */
.chapter::after {
    content: "";
    display: table;
    clear: both;
}



/* Play button overlay */
.thumbnail-container {
    position: relative;
    display: inline-block;
}

.video-thumbnail {
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: url('../2024-images/play-button.png') no-repeat center center;
    background-size: contain;
    cursor: pointer;
}



/* Add this to your CSS file */

.app-live-img-left {
    float: left;
    margin: 0 1.5em 1.5em 0;
    max-width: 200px; /* Adjust the size as needed */
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .app-live-img-left {
        float: none;
        display: block;
        margin: 1em auto;
    }
}


/* Video Thumbnail Styles */
.thumbnail-container {
    float: left !important;
    margin-right: 1em !important;
    margin-bottom: 1em !important;
    max-width: 150px !important; /* Adjust the size as needed */
    width: 100% !important;
    height: auto !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    border-radius: 5px !important;
}

@media screen and (max-width: 768px) {
    .thumbnail-container {
        float: none !important;
        display: block !important;
        margin: 1em auto !important;
    }
}

/* Ensuring the chapter div contains floated elements */
.chapter::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Tana for Action Member Counter Styles - Professional Social Proof */
.tana-animated-banner {
    background: linear-gradient(135deg, #1c1cd7 0%, #4a4af0 100%);
    color: white;
    text-align: center;
    padding: 18px 15px;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(28, 28, 215, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: subtle-social-glow 4s ease-in-out infinite;
}

.tana-animated-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes subtle-social-glow {
    0%, 100% { 
        box-shadow: 0 6px 15px rgba(28, 28, 215, 0.3);
        border-color: rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 0 8px 20px rgba(28, 28, 215, 0.4);
        border-color: rgba(255, 255, 255, 0.4);
    }
}

.tana-banner-content {
    position: relative;
    z-index: 2;
}

.tana-counter-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tana-counter-text {
    text-align: center;
    line-height: 1.3;
    font-size: 1.2em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.tana-count-number {
    font-size: 3em;
    font-weight: 800;
    font-family: 'Lato', sans-serif;
    color: #4a90e2;
    text-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
    animation: subtle-count-pulse 3s ease-in-out infinite;
    display: block;
    line-height: 1;
}

@keyframes subtle-count-pulse {
    0%, 100% { 
        text-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 4px 12px rgba(74, 144, 226, 0.5);
        transform: scale(1.01);
    }
}

.tana-product-name {
    font-size: 1.1em;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .tana-animated-banner {
        padding: 15px 10px;
        margin: 15px 0;
    }
    
    .tana-counter-text {
        font-size: 1.1em;
    }
    
    .tana-count-number {
        font-size: 2em;
    }
    
    .tana-product-name {
        font-size: 1em;
    }
}

@media screen and (max-width: 480px) {
    .tana-counter-animation {
        gap: 6px;
    }
    
    .tana-counter-text {
        font-size: 1em;
    }
    
    .tana-count-number {
        font-size: 1.8em;
    }
    
    .tana-product-name {
        font-size: 0.95em;
    }
}

/* Session Urgency Styling - Supportive, Not Competing */
.session-urgency-banner {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    text-align: center;
    padding: 18px 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
    animation: very-subtle-pulse 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    font-size: 1.1em;
    font-weight: 500;
}

@keyframes very-subtle-pulse {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
        border-color: rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
        border-color: rgba(255, 255, 255, 0.3);
    }
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.urgency-icon {
    font-size: 1.1em;
    animation: minimal-icon-pulse 3s ease-in-out infinite;
}

@keyframes minimal-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.urgency-text {
    font-size: 1.1em;
    line-height: 1.4;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.inline-urgency {
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-session-info {
    background: #f8f9ff;
    border: 2px solid #e6e8ff;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.community-session-info h4 {
    color: #1c1cd7;
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 700;
}

.community-session-info p {
    margin: 5px 0;
    font-size: 0.95em;
    line-height: 1.4;
}

.session-soon {
    color: #ee5a24;
    font-weight: 600;
    background: rgba(238, 90, 36, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 4px solid #ee5a24;
}

/* Mobile Responsive for Session Elements */
@media screen and (max-width: 768px) {
    .session-urgency-banner {
        padding: 10px 12px;
        margin: 12px 0;
    }
    
    .urgency-content {
        gap: 6px;
    }
    
    .urgency-text {
        font-size: 0.9em;
    }
    
    .community-session-info {
        padding: 12px;
        margin: 12px 0;
    }
    
    .community-session-info h4 {
        font-size: 1em;
    }
    
    .community-session-info p {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 480px) {
    .urgency-content {
        flex-direction: column;
        gap: 4px;
    }
    
    .urgency-text {
        font-size: 0.85em;
        text-align: center;
    }
    
    .inline-urgency {
        font-size: 0.8em;
        padding: 1px 6px;
    }
}

