:root {
    --censof-primary: #002060;
    --censof-primary1: #0056b3;
    --censof-secondary: #1e88e5;
    --censof-light: #e3f2fd;
    --censof-dark: #0d47a1;
    --praisindo-gold: #d4af37;
    --praisindo-light-gold: #f8e473;
    --praisindo-dark-gold: #b8860b;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --gradient-primary: linear-gradient(135deg, var(--censof-primary) 100%, var(--censof-secondary) 0%);
    --gradient-gold: linear-gradient(135deg, var(--praisindo-gold) 0%, var(--praisindo-light-gold) 100%);
    --gradient-premium: linear-gradient(135deg, var(--censof-primary) 0%, #6a11cb 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    /*    background: transparent;*/
    background: var(--gradient-primary);
    color: var(--white);
    border: 2px solid var(--censof-primary);
}

.btn-outline:hover {
    background: rgba(0, 86, 179, 0.1);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--gray-900);
    () font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-premium);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-links a.active {
    color: var(--censof-primary);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
}

.hero {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-text h1 span {
    color: var(--praisindo-gold);
}

.hero-text p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.features {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--praisindo-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title1 {
    font-size: 2.5rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.section-title1 span {
    color: var(--gray-300);
}

.section-title {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--gray-900);
}

.section-description {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--censof-secondary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--censof-primary);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: var(--praisindo-dark-gold);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2;
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    color: #006064;
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: var(--praisindo-gold);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.feature-description {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.products {
    padding: 5rem 0;
    background: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.partners-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--censof-light);
}

.product-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
}

.product-card:nth-child(1) .product-icon {
    background: var(--censof-light);
    color: var(--censof-primary);
}

.product-card:nth-child(2) .product-icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.product-card:nth-child(3) .product-icon {
    background: #fff3e0;
    color: #ef6c00;
}

.product-card:nth-child(4) .product-icon {
    background: #f3e5f5;
    color: #7b1fa2;
}

.product-card:nth-child(5) .product-icon {
    background: #e0f2f1;
    color: #00695c;
}

.product-card:nth-child(6) .product-icon {
    background: #fff8e1;
    color: var(--praisindo-dark-gold);
}

.product-name {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

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

.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--praisindo-light-gold);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.author-info h4 {
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.cta {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--censof-primary);
}

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
}

.footer-about p {
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--praisindo-light-gold);
}

.footer-contact h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    color: var(--praisindo-gold);
    font-size: 1rem;
    margin-top: 0.125rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--censof-primary);
    color: var(--white);
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@media (max-width: 1200px) {

    .features-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    .nav-links,
    .header-actions .btn-outline {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

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

    .feature-card,
    .product-card {
        padding: 1.5rem 1rem;
    }

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--censof-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border: none;
    border-radius: 6px;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.card-action-btn {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.card-action-btn:hover {
    background-color: var(--gray-100);
    color: var(--gray-700);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-gold {
    color: var(--praisindo-gold);
}

.text-primary {
    color: var(--censof-primary);
}

.bg-light {
    background-color: var(--gray-50);
}

.bg-white {
    background-color: var(--white);
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.p-4 {
    padding: 2rem;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.flex-column {
    flex-direction: column;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

/* ==========================================================================
   Floating AI Chatbot Styles
   ========================================================================== */

#chatbot-trigger {
    animation: chatbot-pulse 3s infinite;
}

#chatbot-trigger:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 24px rgba(197, 160, 89, 0.6);
}

#chatbot-trigger:active {
    transform: scale(0.95);
}

#chatbot-window.active {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

@keyframes chatbot-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(197, 160, 89, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

/* Chat Message Styles */
.chatbot-msg-user {
    align-self: flex-end;
    max-width: 85%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-end;
}

.chatbot-bubble-user {
    background: linear-gradient(135deg, var(--censof-primary, #002060) 0%, #1e3a8a 100%);
    padding: 0.85rem 1rem;
    border-radius: 12px 12px 2px 12px;
    color: white;
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(0, 32, 96, 0.15);
    word-break: break-word;
}

.chatbot-msg-ai {
    align-self: flex-start;
    max-width: 85%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.chatbot-bubble-ai {
    background: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.25);
    padding: 0.85rem 1rem;
    border-radius: 12px 12px 12px 2px;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    word-break: break-word;
}

.chatbot-bubble-ai strong {
    color: var(--censof-primary, #002060);
}

.chatbot-suggest-btn:hover {
    background: rgba(197, 160, 89, 0.1) !important;
    border-color: #a4813d !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

/* Typing Thinking Indicator */
.chatbot-typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.35rem 0.5rem;
}

.chatbot-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: chatbot-bounce 1.4s infinite ease-in-out both;
}

.chatbot-typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.chatbot-typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes chatbot-bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1);
    }
}