:root {
    /* Primary Colors - Deep Burgundy Red */
    --primary: #8c1308;
    --primary-dark: #6d0f06;
    --primary-darker: #4a0a04;
    --primary-light: #f5e6e4;
    --primary-lighter: #faf3f2;

    /* Secondary Colors - Navy Blue */
    --secondary: #1e3a5f;
    --secondary-dark: #152942;
    --secondary-light: #2d5a87;
    --secondary-lighter: #e8f0f7;

    /* Accent - Gold */
    --accent: #c9a227;
    --accent-dark: #a6841f;
    --accent-light: #f4e5c2;

    /* Functional Colors */
    --success: #059669;
    --success-light: #d1fae5;
    --danger: #dc2626;
    --danger-light: #fee2e2;
    --warning: #f59e0b;

    /* Neutral Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border: #e2e8f0;
    --border-dark: #cbd5e1;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(140, 19, 8, 0.05);
    --shadow: 0 4px 6px -1px rgba(140, 19, 8, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(140, 19, 8, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(140, 19, 8, 0.2);

    /* Radius */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

/* ✅ PERBAIKAN: Tambahkan selector universal `*` */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.3s ease;
}
.logo:hover { transform: scale(1.03); }
.logo i { font-size: 1.75rem; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
    position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white !important;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}
.nav-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.nav-cta::after { display: none !important; }

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    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.05'%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");
    opacity: 0.1;
    animation: heroFadeIn 2s ease-in-out both;
}
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-content h1 span {
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(201, 162, 39, 0.3);
}
.hero-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.trust-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}
.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.badge:nth-child(1) { animation: heroScaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both; }
.badge:nth-child(2) { animation: heroScaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both; }
.badge:nth-child(3) { animation: heroScaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both; }
.badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}
.badge:hover i { animation: badgeIconBounce 0.5s ease; }
.badge i { font-size: 1.25rem; color: var(--accent); }

/* Calculator */
.calculator-wrapper {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--primary-light);
    position: relative;
    overflow: hidden;
    animation: heroScaleIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.calculator-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
}
.calculator-header { text-align: center; margin-bottom: 2rem; }
.calculator-header h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}
.calculator-header p { color: var(--text-secondary); font-size: 0.95rem; }

.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.input-wrapper { position: relative; }
.input-prefix {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    pointer-events: none;
}
.form-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--bg-secondary);
    font-weight: 600;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-light);
    transform: translateY(-1px);
}
.form-input.error {
    border-color: var(--danger);
    background: var(--danger-light);
}
.error-message {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.375rem;
    display: none;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}
.error-message.show { display: flex; }

/* DP Toggle */
.dp-toggle {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: 10px;
    padding: 0.375rem;
    margin-bottom: 1rem;
    border: 2px solid var(--border);
}
.dp-toggle-btn {
    flex: 1;
    padding: 0.625rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    color: var(--text-secondary);
    font-family: inherit;
}
.dp-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow);
}

/* Slider */
.slider-container { margin: 1rem 0; }
.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    align-items: center;
}
.slider-value {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}
.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border);
    outline: none;
    -webkit-appearance: none;
}
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(140, 19, 8, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 3px solid white;
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range-slider::-webkit-slider-thumb:active {
    transform: scale(1.3);
    box-shadow: 0 6px 20px rgba(140, 19, 8, 0.5);
}

/* Quick Buttons */
.quick-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.quick-btn {
    flex: 1;
    min-width: 80px;
    padding: 0.75rem;
    border: 2px solid var(--border);
    background: white;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    color: var(--text-secondary);
    font-family: inherit;
}
.quick-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-lighter);
    transform: translateY(-2px);
}
.quick-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--shadow);
    animation: quickPulse 1s ease-out;
}

/* Interest Info */
.interest-badge {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--secondary-lighter) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--secondary);
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    border-left: 4px solid var(--primary);
}
.interest-badge.show { display: flex; }

/* Submit Button */
.btn-primary {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    font-family: inherit;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
}
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.spinner {
    width: 20px; height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}
.btn-primary.loading .spinner { display: block; }
.btn-primary.loading .btn-text { display: none; }

/* Result Card */
.result-card {
    display: none;
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-light);
}
.result-card.show {
    display: block;
    animation: resultSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.result-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--primary-light);
}
.result-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
}
.result-amount {
    font-size: 2.75rem;
    font-weight: 800;
    margin: 1rem 0;
    line-height: 1.2;
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    background-image: linear-gradient(90deg,
        var(--primary) 0%, var(--accent) 25%,
        var(--primary) 50%, var(--accent) 75%,
        var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.result-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
}
.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.result-item {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--primary-lighter) 100%);
    padding: 1.25rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: resultItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.result-card.show .result-item:nth-child(1) { animation-delay: 0.3s; }
.result-card.show .result-item:nth-child(2) { animation-delay: 0.4s; }
.result-card.show .result-item:nth-child(3) { animation-delay: 0.5s; }
.result-card.show .result-item:nth-child(4) { animation-delay: 0.6s; }
.result-card.show .result-item:nth-child(5) { animation-delay: 0.7s; }
.result-card.show .result-item:nth-child(6) { animation-delay: 0.8s; }
.result-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}
.result-item-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}
.result-item-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}
.result-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.btn-secondary {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid var(--border);
    background: white;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-lighter);
    transform: translateY(-2px);
}
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-color: #25d366;
    color: white;
}
.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    color: white;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: white;
    position: relative;
}
.features::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 800;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-8px) perspective(1000px) rotateX(2deg);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 30px rgba(140, 19, 8, 0.25);
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 700;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Trust Section */
.trust-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}
.trust-section::before {
    content: '';
    position: absolute;
    inset: 0;
    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");
}
.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.trust-item { text-align: center; }
.trust-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    text-shadow: 0 2px 10px rgba(201, 162, 39, 0.3);
}
.trust-number.counting { animation: countPulse 0.3s ease-in-out; }
.trust-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    position: relative;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}
.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: white;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--accent);
}
.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    line-height: 2;
    transition: all 0.3s;
    font-size: 0.95rem;
    display: block;
}
.footer-section a:hover {
    color: var(--accent);
    padding-left: 4px;
}
.footer-section i {
    color: var(--accent);
    margin-right: 0.5rem;
    width: 20px;
}
.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem; right: 2rem;
    background: white;
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 9999;
    border-left: 4px solid var(--success);
    min-width: 300px;
}
.toast.show { transform: translateX(0); }
.toast.error { border-left-color: var(--danger); }
.toast i { font-size: 1.5rem; }
.toast.success i { color: var(--success); }
.toast.error i { color: var(--danger); }

/* Animations */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes heroScaleIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}
@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}
@keyframes badgeIconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3) rotate(-10deg); }
}
@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes resultSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes resultItemIn {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes quickPulse {
    0% { box-shadow: 0 0 0 0 rgba(140, 19, 8, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(140, 19, 8, 0); }
    100% { box-shadow: 0 0 0 0 rgba(140, 19, 8, 0); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Scroll Reveal */
.reveal, .footer-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal.active, .footer-section.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Ripple Effect */
.ripple { position: relative; overflow: hidden; }
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out;
    pointer-events: none;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    z-index: 1001;
    transition: width 0.1s ease-out;
    width: 0%;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-content h1 { font-size: 2.25rem; text-align: center; }
    .hero-content p { text-align: center; }
    .trust-badges { justify-content: center; }
    .nav-links { display: none; }
    .result-grid { grid-template-columns: 1fr; }
    .result-actions { flex-direction: column; }
    .result-amount { font-size: 2.25rem; }
}
@media (max-width: 640px) {
    .hero { padding: 3rem 1rem; }
    .calculator-wrapper { padding: 1.75rem; }
    .features-grid { grid-template-columns: 1fr; }
    .trust-grid { gap: 2.5rem; }
    .trust-number { font-size: 2.5rem; }
    .section-header h2 { font-size: 1.75rem; }
    .toast { left: 1rem; right: 1rem; min-width: auto; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .footer-section { opacity: 1; transform: none; }
}