/* Root Variables */
:root {
    --primary-color: #153d77;
    --primary-hover: #0f2d5c;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --accent-green: #16A34A;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #E2E8F0 0%, #F1F5F9 30%, #E8F5E9 50%, #F1F5F9 70%, #E2E8F0 100%);
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(226, 232, 240, 0.5) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 252, 231, 0.4) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float 25s ease-in-out infinite reverse;
    border-radius: 50%;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

/* Brand Badge */
.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.brand-badge svg {
    color: var(--primary-color);
}

/* Hero Title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: left;
}

.hero-title .text-primary {
    color: var(--primary-color);
    display: inline-block;
}

/* Hero Description */
.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: left;
}

/* Feature Grid */
.feature-grid {
    max-width: 500px;
    margin: 0;
}

/* Feature Cards */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 0.5rem 0.5rem;
    text-align: left;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #DBEAFE 0%, #E0F2FE 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    color: var(--primary-color);
    width: 24px;
    height: 24px;
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-dark);
    text-align: left;
}

.feature-text strong {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}

/* Login Section */
.login-section {
    background: var(--bg-white);
    min-height: 100vh;
    padding: 2rem;
}

.login-card {
    max-width: 450px;
    width: 100%;
    text-align: center;
}

.login-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.login-subtitle {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.login-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.login-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.terms-text {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.terms-text a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -30px);
    }
    66% {
        transform: translate(-20px, 20px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-scale {
    animation: scale 0.6s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.3s;
    opacity: 0;
}

.delay-4 {
    animation-delay: 0.4s;
    opacity: 0;
}

.delay-5 {
    animation-delay: 0.5s;
    opacity: 0;
}

.delay-6 {
    animation-delay: 0.3s;
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding-bottom: 3rem;
    }

    .login-section {
        min-height: auto;
        padding-top: 3rem;
    }

    .hero-content {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .feature-grid {
        margin-top: 2rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .feature-card {
        padding: 0.5rem;
    }

    .feature-text {
        font-size: 0.85rem;
    }

    .login-title {
        font-size: 1.875rem;
    }
}

@media (max-width: 575px) {
    .hero-section,
    .login-section {
        padding: 1.5rem;
    }

    .brand-badge {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .feature-card {
        gap: 0.75rem;
    }
}