/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Neumorphism Light Theme Colors */
    --bg-primary: #e0e5ec;
    --bg-secondary: #e0e5ec;
    --bg-card: #e0e5ec;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-tertiary: #f093fb;
    --border-color: transparent;
    
    /* Neumorphism Shadows */
    --shadow-neumorphism-raised: 9px 9px 16px #a3b1c6, -9px -9px 16px #ffffff;
    --shadow-neumorphism-inset: inset 9px 9px 16px #a3b1c6, inset -9px -9px 16px #ffffff;
    --shadow-neumorphism-pressed: inset 4px 4px 8px #a3b1c6, inset -4px -4px 8px #ffffff;
    --shadow-neumorphism-hover: 12px 12px 20px #a3b1c6, -12px -12px 20px #ffffff;
    
    --shadow-light: var(--shadow-neumorphism-raised);
    --shadow-medium: var(--shadow-neumorphism-raised);
    --shadow-large: var(--shadow-neumorphism-hover);
    
    --gradient-bg: #e0e5ec;
    --gradient-card: #e0e5ec;
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent-hover: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

[data-theme="dark"] {
    /* Neumorphism Dark Theme Colors */
    --bg-primary: #2c2c2c;
    --bg-secondary: #2c2c2c;
    --bg-card: #2c2c2c;
    --text-primary: rgba(255, 255, 255, 0.85);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-tertiary: #f093fb;
    --border-color: transparent;
    
    /* Neumorphism Dark Shadows */
    --shadow-neumorphism-raised: 9px 9px 16px #1a1a1a, -9px -9px 16px #3e3e3e;
    --shadow-neumorphism-inset: inset 9px 9px 16px #1a1a1a, inset -9px -9px 16px #3e3e3e;
    --shadow-neumorphism-pressed: inset 4px 4px 8px #1a1a1a, inset -4px -4px 8px #3e3e3e;
    --shadow-neumorphism-hover: 12px 12px 20px #1a1a1a, -12px -12px 20px #3e3e3e;
    
    --shadow-light: var(--shadow-neumorphism-raised);
    --shadow-medium: var(--shadow-neumorphism-raised);
    --shadow-large: var(--shadow-neumorphism-hover);
    
    --gradient-bg: #2c2c2c;
    --gradient-card: #2c2c2c;
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent-hover: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* Topbar Styles */
.topbar {
    background: var(--bg-primary);
    border: none;
    box-shadow: var(--shadow-neumorphism-raised);
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 0 0 20px 20px;
    margin: 0 20px;
}

[data-theme="dark"] .topbar {
    background: var(--bg-primary);
    box-shadow: var(--shadow-neumorphism-raised);
}

.topbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo i {
    color: var(--accent-primary);
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item.outline-btn {
    color: #28a745;
    border: 1.5px solid #28a745;
    background: transparent;
    padding: 0.5rem 1.25rem;
}

.nav-item.outline-btn:hover {
    background: #e8f5e9;
    color: #28a745;
}

.nav-item.whatsapp-link {
    color: #25D366;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item.whatsapp-link i {
    font-size: 0.9rem;
}

.nav-item.whatsapp-link:hover {
    color: #25D366;
    background: #e6f9ed;
    text-decoration: underline;
}

.nav-item:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.nav-item.active {
    color: white;
    background: var(--gradient-accent);
    box-shadow: var(--shadow-light);
}

.theme-toggle {
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 16px;
    background: var(--bg-primary);
    color: var(--accent-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-neumorphism-raised);
}

.theme-toggle:hover {
    box-shadow: var(--shadow-neumorphism-pressed);
    color: var(--accent-secondary);
    transform: scale(0.98);
}

.user-profile {
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 16px;
    background: var(--bg-primary);
    color: var(--accent-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: var(--shadow-neumorphism-raised);
}

[data-theme="dark"] .user-profile {
    color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: var(--shadow-neumorphism-raised);
}

.user-profile:hover {
    box-shadow: var(--shadow-neumorphism-pressed);
    color: var(--accent-secondary);
    transform: scale(0.98);
}

[data-theme="dark"] .user-profile:hover {
    box-shadow: var(--shadow-neumorphism-pressed);
    color: var(--accent-secondary);
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Welcome Section */
.welcome-section {
    background: var(--bg-primary);
    padding: 1.25rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-neumorphism-raised);
    border: none;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .welcome-section {
    background: var(--bg-primary);
    box-shadow: var(--shadow-neumorphism-raised);
}

.welcome-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.welcome-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.stats-cards {
    display: flex;
    gap: 1rem;
}

.stat-card {
    background: var(--bg-primary);
    padding: 1rem 1.25rem;
    border-radius: 18px;
    box-shadow: var(--shadow-neumorphism-raised);
    min-width: 140px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

[data-theme="dark"] .stat-card {
    background: var(--bg-primary);
    box-shadow: var(--shadow-neumorphism-raised);
}

[data-theme="dark"] .stat-card:hover {
    box-shadow: var(--shadow-neumorphism-hover);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neumorphism-hover);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 142, 0.1) 100%);
    border: 1px solid rgba(255, 107, 107, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.stat-icon.active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(74, 222, 128, 0.1) 100%);
    border-color: rgba(34, 197, 94, 0.2);
}

.stat-icon.active i {
    color: #22c55e;
}

.stat-icon.usage {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.stat-icon.usage i {
    color: #3b82f6;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1;
}

/* Tools Section */
.tools-section h2 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

/* Tool Cards - Neumorphism Style */
.tool-card {
    background: var(--bg-primary);
    border: none;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-neumorphism-raised);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Dark Mode Neumorphism */
[data-theme="dark"] .tool-card {
    background: var(--bg-primary);
    box-shadow: var(--shadow-neumorphism-raised);
}

[data-theme="dark"] .tool-card:hover {
    box-shadow: var(--shadow-neumorphism-hover);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neumorphism-hover);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-neumorphism-inset);
}

.tool-icon i {
    font-size: 1.25rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.tool-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tool-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    font-size: 0.875rem;
}

.tool-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.tool-status.active {
    color: #10b981;
}

.tool-status.inactive {
    color: #9e9e9e;
}

.tool-status.inactive .status-dot {
    background: #9e9e9e;
}

[data-theme="dark"] .tool-status.inactive {
    color: #6e6e6e;
}

[data-theme="dark"] .tool-status.inactive .status-dot {
    background: #6e6e6e;
}

.tool-button {
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: var(--bg-primary);
    color: var(--accent-primary);
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-neumorphism-raised);
}

.tool-button.disabled {
    background: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

[data-theme="dark"] .tool-button.disabled {
    background: #3a3a3a;
    color: #6e6e6e;
}

.tool-button:hover {
    box-shadow: var(--shadow-neumorphism-pressed);
    transform: translateY(1px);
    color: var(--accent-secondary);
}

.tool-button:active {
    transform: translateY(0);
}

.tool-button.disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
}

.tool-button.disabled:hover {
    transform: none;
    box-shadow: var(--shadow-light);
}

/* Footer Section */
/* Video Demo Section */
.video-demo-section {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.video-demo-container {
    background: #E7F8EE;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(100, 200, 150, 0.2);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.video-demo-container.modern {
    background: linear-gradient(135deg, #f8fdfa 0%, #e7f8ee 100%);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .video-demo-container {
    background: rgba(100, 200, 150, 0.1);
    border: 1px solid rgba(100, 200, 150, 0.2);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .video-demo-container.modern {
    background: linear-gradient(135deg, rgba(100, 200, 150, 0.15) 0%, rgba(100, 200, 150, 0.05) 100%);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.video-demo-content {
    text-align: center;
    margin-bottom: 2rem;
}

.video-demo-content.compact {
    text-align: left;
    margin-bottom: 1.5rem;
}

.video-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.video-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
    stroke: var(--accent-primary);
}

.video-demo-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.video-demo-content.compact h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
}

.video-demo-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.video-demo-content.compact p {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    margin-left: 2.5rem;
    line-height: 1.4;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 3px solid white;
}

.video-demo-container.modern .video-wrapper {
    border-radius: 8px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.footer-section {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.footer-container {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-neumorphism-raised);
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    border: none;
}

[data-theme="dark"] .footer-container {
    background: var(--bg-primary);
    box-shadow: var(--shadow-neumorphism-raised);
}

.footer-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-neumorphism-inset);
    flex-shrink: 0;
}

.footer-icon i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.footer-content {
    flex: 1;
}

.footer-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.footer-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-button {
    padding: 0.875rem 1.5rem;
    background: var(--bg-primary);
    color: var(--accent-primary);
    border: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-neumorphism-raised);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.footer-button:hover {
    transform: translateY(1px);
    box-shadow: var(--shadow-neumorphism-pressed);
    color: var(--accent-secondary);
}

.footer-button:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .welcome-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats-cards {
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .stat-card {
        min-width: 130px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 0.875rem;
    }
    
    .video-demo-container {
        padding: 2rem;
    }
    
    .video-demo-content h2 {
        font-size: 1.5rem;
    }
    
    .video-demo-content p {
        font-size: 1rem;
    }
    
    .footer-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .topbar-content {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-item.outline-btn {
        display: none;
    }
    
    .main-content {
        padding: 1rem;
        gap: 1.25rem;
    }
    
    .nav-item.whatsapp-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .nav-item.whatsapp-link i {
        font-size: 0.8rem;
    }
    
    .nav-item.outline-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .welcome-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .stats-cards {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .stat-card {
        width: 100%;
        max-width: 280px;
        justify-content: flex-start;
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
    }
    
    .stat-icon i {
        font-size: 0.875rem;
    }
    
    .stat-number {
        font-size: 1.375rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .tool-card {
        padding: 1rem;
        min-height: auto;
    }
    
    .tool-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    .tool-icon i {
        font-size: 0.9rem;
    }
    
    .tool-content h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .tool-content p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .tool-status {
        font-size: 0.7rem;
    }
    
    .tool-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .video-demo-section {
        padding: 0 1rem;
    }
    
    .video-demo-container {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .video-demo-content {
        margin-bottom: 1.5rem;
    }
    
    .video-demo-content h2 {
        font-size: 1.25rem;
    }
    
    .video-demo-content p {
        font-size: 0.9rem;
    }
    
    .footer-section {
        padding: 0 1rem;
    }
    
    .footer-container {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-content h2 {
        font-size: 1.25rem;
    }
    
    .footer-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-section {
        padding: 0 0.75rem;
        margin-top: 0.75rem;
    }
    
    .footer-container {
        padding: 1.25rem 1rem;
        gap: 1.25rem;
    }
    
    .footer-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    .footer-icon i {
        font-size: 0.9rem;
    }
    
    .footer-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .topbar-content {
        height: 60px;
        padding: 0 0.75rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo i {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-item.outline-btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .nav-item.whatsapp-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .nav-item.whatsapp-link i {
        font-size: 0.65rem;
    }
    
    .theme-toggle,
    .user-profile {
        transform: scale(0.85);
    }
    
    .welcome-section {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        gap: 0.75rem;
    }
    
    .welcome-content h1 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .welcome-content p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-top: 0.5rem;
    }
    
    .stats-cards {
        gap: 0.5rem;
    }
    
    .stat-card {
        max-width: 100%;
        padding: 0.75rem;
    }
    
    .stat-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }
    
    .stat-icon i {
        font-size: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .topbar-content {
        height: 55px;
        padding: 0 0.5rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo i {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 0.4rem;
    }
    
    .nav-item.outline-btn,
    .nav-item.whatsapp-link {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .nav-item.whatsapp-link i {
        font-size: 0.6rem;
    }
    
    .theme-toggle,
    .user-profile {
        transform: scale(0.8);
    }
    
    .welcome-content h1 {
        font-size: 1.1rem;
    }
    
    .welcome-content p {
        font-size: 0.7rem;
    }
    
    .tool-content h3 {
        font-size: 0.9rem;
    }
    
    .tool-content p {
        font-size: 0.7rem;
    }
    
    .footer-content h2 {
        font-size: 1.1rem;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    animation: fadeInUp 0.6s ease forwards;
}

.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.tool-card:nth-child(3) { animation-delay: 0.3s; }
.tool-card:nth-child(4) { animation-delay: 0.4s; }
.tool-card:nth-child(5) { animation-delay: 0.5s; }
.tool-card:nth-child(6) { animation-delay: 0.6s; }
.tool-card:nth-child(7) { animation-delay: 0.7s; }
.tool-card:nth-child(8) { animation-delay: 0.8s; }

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .tool-button {
    background: var(--text-secondary);
    cursor: wait;
}

/* Focus States for Accessibility */
.tool-button:focus,
.nav-item:focus,
.theme-toggle:focus,
.user-profile:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2);
}

/* Touch Target Improvements for Mobile */
@media (max-width: 768px) {
    .theme-toggle,
    .user-profile {
        min-width: 32px;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.6rem;
    }
    
    .tool-button,
    .footer-button {
        min-height: 36px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Floating Banner Promosi */
.floating-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-neumorphism-raised);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    animation: slideInUp 0.6s ease-out 1s forwards, float 4s ease-in-out infinite 1.6s;
    font-family: 'Inter', sans-serif;
}

.floating-banner.hidden {
    animation: slideOutDown 0.4s ease-in forwards;
}

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

@keyframes slideOutDown {
    to {
        transform: translateY(100px);
        opacity: 0;
    }
}

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

.close-banner {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--bg-primary);
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-neumorphism-raised);
    width: 24px;
    height: 24px;
}

.close-banner:hover {
    box-shadow: var(--shadow-neumorphism-pressed);
    transform: scale(0.95);
}

.banner-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.banner-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.banner-text h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.banner-text p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.banner-cta {
    display: block;
    width: 100%;
    background: var(--bg-primary);
    color: var(--accent-primary);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-neumorphism-raised);
}

.banner-cta:hover {
    box-shadow: var(--shadow-neumorphism-pressed);
    transform: translateY(1px);
    color: var(--accent-secondary);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-banner {
        width: calc(100vw - 40px);
        max-width: 300px;
        bottom: 80px;
        right: 20px;
        left: 20px;
        margin: 0 auto;
    }
    
    .banner-text h4 {
        font-size: 15px;
    }
    
    .banner-text p {
        font-size: 12px;
    }
    
    .banner-cta {
        font-size: 13px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .floating-banner {
        bottom: 70px;
        padding: 16px;
    }
    
    .banner-content {
        gap: 10px;
        margin-bottom: 14px;
    }
    
    .banner-icon svg {
        width: 20px;
        height: 20px;
    }
}