/* CSS Reset & Variables */
:root {
    --primary: #000000;
    --primary-hover: #333333;
    --bg-main: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --bg-gradient: linear-gradient(135deg, #FAFAFA 0%, #F5F5F7 100%);
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --border-hover: #CBD5E1;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.5;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 100px 0;
}

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

.bg-gradient {
    background: var(--bg-gradient);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.logo img {
    height: 28px;
    width: auto;
}

.nav-links a,
.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.nav-btn-link {
    background: none;
    border: none;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-sans);
    padding: 0;
}

.nav-btn-link-mobile {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 8px 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-sans);
}

.desktop-only {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu-overlay {
    display: none;
    /* JS will toggle */
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: white;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-content a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 8px 0;
}

.mobile-menu-content hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 8px 0;
}

/* Hero Section */
/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: left;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 0%, #FAFAFA 0%, #FFFFFF 100%);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

/* Badge Pill */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    background: #F1F5F9;
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #E2E8F0;
    transition: transform 0.2s;
}

.badge-pill:hover {
    transform: scale(1.02);
}

.badge-new {
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-text {
    color: var(--text-main);
}

/* Hero Title */
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(135deg, #000000 0%, #555555 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 48px;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    margin-bottom: 80px;
}

.signup-form {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 480px;
}

.signup-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    font-size: 1rem;
    outline: none;
    font-family: var(--font-sans);
    transition: border-color 0.2s;
}

.signup-form input:focus {
    border-color: var(--primary);
}

.cta-subtext {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94A3B8;
}

/* Hero Image & Floating UI */
.hero-image-container {
    position: relative;
    flex: 1.2;
    min-width: 0;
    /* flexbox text overflow fix */
    margin-right: -800px;
    /* Pull image out of container to the right */
    z-index: 1;
}

.browser-header:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(0deg, #FFFFFF 0%, transparent 25%);
}

.browser-window {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.browser-header {
    background: #F8FAFC;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
}

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

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
}

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

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

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

.browser-address-bar {
    flex: 1;
    background: white;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    padding-left: 12px;
    font-size: 0.8rem;
    color: #94A3B8;
}

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

/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.card-1 {
    top: 80%;
    left: -40px;
    animation-delay: 0s;
    z-index: 999;
}

.card-2 {
    bottom: 20%;
    right: -40px;
    animation-delay: 2s;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.floating-card .text {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    font-size: 0.9rem;
    color: var(--text-main);
}

.floating-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes float {

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

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

/* Trusted By */
.trusted-by {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.trusted-by p {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #94A3B8;
    margin-bottom: 32px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    opacity: 0.6;
}

.logo-ph {
    font-weight: 700;
    font-size: 1.2rem;
    color: #CBD5E1;
    font-family: sans-serif;
}

/* Features Grid */
.section-header {
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: #F8FAFC;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Interactive Tabs Section */
.tabs-header {
    text-align: left;
    margin-bottom: 48px;
    max-width: 800px;
}

.tabs-nav {
    display: inline-flex;
    background: white;
    padding: 6px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    margin-top: 32px;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    /* Firefox */
}

.tabs-nav::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.tab-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.tabs-content-wrapper {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    position: relative;
}

.tab-content {
    display: none;
    width: 100%;
    align-items: center;
    padding: 60px;
    gap: 60px;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: flex;
}

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

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

.tab-text-side {
    flex: 1;
}

.tab-text-side h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}


.check-list {
    padding-top: 1rem;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 500;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.tab-image-side {
    flex: 1.2;
    min-width: 70%;
}

.tab-image-side img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* Footer */
/* Footer */
.footer {
    padding: 40px 0;
    background: white;
    border-top: 1px solid var(--border);
}

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

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

.copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-right a {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-right a:hover {
    color: var(--primary);
}

.footer-link-btn {
    background: none;
    border: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-sans);
}

.footer-link-btn:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        max-width: 100%;
    }

    .hero-cta {
        align-items: center;
        margin-bottom: 0;
    }

    .hero-image-container {
        width: 100%;
        margin-right: 0;
        max-width: 800px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .tab-content {
        flex-direction: column;
        padding: 40px;
        flex-direction: column-reverse;
    }

    .tab-text-side h3 {
        font-size: 1.5rem;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .footer-left {
        flex-direction: column;
        gap: 16px;
    }

    .footer-right {
        flex-direction: column;
        gap: 24px;
    }

    .tab-content {
        flex-direction: column;
        padding: 0px;
        flex-direction: column-reverse;
        gap: 40px;
    }

    .tab-text-side {
        padding: 0 40px 40px 40px;
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1001;
    /* Above navbar */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    /* Flex to center */
    opacity: 1;
}

.modal-container {
    background: white;
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 1rem;
    outline: none;
    font-family: var(--font-sans);
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--primary);
}