/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --dark: #0f172a;
    --dark-gray: #1e293b;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --border: #e2e8f0;
    --text: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

/* Compact Container */
.container-compact {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-footer {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

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

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

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

.btn-download-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.3s;
}

.btn-download-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 18px 48px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.platforms {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.hero-visual {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px 80px;
    position: relative;
    z-index: 2;
}

/* Browser Window */
.browser-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s;
}

.browser-window:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.browser-bar {
    background: #f5f5f5;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.browser-dots span:nth-child(1) {
    background: #ff5f56;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #27c93f;
}

.search-bar {
    flex: 1;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-bar span {
    color: #999;
    font-size: 14px;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.search-results {
    padding: 32px;
    background: white;
}

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

.result-item {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s;
    margin-bottom: 8px;
}

.result-item:hover {
    background: var(--light-gray);
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.download-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 48px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.download-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.download-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.download-platform {
    font-size: 20px;
    font-weight: 600;
}

.download-size {
    font-size: 14px;
    opacity: 0.8;
}

.mobile-downloads {
    margin-top: 32px;
}

.mobile-downloads p {
    margin-bottom: 16px;
    opacity: 0.9;
}

.mobile-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.mobile-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.mobile-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Solution Section */
.solution-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 100px 0;
}

.solution-header {
    text-align: center;
    margin-bottom: 64px;
    color: white;
}

.solution-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.solution-header p {
    font-size: 18px;
    opacity: 0.95;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 64px;
    text-align: center;
}

.stat {
    color: white;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    padding: 100px 0;
}

.features-section h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.features-section .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases-section {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    padding: 100px 0;
    color: white;
}

.use-cases-section h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.use-cases-section .section-subtitle {
    text-align: center;
    opacity: 0.95;
    margin-bottom: 64px;
}

.use-case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
    padding: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.use-case.reverse {
    grid-template-columns: 1fr 1fr;
}

.use-case.reverse .use-case-content {
    order: 2;
}

.use-case.reverse .use-case-visual {
    order: 1;
}

.use-case-number {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.use-case-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.use-case-content p {
    margin-bottom: 12px;
    opacity: 0.95;
}

.mockup-small {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mockup-search {
    background: var(--light-gray);
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 500;
}

.mockup-results div {
    padding: 10px;
    margin-bottom: 6px;
    background: white;
    border-radius: 6px;
    color: var(--dark);
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* How It Works Section */
.how-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 100px 0;
}

.how-section h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.how-section .section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 64px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.step {
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 48px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

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

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
}

.step p {
    color: var(--text-light);
}

/* Comparison Section */
.comparison-section {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #feada6 100%);
    padding: 100px 0;
}

.comparison-section h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.comparison-section .section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 64px;
}

.comparison-table {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.comparison-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
}

.feature-name {
    justify-content: flex-start;
    font-weight: 500;
    color: var(--dark);
}

.comparison-row:nth-child(even) {
    background: rgba(99, 102, 241, 0.03);
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 100px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 64px;
    color: var(--dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .download-grid,
    .features-grid,
    .steps-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .use-case {
        grid-template-columns: 1fr;
    }

    .use-case.reverse .use-case-content,
    .use-case.reverse .use-case-visual {
        order: unset;
    }

    .results-split {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .comparison-row {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px 48px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.5);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    pointer-events: none;
    text-align: center;
    min-width: 300px;
}

.toast.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@media (max-width: 768px) {
    .toast {
        left: 50%;
        right: auto;
        width: calc(100% - 64px);
        min-width: auto;
        padding: 20px 32px;
        font-size: 16px;
    }
}
