/* Entwine Design Tokens */
:root {
    --cobalt: #1e51bf;
    --blueberry: #174199;
    --space: #08193e;
    --cloud: #63a5ea;
    --smoke: #808285;
    --charcoal: #4d4d4f;
    --slate: #393839;
    --stone: #e2e3e4;
    --snow: #f1f2f2;
    --pebble: #bcbec0;
}

/* Landing Layout */
.entwine-navbar {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.entwine-navbar .logo img {
    height: 40px;
    width: auto;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Buttons */
.btn-entwine {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-entwine-primary {
    background: var(--cobalt);
    color: white;
}

.btn-entwine-primary:hover {
    background: var(--blueberry);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 81, 191, 0.3);
    color: white;
}

.btn-entwine-outline {
    background: transparent;
    color: var(--cobalt);
    border: 2px solid var(--cobalt);
}

.btn-entwine-outline:hover {
    background: var(--cobalt);
    color: white;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--cobalt) 0%, var(--space) 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content .pre-title {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin: 20px 0;
    line-height: 1.2;
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--cloud);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin: 25px auto 40px;
    max-width: 800px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.entwine-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--snow);
    color: var(--smoke);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--slate);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title mark {
    background: transparent;
    color: var(--cobalt);
    font-style: italic;
}

.section-description {
    font-size: 1.1rem;
    color: var(--smoke);
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, var(--cobalt) 0%, var(--space) 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(30, 81, 191, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: transform 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(99, 165, 234, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    opacity: 0.95;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Footer */
.entwine-footer {
    background: var(--slate);
    color: rgba(255,255,255,0.8);
    padding: 40px 0 20px;
}

.entwine-footer .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Login Page (React SPA) */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--cobalt) 0%, var(--space) 100%);
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    margin: auto;
}

.login-card h2 {
    color: var(--slate);
    font-weight: 700;
    margin-bottom: 8px;
}

.login-card .subtitle {
    color: var(--smoke);
    margin-bottom: 30px;
}

.login-card .form-control:focus {
    border-color: var(--cobalt);
    box-shadow: 0 0 0 0.2rem rgba(30, 81, 191, 0.25);
}

.login-card .btn-login {
    background: var(--cobalt);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-card .btn-login:hover:not(:disabled) {
    background: var(--blueberry);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 81, 191, 0.3);
}

.login-card .btn-login:disabled {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-description { font-size: 1rem; }
    .section-title { font-size: 2rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .nav-actions { gap: 10px; }
    .btn-entwine { padding: 8px 16px; font-size: 0.85rem; }
}
