/* 
    Base Styles for YupooPhotoHero 
    All colors and fonts are controlled via themes
*/

:root {
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main), sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading), sans-serif;
    color: var(--text-heading);
}

.highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.sticky {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-heading);
}

.logo i {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background: var(--hero-bg);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 50px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-accent);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 50px var(--shadow-color));
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

/* Features */
.features {
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    background: var(--bg-card);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.feature-card i {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* How it Works */
.how-it-works {
    background: var(--bg-alt);
    padding: 100px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
}

.video-placeholder {
    width: 100%;
    max-width: 800px;
    height: 450px;
    background: var(--bg-card);
    border-radius: 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
    gap: 20px;
}

.video-placeholder i {
    width: 80px;
    height: 80px;
    color: var(--primary);
    opacity: 0.5;
}

/* Pricing Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.plan-card {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.plan-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.plan-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag, .lifetime-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.plan-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-heading);
}

.plan-subtitle {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 25px;
}

.plan-price {
    margin-bottom: 30px;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li .check {
    color: var(--primary);
    font-weight: 800;
}

.cta-btn {
    display: block;
    padding: 15px 20px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.plan-card.popular .cta-btn, .plan-card.lifetime .cta-btn {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
}

.cta-btn:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

/* Download Section */
.download-section {
    margin: 40px 0;
    text-align: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    background: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.download-btn:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.download-note {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.6;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.helper-text {
    margin-top: 15px;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .plan-card.popular {
        transform: none;
    }
    .plan-card.popular:hover {
        transform: translateY(-10px);
    }
}

/* FAQ */
.faq {
    padding-bottom: 100px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
}

/* CTA Card */
.cta {
    padding-bottom: 100px;
}

.cta-card {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 80px;
    text-align: center;
    color: #fff;
}

.cta-card h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
}

.whatsapp-float img {
    width: 35px;
}

/* Theme Switcher UI */
.theme-switcher-panel {
    position: fixed;
    top: 50%;
    right: -250px;
    transform: translateY(-50%);
    width: 250px;
    background: var(--bg-card);
    padding: 20px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: 0.3s;
    border-radius: 20px 0 0 20px;
    border: 1px solid var(--border-color);
}

.theme-switcher-panel.active {
    right: 0;
}

.btn-switcher {
    position: absolute;
    left: -50px;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
}

.theme-options h4 {
    margin-bottom: 15px;
}

.theme-options button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-alt);
    color: var(--text-main);
    cursor: pointer;
    border-radius: 8px;
    text-align: left;
}

.theme-options button:hover {
    background: var(--primary);
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
}
