/* CSS Variables */
:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Container */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--gray-800);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--gray-400);
}

.btn-ghost {
    background: transparent;
    color: var(--black);
}

.btn-ghost:hover {
    background: var(--gray-100);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 32px;
    width: auto;
}

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

.nav-links a:not(.btn) {
    font-size: 14px;
    color: var(--gray-600);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--black);
}

.nav-links .btn {
    margin-left: 8px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}

.hero-video {
    width: 100%;
}

.hero-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.hero-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-signup {
    max-width: 480px;
    width: 100%;
}

.signup-field {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    padding: 6px 6px 6px 24px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.signup-field:focus-within {
    border-color: var(--gray-400);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.signup-input {
    flex: 1;
    padding: 12px 0;
    font-family: inherit;
    font-size: 16px;
    border: none;
    outline: none;
    background: transparent;
}

.signup-input::placeholder {
    color: var(--gray-400);
}

.signup-btn {
    padding: 12px 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.signup-btn:hover {
    background: var(--gray-800);
}

.signup-note {
    font-size: 14px;
    color: var(--gray-500);
    text-align: center;
}

/* Trust Bar */
.trust-bar {
    padding: 40px 0;
    background: var(--gray-50);
    text-align: center;
}

.trust-bar p {
    font-size: 14px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-logo {
    display: block;
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    object-position: center;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.trust-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Features Section */
.features {
    padding: 100px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    max-width: 480px;
    margin: 0 auto 64px;
}

.features-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.features-detail {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 64px 48px 48px;
    min-height: 400px;
}

.feature-detail-content {
    display: none;
}

.feature-detail-content.active {
    display: flex;
    flex-direction: column;
    gap: 32px;
    animation: fadeIn 0.3s ease;
    padding-top: 16px;
}

.feature-screenshot {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: var(--white);
    margin-top: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-detail-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    margin-top: 0;
}

.feature-detail-content > p {
    color: var(--gray-600);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 24px;
    margin-top: 0;
}

.feature-detail-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-detail-content li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
    font-size: 15px;
}

.feature-detail-content li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    flex-shrink: 0;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.integration-logo {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
}

.migration-note {
    margin-top: 24px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
}

.migration-note strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}

.migration-note p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.features-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.feature-tab:hover {
    background: var(--gray-50);
    color: var(--black);
}

.feature-tab.active {
    background: var(--white);
    border-color: var(--gray-200);
    color: var(--black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-tab svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: var(--transition);
}

.feature-tab:hover svg,
.feature-tab.active svg {
    opacity: 1;
}

/* Payment Methods */
.payment-methods {
    padding: 100px 0;
    background: var(--gray-50);
}

.payment-methods h2 {
    text-align: center;
    margin-bottom: 16px;
}

.methods-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: var(--transition);
}

.method-card:hover {
    border-color: var(--gray-400);
}

.method-card span {
    font-size: 14px;
    color: var(--gray-600);
}

/* Why Section */
.why-section {
    padding: 100px 0;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
}

.why-content h2 {
    margin-bottom: 48px;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.why-point h3 {
    margin-bottom: 8px;
}

.why-point p {
    color: var(--gray-500);
    font-size: 17px;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--gray-50);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 16px;
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    padding: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    text-align: center;
}

.pricing-rate {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.rate {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.rate-label {
    font-size: 14px;
    color: var(--gray-500);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 15px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--black);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--gray-500);
    margin-bottom: 32px;
}

/* Sticky Signup Footer */
.sticky-signup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 16px 24px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.sticky-signup.visible {
    transform: translateY(0);
}

.sticky-signup-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.sticky-signup-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    white-space: nowrap;
}

.sticky-signup-form {
    display: flex;
    align-items: center;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    padding: 4px 4px 4px 16px;
}

.sticky-signup-input {
    padding: 10px 0;
    font-family: inherit;
    font-size: 14px;
    border: none;
    outline: none;
    background: transparent;
    width: 200px;
}

.sticky-signup-input::placeholder {
    color: var(--gray-400);
}

.sticky-signup-btn {
    padding: 10px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.sticky-signup-btn:hover {
    background: var(--gray-800);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-img {
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 14px;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 14px;
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
}

/* Legal Pages */
.legal-page {
    padding: 60px 0 80px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.legal-page .last-updated {
    color: var(--gray-500);
    margin-bottom: 48px;
}

.legal-content {
    max-width: 720px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 48px 0 16px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.legal-content ul {
    margin: 16px 0 16px 24px;
    color: var(--gray-600);
}

.legal-content li {
    margin-bottom: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-100);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links .btn {
        width: 100%;
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 40px 0 48px;
    }

    .hero-grid {
        gap: 20px;
    }

    .trust-logos {
        gap: 32px;
    }
    
    .trust-logo {
        height: 28px;
        width: auto;
        max-width: 100px;
    }
    
    .features-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .features-detail {
        order: 2;
        padding: 32px;
        min-height: auto;
    }
    
    .feature-detail-content.active {
        gap: 24px;
    }
    
    .feature-screenshot {
        border-radius: 8px;
    }
    
    .features-tabs {
        order: 1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .feature-tab {
        padding: 12px 12px;
        flex-direction: column;
        gap: 6px;
        flex: 0 0 auto;
        min-width: 80px;
        text-align: center;
    }
    
    .feature-tab span {
        display: block;
        font-size: 11px;
        font-weight: 500;
    }
    
    .feature-tab svg {
        opacity: 1;
        width: 20px;
        height: 20px;
        margin: 0 auto;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 48px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .methods-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .method-card {
        width: 100%;
        max-width: 280px;
    }
    
    .sticky-signup-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .sticky-signup-text {
        font-size: 14px;
    }
    
    .sticky-signup-form {
        width: 100%;
    }
    
    .sticky-signup-input {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .signup-field {
        flex-direction: column;
        padding: 12px;
        border-radius: 16px;
        gap: 12px;
    }
    
    .signup-input {
        width: 100%;
        text-align: center;
    }
    
    .signup-btn {
        width: 100%;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
}

