:root {
    /* Ultra Professional Color System */
    --primary-50: #f5f3ff;
    --primary-100:
        --primary-100: #ede9fe;
    --primary-200: #ddd6fe;
    --primary-300: #c4b5fd;
    --primary-400: #a78bfa;
    --primary-500: #8b5cf6;
    --primary-600: #7c3aed;
    --primary-700: #6d28d9;
    --primary-800: #5b21b6;
    --primary-900: #4c1d95;

    --secondary-50: #fff7f5;
    --secondary-100: #ffefeb;
    --secondary-200: #ffd8d2;
    --secondary-300: #ffb4a9;
    --secondary-400: #ff8a7a;
    --secondary-500: #ff5449;
    --secondary-600: #ee332c;
    --secondary-700: #d61f23;
    --secondary-800: #b01b23;
    --secondary-900: #8c1d23;

    --success-50: #f0fdf4;
    --success-100: #dcfce7;
    --success-200: #bbf7d0;
    --success-300: #86efac;
    --success-400: #4ade80;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --success-700: #15803d;
    --success-800: #166534;
    --success-900: #14532d;

    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 50%, #c4b5fd 100%);
    --gradient-secondary: linear-gradient(135deg, #ee332c 0%, #ff5449 100%);
    --gradient-mix: linear-gradient(135deg, #6d28d9 0%, #9333ea 50%, #ee332c 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-light: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.5);
    --shadow-glow-secondary: 0 0 20px rgba(238, 51, 44, 0.5);

    /* Animations */
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-back: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::selection {
    background: rgba(124, 58, 237, 0.2);
    color: var(--primary-700);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--neutral-800);
    background: var(--neutral-50);
    overflow-x: hidden;
    transition: all 0.3s var(--ease-out-expo);
    scroll-padding-top: 120px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-700);
}

/* Animated Background System */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    background:
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(238, 51, 44, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.1) rotate(1deg);
    }

    50% {
        transform: scale(1.05) rotate(2deg);
    }

    75% {
        transform: scale(1.15) rotate(1deg);
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s var(--ease-out-expo);
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
    position: relative;
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-top: 2px solid var(--secondary-500);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.loading-subtext {
    font-size: 1rem;
    opacity: 0.6;
    font-weight: 400;
}

/* Smart Navbar */
.navbar-custom {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    padding: 0.75rem 1.5rem;
    z-index: 1050;
    transition: all 0.6s var(--ease-out-expo);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    min-width: 650px;
    opacity: 1;
    visibility: visible;
}

.navbar-custom.scrolled {
    top: 1rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateX(-50%) scale(0.98);
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-custom.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-120%);
    pointer-events: none;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.brand-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.4s var(--ease-in-out-back);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.brand-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

.brand-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
}

.navbar-brand:hover .brand-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.navbar-brand:hover .brand-icon::before {
    left: 100%;
}

.navbar-brand:hover .brand-icon::after {
    opacity: 1;
}

/* Navigation Links */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(248, 250, 252, 0.6);
    border-radius: 35px;
    padding: 0.4rem;
    border: 1px solid rgba(226, 232, 240, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    text-decoration: none;
    color: var(--neutral-600);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 25px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.7) rotate(5deg);
    transition: all 0.4s var(--ease-out-expo);
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s var(--ease-out-expo);
    transform: translate(-50%, -50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.nav-link:hover::after {
    width: 100px;
    height: 100px;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.nav-icon {
    font-size: 1rem;
    transition: all 0.3s var(--ease-out-expo);
}

.nav-link:hover .nav-icon {
    transform: scale(1.15) rotate(10deg);
}

/* CTA Button */
.navbar-cta {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
}

.navbar-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.navbar-cta:hover::before {
    left: 100%;
}

.navbar-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.4);
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-400);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-700);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    background: var(--primary-500);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-600);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--neutral-500);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic {
    width: 400px;
    height: 400px;
    position: relative;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.tiktok-phone {
    width: 220px;
    height: 440px;
    background: var(--neutral-800);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 8px solid var(--neutral-700);
    z-index: 1;
}

.phone-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    overflow: hidden;
}

.tiktok-ui {
    width: 100%;
    height: 100%;
    position: relative;
}

.tiktok-logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--secondary-500);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: logoFloat 4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(238, 51, 44, 0.5);
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.1);
    }
}

.download-arrows {
    position: absolute;
    top: 50%;
    left: 120%;
    transform: translateY(-50%);
    width: 120px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.download-arrow {
    font-size: 2rem;
    color: var(--primary-500);
    animation: arrowPulse 1.5s ease-in-out infinite;
}

.download-arrow:nth-child(2) {
    animation-delay: 0.3s;
}

.download-arrow:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes arrowPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

.video-playing {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 140px);
    background: url('https://via.placeholder.com/200x350/333333/FFFFFF?text=TikTok+Video');
    background-size: cover;
    background-position: center;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.video-control {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.tiktok-files {
    position: absolute;
    bottom: -30px;
    right: -100px;
    display: flex;
    gap: 20px;
}

.file-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-xl);
    animation: fileFloat 4s ease-in-out infinite;
    position: relative;
}

.file-icon.video {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    animation-delay: 0.2s;
}

.file-icon.audio {
    background: linear-gradient(135deg, var(--secondary-600) 0%, var(--secondary-700) 100%);
    animation-delay: 0.6s;
}

@keyframes fileFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

/* Converter Section */
.converter-section {
    padding: 6rem 0;
    position: relative;
    background: white;
}

.converter-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.converter-card {
    background: var(--neutral-50);
    border-radius: 30px;
    padding: 3rem;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid var(--neutral-200);
}

.converter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.converter-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.12),
        0 15px 30px rgba(0, 0, 0, 0.08);
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.url-input {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--neutral-200);
    border-radius: 20px;
    background: white;
    transition: all 0.3s var(--ease-out-expo);
    color: var(--neutral-700);
    font-weight: 500;
}

.url-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

.url-input::placeholder {
    color: var(--neutral-400);
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--primary-500);
    pointer-events: none;
    transition: all 0.3s ease;
}

.url-input:focus+.input-icon {
    color: var(--primary-600);
    transform: translateY(-50%) scale(1.1);
}

.btn-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-download {
    flex: 1;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow:
        0 10px 25px rgba(124, 58, 237, 0.3),
        0 5px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.btn-audio {
    background: var(--gradient-secondary);
    box-shadow:
        0 10px 25px rgba(238, 51, 44, 0.3),
        0 5px 10px rgba(0, 0, 0, 0.05);
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px rgba(124, 58, 237, 0.4),
        0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-audio:hover {
    box-shadow:
        0 20px 40px rgba(238, 51, 44, 0.4),
        0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.btn-download:hover .btn-icon {
    transform: scale(1.2) translateX(-3px);
}

/* Loading indicator */
.loading {
    display: none;
    margin-top: 2rem;
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--primary-100);
    border-top: 4px solid var(--primary-600);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.loading-text {
    color: var(--neutral-600);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Progress bar */
.progress-container {
    height: 6px;
    background: var(--neutral-200);
    border-radius: 8px;
    overflow: hidden;
    margin: 2rem 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-container.active {
    opacity: 1;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Video Preview */
.video-preview {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid var(--neutral-200);
    display: none;
    animation: fadeInUp 0.5s var(--ease-out-expo);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.preview-info {
    flex: 1;
}

.preview-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.preview-author {
    color: var(--primary-600);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--neutral-100);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-700);
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.25rem;
    color: var(--neutral-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Feature Cards */
.feature-card {
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-icon.quality {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
}

.feature-icon.speed {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.feature-icon.secure {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature-icon.free {
    background: linear-gradient(135deg, var(--secondary-500) 0%, var(--secondary-700) 100%);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--neutral-600);
    line-height: 1.6;
    font-size: 1rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.stats-container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s var(--ease-out-expo);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-weight: 600;
    opacity: 0.9;
}

/* Error & Success Messages */
.message {
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    display: none;
    font-weight: 500;
    align-items: center;
    gap: 0.75rem;
}

.message.show {
    display: flex;
    animation: slideInUp 0.3s var(--ease-out-expo);
}

.error-message {
    background: var(--secondary-50);
    border: 1px solid var(--secondary-200);
    color: var(--secondary-700);
}

.success-message {
    background: var(--success-50);
    border: 1px solid var(--success-200);
    color: var(--success-700);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Button */
.scroll-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow:
        0 8px 32px rgba(124, 58, 237, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s var(--ease-out-expo);
    z-index: 1000;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transform: translateY(0) scale(1);
}

.scroll-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow:
        0 20px 50px rgba(124, 58, 237, 0.5),
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-developer {
    color: var(--primary-400);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-developer:hover {
    color: var(--primary-300);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .navbar-custom {
        min-width: auto;
        width: calc(100% - 3rem);
    }

    .hero-graphic {
        width: 300px;
        height: 300px;
    }

    .tiktok-phone {
        width: 180px;
        height: 360px;
    }

    .file-icon {
        width: 60px;
        height: 60px;
    }

    .download-arrows {
        left: 110%;
    }
}

@media (max-width: 768px) {
    .navbar-custom {
        padding: 0.6rem 1rem;
        top: 1rem;
        min-width: auto;
        width: calc(100% - 2rem);
    }

    .navbar-container {
        gap: 1rem;
    }

    .brand-text {
        display: none;
    }

    .navbar-nav {
        gap: 0.1rem;
        padding: 0.3rem;
    }

    .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .nav-text {
        display: none;
    }

    .navbar-cta {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .navbar-cta span {
        display: none;
    }

    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .converter-card {
        padding: 2rem 1.5rem;
    }

    .btn-container {
        flex-direction: column;
    }

    .hero-graphic {
        width: 240px;
        height: 240px;
        margin-top: 2rem;
    }

    .tiktok-phone {
        width: 150px;
        height: 300px;
    }

    .tiktok-files {
        bottom: -20px;
        right: -60px;
    }

    .file-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .download-arrows {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-graphic {
        transform: scale(0.8);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .scroll-button {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ============================================
   ODRA SECURITY BADGE - Blue & Red Theme v5.0
   TikTok Edition
   ============================================ */

.brand-odra-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.odra-premium-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.odra-premium-badge:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.odra-inner-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.odra-shield-container {
    position: relative;
    width: 36px;
    height: 36px;
}

.odra-shield {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 60%, #dc2626 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.odra-shield i {
    font-size: 0.95rem;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.odra-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.odra-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.odra-logo {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.odra-version {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 3px 7px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 5px;
    color: #3b82f6;
    text-transform: uppercase;
}

.odra-status-line {
    display: flex;
    align-items: center;
    gap: 5px;
}

.odra-status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.odra-status-text {
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
}

.odra-security-indicators {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 12px;
    border-left: 2px solid rgba(59, 130, 246, 0.2);
}

.odra-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.odra-indicator:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

.odra-indicator i {
    font-size: 0.55rem;
    color: #3b82f6;
}

.odra-indicator span {
    font-size: 0.5rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.odra-indicator.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.odra-indicator.active i,
.odra-indicator.active span {
    color: #10b981;
}

/* ============================================
   PREMIUM FOOTER - Modern Design v5.0
   TikTok Edition
   ============================================ */

.premium-footer {
    position: relative;
    background: linear-gradient(180deg, #070b14 0%, #0c1222 50%, #0a0f1a 100%);
    padding: 60px 0 40px 0;
    overflow: hidden;
}

/* Animated Background Effects */
.footer-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.footer-glow-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    top: -250px;
    left: -150px;
    animation: glowFloat 10s ease-in-out infinite;
}

.footer-glow-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    bottom: -200px;
    right: -100px;
    animation: glowFloat 12s ease-in-out infinite reverse;
}

@keyframes glowFloat {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.15;
    }

    50% {
        transform: translate(30px, -30px);
        opacity: 0.2;
    }
}

/* Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Main Footer */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 60%, #dc2626 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.footer-logo-icon i {
    font-size: 1.5rem;
    color: white;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-subtitle {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.8);
    font-weight: 500;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.9);
    line-height: 1.6;
    max-width: 350px;
}

/* Security Badge */
.footer-security {
    display: flex;
    align-items: flex-start;
}

.security-badge-large {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(239, 68, 68, 0.06) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.security-badge-large:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

.security-icon-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-pulse {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #dc2626);
    opacity: 0.3;
    animation: securityPulse 2s ease-in-out infinite;
}

@keyframes securityPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.15;
    }
}

.security-icon-wrapper i {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #60a5fa, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.security-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.security-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
}

.security-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: statusBlink 2s ease-in-out infinite;
}

/* Tech Section */
.footer-tech-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.tech-badge:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #cbd5e1;
    border-color: rgba(59, 130, 246, 0.3);
}

.tech-badge i {
    color: #3b82f6;
    font-size: 0.85rem;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.7);
}

.footer-copyright strong {
    color: #f8fafc;
    font-weight: 600;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links-bottom a {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-bottom a:hover {
    color: #3b82f6;
}

.footer-links-bottom .divider {
    color: rgba(148, 163, 184, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .brand-odra-group {
        align-items: center;
    }

    .odra-premium-badge {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 12px;
    }

    .odra-security-indicators {
        border-left: none;
        padding-left: 0;
        padding-top: 8px;
        border-top: 1px solid rgba(59, 130, 246, 0.15);
        width: 100%;
        justify-content: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-security {
        justify-content: center;
    }

    .footer-tech-section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .premium-footer {
        padding: 50px 0 30px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .security-badge-large {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}
