:root {
    --primary: #3d3b73;
    --accent: #ff6b6b;
    --bg-light: #f7f7f9;
    --text: #2d3436;
}

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

body {
    font-family: 'Cabin', sans-serif;
    color: var(--text);
    /* Removed fixed height to allow scrolling */
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.split-layout {
    display: flex;
    min-height: 100vh;
    /* Changed from height to min-height */
}

/* Content Side */
.content-side {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    background: white;
    position: relative;
}

.nav-top {
    position: absolute;
    top: 2rem;
    left: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.dot {
    color: var(--accent);
}

.main-content {
    max-width: 500px;
    margin-top: 4rem;
    /* Add spacing from nav */
}

.badge {
    display: inline-block;
    background: rgba(61, 59, 115, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

p {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.input-group {
    position: relative;
}

.icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.2s;
    font-family: inherit;
}

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

button {
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #2d2b55;
    transform: translateY(-2px);
}

.micro {
    font-size: 0.85rem;
    color: #999;
    margin: 0.5rem 0 0;
}

.social-proof p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #ccc;
    letter-spacing: 1px;
}

.logos {
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
    color: #b2bec3;
}

.footer {
    font-size: 0.9rem;
    color: #aaa;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

/* Visual Side */
.visual-side {
    flex: 1;
    background-color: #ffeaa7;
    background-image: linear-gradient(135deg, #74b9ff 0%, #a29bfe 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem;
    /* Ensure visuals don't touch edges on resize */
}

.pattern-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
}

.preview-card {
    background: white;
    width: 380px;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 50px 100px -20px rgba(50, 50, 93, 0.25);
    position: relative;
    z-index: 2;
    transform: rotate(-3deg);
    transition: 0.5s;
}

.preview-card:hover {
    transform: rotate(0) scale(1.02);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.c-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
}

.c-meta {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: inherit;
    line-height: 1.2;
}

.card-body p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.skeleton-lines .line {
    height: 10px;
    background: #f1f2f6;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

.w-100 {
    width: 100%;
}

.w-90 {
    width: 90%;
}

.w-80 {
    width: 80%;
}

.skeleton-img {
    height: 150px;
    background: #f1f2f6;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* New Sections Styling */

/* Features */
.features-section {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.f-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Archive */
.archive-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.archive-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.issue-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    transition: 0.2s;
    border: 1px solid transparent;
}

.issue-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.issue-date {
    color: #999;
    font-weight: 700;
    width: 80px;
}

.issue-card h3 {
    flex: 1;
    font-size: 1.1rem;
    margin: 0;
}

.issue-tag {
    background: #eef2f7;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
}

/* Footer */
.main-footer {
    padding: 3rem 0;
    border-top: 1px solid #eee;
    background: white;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
}

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

@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .content-side {
        padding: 3rem 1.5rem;
    }

    .nav-top {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 2rem;
    }

    .main-content {
        margin-top: 0;
        max-width: 100%;
    }

    h1 {
        font-size: 2.5rem;
    }

    .visual-side {
        padding: 4rem 1.5rem;
    }

    .preview-card {
        width: 100%;
    }

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

    .main-footer .container {
        flex-direction: column;
        gap: 1.5rem;
    }
}