@import url('https://fonts.googleapis.com/css2?family=Playwrite+VN:wght@100..400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sacramento&display=swap');

:root {
    --primary-color: #8b7355;
    --background-color: #fbf6ef;
    --text-color: #333;
    --accent-color: #ead7c3;
    --secondary-bg: #dce0d9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Navbar Styles */
.navbar {
    background-color: var(--background-color);
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo a{
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: "Sacramento", serif;
    color: var(--text-color);
    z-index: 1001;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.4s;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background-color: var(--accent-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 1rem 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-family: "Playwrite VN", serif;
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.1rem);
    margin-bottom: 3rem;
}

/* Download Container */
.download-container {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 4rem 1rem;
    background: var(--secondary-bg);
}

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

.feature-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

/* Reels Guide Section */
.reels-guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reels-guide-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-family: "Playwrite VN", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tabs a {
    padding: 0.5rem 1rem;
    border: 2px solid #dce0d9;
    border-radius: 0.5rem;
    background-color: var(--background-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.tabs a.active {
    background-color: var(--primary-color);
    color: #fff;
}

.tabs a:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.url-input {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.url-input input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #dce0d9;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.url-input input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.download-btn {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.download-btn:hover {
    background: var(--secondary-bg);
    transform: translateY(-2px);
}

.videoContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #fbf6efd4;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    margin-top: 10px;
}
.vid{
    border-radius: 10px;
}

.text-container {
    background: var(--secondary-bg);
    color: var(--text-color);
    display: flex;
    flex-direction: row;
    gap: .5rem;
    align-items: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s;
}

.text-container:hover {
    background: var(--accent-color);
    transform: translateY(2px);
}

.reels-guide-section {
    background-color: #f9f4ef;
    padding: 3rem 1rem;
    text-align: center;
}

.reels-guide-content {
    max-width: auto;
    margin: 0 auto;
}

.reels-guide-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.reels-guide-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1.5rem;
}

.reels-guide-card {
    font-size: 15px;
    text-align: left;
    align-items: center;
    display: flex;
    gap: 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: calc(70% - 1rem);
}

.reels-guide-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.reels-guide-card p {
    color: #666;
}

.features-section {
    padding: 4rem 2rem;
    background: var(--secondary-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.story-section {
    padding: 4rem 2rem;
    background: var(--secondary-bg);
    text-align: center;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.story-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.story-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.story-btn:hover {
    background: #6f5a44;
}

.testimonial-section {
    padding: 4rem 2rem;
    background: var(--background-color);
    text-align: center;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    color: #666;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: bold;
    color: var(--text-color);
}

.cta-section {
    padding: 4rem 2rem;
    background: var(--accent-color);
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cta-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #6f5a44;
}

.status {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.status.success {
    background: var(--secondary-bg);
    color: #2f5233;
}

.status.error {
    background: #ffebee;
    color: #c62828;
}

.status.loading {
    background: var(--accent-color);
    color: var(--text-color);
}

.progress-bar {
    height: 6px;
    background: var(--secondary-bg);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

.faq-section {
    background-color: var(--secondary-bg);
    padding: 4rem 1rem;
    text-align: center;
}

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

.faq-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    text-align: left;
}

.faq-item h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.footer {
    background: var(--secondary-bg);
    padding: 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-color);
}



/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        background-color: var(--background-color);
        flex-direction: column;
        align-items: center;
        padding-top: 5rem;
        transition: 0.3s;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    .hero-section{
        min-height: 80vh;
    }
    .url-input {
        flex-direction: column;
    }

    .download-btn {
        width: 100%;
    }

    .feature-card {
        margin: 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-content {
        gap: 1rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links a {
        margin: 0;
    }

    .hero-section {
        padding-top: 8rem;
    }

    .reels-guide-card {
        width: 100%;
    }
}