* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #0f172a, #581c87, #0f172a);
}

.container {
    min-height: 100vh;
    display: flex;
}

/* Left Panel Styles */
.left-panel {
    display: none;
    width: 50%;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .left-panel {
        display: flex;
    }
}

.laptop-mockup {
    max-width: 32rem;
    text-align: center;
}

.laptop-screen {
    background-color: #1f2937;
    border-radius: 0.75rem 0.75rem 0 0;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(5deg);
}

.screen-content {
    background-color: #111827;
    border-radius: 0.5rem;
    padding: 1rem;
    height: 20rem;
    position: relative;
    overflow: hidden;
}

/* Add styles for floating elements */
.floating-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.floating-icon-circle {
    background-color: #facc15;
    border-radius: 9999px;
    padding: 10px;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.ai-writing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #34d399;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.book-preview {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

.preview-line {
    height: 0.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    animation: pulse 2s infinite;
}

.upload-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #60a5fa;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.progress-bar {
    background-color: #2563eb;
    height: 0.5rem;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    background-color: #93c5fd;
    height: 100%;
    width: 75%;
    border-radius: 9999px;
    animation: pulse 2s infinite;
}

.sales-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #34d399;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.laptop-base {
    height: 1rem;
    background-color: #374151;
    border-radius: 0 0 0.75rem 0.75rem;
}

.features {
    margin-top: 2rem;
    text-align: center;
}

.features h2 {
    color: white;
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.features p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: grid;
    gap: 0.75rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
}

.feature-icon {
    background-color: #8b5cf6;
    padding: 1px 5px;
    border-radius: 50%;
}

/* Right Panel Styles */
.right-panel {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

@media (min-width: 1024px) {
    .right-panel {
        width: 50%;
    }
}

.login-container {
    width: 100%;
    max-width: 28rem;
}

.logo-section {
    text-align: center;
    margin-bottom: 5px;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.logo {
    background: linear-gradient(to right, #8b5cf6, #3b82f6);
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.login-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 2rem;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.card-description {
    color: #d1d5db;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.submit-button {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(to right, #8b5cf6, #3b82f6);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.submit-button:hover {
    opacity: 0.9;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.signup-link {
    margin-top: 1.5rem;
    text-align: center;
    color: #d1d5db;
}

.signup-link a {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
