/* ============================================
   PT Jaya Dan Andalan Teknologi
   MAIN CSS - ALL IN ONE
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    /* Primary Colors */
    --navy: #0F172A;
    --navy-light: #1E293B;
    --navy-dark: #0A0F1E;

    --electric-blue: #2563EB;
    --electric-blue-dark: #1D4ED8;
    --electric-blue-light: #60A5FA;
    --electric-blue-bg: #EFF6FF;

    /* Accent Colors */
    --orange: #F97316;
    --orange-dark: #EA580C;
    --orange-light: #FB923C;
    --gold: #FBBF24;

    /* Neutral */
    --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;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--navy) 0%, var(--electric-blue) 100%);
    --gradient-accent: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(37, 99, 235, 0.7) 100%);

    /* Spacing */
    --container-width: 1600px;
    --header-height: 80px;

    /* 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 -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- Container ---------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-title {
    margin-bottom: 0.5rem;
}

.section-header .section-subtitle {
    margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 48px;
}

.btn-primary {
    background: var(--electric-blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: var(--electric-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-secondary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
}

.btn-gold:hover {
    background: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    min-height: 40px;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
    height: var(--header-height);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar-brand .brand-text .main {
    color: var(--navy);
}

.navbar-brand .brand-text .main span {
    color: var(--electric-blue);
}

.navbar-brand .brand-text .sub {
    font-size: 0.625rem;
    font-weight: 400;
    color: var(--gray-500);
    letter-spacing: 1px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-links a {
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--electric-blue);
}

.navbar-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--electric-blue);
    border-radius: var(--radius-full);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
}

.navbar-toggle span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--navy);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.navbar-mobile {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
    animation: slideDown 0.3s ease;
    z-index: 999;
}

.navbar-mobile.open {
    display: block;
}

.navbar-mobile a {
    display: block;
    padding: 0.75rem 0;
    color: var(--gray-600);
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
}

.navbar-mobile a:last-child {
    border-bottom: none;
}

.navbar-mobile a:hover {
    color: var(--electric-blue);
}

@media (max-width: 992px) {
    .navbar-links {
        display: none;
    }
    .navbar-toggle {
        display: flex;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-content {
    max-width: 1000px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats .stat {
    text-align: left;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stats .stat-number .plus {
    color: var(--gold);
}

.hero-stats .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.hero-float {
    position: absolute;
    bottom: 10%;
    right: 10%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 6rem 0;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: auto;
}

.about-image .floating-card {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
}

.about-image .floating-card .icon {
    width: 48px;
    height: 48px;
    background: var(--electric-blue-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-blue);
    font-size: 1.25rem;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-subtitle {
    text-align: left;
    margin: 0 0 1.5rem 0;
    max-width: 100%;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.about-features .feature i {
    color: var(--electric-blue);
    font-size: 1.25rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 6rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--electric-blue);
}

.service-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--electric-blue-bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--electric-blue);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrapper {
    background: var(--electric-blue);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card .service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-card .service-tags span {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
}

.service-card .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-category {
    margin-bottom: 3rem;
}

.service-category h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--electric-blue);
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions {
    padding: 6rem 0;
    background: var(--gray-50);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.solution-card:hover {
    border-color: var(--electric-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.solution-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.solution-card h4 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.solution-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
}

.solution-card ul {
    text-align: left;
    margin-top: 1rem;
    color: var(--gray-600);
}

.solution-card ul li {
    padding: 0.3rem 0;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    padding: 6rem 0;
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-item .portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: var(--white);
}

.portfolio-item .portfolio-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.portfolio-item .portfolio-overlay .category {
    font-size: 0.8rem;
    opacity: 0.8;
}

.portfolio-item .portfolio-overlay .tech {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 0.25rem;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
    padding: 6rem 0;
    background: var(--navy);
    color: var(--white);
}

.why-us .section-title {
    color: var(--white);
}

.why-us .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.why-us-item {
    text-align: center;
    padding: 2rem;
}

.why-us-item .number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
}

.why-us-item .label {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.why-us-item .description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* ============================================
   WORKFLOW SECTION
   ============================================ */
.workflow {
    padding: 6rem 0;
    background: var(--gray-50);
}

.workflow-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 2rem 0;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 5%;
    right: 5%;
    height: 3px;
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.workflow-step .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--electric-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 2;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.workflow-step:hover .step-number {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.2);
}

.workflow-step .step-label {
    font-weight: 600;
    color: var(--navy);
    text-align: center;
}

.workflow-step .step-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: center;
    max-width: 120px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 6rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
    color: var(--gold);
    margin-bottom: 1rem;
}

.testimonial-card .content {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .author .name {
    font-weight: 600;
    color: var(--navy);
}

.testimonial-card .author .position {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
    padding: calc(var(--header-height) + 4rem) 0 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail .icon {
    width: 48px;
    height: 48px;
    background: var(--electric-blue-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-detail .label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.contact-detail .value {
    font-weight: 600;
    color: var(--navy);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--electric-blue);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-page {
    padding: calc(var(--header-height) + 4rem) 0 6rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card .content {
    padding: 1.5rem;
}

.blog-card .meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.blog-card .meta .category {
    color: var(--electric-blue);
    font-weight: 600;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.blog-card h3 a:hover {
    color: var(--electric-blue);
}

.blog-card p {
    color: var(--gray-500);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--electric-blue-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--electric-blue);
    border-color: var(--electric-blue);
    transform: translateY(-2px);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #EF4444;
    border-radius: 50%;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-dot 2s infinite;
}

/* ============================================
   PAGE HEADER (Untuk semua halaman)
   ============================================ */
.page-header {
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    background: var(--navy);
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

.page-header h1 span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.8;
    max-width: 600px;
    margin-top: 0.5rem;
}

/* ============================================
   ADMIN LOGIN
   ============================================ */
.admin-login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #0A0F1E, #0F172A, #1E3A5F, #1D4ED8, #0F172A);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    padding: 1.5rem;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.admin-login-body::before {
    content: '';
    position: absolute;
    top: 15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.admin-login-body::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out 3s infinite reverse;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 15px) scale(0.95);
    }
}

.login-wrapper {
    width: 100%;
    max-width: 460px;
}

.login-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2.5rem 2.25rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.login-container .logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-container .logo img {
    height: 56px;
    margin: 0 auto 0.75rem;
    filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.3));
}

.login-container .logo h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.login-container .logo p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-weight: 400;
}

/* Form styling */
.login-container .form-group {
    margin-bottom: 1.25rem;
}

.login-container .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.login-container .form-group label i {
    margin-right: 0.35rem;
    opacity: 0.6;
}

.login-container .form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.65rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-container .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.login-container .form-group input:focus {
    outline: none;
    border-color: var(--electric-blue);
    background: rgba(37, 99, 235, 0.08);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), 0 0 20px rgba(37, 99, 235, 0.1);
}

/* Login button */
.login-container .btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, var(--electric-blue) 0%, #4F46E5 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.login-container .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.login-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.login-container .btn:hover::before {
    left: 100%;
}

.login-container .btn:active {
    transform: translateY(0);
}

/* Error message */
.login-container .error {
    background: rgba(239, 68, 68, 0.12);
    color: #FCA5A5;
    padding: 0.75rem 1rem;
    border-radius: 0.65rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(239, 68, 68, 0.25);
    font-size: 0.875rem;
    backdrop-filter: blur(4px);
}

/* Back link */
.back-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.back-link a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--electric-blue-light);
    text-decoration: none;
}

.back-link a i {
    margin-right: 0.35rem;
    transition: transform 0.3s ease;
}

.back-link a:hover i {
    transform: translateX(-3px);
}

/* Demo Accounts */
.demo-accounts {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.demo-accounts .demo-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 1rem;
}

.demo-accounts .demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.demo-accounts .demo-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.65rem;
    padding: 0.75rem 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.demo-accounts .demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-accounts .demo-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.demo-accounts .demo-card:hover::before {
    opacity: 1;
}

.demo-accounts .demo-card .role-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
    position: relative;
    z-index: 1;
}

.demo-accounts .demo-card .role-badge.admin {
    background: linear-gradient(135deg, #2563EB, #4F46E5);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.demo-accounts .demo-card .role-badge.editor {
    background: linear-gradient(135deg, #F59E0B, #F97316);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.demo-accounts .demo-card .demo-username {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.demo-accounts .demo-card .demo-password {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'JetBrains Mono', monospace;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-top: 0.2rem;
    position: relative;
    z-index: 1;
}

.demo-accounts .demo-card .demo-hint {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 0.3rem;
    position: relative;
    z-index: 1;
}

.demo-accounts .demo-card .click-icon {
    font-size: 0.65rem;
    color: var(--electric-blue-light);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-accounts .demo-card:hover .click-icon {
    opacity: 1;
}

.demo-note {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
}

.demo-note i {
    color: var(--gold);
}

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--navy);
    color: white;
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar .logo {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar .logo img {
    height: 40px;
}

.admin-sidebar .logo span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.admin-sidebar .menu {
    list-style: none;
    padding: 0;
}

.admin-sidebar .menu li {
    margin-bottom: 0.5rem;
}

.admin-sidebar .menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.admin-sidebar .menu a:hover,
.admin-sidebar .menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-sidebar .menu a i {
    width: 20px;
}

.admin-main {
    margin-left: 250px;
    flex: 1;
    padding: 2rem;
    background: var(--gray-50);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.admin-header h1 {
    font-size: 1.5rem;
    color: var(--navy);
}

.admin-header .user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-header .user .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--electric-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}

.stat-card .label {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.stat-card .icon {
    float: right;
    font-size: 2rem;
    opacity: 0.3;
}

.table-container {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    overflow-x: auto;
}

.table-container h3 {
    margin-bottom: 1rem;
    color: var(--navy);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    text-align: left;
    padding: 0.75rem 0.5rem;
    border-bottom: 2px solid var(--gray-200);
    font-weight: 600;
    color: var(--gray-600);
}

table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.published {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge.draft {
    background: #FEF3C7;
    color: #92400E;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}

/* ============================================
   ADMIN TOPBAR - Modern & Responsive
   ============================================ */

/* ---------- Topbar Container ---------- */
.admin-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-bottom: 2px solid rgba(37, 99, 235, 0.3);
    height: 68px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.admin-topbar-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---------- Brand / Logo ---------- */
.admin-topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #FFFFFF;
    text-decoration: none;
    flex-shrink: 0;
}

.admin-topbar-brand img {
    height: 38px;
    width: auto;
}

.admin-topbar-brand span {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.admin-topbar-brand span small {
    font-weight: 300;
    font-size: 0.7rem;
    opacity: 0.6;
    display: block;
    margin-top: -2px;
}

/* ---------- Mobile Toggle Button ---------- */
.admin-topbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    padding: 0.6rem 0.7rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.admin-topbar-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.admin-topbar-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #FFFFFF;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.admin-topbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.admin-topbar-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.admin-topbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Menu Navigation ---------- */
.admin-topbar-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}

.admin-topbar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-topbar-nav li {
    margin: 0;
}

.admin-topbar-nav a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
}

.admin-topbar-nav a i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.admin-topbar-nav a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.admin-topbar-nav a.active {
    color: #FFFFFF;
    background: rgba(37, 99, 235, 0.3);
}

.admin-topbar-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2.5px;
    background: var(--electric-blue);
    border-radius: var(--radius-full);
}

/* ---------- User Section ---------- */
.admin-topbar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.admin-topbar-user-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-topbar-user-name i {
    font-size: 1.3rem;
    color: var(--electric-blue);
}

.admin-topbar-user .btn-sm {
    padding: 0.35rem 1.2rem;
    font-size: 0.8rem;
    min-height: 34px;
    border-radius: var(--radius);
}

.admin-topbar-user .btn-secondary {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: none;
}

.admin-topbar-user .btn-secondary:hover {
    background: rgba(239, 68, 68, 0.25);
    transform: translateY(-1px);
}

/* ---------- Main Content Area ---------- */
.admin-main-topbar {
    margin-top: 68px;
    padding: 2rem;
    background: #F1F5F9;
    min-height: calc(100vh - 68px);
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #E2E8F0;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-page-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.admin-page-header h1 small {
    font-size: 0.875rem;
    font-weight: 400;
    color: #64748B;
    display: block;
    margin-top: 0.1rem;
}

.admin-page-header p {
    color: #64748B;
    margin: 0;
    font-size: 0.95rem;
}

/* ---------- Stats Grid ---------- */
.admin-main-topbar .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-main-topbar .stat-card {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.admin-main-topbar .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--electric-blue);
}

.admin-main-topbar .stat-card .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1;
}

.admin-main-topbar .stat-card .label {
    color: #64748B;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.admin-main-topbar .stat-card .icon {
    float: right;
    font-size: 2rem;
    color: var(--electric-blue);
    opacity: 0.2;
}

/* ---------- Table Container ---------- */
.admin-main-topbar .table-container {
    background: #FFFFFF;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
    padding: 1.5rem;
    overflow-x: auto;
}

.admin-main-topbar .table-container h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1rem;
}

/* ---------- Table ---------- */
.admin-main-topbar table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-main-topbar table th {
    text-align: left;
    padding: 0.75rem 0.75rem;
    border-bottom: 2px solid #E2E8F0;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.admin-main-topbar table td {
    padding: 0.75rem 0.75rem;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
    vertical-align: middle;
}

.admin-main-topbar table tbody tr:hover {
    background: #F8FAFC;
}

/* ---------- Status Badges ---------- */
.admin-main-topbar .status-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.admin-main-topbar .status-badge.published,
.admin-main-topbar .status-badge.active {
    background: #D1FAE5;
    color: #065F46;
}

.admin-main-topbar .status-badge.draft,
.admin-main-topbar .status-badge.inactive {
    background: #FEF3C7;
    color: #92400E;
}

.admin-main-topbar .status-badge.archived {
    background: #FEE2E2;
    color: #991B1B;
}

/* ---------- Form Elements ---------- */
.admin-main-topbar .form-group {
    margin-bottom: 1.25rem;
}

.admin-main-topbar .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #334155;
    font-size: 0.9rem;
}

.admin-main-topbar .form-group input,
.admin-main-topbar .form-group textarea,
.admin-main-topbar .form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #FFFFFF;
    color: #1E293B;
}

.admin-main-topbar .form-group input:focus,
.admin-main-topbar .form-group textarea:focus,
.admin-main-topbar .form-group select:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.admin-main-topbar .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.admin-main-topbar .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ---------- Form Actions ---------- */
.admin-main-topbar .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.admin-main-topbar .form-actions .btn {
    min-width: 150px;
}

/* ---------- Setting Section ---------- */
.admin-main-topbar .setting-section {
    margin-bottom: 2rem;
}

.admin-main-topbar .setting-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--electric-blue);
}

/* ---------- Alert Messages ---------- */
.admin-main-topbar .alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.admin-main-topbar .alert-success {
    background: #D1FAE5;
    color: #065F46;
    border-color: #A7F3D0;
}

.admin-main-topbar .alert-success i {
    color: #059669;
}

.admin-main-topbar .alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border-color: #FCA5A5;
}

.admin-main-topbar .alert-error i {
    color: #DC2626;
}

.admin-main-topbar .alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border-color: #FCD34D;
}

.admin-main-topbar .alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border-color: #93C5FD;
}

/* ---------- Buttons in Topbar ---------- */
.admin-main-topbar .btn-sm {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    min-height: 32px;
}

/* ============================================
   DELETE CONFIRMATION PAGE
   ============================================ */

.delete-confirmation-card {
    max-width: 700px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #E2E8F0;
}

.delete-confirmation-card .delete-icon {
    width: 80px;
    height: 80px;
    background: #FEE2E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #DC2626;
    animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.delete-confirmation-card h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 0.5rem;
}

.delete-confirmation-card>p {
    color: #64748B;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Post Preview */
.post-preview {
    background: #F8FAFC;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    border: 1px solid #E2E8F0;
}

.post-preview .post-info {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.post-preview .post-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
}

.post-preview .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-preview .post-details {
    flex: 1;
}

.post-preview .post-details h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.5rem;
}

.post-preview .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.post-preview .post-meta span {
    font-size: 0.8rem;
    color: #64748B;
}

.post-preview .post-meta span i {
    margin-right: 0.25rem;
    color: #94A3B8;
}

.post-preview .post-excerpt {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

/* Warning Message */
.warning-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #FEF3C7;
    border: 2px solid #FCD34D;
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.warning-message i {
    font-size: 1.5rem;
    color: #D97706;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.warning-message strong {
    color: #92400E;
    display: block;
    margin-bottom: 0.1rem;
}

.warning-message p {
    color: #78350F;
    font-size: 0.9rem;
    margin: 0;
}

/* Delete Form Buttons */
.delete-form .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.delete-form .form-actions .btn {
    min-width: 180px;
    padding: 0.75rem 2rem;
}

.btn-danger {
    background: #DC2626;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-danger:hover {
    background: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

/* Responsive Delete Page */
@media (max-width: 768px) {
    .delete-confirmation-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .post-preview .post-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .post-preview .post-image {
        width: 80px;
        height: 80px;
    }

    .post-preview .post-meta {
        justify-content: center;
    }

    .delete-form .form-actions {
        flex-direction: column;
    }

    .delete-form .form-actions .btn {
        width: 100%;
        min-width: unset;
    }

    .delete-confirmation-card .delete-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .delete-confirmation-card h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .delete-confirmation-card {
        padding: 1rem;
    }

    .post-preview {
        padding: 1rem;
    }

    .warning-message {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============================================
   RESPONSIVE - Topbar Mobile
   ============================================ */

@media (max-width: 992px) {
    .admin-topbar-toggle {
        display: flex;
    }

    .admin-topbar-menu {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: #0F172A;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
        gap: 0;
        justify-content: flex-start;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .admin-topbar-menu.open {
        max-height: 600px;
        padding: 0.5rem 0;
        overflow-y: auto;
    }

    .admin-topbar-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding: 0;
    }

    .admin-topbar-nav a {
        padding: 0.75rem 1.5rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        font-size: 0.95rem;
    }

    .admin-topbar-nav a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .admin-topbar-nav a.active {
        background: rgba(37, 99, 235, 0.15);
        border-left: 3px solid var(--electric-blue);
    }

    .admin-topbar-nav a.active::after {
        display: none;
    }

    .admin-topbar-nav a i {
        width: 24px;
        font-size: 1.1rem;
    }

    .admin-topbar-user {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem 0.5rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        gap: 0.75rem;
        margin-top: 0.25rem;
    }

    .admin-topbar-user-name {
        justify-content: center;
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }

    .admin-topbar-user .btn-sm {
        width: 100%;
        justify-content: center;
        padding: 0.6rem;
    }

    .admin-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-page-header h1 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .admin-topbar {
        height: 60px;
    }

    .admin-topbar-container {
        padding: 0 1rem;
    }

    .admin-topbar-brand img {
        height: 30px;
    }

    .admin-topbar-brand span {
        font-size: 0.85rem;
    }

    .admin-topbar-brand span small {
        font-size: 0.6rem;
    }

    .admin-topbar-menu {
        top: 60px;
    }

    .admin-main-topbar {
        margin-top: 60px;
        padding: 1rem;
    }

    .admin-main-topbar .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-main-topbar .stat-card .number {
        font-size: 2rem;
    }

    .admin-main-topbar .form-actions {
        flex-direction: column;
    }

    .admin-main-topbar .form-actions .btn {
        width: 100%;
        min-width: unset;
    }

    .admin-page-header h1 {
        font-size: 1.2rem;
    }

    .admin-main-topbar .table-container {
        padding: 1rem;
    }

    .admin-main-topbar table {
        font-size: 0.8rem;
    }

    .admin-main-topbar table th,
    .admin-main-topbar table td {
        padding: 0.5rem 0.4rem;
    }
}

/* ============================================
   ALERT MESSAGES
   ============================================ */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 2px solid transparent;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border-color: #A7F3D0;
}

.alert-success i {
    color: #059669;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border-color: #FCA5A5;
}

.alert-error i {
    color: #DC2626;
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border-color: #FCD34D;
}

.alert-warning i {
    color: #D97706;
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border-color: #93C5FD;
}

.alert-info i {
    color: #2563EB;
}

/* ============================================
   SETTING SECTION
   ============================================ */
.setting-section {
    margin-bottom: 2rem;
}

.setting-section h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--electric-blue);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.form-actions .btn {
    min-width: 150px;
}

/* ============================================
   RESPONSIVE - Tambahan untuk Form
   ============================================ */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        min-width: unset;
    }

    .setting-section h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--electric-blue);
}

.text-accent {
    color: var(--orange);
}

.text-gold {
    color: var(--gold);
}

.text-white {
    color: var(--white);
}

.bg-primary {
    background: var(--electric-blue);
}

.bg-navy {
    background: var(--navy);
}

.bg-gray {
    background: var(--gray-50);
}

.bg-white {
    background: var(--white);
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-1 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-3 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image .floating-card {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-stats .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .workflow-timeline {
        flex-direction: column;
        gap: 2rem;
        padding: 0;
    }

    .workflow-timeline::before {
        display: none;
    }

    .workflow-step {
        flex-direction: row;
        gap: 1.5rem;
    }

    .workflow-step .step-desc {
        max-width: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr 1fr;
    }

    .demo-accounts .demo-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        width: 60px;
        padding: 1rem 0.5rem;
    }

    .admin-sidebar .logo span,
    .admin-sidebar .menu a span {
        display: none;
    }

    .admin-sidebar .menu a {
        justify-content: center;
        padding: 0.75rem;
    }

    .admin-main {
        margin-left: 60px;
    }

    .login-container {
        padding: 1.5rem;
    }

    .login-container .logo img {
        height: 45px;
    }

    .login-container .logo h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .cta h2 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PROFILE PAGE
   ============================================ */

/* ---------- Profile Tabs ---------- */
.profile-tabs {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 2rem;
    background: #F8FAFC;
    border-radius: 50px;
    padding: 8px;
    border: 1px solid #E2E8F0;
}

.profile-tab {
    padding: 10px 24px;
    border-radius: 40px;
    color: var(--gray-600);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-tab:hover {
    background: #E2E8F0;
    color: var(--electric-blue);
}

.profile-tab.active {
    background: var(--electric-blue);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
}

/* ---------- Profile Photo Card ---------- */
.profile-photo-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
    padding: 2rem;
    text-align: center;
    align-self: start;
}

.profile-photo-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--electric-blue);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-placeholder {
    width: 100%;
    height: 100%;
    background: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #94A3B8;
}

.profile-photo-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.profile-photo-actions .btn-sm {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
}

.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.profile-info-summary {
    text-align: left;
    padding-top: 1rem;
    border-top: 1px solid #E2E8F0;
}

.profile-info-summary h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.75rem;
}

.profile-info-summary p {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 0.4rem;
}

.profile-info-summary p i {
    width: 20px;
    color: var(--electric-blue);
}

.profile-info-summary p strong {
    color: #1E293B;
}

/* ---------- Profile Form Card ---------- */
.profile-form-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
    padding: 2rem;
}

.profile-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #F1F5F9;
}

.profile-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.profile-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.profile-section h3 i {
    color: var(--electric-blue);
    margin-right: 0.5rem;
}

/* ---------- Password Input with Toggle ---------- */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--electric-blue);
}

/* ---------- Responsive Profile ---------- */
@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-photo-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .profile-photo-wrapper {
        width: 140px;
        height: 140px;
    }

    .profile-photo-placeholder {
        font-size: 4rem;
    }

    .profile-photo-card,
    .profile-form-card {
        padding: 1.5rem;
    }

    .profile-photo-actions {
        flex-direction: column;
    }

    .profile-photo-actions .btn-sm {
        width: 100%;
        justify-content: center;
    }

    .profile-tabs {
        flex-direction: column;
        gap: 5px;
    }

    .profile-tab {
        justify-content: center;
    }
}

/* ============================================
   USER DROPDOWN MENU
   ============================================ */

.admin-topbar-user-dropdown {
    position: relative;
}

.admin-topbar-user-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.8rem 0.3rem 0.3rem;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.admin-topbar-user-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
}

.admin-topbar-user-btn .topbar-profile-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.admin-topbar-user-btn i.fa-user-circle {
    font-size: 1.8rem;
    color: var(--electric-blue);
}

.admin-topbar-user-btn .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
}

.admin-topbar-user-btn .dropdown-arrow.rotated {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.admin-topbar-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 260px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid #E2E8F0;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.25s ease;
    z-index: 1001;
}

.admin-topbar-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Dropdown Header */
.dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.75rem;
}

.dropdown-profile-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E2E8F0;
}

.dropdown-profile-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #94A3B8;
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
}

.dropdown-user-info strong {
    color: #0F172A;
    font-size: 0.9rem;
}

.dropdown-user-info span {
    color: #64748B;
    font-size: 0.75rem;
}

/* Dropdown Divider */
.dropdown-divider {
    height: 1px;
    background: #E2E8F0;
    margin: 0.25rem 0.75rem;
}

/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    color: #334155;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #F1F5F9;
    color: #0F172A;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
}

.dropdown-item:hover i {
    color: var(--electric-blue);
}

.dropdown-item-danger {
    color: #DC2626;
}

.dropdown-item-danger:hover {
    background: #FEE2E2;
    color: #B91C1C;
}

.dropdown-item-danger:hover i {
    color: #DC2626;
}

/* Responsive Dropdown */
@media (max-width: 992px) {
    .admin-topbar-user-btn {
        padding: 0.3rem 0.8rem;
        background: transparent;
        border: none;
        width: 100%;
        justify-content: center;
    }

    .admin-topbar-user-btn span {
        display: none;
    }

    .admin-topbar-user-btn .dropdown-arrow {
        display: none;
    }

    .admin-topbar-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .admin-topbar-dropdown-menu.open {
        display: block;
    }

    .dropdown-header {
        display: none;
    }

    .dropdown-divider {
        display: none;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.75);
        padding: 0.6rem 1.5rem;
        border-radius: 0;
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #FFFFFF;
    }

    .dropdown-item i {
        color: rgba(255, 255, 255, 0.5);
    }

    .dropdown-item-danger:hover {
        background: rgba(220, 38, 38, 0.15);
        color: #EF4444;
    }

    .dropdown-item-danger:hover i {
        color: #EF4444;
    }
}

@media (max-width: 576px) {
    .admin-topbar-user-btn {
        padding: 0.2rem 0.5rem;
    }

    .admin-topbar-user-btn .topbar-profile-photo {
        width: 28px;
        height: 28px;
    }

    .admin-topbar-user-btn i.fa-user-circle {
        font-size: 1.5rem;
    }
}

/* ============================================
   ANTIGRAVITY-STYLE CURSOR FOLLOWER
   ============================================ */
.cursor-outer {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(37, 99, 235, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    mix-blend-mode: difference;
    backdrop-filter: blur(1px);
}

.cursor-inner {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--electric-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.15s ease, height 0.15s ease, background 0.15s ease, transform 0.15s ease;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.6), 0 0 40px rgba(37, 99, 235, 0.2);
}

/* Cursor hover state */
.cursor-outer.cursor-hover {
    width: 60px;
    height: 60px;
    border-color: rgba(249, 115, 22, 0.5);
    background: rgba(249, 115, 22, 0.05);
}

.cursor-inner.cursor-hover {
    width: 12px;
    height: 12px;
    background: var(--orange);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.7), 0 0 50px rgba(249, 115, 22, 0.3);
}

/* Cursor click state */
.cursor-outer.cursor-click {
    width: 30px;
    height: 30px;
    border-color: var(--gold);
}

.cursor-inner.cursor-click {
    width: 5px;
    height: 5px;
    background: var(--gold);
}

/* Hide default cursor on desktop */
@media (min-width: 769px) {
    body {
        cursor: none;
    }

    a,
    button,
    input,
    textarea,
    select,
    .btn,
    .service-card,
    .portfolio-item {
        cursor: none;
    }
}

/* Hide custom cursor on mobile */
@media (max-width: 768px) {

    .cursor-outer,
    .cursor-inner {
        display: none;
    }
}

/* ============================================
   HERO PARTICLES
   ============================================ */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    50% {
        transform: translateY(-120px) translateX(40px) scale(1.5);
        opacity: 0.3;
    }

    100% {
        transform: translateY(-250px) translateX(-30px) scale(0.5);
        opacity: 0;
    }
}

/* ============================================
   SCROLL-TRIGGERED ANIMATIONS
   ============================================ */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO ENTRANCE ANIMATIONS
   ============================================ */
.hero-badge-animated {
    animation: heroFadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-title-animated {
    animation: heroFadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-p-animated {
    animation: heroFadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-buttons-animated {
    animation: heroFadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

@keyframes heroFadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ============================================
   PARALLAX ENHANCEMENTS
   ============================================ */
.hero {
    overflow: hidden;
}

.hero-content,
.hero-stats,
.about-image,
.about-content {
    will-change: transform, opacity;
}

.service-card,
.why-us-item {
    will-change: transform;
}

/* Glassmorphism enhancement for service cards in parallax mode */
.service-card {
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: perspective(1000px) rotateX(0) rotateY(0) translateY(-8px);
}

/* Smooth section transitions with gradient dividers */
.about::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gray-50));
    pointer-events: none;
}

.about {
    position: relative;
}

/* Why Us glow effect */
.why-us {
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out 4s infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* CTA section parallax depth */
.cta {
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.03'%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");
    animation: patternDrift 20s linear infinite;
    pointer-events: none;
}

@keyframes patternDrift {
    0% {
        transform: translateX(0) translateY(0);
    }

    100% {
        transform: translateX(60px) translateY(60px);
    }
}

/* ============================================
   SMOOTH SCROLLBAR STYLE
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--electric-blue), var(--orange));
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--electric-blue-light), var(--gold));
}

/* ============================================
   LOGIN PAGE ENTRANCE ANIMATION
   ============================================ */
.login-entrance {
    animation: loginSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

@keyframes loginSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Login page cursor support */
.admin-login-body .login-wrapper {
    position: relative;
    z-index: 1;
}

/* ============================================
   SUBPAGE PARALLAX HELPERS
   ============================================ */

/* Page header parallax-ready */
.page-header,
section[style*="header-height"] {
    position: relative;
    overflow: hidden;
}

.page-header h1,
.page-header p {
    will-change: transform;
}

/* Contact form parallax */
.contact-info,
.contact-form {
    will-change: transform;
}

/* Blog cards parallax */
.blog-card {
    will-change: transform;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* About page grid parallax */
.about-grid>div {
    will-change: transform;
}

/* Solution card enhanced hover with parallax */
.solution-card {
    will-change: transform;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Portfolio filter animation */
.portfolio-filter {
    will-change: opacity, transform;
}

/* Demo card hover glow (login page) */
.demo-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-card:hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2);
}