:root {
    --snap-yellow: #FFFC00;
    --snap-secondary: #00c4ff;
    --snap-dark: #121212;
    --snap-light: #f8f8f8;
    --snap-gradient: linear-gradient(135deg, var(--snap-yellow) 0%, #FF0050 100%);
    --shadow-normal: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 12px 32px rgba(0, 0, 0, 0.15);
    --radius-normal: 16px;
    --radius-large: 24px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--snap-light);
    color: var(--snap-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.header {
    padding: 1.2rem 0;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--snap-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo:before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--snap-yellow);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.477 2 2 6.477 2 12C2 17.523 6.477 22 12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2ZM17.71 15.71C17.32 16.1 16.68 16.1 16.29 15.71L14 13.41V18C14 18.55 13.55 19 13 19H11C10.45 19 10 18.55 10 18V13.41L7.71 15.7C7.32 16.09 6.68 16.09 6.29 15.7C5.9 15.31 5.9 14.67 6.29 14.28L11.29 9.28C11.68 8.89 12.32 8.89 12.71 9.28L17.71 14.28C18.1 14.67 18.1 15.31 17.71 15.71Z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 0.3rem 0;
    color: #555;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--snap-dark);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--snap-yellow);
    transition: var(--transition);
}

.nav-links a:hover:after, .nav-links a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background: #121212;
    color: white;
    padding: 6rem 0;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23FFFC00' fill-opacity='0.1' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subheadline {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.download-form {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    background-color: white;
    border-radius: var(--radius-normal);
    overflow: hidden;
    box-shadow: var(--shadow-large);
    margin-bottom: 2rem;
}

.input-group input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.snap-btn {
    padding: 1rem 1.8rem;
    background: var(--snap-yellow);
    color: var(--snap-dark);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    border-radius: 8px;
}

.input-group .snap-btn {
    border-radius: 0;
}

.snap-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ghost-icon, .download-icon {
    font-size: 1.2rem;
}

/* Video Preview Section */
.video-preview {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-normal);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    margin-top: 2rem;
}

.preview-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.thumbnail-container {
    position: relative;
    border-radius: var(--radius-normal);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-details {
    text-align: center;
}

.video-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.meta-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.download-btn {
    background: var(--snap-secondary);
    padding: 0.8rem 2rem;
}

/* Main Content */
.main-content {
    padding: 5rem 0;
}

.content-section {
    max-width: auto;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--snap-yellow);
    border-radius: 10px;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #444;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: white;
    border-radius: var(--radius-normal);
    padding: 2rem;
    box-shadow: var(--shadow-normal);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.highlight-card {
    background: var(--snap-gradient);
    color: white;
}

.benefits-list {
    list-style: none;
    margin-top: 1.5rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.download-steps {
    list-style: none;
    counter-reset: steps;
}

.download-steps li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-emoji {
    font-size: 1.8rem;
    line-height: 1;
}

.download-steps h3 {
    margin-bottom: 0.3rem;
}

/* Unlimited Section */
.unlimited-section {
    background-color: #f0f0f0;
    padding: 4rem 0;
    margin: 4rem 0;
}

.unlimited-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.format-checklist {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-normal);
    box-shadow: var(--shadow-normal);
}

.checklist {
    list-style: none;
    margin-top: 1rem;
}

.checklist li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.unlimited-text {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.final-cta {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-normal);
    text-align: center;
    box-shadow: var(--shadow-normal);
}

.final-cta h3 {
    margin-bottom: 1.5rem;
}

.rocket-cta {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Formats Section */
.dark-section {
    background-color: var(--snap-dark);
    color: white;
    padding: 4rem 0;
    margin: 0;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.format-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-normal);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.format-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.format-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.format-card h3 {
    margin-bottom: 0.5rem;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius-normal);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-danger {
    background-color: #FFEFEF;
    color: #E23636;
}

.alert-success {
    background-color: #EFFFEF;
    color: #36E236;
}

.close-btn {
    cursor: pointer;
    font-size: 1.2rem;
}

/* Footer */
.site-footer {
    background-color: var(--snap-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* About Page */
.about-section {
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    background-color: white;
    border-radius: var(--radius-normal);
    padding: 2.5rem;
    box-shadow: var(--shadow-normal);
}

.lead-paragraph {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.highlight {
    background-color: #FFFDE7;
    border-left: 4px solid var(--snap-yellow);
    padding: 1.5rem;
    margin: 2rem 0;
    font-size: 1.1rem;
}

/* Privacy Policy Page */
.policy-section {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content {
    background-color: white;
    border-radius: var(--radius-normal);
    padding: 2.5rem;
    box-shadow: var(--shadow-normal);
}

.policy-intro {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.policy-card {
    margin-bottom: 2.5rem;
}

.policy-card .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.policy-card .section-title:after {
    left: 0;
    transform: none;
    width: 60px;
}

.policy-list {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.policy-list li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-section {
    max-width: 600px;
    margin: 5rem auto;
    padding: 0 1.5rem;
}

.snap-card {
    background-color: white;
    border-radius: var(--radius-normal);
    padding: 2.5rem;
    box-shadow: var(--shadow-normal);
}

.snap-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.snap-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.snap-input:focus {
    border-color: var(--snap-yellow);
    box-shadow: 0 0 0 2px rgba(255, 252, 0, 0.2);
    outline: none;
}

textarea.snap-input {
    resize: vertical;
    min-height: 120px;
}

.ghost-btn {
    background-color: transparent;
    border: 2px solid var(--snap-yellow);
    color: var(--snap-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ghost-btn:hover {
    background-color: var(--snap-yellow);
    transform: translateY(-2px);
}

/* Preview Page */
.snap-gradient {
    background: linear-gradient(135deg, #FFFC00 0%, #FF00A0 100%);
    min-height: 100vh;
    padding: 4rem 0;
}

.preview-snap-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-large);
    max-width: 800px;
    margin: 0 auto;
}

.preview-header {
    background-color: var(--snap-dark);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.preview-video {
    aspect-ratio: 9/16;
    max-width: 400px;
    margin: 2rem auto;
    border-radius: var(--radius-normal);
    overflow: hidden;
    box-shadow: var(--shadow-normal);
}

.preview-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.snap-info {
    padding: 0 2rem 2rem;
    text-align: center;
}

.snap-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.snap-actions {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

/* Download Page */
.download-ready {
    padding: 3rem 0;
}

.download-card {
    background-color: white;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-large);
    max-width: 800px;
    margin: 0 auto;
}

.download-header {
    background: var(--snap-gradient);
    color: white;
    padding: 2rem;
    text-align: center;
}

.download-video {
    padding: 2rem;
}

.download-actions {
    padding: 0 2rem 2rem;
    display: grid;
    gap: 1rem;
}

/* Guide Section Styles */
.guide-section {
    padding: 4rem 0;
    background-color: white;
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: #333;
}

.guide-block {
    margin-bottom: 3rem;
}

.guide-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #222;
    font-weight: 700;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.8rem;
    display: inline-block;
    min-width: 40px;
}

.feature-list li strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.method-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background-color: #f9f9f9;
    border-radius: var(--radius-normal);
    padding: 2rem;
    box-shadow: var(--shadow-normal);
    transition: var(--transition);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.method-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--snap-gradient);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.method-content {
    flex: 1;
}

.method-content h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #222;
}

.method-content h5 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.8rem;
    color: #333;
}

.steps-list, .app-list {
    margin: 1rem 0 1rem 1.5rem;
}

.steps-list li, .app-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.app-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.app-list li {
    background-color: rgba(255, 252, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.cta-inline {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .method-card {
        flex-direction: column;
    }
    
    .method-number {
        margin-bottom: 1rem;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .unlimited-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 999;
    }
    
    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--snap-dark);
        position: relative;
        transition: var(--transition);
    }
    
    .hamburger:before, .hamburger:after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--snap-dark);
        transition: var(--transition);
    }
    
    .hamburger:before {
        top: -8px;
    }
    
    .hamburger:after {
        top: 8px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group input {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .preview-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .download-steps li {
        flex-direction: column;
        text-align: center;
    }
    
    .step-emoji {
        margin-bottom: 0.5rem;
    }
}

/* =============================================
   AD SLOTS
   ============================================= */

/* Global leaderboard ad below header */
.ad-leaderboard-wrap {
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    text-align: center;
    padding: 8px 0;
    min-height: 50px;
}

.ad-leaderboard {
    max-width: 728px;
    margin: 0 auto;
}

/* Mid-form ad — between preview result and download button */
.ad-mid-form {
    margin: 1.5rem auto;
    text-align: center;
    max-width: 350px;
}

/* In-content ad wrapper */
.ad-in-content {
    text-align: center;
    margin: 2.5rem auto;
    padding: 1rem;
    background: #fafafa;
    border-radius: 12px;
    max-width: 640px;
}

.ad-label {
    font-size: 0.7rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

/* Sticky mobile footer ad */
.sticky-ad-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: white;
    border-top: 1px solid #ddd;
    padding: 6px 8px 6px;
    text-align: center;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
}

.sticky-ad-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    font-size: 0.85rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 2px 4px;
}

@media (max-width: 768px) {
    .sticky-ad-mobile {
        display: block;
    }
    body {
        padding-bottom: 70px; /* prevent content hidden behind sticky ad */
    }
}

/* =============================================
   NAV DROPDOWN
   ============================================= */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    font-weight: 500;
    position: relative;
    padding: 0.3rem 0;
    color: #555;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
    color: var(--snap-dark);
}

.nav-dropdown-toggle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--snap-yellow);
    transition: var(--transition);
}

.nav-dropdown-toggle:hover:after,
.nav-dropdown-toggle.active:after {
    width: 100%;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    min-width: 230px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform: translateX(-50%) translateY(-8px);
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 0.95rem;
    color: #444;
    transition: background 0.15s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: #fffbcc;
    color: var(--snap-dark);
}

.di-icon {
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
}

/* Mobile dropdown */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border-radius: 8px;
        background: #f9f9f9;
        margin-top: 6px;
        padding: 4px 0;
    }
    .nav-dropdown-toggle {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =============================================
   FOOTER TOOL LINKS
   ============================================= */

.footer-tools {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.2rem;
}

.footer-tools strong {
    color: white;
}

.footer-tools a {
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-tools a:hover {
    color: var(--snap-yellow);
}

/* =============================================
   FAQ SECTION
   ============================================= */

.faq-section {
    background: #fff;
    padding: 4rem 0;
}

.faq-grid {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.4rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
    gap: 1rem;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
    width: 28px;
    height: 28px;
    background: var(--snap-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.25s;
    font-style: normal;
}

details[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.4rem 1.2rem;
    color: #555;
    font-size: 0.97rem;
    line-height: 1.7;
    border-top: 1px solid #f5f5f5;
    padding-top: 1rem;
}

/* =============================================
   RELATED TOOLS / TOOLS GRID
   ============================================= */

.related-tools-section {
    background: #f4f4f4;
    padding: 4rem 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tool-card {
    background: white;
    border-radius: 18px;
    padding: 1.8rem 1.4rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.tool-icon {
    font-size: 2.4rem;
    line-height: 1;
}

.tool-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--snap-dark);
}

.tool-desc {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
}

.tool-btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.55rem 1.2rem;
    background: var(--snap-yellow);
    color: var(--snap-dark);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.tool-btn:hover {
    background: #f0e800;
    transform: scale(1.04);
}

/* =============================================
   GENERIC TOOL PAGE HERO (Instagram, TikTok etc)
   ============================================= */

.tool-hero {
    background: #121212;
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tool-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(255,252,0,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.tool-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(4px);
}

/* =============================================
   BLOG PAGE
   ============================================= */

.blog-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.9rem;
    color: #666;
    flex: 1;
}

.blog-read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--snap-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-read-more:hover {
    color: #c8a000;
}

/* =============================================
   TOOLS HUB PAGE
   ============================================= */

.tools-hub-section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.tools-hub-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
    color: #555;
    font-size: 1.1rem;
}

.fb-hero {
    background: #18233a;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fb-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(8, 102, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.fb-hero-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    z-index: 2;
}

.fb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    color: #e0e6ed;
}

.fb-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.fb-subheadline {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.fb-download-form {
    max-width: 750px;
    margin: 0 auto;
}

.fb-input-group {
    display: flex;
    background-color: white;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-large);
    margin-bottom: 2rem;
    padding: 0.4rem;
    align-items: center;
}

.fb-input-icon {
    font-size: 1.4rem;
    padding-left: 1.2rem;
    color: #888;
}

.fb-input-group input {
    flex: 1;
    padding: 1.2rem 1rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
    color: var(--snap-dark);
}

.fb-download-btn {
    padding: 1.2rem 2rem;
    background: #0866ff;
    color: white;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: var(--radius-normal);
    transition: var(--transition);
    white-space: nowrap;
}

.fb-download-btn:hover {
    background: #0056e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 102, 255, 0.3);
}

.fb-result-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-normal);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    margin-top: 2rem;
}

.fb-result-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .fb-result-inner {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
}

.fb-thumb-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 16/9;
}

@media (min-width: 600px) {
    .fb-thumb-wrap {
        width: 200px;
    }
}

.fb-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
}

.fb-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.fb-result-details {
    flex: 1;
}

.fb-video-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.fb-uploader {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.fb-dl-btn {
    width: 100%;
    padding: 1rem;
    background: #00a400;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.fb-dl-btn:hover {
    background: #008a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 164, 0, 0.3);
}

.fb-steps-section {
    padding-top: 4rem;
}

.fb-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.fb-step-card {
    background: white;
    border-radius: var(--radius-large);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-normal);
    position: relative;
    transition: var(--transition);
}

.fb-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.fb-step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #0866ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 4px solid white;
}

.fb-step-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.fb-step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.fb-step-card p {
    color: #666;
    font-size: 1rem;
}

.fb-features-section {
    background: #f4f6fa;
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin: 4rem 0;
}

.fb-features-section .section-title {
    color: #222;
}

.fb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.fb-feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.fb-feat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.fb-feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.fb-feature-item p {
    font-size: 0.95rem;
    color: #666;
}

.fb-guide-blocks {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.fb-guide-block {
    display: flex;
    gap: 1.5rem;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: var(--radius-large);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.fb-guide-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.fb-guide-text h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1c2b33;
}

.guide-steps-list {
    margin-left: 1.5rem;
    color: #444;
}

.guide-steps-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .fb-hero {
        padding: 4rem 0;
    }
    
    .fb-hero h1 {
        font-size: 2.2rem;
    }
    
    .fb-input-group {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
    }
    
    .fb-input-group input {
        width: 100%;
        border-radius: var(--radius-large);
        margin-bottom: 1rem;
        text-align: center;
        padding-left: 1rem;
    }
    
    .fb-input-icon {
        display: none;
    }
    
    .fb-download-btn {
        width: 100%;
        border-radius: var(--radius-large);
    }
    
    .fb-guide-block {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .fb-guide-icon {
        font-size: 2rem;
        margin-bottom: -1rem;
    }
}