/* ============================================
   E-DILEKCE.NET - KURUMSAL FRONTEND CSS
   Modern, Profesyonel, Responsive
   ============================================ */

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    /* Brand Colors */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   GLOBAL RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.site-header .navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-brand .logo {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo {
    opacity: 0.9;
    transform: scale(1.02);
}

.nav-link {
    font-weight: 500;
    font-size: 0.938rem;
    color: var(--gray-700) !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--gray-300);
    padding: 4rem 0 0;
    margin-top: 0;
}

.footer-main {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    padding: 2rem 0;
}

.copyright {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-badges .badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.875rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CARD COMPONENTS
   ============================================ */
.card-modern {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.card-modern:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   BADGE COMPONENTS
   ============================================ */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
}

.badge-primary {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .navbar-brand .logo {
        height: 32px;
    }
    
    .hero-edevlet {
        padding: 60px 0 30px;
    }
    
    .hero-title-gradient {
        font-size: 1.5rem;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-main-subtitle {
        font-size: 1rem;
    }
    
    .hero-action-buttons {
        flex-direction: column;
    }
    
    .btn-edevlet-primary,
    .btn-edevlet-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-quick-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .info-strip-item span {
        font-size: 0.75rem;
    }
    
    .info-strip-item i {
        font-size: 1.25rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .petition-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-logo {
        height: 40px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .navbar-brand .logo {
        height: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer-logo {
        height: 35px;
    }
    
    .footer-badges {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .hero-title-gradient {
        font-size: 1.25rem;
    }
    
    .hero-title-main {
        font-size: 1.75rem;
    }
    
    .hero-main-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-pretitle {
        font-size: 0.75rem;
    }
    
    .quick-stat-item i {
        font-size: 1.5rem;
    }
    
    .quick-stat-item div strong {
        font-size: 1rem;
    }
    
    .info-strip-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .info-strip-item span {
        font-size: 0.7rem;
        text-align: center;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .petition-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Hero e-Devlet Style (Anasayfa) ===== */
.hero-edevlet {
    background: linear-gradient(135deg, #f8f9fc 0%, #e9ecf5 100%);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-edevlet::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 150, 234, 0.03) 0%, rgba(43, 150, 234, 0.08) 100%);
    border-radius: 0 0 0 100%;
}

.hero-content-main {
    position: relative;
    z-index: 2;
}

.hero-pretitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #004F9F;
    background: #e3f2fd;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-main-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-title-gradient {
    display: block;
    font-size: 23px;
    background: linear-gradient(135deg, #004F9F 0%, #003366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.hero-title-main {
    display: block;
    font-size: 60px;
    color: #363636;
    font-weight: 800;
}

.hero-main-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-edevlet-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: #004F9F;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 79, 159, 0.2);
}

.btn-edevlet-primary:hover {
    background: #003d7a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 79, 159, 0.3);
}

.btn-edevlet-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: white;
    color: #004F9F;
    border: 2px solid #004F9F;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-edevlet-secondary:hover {
    background: #004F9F;
    color: white;
}

/* Hero Trial Badge - Ücretsiz Deneme */
.hero-trial-badge {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.trial-badge-content {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #10b981;
    border-radius: 50px;
    color: #065f46;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    transition: all 0.3s ease;
}

.trial-badge-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

.trial-badge-content i {
    font-size: 1.2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-quick-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.quick-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-stat-item i {
    font-size: 2rem;
    color: #004F9F;
}

.quick-stat-item div strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.quick-stat-item div span {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Hero Visual Cards */
.hero-visual {
    position: relative;
    height: 550px;
}

.hero-card-stack {
    position: relative;
    height: 100%;
}

.hero-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    width: 280px;
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.hero-card i {
    font-size: 2.5rem;
    color: #004F9F;
    margin-bottom: 15px;
}

.hero-card h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.hero-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.hero-card-1 {
    top: 20px;
    left: 0;
    z-index: 3;
}

.hero-card-2 {
    top: 180px;
    left: 180px;
    z-index: 2;
}

.hero-card-3 {
    top: 340px;
    left: 60px;
    z-index: 1;
}

/* Info Strip */
.hero-info-strip {
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 25px 0;
    margin-top: 60px;
}

.info-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding: 10px;
}

.info-strip-item i {
    font-size: 1.5rem;
    color: #004F9F;
}

.info-strip-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
}

/* ===== Category Cards ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    border-color: #004F9F;
    box-shadow: 0 8px 24px rgba(0,79,159,0.12);
    transform: translateY(-5px);
}

.category-icon {
    font-size: 3rem;
    color: #004F9F;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* ===== Steps Grid ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004F9F 0%, #003d7a 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 16px rgba(0,79,159,0.2);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.step-description {
    color: #6c757d;
    line-height: 1.7;
}

/* ===== Popular Petitions ===== */
.petition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.petition-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
}

.petition-item:hover {
    background: white;
    border-color: #004F9F;
    color: #004F9F;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,79,159,0.1);
}

.petition-item i {
    font-size: 1.5rem;
    color: #004F9F;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(135deg, #004F9F 0%, #003366 100%);
    padding: 4rem 0;
    color: white;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Hero Simple (Tüm İç Sayfalar) */
.hero-simple {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0 3rem;
}

/* ===== Kategori & Dilekçe Kartları ===== */
.hover-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,79,159,0.12) !important;
    border-color: #004F9F;
}

/* ===== Dilekçe Detay Sayfası ===== */
.dilekce-preview {
    font-family: 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #212529;
}

.dilekce-preview p {
    margin-bottom: 0.75rem;
    white-space: normal;
}

.preview-overlay {
    background: linear-gradient(135deg, rgba(43, 150, 234, 0.05), rgba(43, 150, 234, 0.1)) !important;
    border: 2px solid var(--primary) !important;
}

.dilekce-content {
    font-family: 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #212529;
    white-space: normal; /* Boşlukları normal göster, sadece line break'leri koru */
}

.hero-simple  {
    background-color: #f9f9f9;
    padding-top: 25px;
    padding-bottom: 25px;
}

@media screen and (max-width: 760px) {
    .category-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .hero-title-gradient {
        font-size: 16px;
    }

    .hero-title-main {
        font-size: 38px;
    }
}

/* ========================
   IMAGE OPTIMIZATION & LAZY LOADING
======================== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   AUTH PAGES (Login & Register)
   ============================================ */

.auth-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.auth-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 2;
}

.auth-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.938rem;
    position: relative;
    z-index: 2;
}

.auth-body {
    padding: 2.5rem;
}

.auth-card .form-floating {
    margin-bottom: 1.5rem;
}

.auth-card .form-floating > .form-control {
    height: 58px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-card .form-floating > .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.auth-card .form-floating > label {
    color: var(--gray-600);
}

.auth-card .form-floating > label {
    padding: 0.75rem 1rem 0.75rem 3.5rem !important;
}


.auth-card .input-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-600);
    font-size: 1.25rem;
    z-index: 5;
    pointer-events: none;
}

.auth-card .input-wrapper {
    position: relative;
}

.btn-auth {
    width: 100%;
    height: 58px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.063rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.5);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(37, 99, 235, 0.6);
    color: white;
}

.btn-auth:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.auth-footer-text {
    color: var(--gray-600);
    font-size: 0.938rem;
    margin-bottom: 0.75rem;
}

.auth-footer-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-footer-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

.security-badge i {
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-card {
        border-radius: 16px;
    }
    
    .auth-header {
        padding: 2rem 1.5rem;
    }
    
    .auth-body {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}

.form-floating>.form-control, .form-floating>.form-control-plaintext {
    padding: 1rem 3rem;
}