/* ====== CSS Variables ====== */
:root {
    --color-bg: #ffffff;
    --color-surface: rgba(255, 255, 255, 0.7);
    --color-border: rgba(16, 185, 129, 0.2);

    --color-primary: #10b981;
    --color-primary-dark: #059669;
    --color-primary-light: #d1fae5;

    --color-text-main: #0f172a;
    --color-text-muted: #64748b;

    --shadow-btn: 0 4px 14px rgba(16, 185, 129, 0.3);
    --shadow-btn-hover: 0 6px 20px rgba(16, 185, 129, 0.4);

    --radius-pill: 999px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1,
.logo span {
    font-family: 'Poppins', sans-serif;
}

.text-primary {
    color: var(--color-primary);
}

/* Background Blur Effect */
.blob-bg {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    border-radius: 50%;
}

.blob-1 {
    top: 10%;
    left: 10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-primary-light) 0%, rgba(209, 250, 229, 0) 70%);
}

/* Header */
.minimal-nav {
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.logo i {
    color: var(--color-primary);
    font-size: 2rem;
}

/* Main Minimal Content */
.minimal-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    text-align: center;
    z-index: 10;
}

.hero-minimal {
    max-width: 800px;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--color-text-main);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

/* CTA */
button {
    font-family: 'Inter', sans-serif;
    outline: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-btn);
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-hover);
}

.cta-pulse {
    animation: pulseGlow 2s infinite;
}

/* Features Inline */
.features-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.feature-divider {
    width: 4px;
    height: 4px;
    background-color: var(--color-border);
    border-radius: 50%;
}

/* Footer */
.minimal-footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    z-index: 10;
}

.disclaimer {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.disclaimer i {
    color: var(--color-primary);
    vertical-align: middle;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@media (max-width: 600px) {
    .features-minimal {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-divider {
        display: none;
    }
}

/* ====== Custom WhatsApp Chat Widget ====== */
.wa-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.2s;
}

.wa-floating-btn i {
    font-size: 32px;
    color: white;
}

.wa-floating-btn:hover {
    transform: scale(1.1);
}

.wa-widget {
    position: fixed;
    bottom: 90px;
    right: 2rem;
    width: 350px;
    height: 500px;
    background-color: #efeae2;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
    transition: opacity 0.3s, transform 0.3s;
    transform-origin: bottom right;
}

.wa-widget.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.wa-header {
    background-color: #075e54;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wa-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wa-avatar img {
    width: 100%;
}

.wa-info {
    display: flex;
    flex-direction: column;
}

.wa-info strong {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: white;
}

.wa-info span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.wa-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.wa-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: cover;
    position: relative;
}

.wa-empty-state {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    color: #667781;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.5s ease;
}

.wa-empty-state i {
    font-size: 3rem;
    opacity: 0.5;
}

.wa-empty-state p {
    font-size: 0.9rem;
    line-height: 1.4;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.wa-message {
    display: flex;
    max-width: 85%;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.3s ease forwards;
    flex-direction: column;
}

.wa-message.bot {
    align-self: flex-start;
}

.wa-message.user {
    align-self: flex-end;
}

.wa-bubble {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, .13);
    color: #111b21;
}

.wa-bubble img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 4px;
}

.bot .wa-bubble {
    background-color: white;
    border-top-left-radius: 0;
}

.user .wa-bubble {
    background-color: #dcf8c6;
    border-top-right-radius: 0;
}

.wa-time {
    display: block;
    text-align: right;
    font-size: 0.65rem;
    color: #999;
    margin-top: 0.25rem;
}

.wa-footer {
    background-color: #f0f0f0;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wa-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #54656f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#wa-input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.wa-send {
    background-color: #00a884;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
}

@media (max-width: 600px) {
    .wa-widget {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .wa-floating-btn {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}