/* Reset & Base Styles */
:root {
    --primary-color: #007bff;
    --primary-gradient: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-hover: #0056b3;
    --text-main: #1e293b;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 123, 255, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 123, 255, 0.15);
    --border-radius: 16px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #0f172a;
}

/* Header & Nav */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.brand-logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -1px;
}

.brand-logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.btn-primary-sm {
    background: var(--primary-gradient);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge {
    background: rgba(0, 123, 255, 0.1);
    color: #0056b3;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Gradient pe elementele importante din titluri */
.hero-text h1 strong, 
.section-title h2 strong {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Evidențiere colorată discretă pentru cuvinte cheie în text */
.hero-text p strong, 
.feature-item p strong {
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 35px;
}

.stat {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.stat strong {
    display: block;
    font-size: 1.4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Login Card */
.login-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
}

.login-card h3 {
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.4rem;
    color: #0f172a;
}

.input-field {
    margin-bottom: 20px;
}

.input-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #334155;
}

.input-field input, .input-field select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s;
}

.input-field input:focus, .input-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}

.btn-main-action {
    width: 100%;
    padding: 15px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-main-action:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.45);
    transform: translateY(-2px);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 15px;
}

/* Features Section */
.features-section {
    background: var(--bg-light);
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
}

.feature-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 123, 255, 0.2);
}

.f-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0f172a;
}

/* Content & List Section */
.content-rich-section {
    max-width: 850px;
    margin: 80px auto;
    padding: 0 20px;
}

.text-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0f172a;
}

.text-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1e293b;
}

.styled-list {
    margin-top: 20px;
    list-style: none;
}

.styled-list li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Footer */
.modern-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #e2e8f0;
    color: var(--text-secondary);
    background: #fafafa;
}

/* Responsivness pentru mobil */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
}