/* 
   Premium SaaS Explainer Animation Style
   Minimal White and Blue Gradient Theme
   Glassmorphism, Soft Shadows, Smooth Transitions 
*/

:root {
    --primary: #0066FF;
    --primary-glow: rgba(0, 102, 255, 0.4);
    --secondary: #E6F0FF;
    --text-main: #1A1A2E;
    --text-muted: #64748B;
    --bg-main: #FAFCFF;
    --bg-card: rgba(255, 255, 255, 0.7);
    --border-light: rgba(0, 102, 255, 0.1);
    --shadow-soft: 0 10px 40px rgba(0, 50, 150, 0.05);
    --shadow-hover: 0 20px 50px rgba(0, 102, 255, 0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients */
body::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

body::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1A1A2E 0%, #0066FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

p {
    color: var(--text-muted);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.pro-badge {
    background: linear-gradient(135deg, #0066FF, #00C6FF);
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    vertical-align: top;
    margin-left: 4px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0066FF 0%, #0044CC 100%);
    color: white;
    box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--primary-glow);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-5 { margin-top: 64px; }
.ml-2 { margin-left: 16px; }

/* Hero Section */
.hero {
    padding: 80px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.supporting-headline {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.hero-image {
    position: relative;
    perspective: 1000px;
}

.floating-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
    border: 1px solid rgba(255,255,255,0.4);
}

@keyframes float {
    0% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
    50% { transform: translateY(-20px) rotateX(-2deg) rotateY(2deg); }
    100% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
}

/* SEO Section */
.seo-section {
    padding: 40px 0;
    text-align: center;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(230,240,255,0.5) 50%, rgba(255,255,255,0) 100%);
}

.seo-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Converter Section */
.converter-section {
    padding: 80px 0;
}

.converter-box {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: var(--radius-lg);
    padding: 64px 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    max-width: 800px;
    margin: 0 auto;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.converter-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #0066FF, #00C6FF);
}

.converter-box:hover, .converter-box.dragover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.limits {
    font-size: 0.875rem;
    margin-top: 16px;
}

.hidden { display: none !important; }

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background: var(--secondary);
    border-radius: 4px;
    margin: 24px 0 16px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0066FF, #00C6FF);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.results-list {
    max-height: 300px;
    overflow-y: auto;
    margin: 24px 0;
    text-align: left;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border-light);
}

.result-item:last-child {
    border-bottom: none;
}

/* Why Convert Section */
.why-convert {
    padding: 80px 0;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    padding: 32px;
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 102, 255, 0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-light);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.text-left { text-align: left; }

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-images img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.feature-images img:hover {
    transform: scale(1.02);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 24px;
    padding-left: 32px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.faq-item {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

/* Footer */
.footer {
    padding: 64px 0 32px;
    background: #0f172a;
    color: #94a3b8;
}

.seo-footer-copy {
    margin-bottom: 48px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom .logo {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-links { display: none; }
    
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .split-layout.reverse .feature-images {
        grid-row: 2;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}
