/* ============================================================
   UGATE Digital Solution - Main Stylesheet
   Theme: Green, White, Gold | Modern & Professional
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --green-dark:    #0D4A2C;
    --green-primary: #1B7A4E;
    --green-light:   #2ECC71;
    --green-pale:    #E8F5EE;
    --gold-primary:  #C9A227;
    --gold-light:    #E8C547;
    --gold-pale:     #FFF8E1;
    --white:         #FFFFFF;
    --gray-50:       #F8FAFB;
    --gray-100:      #F1F4F6;
    --gray-200:      #E2E8F0;
    --gray-400:      #94A3B8;
    --gray-600:      #64748B;
    --gray-800:      #1E293B;
    --gray-900:      #0F172A;
    --shadow-sm:     0 2px 8px rgba(13, 74, 44, 0.08);
    --shadow-md:     0 4px 20px rgba(13, 74, 44, 0.12);
    --shadow-lg:     0 8px 40px rgba(13, 74, 44, 0.16);
    --radius-sm:     8px;
    --radius-md:     12px;
    --radius-lg:     20px;
    --transition:    all 0.3s ease;
    --font-primary:  'Inter', sans-serif;
    --font-heading:  'Poppins', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.text-gold {
    color: var(--gold-primary) !important;
}

.text-green {
    color: var(--green-primary) !important;
}

/* --- Buttons --- */
.btn-green {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 10px 24px;
    transition: var(--transition);
}

.btn-green:hover {
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 10px 24px;
    transition: var(--transition);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.btn-outline-green {
    background: transparent;
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 8px 20px;
    transition: var(--transition);
}

.btn-outline-green:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 10px 24px;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--green-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 10px 24px;
    transition: var(--transition);
}

.btn-white:hover {
    background: var(--gold-pale);
    color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: var(--transition);
    box-shadow: none;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.navbar-brand {
    gap: 10px;
}

.brand-logo {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.login-logo {
    height: 88px;
    width: 88px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.footer-logo {
    height: 56px;
    width: 56px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--green-dark);
    letter-spacing: 1px;
}

.brand-sub {
    font-size: 0.7rem;
    color: var(--gold-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--green-primary);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border: 1px solid rgba(27, 122, 78, 0.3);
    padding: 4px 8px;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231B7A4E' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 50%, #1a6b45 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-light);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 50px;
    padding: 6px 16px;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats-mini {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat-mini {
    text-align: center;
}

.hero-stat-mini .number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-light);
    display: block;
}

.hero-stat-mini .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-mockup {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.hero-mockup-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-mockup-dot.red { background: #FF5F57; }
.hero-mockup-dot.yellow { background: #FFBD2E; }
.hero-mockup-dot.green { background: #28CA41; }

.hero-mockup-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    color: var(--white);
    font-size: 0.9rem;
}

.hero-mockup-item i {
    color: var(--gold-light);
    width: 20px;
    text-align: center;
}

.hero-mockup-item .badge-status {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(46, 204, 113, 0.3);
    color: #2ECC71;
}

/* --- Section Common --- */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green-pale);
    color: var(--green-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-title .highlight {
    color: var(--green-primary);
}

.section-desc {
    color: var(--gray-600);
    font-size: 1.05rem;
}

/* --- Statistics Section --- */
.stats-section {
    background: var(--gray-50);
    padding: 60px 0;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.stats-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: var(--gray-200);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green-pale), var(--gold-pale));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--green-primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .suffix {
    color: var(--gold-primary);
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
}

/* --- Application Cards --- */
.apps-section {
    background: var(--white);
}

.app-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-primary);
}

.app-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 0;
}

.app-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.app-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--green-primary);
}

.app-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(46, 204, 113, 0.15);
    color: #27AE60;
}

.status-beta {
    background: rgba(52, 152, 219, 0.15);
    color: #2980B9;
}

.status-maintenance {
    background: rgba(243, 156, 18, 0.15);
    color: #E67E22;
}

.status-coming {
    background: rgba(155, 89, 182, 0.15);
    color: #8E44AD;
}

.app-card-body {
    padding: 20px 24px;
    flex: 1;
}

.app-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.app-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-category,
.app-version {
    font-size: 0.8rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 4px;
}

.app-category i,
.app-version i {
    color: var(--gold-primary);
    font-size: 0.75rem;
}

.app-card-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid var(--gray-100);
}

.app-card-footer .btn {
    flex: 1;
    min-width: 80px;
    font-size: 0.8rem;
    padding: 6px 12px;
}

/* --- Testimonials --- */
.testimonials-section {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
}

.testimonials-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-light);
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-section .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 32px;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--gold-light);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 2rem;
    color: var(--gold-primary);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-name {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.testimonial-role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* --- Page Header (inner pages) --- */
.page-header {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.breadcrumb-custom a {
    color: var(--gold-light);
}

.breadcrumb-custom span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-custom .current {
    color: rgba(255, 255, 255, 0.8);
}

/* --- About Page --- */
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.about-image-box {
    background: linear-gradient(135deg, var(--green-pale), var(--gold-pale));
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
}

.about-image-box i {
    font-size: 5rem;
    color: var(--green-primary);
    margin-bottom: 20px;
}

.about-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--gray-50);
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature h5 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

/* --- Portfolio Page --- */
.portfolio-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, var(--green-pale) 0%, var(--gold-pale) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-image i {
    font-size: 3rem;
    color: var(--green-primary);
    opacity: 0.5;
}

.portfolio-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--green-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.portfolio-body {
    padding: 24px;
}

.portfolio-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.portfolio-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.portfolio-client {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.portfolio-client i {
    color: var(--gold-primary);
}

/* --- Contact Page --- */
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.contact-info-card:hover {
    border-color: var(--green-primary);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green-pale), var(--gold-pale));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--green-primary);
}

.contact-info-card h5 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-info-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-800);
}

.form-control,
.form-select {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(27, 122, 78, 0.15);
}

/* --- Login Page --- */
.login-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
    display: flex;
    align-items: center;
    padding: 100px 0 40px;
}

.login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

.login-card-header {
    background: linear-gradient(135deg, var(--green-pale), var(--gold-pale));
    padding: 40px 32px 32px;
    text-align: center;
}

.login-card-header .brand-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    font-size: 1.5rem;
}

.login-card-header h4 {
    color: var(--green-dark);
    margin-bottom: 4px;
}

.login-card-header p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.login-card-body {
    padding: 32px;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--gray-400);
    font-size: 0.85rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.alert-custom {
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: none;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .brand-icon {
    width: 48px;
    height: 48px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--gold-primary);
    width: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    font-size: 0.85rem;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--gold-pale) 0%, var(--green-pale) 100%);
    padding: 60px 0;
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* --- Filter Tabs --- */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-tab {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--green-primary);
    color: var(--white);
    border-color: var(--green-primary);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .navbar {
        padding: 0.55rem 0;
    }

    .navbar-collapse {
        background: #fff;
        border-radius: 14px;
        margin-top: 0.75rem;
        padding: 0.75rem 1rem 1rem;
        box-shadow: 0 12px 30px rgba(13, 74, 44, 0.12);
        border: 1px solid rgba(27, 122, 78, 0.12);
    }

    .navbar-nav .nav-link {
        padding: 0.7rem 0.4rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-nav .nav-item:last-child .nav-link,
    .navbar-nav .nav-item.ms-lg-2 {
        border-bottom: 0;
        margin-top: 0.5rem;
    }

    .navbar-nav .btn-gold {
        width: 100%;
        text-align: center;
    }

    .brand-text .brand-sub {
        font-size: 0.7rem;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-item {
        margin-bottom: 1.25rem;
    }

    .hero-section {
        padding-top: 110px;
        padding-bottom: 48px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.6rem);
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

    .hero-visual {
        margin-top: 28px;
    }

    .hero-mockup-card {
        max-width: 100%;
    }

    .section {
        padding: 52px 0;
    }

    .about-image-box {
        min-height: 220px;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 767px) {
    .stats-wrapper {
        padding: 20px 14px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 1.65rem;
    }

    .stat-label {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats-mini {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 16px;
        margin-top: 1.5rem;
        width: 100%;
    }

    .hero-stat-mini .number {
        font-size: 1.15rem;
    }

    .hero-stat-mini .label {
        font-size: 0.68rem;
        letter-spacing: 0.02em;
    }

    .hero-mockup-item {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .hero-mockup-item .badge-status {
        font-size: 0.65rem;
    }

    .page-header {
        padding: 110px 0 36px;
    }

    .page-header-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .about-desc {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .about-stats-grid span {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .app-card-footer {
        flex-direction: column;
    }

    .app-card-footer .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .cta-box {
        padding: 28px 18px;
    }

    .cta-box h3 {
        font-size: 1.35rem;
    }

    .footer-links,
    .footer-contact {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575px) {
    .navbar-brand .brand-logo {
        height: 40px !important;
    }

    .brand-text .brand-name {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }

    .hero-stats-mini {
        gap: 10px;
    }

    .footer-top {
        padding: 40px 0 20px;
    }

    .testimonial-card {
        padding: 1.25rem;
    }
}
