/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0f172a;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    color: #0f172a;
}

.logo-icon {
    display: flex;
    align-items: center;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #94A3B8;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #0f172a;
}

.nav-cta {
    background: #0EA5E9;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 12px rgba(14, 165, 233, 0.3);
}

.nav-cta:hover {
    background: #0284C7;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #fafbff 0%, #f0f1ff 50%, #faf5ff 100%);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent);
    bottom: -50px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0EA5E9;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.6s 0.2s forwards;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0EA5E9;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.6s 0.35s forwards;
}

.gradient-text {
    background: linear-gradient(135deg, #0EA5E9, #818CF8, #0EA5E9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.6s 0.5s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Form ===== */
.hero-form {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.6s 0.65s forwards;
}

.form-group {
    display: flex;
    gap: 8px;
    max-width: 460px;
}

.email-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: #0f172a;
    transition: all 0.2s ease;
    outline: none;
}

.email-input:focus {
    border-color: #0EA5E9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.email-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    background: #0EA5E9;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
    white-space: nowrap;
}

.submit-btn:hover {
    background: #0284C7;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn.success {
    background: #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-icon {
    transition: transform 0.2s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

.form-message {
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    min-height: 20px;
}

.form-message.error {
    color: #ef4444;
}

.form-message.success {
    color: #10b981;
}

/* ===== Hero Proof ===== */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.6s 0.8s forwards;
}

.proof-avatars {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    border: 2px solid #fff;
    margin-left: -8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.avatar:first-child {
    margin-left: 0;
}

.hero-proof p {
    font-size: 0.85rem;
    color: #94A3B8;
}

.hero-proof strong {
    color: #0f172a;
}

/* ===== Hero Visual ===== */
.hero-visual {
    position: relative;
    z-index: 2;
}

.screenshot-wrapper {
    position: relative;
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    animation: fadeUpScale 0.8s 0.5s forwards;
}

@keyframes fadeUpScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.screenshot-glow {
    position: absolute;
    inset: -10%;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.screenshot {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 10px 24px rgba(0, 0, 0, 0.08),
        0 40px 80px rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* ===== Floating Cards ===== */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.03);
    z-index: 5;
    opacity: 0;
    animation: floatIn 0.6s 1.2s forwards;
}

.card-savings {
    bottom: -16px;
    left: -20px;
}

.card-duplicates {
    top: 20px;
    right: -20px;
}

.card-label {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-value {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

@keyframes floatIn {
    to {
        opacity: 1;
    }
}

.card-savings {
    animation: floatIn 0.6s 1.2s forwards, floatBounce 4s 2s infinite ease-in-out;
}

.card-duplicates {
    animation: floatIn 0.6s 1.4s forwards, floatBounce 4s 2.5s infinite ease-in-out;
}

@keyframes floatBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ===== Cloud Strip ===== */
.cloud-strip {
    padding: 48px 0;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.strip-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.cloud-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
}

.cloud-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94A3B8;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cloud-logo-item:hover {
    opacity: 1;
}

/* ===== Features ===== */
.features {
    padding: 100px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: rgba(14, 165, 233, 0.08);
    color: #0EA5E9;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #0f172a;
}

.section-header p {
    font-size: 1.05rem;
    color: #94A3B8;
    max-width: 520px;
    margin: 0 auto;
}

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

.feature-card {
    background: #fafbff;
    border: 1px solid #eef2ff;
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-dashboard {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #0EA5E9;
}

.icon-duplicates {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #10b981;
}

.icon-transfer {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #f59e0b;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.feature-card p {
    font-size: 0.92rem;
    color: #94A3B8;
    line-height: 1.65;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fafbff, #fff);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 28px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0EA5E9, #818CF8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.step-content p {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.65;
}

/* ===== Stats Bar ===== */
.stats-bar {
    padding: 56px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    display: inline;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.8;
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.6;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: #fff;
}

.faq-list {
    max-width: 680px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #f1f5f9;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-item summary:hover {
    color: #0EA5E9;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding-bottom: 20px;
    font-size: 0.92rem;
    color: #94A3B8;
    line-height: 1.7;
}

/* ===== Bottom CTA ===== */
.bottom-cta {
    padding: 80px 0 100px;
    background: #fafbff;
}

.cta-card {
    background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent);
    top: -200px;
    right: -100px;
}

.cta-card::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.15), transparent);
    bottom: -100px;
    left: -50px;
}

.cta-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 1.05rem;
    opacity: 0.75;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.bottom-form {
    position: relative;
    z-index: 1;
}

.bottom-form .form-group {
    margin: 0 auto;
    max-width: 460px;
}

.bottom-form .email-input {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.bottom-form .email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.bottom-form .email-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.bottom-form .submit-btn {
    background: #fff;
    color: #1e293b;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.bottom-form .submit-btn:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.bottom-form .submit-btn.success {
    background: #10b981;
    color: #fff;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-copy {
    font-size: 0.82rem;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.85rem;
    color: #94A3B8;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #0EA5E9;
}

/* ===== Hero Note ===== */
.hero-note {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 12px;
    font-weight: 500;
    opacity: 0;
    animation: fadeUp 0.6s 0.8s forwards;
}

.hero-note a {
    color: #0EA5E9;
    text-decoration: underline;
    text-decoration-color: rgba(14, 165, 233, 0.3);
    transition: text-decoration-color 0.2s ease;
}

.hero-note a:hover {
    text-decoration-color: #0EA5E9;
}

.bottom-note {
    opacity: 1;
    animation: none;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
}

.bottom-note a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration-color: rgba(255, 255, 255, 0.2);
}

.bottom-note a:hover {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

/* ===== Footer Legal ===== */
.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #0EA5E9;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        margin: 0 auto 28px;
    }

    .form-group {
        flex-direction: column;
        margin: 0 auto;
    }

    .submit-btn {
        justify-content: center;
    }

    .hero-proof {
        justify-content: center;
    }

    .screenshot-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .floating-card {
        display: none;
    }

    .cloud-logos {
        flex-direction: column;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .stats-container {
        flex-direction: column;
        gap: 32px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .bottom-form .form-group {
        flex-direction: column;
    }
}