/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Sticky Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(156, 205, 59, 0.2);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9ccd3b;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-links a:hover {
    color: #9ccd3b;
    background: rgba(156, 205, 59, 0.1);
    border-color: rgba(156, 205, 59, 0.3);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 0.5rem;
    }
    
    .nav-logo span {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
}

@media (max-width: 360px) {
    .nav-container {
        padding: 0.5rem 0.25rem;
    }
    
    .nav-logo span {
        font-size: 1rem;
    }
    
    .nav-links {
        gap: 0.25rem;
    }
    
    .nav-links a {
        font-size: 0.7rem;
        padding: 0.25rem 0.4rem;
    }
}

/* Frame Container */
.frame-container {
    position: relative;
    height: 950vh; /* Extended for longer Frame 5 duration */
    width: 100%;
}

/* Central Image Container - Always Visible */
.central-image-container {
    position: fixed;
    top: calc(50% + 20px);
    left: 20%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.8s ease;
}

.central-product-image {
    width: 100%;
    height: auto;
    max-width: 350px;
    filter: drop-shadow(0 10px 30px rgba(156, 205, 59, 0.3));
    transition: all 0.3s ease;
    position: relative;
    transform: scale(0.6);
    opacity: 0.8;
}

.product-image-wrapper {
    position: relative;
    display: inline-block;
}

.central-product-image:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 15px 40px rgba(156, 205, 59, 0.4));
}

/* Image Hotspots */
.image-hotspot {
    position: absolute;
    width: 12px;
    height: 12px;
    opacity: 0;
    transform: scale(0);
    cursor: pointer;
    z-index: 15;
}

.hotspot-dot {
    width: 100%;
    height: 100%;
    background: #9ccd3b;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(156, 205, 59, 0.6);
    position: relative;
}
.hotspot-txt {
    margin:10px;
}

.hotspot-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(156, 205, 59, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    70% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* Frame Styles */
.frame {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    z-index: 10;
}

.frame-1 {
    top: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    opacity: 1;
    flex-direction: row;
}

.frame-2 {
    top: 150vh;
}

.frame-3 {
    top: 300vh;
    padding-bottom: 20vh;
}

.frame-4 {
    top: 525vh;
    padding-bottom: 20vh;
}

.frame-5 {
    top: 600vh;
    padding-bottom: 20vh;
}

.frame-6 {
    top: 830vh;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
}

.frame-content {
    text-align: center;
    max-width: 1200px;
    padding: 0 20px;
    width: 100%;
}

/* Frame 1: Main Title Styles */
.frame-1 .frame-content {
    flex: 1;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    padding-right: 2rem;
}

.main-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.title-line.highlight {
    background: linear-gradient(45deg, #9ccd3b, #2ecc71, #e74c3c, #f39c12);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: #bdc3c7;
    margin-bottom: 3rem;
    opacity: 1;
    transform: translateY(0);
}

/* Frame 2: Feature Overlay Words */
.frame-2 .frame-content {
    max-width: none;
    padding: 0;
    width: 100%;
}

/* Frame 4: Feature Overlay Words (Copy of Frame 2) */
.frame-4 .frame-content {
    max-width: none;
    padding: 0;
    width: 100%;
}

/* Frame 4: Glass Box Overlay */
.frame-4 .frame-content {
    max-width: 1000px;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.glass-box-overlay {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.glass-box-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-box-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #9ccd3b;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.glass-box-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-bullets li {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
    text-align: left;
}

.feature-bullets li::before {
    content: '●';
    color: #9ccd3b;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.feature-bullets li:last-child {
    margin-bottom: 0;
}

/* Frame 4 visible state */
.frame-4.active .glass-box-overlay {
    opacity: 1;
    transform: translateY(0);
}

.frame-4.active .feature-bullets li {
    opacity: 1;
    transform: translateX(0);
}

.frame-4.active .feature-bullets li:nth-child(1) { transition-delay: 0.1s; }
.frame-4.active .feature-bullets li:nth-child(2) { transition-delay: 0.2s; }
.frame-4.active .feature-bullets li:nth-child(3) { transition-delay: 0.3s; }
.frame-4.active .feature-bullets li:nth-child(4) { transition-delay: 0.4s; }

/* Responsive design for glass box */
@media (max-width: 768px) {
    .glass-box-overlay {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }
    
    .glass-box-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .feature-bullets li {
        font-size: clamp(1rem, 3vw, 1.4rem);
        text-align: left;
    }
}

@media (max-width: 480px) {
    .glass-box-overlay {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .glass-box-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        line-height: 1.2;
    }
    
    .feature-bullets li {
        font-size: clamp(0.9rem, 3.5vw, 1.2rem);
        margin-bottom: 1rem;
        padding-left: 1.5rem;
    }
}

.feature-overlay {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 0;
    margin: 0;
}

.feature-word {
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 800;
    line-height: clamp(3.3rem, 10vw, 10rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(100px);
    text-align: center;
    width: 100%;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Alternating filled and outline styles */
.feature-word:nth-child(odd) {
    color: #9ccd3b;
    background: transparent;
}

.feature-word:nth-child(even) {
    color: #000;
    background: transparent;
    text-shadow: 4px 4px 0 #9ccd3b, -4px -4px 0 #9ccd3b, 4px -4px 0 #9ccd3b, -4px 4px 0 #9ccd3b;
}

/* Frame 3: Feature Callouts */
.features-left,
.features-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    z-index: 20;
}

.features-left {
    left: 50px;
}

.features-right {
    right: 50px;
}

.feature-callout {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.left-feature {
    transform: translateX(-100px) scale(0.8);
}

.right-feature {
    transform: translateX(100px) scale(0.8);
    flex-direction: row-reverse;
}

.feature-callout:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(156, 205, 59, 0.2);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #9ccd3b;
    margin: 0 1rem;
    min-width: 60px;
    text-align: center;
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.9rem;
    color: #bdc3c7;
    line-height: 1.4;
}

.connection-line {
    position: absolute;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #9ccd3b, transparent);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.5s ease;
}

.left-line {
    right: -40px;
    top: 50%;
}

.right-line {
    left: -40px;
    top: 50%;
    background: linear-gradient(-90deg, #9ccd3b, transparent);
    transform-origin: right;
}

.feature-callout.active .connection-line {
    opacity: 1;
    transform: scaleX(1);
}

/* Frame 3: Additional Content */
.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
    opacity: 0;
    transform: translateY(50px);
}

.section-description {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #bdc3c7;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
}

.cta-button {
    background: linear-gradient(45deg, #9ccd3b, #2ecc71);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(156, 205, 59, 0.4);
    background: linear-gradient(45deg, #8fb332, #27ae60);
}

.cta-button a {
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.cta-button a:hover {
    color: #fff;
    text-decoration: none;
}

/* Progress Indicator */
.progress-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.progress-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #9ccd3b;
    box-shadow: 0 0 20px rgba(156, 205, 59, 0.6);
}

.progress-dot.active::before {
    border-color: rgba(156, 205, 59, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .central-image-container {
        width: 300px;
        height: 300px;
    }
    
    .central-product-image {
        max-width: 250px;
    }
    
    .features-left,
    .features-right {
        width: 250px;
    }
    
    .features-left {
        left: 20px;
    }
    
    .features-right {
        right: 20px;
    }
    
    .feature-callout {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .feature-number {
        font-size: 2rem;
        margin: 0 0.5rem;
        min-width: 50px;
    }
    
    .feature-content h3 {
        font-size: 1rem;
    }
    
    .feature-content p {
        font-size: 0.8rem;
    }
    
    .progress-indicator {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .features-left,
    .features-right {
        width: calc(50% - 20px);
        max-width: 180px;
        position: absolute;
        top: auto;
        transform: none;
    }
    
    .features-left {
        left: 10px;
        top: 60%;
    }
    
    .features-right {
        right: 10px;
        top: 60%;
    }
    
    .feature-callout {
        margin-bottom: 1.5rem;
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
    }
    
    .right-feature {
        flex-direction: column;
    }
    
    .feature-number {
        font-size: 2.5rem;
        margin: 0 0 1rem 0;
        min-width: auto;
        order: -1;
    }
    
    .feature-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-content p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .central-image-container {
        top: 40%;
        width: 250px;
        height: 250px;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .features-left,
    .features-right {
        width: calc(50% - 15px);
        max-width: 160px;
    }
    
    .features-left {
        left: 5px;
    }
    
    .features-right {
        right: 5px;
    }
    
    .feature-callout {
        padding: 0.6rem;
        margin-bottom: 1rem;
    }
    
    .feature-number {
        font-size: 2rem;
    }
    
    .feature-content h3 {
        font-size: 0.8rem;
    }
    
    .feature-content p {
        font-size: 0.7rem;
    }
}

/* Footer Styles */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 100;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #9ccd3b;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #9ccd3b;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #666;
}