/* 
   ========================================
   Home Page Specific Styles
   ========================================
*/
#upper {
    position: absolute;
    top: 0;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    padding-top: 110px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 100px -100px 200px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.hero-container {
    display: flex;
    width: 100%;
    max-width: var(--container-width);
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    padding: var(--spacing-sm) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content .location-tag {
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    font-weight: 700;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: var(--spacing-xs);
}

.hero-content p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
    max-width: 600px;
    font-size: 1.2rem;
}

.hero-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    display: inline-block;
    font-weight: 700;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    display: none;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
}

/* Spotlight Section */
.spotlight-section {
    padding: var(--spacing-xl) 0;
    background: radial-gradient(circle at 50% 80%, #500000 0%, var(--bg-dark) 60%);
    color: white;
    overflow: hidden;
    position: relative;
}

.spotlight-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("./images/discipline.png");
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    font-weight: 400;
    color: var(--text-white);
}

.section-header p {
    color: #e0e0e0;
    font-size: 1.3rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.social-links>div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link-tt {
    filter: drop-shadow(0 0 10px rgba(224, 14, 112, 1));
}

.social-link-fb {
    filter: drop-shadow(0 0 10px rgb(14, 63, 224));
}

.spotlight-icon {
    font-size: 1.5rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
    vertical-align: middle;
}



.highlight-link {
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-link:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.spotlight-item {
    background-color: transparent;
    overflow: visible;
    aspect-ratio: auto;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: none;
    border-radius: 0;
    padding: 0;
}

.spotlight-item:hover {
    transform: translateY(-10px);
}

.spotlight-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    border-radius: 32px;
}

/* iPhone Frame Overlay */
.iphone-frame {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 16px 12px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 42px;
    box-shadow:
        0 20px 20px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 0 3px #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iphone-frame:hover {
    transform: translateY(-8px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        inset 0 0 0 2px rgba(255, 255, 255, 0.15),
        inset 0 0 0 3px #000;
}

/* iPhone Screen Container */
.iphone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
        inset 0 0 6px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

/* iPhone Notch */
.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 28px;
    background: #000;
    border-radius: 0 0 18px 18px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.iphone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background: #1a1a1a;
    border-radius: 3px;
}

.iphone-notch::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 20px;
    width: 8px;
    height: 8px;
    background: #1a3a1a;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 255, 0, 0.3);
}

/* Side Buttons */
.iphone-button-left {
    position: absolute;
    left: -2px;
    top: 100px;
    width: 3px;
    height: 30px;
    background: linear-gradient(90deg, #0a0a0a, #1a1a1a);
    border-radius: 2px 0 0 2px;
}

.iphone-button-left::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 3px;
    height: 50px;
    background: linear-gradient(90deg, #0a0a0a, #1a1a1a);
    border-radius: 2px 0 0 2px;
}

.iphone-button-left::after {
    content: '';
    position: absolute;
    top: 110px;
    left: 0;
    width: 3px;
    height: 50px;
    background: linear-gradient(90deg, #0a0a0a, #1a1a1a);
    border-radius: 2px 0 0 2px;
}

.iphone-button-right {
    position: absolute;
    right: -2px;
    top: 120px;
    width: 3px;
    height: 70px;
    background: linear-gradient(270deg, #0a0a0a, #1a1a1a);
    border-radius: 0 2px 2px 0;
}

/* Video Content Area */
.iphone-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
    border-radius: 0px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(211, 47, 47, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 5px;
}

.loading-media {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-gray);
}

/* Features Section */
.features-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-darker);
    position: relative;
}

.features-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: url("./images/honey.jpg");
    opacity: 0.4;
    pointer-events: none;
    mix-blend-mode: overlay;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 1);
}

.features-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
}

.features-text {
    text-align: center;
}

.features-text h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.features-text p {
    color: var(--text-gray);
}

.features-list {
    grid-template-columns: 1fr 1fr 1fr;
    display: grid;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
}

.feature-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: max(180%, 800px);
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
    mix-blend-mode: lighten;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 1);
    border: 1px solid var(--text-gray)
}

.feature-item:nth-child(1)::after {
    background-image: url("./images/peace.png");
}

.feature-item:nth-child(2)::after {
    background-image: url("./images/kali-gym.png");
}

.feature-item:nth-child(3)::after {
    background-image: url("./images/alley.png");
}

.feature-icon {
    /* background-color: var(--primary-red-hover); */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--text-gray);
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.feature-content p {
    color: var(--text-white);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-darker);
}

.testimonials-section h2 {
    margin-bottom: var(--spacing-lg);
    font-size: 3rem;
    font-weight: 400;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.testimonial-card {
    background-color: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--text-gray);
    position: relative;
    padding-top: 3rem;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 0;
    font-size: 5rem;
    color: var(--primary-red-hover);
    opacity: 0.5;
    font-family: serif;
    line-height: 1;
}

@keyframes rainbowBorder {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    background:
        linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        linear-gradient(90deg, var(--primary-red), var(--accent-amber), var(--bg-card), var(--primary-red), var(--accent-amber), var(--bg-card), var(--primary-red)) border-box;
    background-size: auto, 200% 100%;
    animation: rainbowBorder 4s ease-in-out infinite;
}

.testimonial-card p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    color: #ddd;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.avatar-placeholder {
    color: var(--text-gray);
    font-size: 2rem;
    top: 5px;
    position: relative;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--text-gray);
    text-align: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--accent-amber);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-sm) 0;
    text-align: center;
    background-color: var(--bg-light);
}

.cta-container h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.cta-container h3 {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: var(--spacing-sm);
}

.cta-container p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
}

.cta-container button {
    background-color: var(--primary-red);
    border: 1px solid var(--text-gray);
    color: var(--text-white);
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
}

.cta-container button span {
    display: inline-block;
    transform: skewX(20deg);
}

.cta-container button:hover {
    background-color: var(--primary-red-hover);
}

/* Nav Free Trial Button Visibility */
#nav-free-trial-btn {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0px);
}

#nav-free-trial-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: skewX(-20deg);
}

/* Responsive */
@media (max-width: 768px) {

    .hero-container {
        flex-direction: column;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .spotlight-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .feature-item::after {
        background-size: cover;
    }
}