:root {
    --primary: #7b68ee;
    /* ClickUp Purple */
    --secondary: #ff57d4;
    /* ClickUp Pink */
    --accent: #2ecd71;
    /* ClickUp Green */
    --bg: #ffffff;
    --bg-alt: #f1f5f9;
    --text: #1a1f36;
    --text-dim: #4f566b;
    --border: #e6ebf1;
    --card-bg: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.narrow {
    max-width: 700px;
}

/* Instantly Aesthetic Components */
.card-ui {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1.25rem 0;
}

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

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -1.5px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: #475569;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a.btn-primary {
    color: #ffffff;
}

.nav-links a.btn-secondary {
    color: var(--text);
}

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

.nav-links a.btn-primary:hover {
    color: #ffffff;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 30px rgba(123, 104, 238, 0.4);
}

.btn-secondary {
    color: var(--text);
    padding: 0.8rem 1.8rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--border);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: 0.3s;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.25rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 12rem;
    padding-bottom: 8rem;
    background:
        radial-gradient(at 0% 0%, rgba(123, 104, 238, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 87, 212, 0.1) 0px, transparent 50%),
        #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(30, 98, 255, 0.08);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(30, 98, 255, 0.1);
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.metrics-preview {
    display: flex;
    gap: 3rem;
}

.metric-item .value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.metric-item .label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* UI Card Preview */
.main-ui-preview {
    padding: 0;
    background: #ffffff;
    box-shadow: var(--shadow-large);
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    transition: transform 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.main-ui-preview:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.card-header {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.card-header .title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 1.5rem;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
}

.card-body {
    padding: 1.5rem;
}

.ui-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.ui-item.no-border {
    border-bottom: none;
}

.ui-avatar {
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 50%;
}

.ui-info {
    flex: 1;
}

.ui-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.ui-title {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.ui-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: #dcfce7;
    color: #166534;
}

.ui-badge.processing {
    background: #dbeafe;
    color: #1e40af;
}

.ui-badge.verifying {
    background: #fef9c3;
    color: #854d0e;
}

.ui-status-text {
    font-size: 0.7rem;
    color: var(--primary);
}

.placeholder-bg {
    height: 150px;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    font-weight: 800;
    font-size: 1.5rem;
}

.ai-code-sample {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.ai-code-label {
    color: var(--primary);
}

.ai-code-result {
    color: #16a34a;
}

/* Features */
.features {
    padding: 8rem 0;
    background: var(--bg-alt);
}

.feature-card-padding {
    padding: 1.5rem;
}

.w-full {
    width: 100% !important;
}

.waitlist-input {
    margin-bottom: 1rem;
    border-radius: 8px;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 5rem;
    font-weight: 800;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 8rem;
}

@media (max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
        text-align: center;
    }

    .feature-row.reverse {
        direction: ltr;
        /* Reset direction on mobile */
    }
}

.feature-content h3 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

/* ROI Section */
.roi-section {
    padding: 8rem 0;
}

.roi-container {
    padding: 4rem;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.roi-list {
    list-style: none;
    margin-top: 2rem;
}

.roi-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.roi-list li strong {
    color: var(--primary);
}

.roi-chart {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    height: 200px;
}

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

.bar {
    width: 60px;
    border-radius: 8px 8px 0 0;
}

.bar.current {
    background: #e2e8f0;
    height: 40px;
}

.bar.optimized {
    background: linear-gradient(to top, var(--primary), var(--secondary));
    box-shadow: 0 5px 15px rgba(30, 98, 255, 0.2);
    height: 180px;
}

/* Pricing Section */
.pricing {
    padding: 8rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    padding: 4rem 3rem;
    text-align: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-large);
}

.pricing-card.featured {
    border: none;
    background: #ffffff;
    box-shadow: 0 40px 100px -20px rgba(123, 104, 238, 0.15);
    z-index: 10;
}

.pricing-card.featured::before {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.pricing-card .tier {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -2px;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-dim);
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 0.75rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.features-list li::before {
    content: '✓';
    color: #16a34a;
    margin-right: 0.75rem;
    font-weight: bold;
}

/* Waitlist */
.waitlist {
    padding: 8rem 0;
    text-align: center;
    background: var(--bg-alt);
}

.form-container {
    padding: 4rem;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-container p {
    margin-bottom: 3rem;
    color: var(--text-dim);
}

#contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 480px) {
    #contact-form {
        flex-direction: column;
    }

    #contact-form input,
    #contact-form button {
        width: 100% !important;
        max-width: none;
    }
}

input {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    color: var(--text);
    width: 100%;
    max-width: 400px;
    font-size: 1rem;
    outline: none;
}

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

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0;
    color: var(--text-dim);
    font-size: 0.9rem;
    background: #ffffff;
}

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.8rem;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
}

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

    .hero-grid,
    .roi-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 8rem;
    }
}