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

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e1e1e;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ========== LOGIN STYLE ========== */
.login-body {
    background: linear-gradient(135deg, #f5f3f0 0%, #e8e0d8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.login-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.login-icon {
    width: 70px;
    height: 70px;
    background: #1e2a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.login-icon i {
    font-size: 28px;
    color: #fff;
}

.login-card h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e2a3a;
    margin-bottom: 8px;
}

.login-card h2 {
    font-size: 1rem;
    font-weight: 400;
    color: #8b7b6e;
    margin-bottom: 24px;
}

.login-divider {
    width: 50px;
    height: 2px;
    background: #b68b6b;
    margin: 0 auto 24px;
}

.login-desc {
    font-size: 0.9rem;
    color: #5a6b76;
    margin-bottom: 32px;
}

.login-error {
    background: #fae9e6;
    color: #c45a3a;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-form {
    margin-bottom: 32px;
}

.password-input-group {
    position: relative;
    margin-bottom: 24px;
}

.password-input-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b68b6b;
    font-size: 1rem;
}

.password-input-group input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid #e2dbd4;
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.password-input-group input:focus {
    outline: none;
    border-color: #b68b6b;
}

.login-btn {
    width: 100%;
    background: #1e2a3a;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.login-btn:hover {
    background: #b68b6b;
}

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

/* ========== HEADER ========== */
header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e2a3a;
}

.logo-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b68b6b;
}

.btn-logout {
    background: transparent;
    border: 1px solid #e2dbd4;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #5a6b76;
    font-size: 0.8rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-logout:hover {
    background: #f5f3f0;
    border-color: #b68b6b;
    color: #b68b6b;
}

/* ========== HERO PORTFOLIO ========== */
.hero-portfolio {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #faf8f6 0%, #ffffff 100%);
    text-align: center;
}

.hero-badge {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b68b6b;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-portfolio h1 {
    font-size: 3.2rem;
    font-weight: 600;
    color: #1e2a3a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-portfolio p {
    font-size: 1rem;
    color: #5a6b76;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== PORTFOLIO GRID ========== */
.portfolio-grid-section {
    padding: 60px 0 80px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.portfolio-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0ede9;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.12);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 42, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay span {
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    border-bottom: 2px solid #b68b6b;
    padding-bottom: 4px;
}

.card-content {
    padding: 28px;
}

.card-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: #b68b6b;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1e2a3a;
}

.card-content p {
    font-size: 0.9rem;
    color: #5a6b76;
    margin-bottom: 16px;
    line-height: 1.5;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tags span {
    font-size: 0.7rem;
    background: #f5f3f0;
    padding: 4px 10px;
    border-radius: 50px;
    color: #8b7b6e;
}

/* ========== COMPARISON ========== */
.comparison-section {
    padding: 60px 0 80px;
    background: #faf8f6;
}

.comparison-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #1e2a3a;
    margin-bottom: 48px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.comp-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #e8e0d8;
}

.comp-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e2a3a;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 2px solid #b68b6b;
    display: inline-block;
}

.comp-card ul {
    list-style: none;
}

.comp-card li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #4a5b66;
}

.comp-card li i {
    width: 20px;
    color: #b68b6b;
    font-size: 0.8rem;
}

/* ========== FOOTER ========== */
footer {
    background: #1e2a3a;
    color: #cbd5e0;
    padding: 40px 0;
    text-align: center;
}

footer p {
    font-size: 0.8rem;
}

.footer-note {
    font-size: 0.7rem;
    color: #8a9ba8;
    margin-top: 12px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-portfolio h1 {
        font-size: 2.2rem;
    }
    
    .portfolio-grid {
        gap: 24px;
    }
    
    .login-card {
        padding: 32px 24px;
    }
    
    .comparison-grid {
        gap: 20px;
    }
}