/**
 * SECTIONS - All page sections
 * Hero, coaching, coolerize, shop, etc.
 */

/* ============================================
   SECTION BASE
   ============================================ */

section[data-section] {
    padding: var(--section-padding-y) 0;
    position: relative;
}

.section-title {
    font-size: var(--text-xl);
    text-align: center;
    margin-bottom: var(--space-5);
    font-family: var(--font-display);
}

.section-subtitle {
    text-align: center;
    opacity: 0.8;
    margin-bottom: var(--space-5);
    font-size: var(--text-md);
}

.section-label {
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: var(--space-2);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -3;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 var(--container-padding);
}

.hero-title {
    margin-bottom: var(--space-5);
}

.title-line {
    display: block;
    font-size: var(--text-hero);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    opacity: 0;
    transform: translateY(30px);
}

.hero-logos {
    display: flex;
    gap: var(--space-5);
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-5);
    opacity: 0;
}

.logo-tnn, .logo-coolerize {
    height: 40px;
    width: auto;
}

.hero-cta {
    margin-bottom: var(--space-1);
    opacity: 0;
}

.hero-links {
    display: flex;
    gap: 6px;
    justify-content: center;
    opacity: 0;
    max-width: 223px;
    margin-left: auto;
    margin-right: auto;
}

.hero-links .btn {
    flex: 1;
}

.hero-link {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--duration-fast) var(--ease-out);
}

.hero-link:hover {
    color: var(--orange);
}

/* ============================================
   VIDEO SECTION
   ============================================ */

.video-section {
    background: var(--bg-white);
    color: var(--black);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: var(--space-5);
    border-radius: var(--radius-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    color: var(--white);
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: var(--space-3);
}

.placeholder-label {
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
}

.placeholder-desc {
    font-size: var(--text-sm);
    opacity: 0.7;
    max-width: 400px;
    text-align: center;
}

/* ============================================
   COACHING SECTION
   ============================================ */

.coaching-section {
    background: var(--bg-black);
}

.coaching-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.tnn-logo {
    height: 60px;
    margin: 0 auto var(--space-4);
}

.section-title-tnn {
    font-family: var(--font-heading);
    font-size: var(--text-xxl);
    letter-spacing: var(--tracking-wide);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-3);
}

.tagline {
    font-size: var(--text-md);
    color: var(--orange);
    font-weight: var(--weight-bold);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap-lg);
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Countdown Timer */
.countdown-timer {
    margin: var(--space-4) 0;
    text-align: center;
}

.countdown-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    opacity: 0.7;
    display: block;
    margin-bottom: var(--space-2);
}

.countdown-display {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--orange);
    font-family: var(--font-display);
}

.countdown-name {
    font-size: var(--text-tiny);
    text-transform: uppercase;
    opacity: 0.6;
    margin-top: var(--space-1);
}

/* ============================================
   COOLERIZE SECTION
   ============================================ */

.coolerize-section {
    background: var(--bg-dark-gray);
}

.coolerize-hero {
    position: relative;
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.coolerize-hero-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
    object-position: center top;
}

.coolerize-hero-text {
    position: relative !important;
    font-family: var(--font-display);
    font-size: clamp(36px, 5.5vw, 80px);
    font-weight: var(--weight-bold);
    text-align: center;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    line-height: 0.9;
    letter-spacing: -0.03em;
    background: #000;
    padding: 80px 40px;
}

.coolerize-intro {
    text-align: center;
    margin-bottom: var(--space-6);
}

.coolerize-definition {
    max-width: 1000px;
    margin: 0 auto;
}

.phonetic {
    font-size: var(--text-sm);
    font-style: italic;
    opacity: 0.6;
    margin-top: var(--space-2);
    color: var(--orange);
}

.definition {
    font-size: var(--text-base);
    color: var(--orange);
}

.pricing-grid-four {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap);
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   SHOP SECTION
   ============================================ */

.shop-section {
    background: var(--bg-white);
    color: var(--black);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--grid-gap);
    max-width: 1000px;
    margin: 0 auto;
}

.shop-tile {
    padding: var(--space-5);
    text-align: center;
    cursor: pointer;
    transition: all var(--duration-medium) var(--ease-custom);
    background: rgba(0, 0, 0, 0.9);
    color: var(--white);
}

.shop-tile:hover {
    transform: translateY(-8px);
}

.tile-icon {
    font-size: 48px;
    margin-bottom: var(--space-3);
}

.tile-title {
    font-size: var(--text-md);
    margin-bottom: var(--space-2);
}

.tile-desc {
    font-size: var(--text-sm);
    opacity: 0.7;
}

.shop-tile.coming-soon {
    opacity: 0.6;
    cursor: default;
}

.btn-notify {
    margin-top: var(--space-3);
    padding: 8px 16px;
    font-size: var(--text-xs);
    background: transparent;
    border: 1px solid var(--orange);
    color: var(--orange);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

/* ============================================
   REAL TALK SECTION
   ============================================ */

.real-talk-section {
    background: var(--bg-black);
}

.dm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
    max-width: 1000px;
    margin: 0 auto;
}

.dm-screenshot {
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: transform var(--duration-medium) var(--ease-custom);
}

.dm-screenshot:hover {
    transform: scale(1.05);
}

.dm-screenshot img {
    width: 100%;
    height: auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    background: var(--bg-white);
    color: var(--black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--grid-gap-lg);
    align-items: start;
}

.about-image {
    position: sticky;
    top: 120px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.image-caption {
    font-size: var(--text-xs);
    opacity: 0.6;
    margin-top: var(--space-2);
    text-align: center;
}

.about-story p {
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.about-closing {
    margin: var(--space-5) 0;
    padding: var(--space-4);
    background: rgba(255, 87, 34, 0.1);
    border-left: 4px solid var(--orange);
}

.about-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
}

.social-link {
    color: var(--orange);
    font-weight: var(--weight-bold);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    background: var(--bg-black);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: var(--space-4) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    color: var(--white);
    cursor: pointer;
}

.faq-icon {
    font-size: 32px;
    transition: transform var(--duration-fast) var(--ease-out);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-medium) var(--ease-custom);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-gradient-line {
    height: 2px;
    background: linear-gradient(90deg, var(--orange) 0%, transparent 100%);
    margin-bottom: var(--space-3);
}

.faq-answer p {
    padding-bottom: var(--space-4);
    opacity: 0.8;
}

/* ============================================
   CHALLENGE SECTION
   ============================================ */

.challenge-section {
    background: var(--orange);
    color: var(--white);
}

.challenge-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.challenge-success {
    display: none;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.challenge-success.active {
    display: block;
}

.challenge-success h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

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

.site-footer {
    background: var(--bg-dark-gray);
    padding: var(--space-6) 0 var(--space-4);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--grid-gap-lg);
    margin-bottom: var(--space-5);
}

.footer-col h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
    color: var(--orange);
}

.footer-col ul li {
    margin-bottom: var(--space-2);
}

.footer-col a {
    font-size: var(--text-sm);
    opacity: 0.8;
}

.coming-soon-text {
    font-size: var(--text-sm);
    opacity: 0.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: var(--space-4);
}

.footer-legal a {
    font-size: var(--text-xs);
    opacity: 0.6;
}

/* ============================================
   STICKY DONATE BUTTON
   ============================================ */

.donate-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    background: var(--orange);
    color: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    font-size: var(--text-xs);
    z-index: var(--z-nav);
    transition: all var(--duration-medium) var(--ease-custom);
}

.donate-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-hover);
}

/* ============================================
   EXIT POPUP
   ============================================ */

.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
}

.exit-popup.active {
    display: flex;
}

.exit-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.exit-popup-content {
    position: relative;
    max-width: 680px;
    width: 90%;
    padding: var(--space-6);
    text-align: center;
    z-index: 1;
}

.exit-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--white);
}

.exit-popup-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    line-height: var(--leading-snug);
}

.exit-popup-text {
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
}

.exit-popup-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    max-width: 480px;
    margin: 0 auto;
}

.exit-popup-form input {
    flex: 1 1 45%;
    min-width: 180px;
}

.exit-popup-form button {
    width: 100%;
}