:root {
    --bg-color: #FFFFFF;
    --text-black: #000000;
    --text-muted: #666666;
    --accent: #1D9BF0;
    /* Keep twitter blue for some accents */
    --card-radius: 40px;
    --card-padding: 40px;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    --card-border: 1px solid rgba(0, 0, 0, 0.05);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Glow Background */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 100% 0%, #e8f0ff 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, #f5f0ff 0%, transparent 50%);
}

/* Header */
.header {
    height: 100px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.header__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -1px;
}

.header__logo-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header__logo-author {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: -2px;
    opacity: 0.7;
    text-transform: none;
}

.header__x-logo {
    color: var(--text-black);
}

.header__nav {
    display: flex;
    gap: 40px;
}

.header__nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.header__nav a:hover {
    color: var(--text-black);
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--black {
    background: var(--text-black);
    color: white;
}

.btn--black:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn--outline {
    background: #f4f4f4;
    color: var(--text-black);
}

.btn--outline:hover {
    background: #eeeeee;
}

/* Hero */
.hero {
    padding: 160px 0 120px;
    text-align: center;
}

.hero__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero__badge {
    display: inline-block;
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 100px;
    font-size: 0.70rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

.hero__title {
    font-size: 72px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 48px;
    letter-spacing: -3px;
}

.hero__description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 64px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero__description p {
    opacity: 0.7;
    font-weight: 500;
}

.hero__btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}



/* Features Section */
.features {
    padding: 100px 0;
    background: transparent;
}

.features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px;
    border-radius: 40px;
    transition: var(--transition);
}

.feature-card:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.feature-card__number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0.6;
}

.feature-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.feature-card__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .features__grid {
        grid-template-columns: 1fr;
    }
}

/* Timeline/Cards Container */
.timeline {
    padding: 60px 0 100px;
}

.timeline__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    height: 700px;
    /* Fixed height for the scroll window */
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.timeline__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    animation: vertical-scroll 30s linear infinite;
}

@keyframes vertical-scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* Pause scroll on hover */
.timeline__container:hover .timeline__list {
    animation-play-state: paused;
}

/* The Card (Craftable Style) */
.craft-card {
    background: white;
    padding: var(--card-padding);
    border-radius: var(--card-radius);
    border: var(--card-border);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.craft-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.card__repost {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: -8px;
    opacity: 0.8;
}

.card__repost svg {
    width: 14px;
    height: 14px;
}

.card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.card__x-logo {
    margin-left: auto;
    color: var(--text-black);
    opacity: 0.1;
    /* Subtler X logo in cards like in real UI */
    transition: var(--transition);
}

.craft-card:hover .card__x-logo {
    opacity: 0.5;
}

.card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.card__user-info {
    display: flex;
    flex-direction: column;
}

.card__name {
    font-weight: 700;
    font-size: 1.1rem;
}

.card__handle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card__body {
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 400;
    color: #111;
}

.card__media {
    margin-top: 4px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.card__media img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.card__footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero__title {
        font-size: 40px;
    }

    .header__nav {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .timeline {
        padding: 60px 0;
    }

    .craft-card {
        padding: 30px;
        border-radius: 30px;
    }
}