/* Custom CSS for Yggra Software House - Enhanced Version */

:root {
    --primary-color: #e5e7eb;
    --primary-dark: #d1d5db;
    --primary-light: rgba(229, 231, 235, 0.1);
    --secondary-color: #6b7280;
    --success-color: #9ca3af;
    --success-light: rgba(156, 163, 175, 0.1);
    --warning-color: #d1d5db;
    --warning-light: rgba(209, 213, 219, 0.1);
    --danger-color: #9ca3af;
    --dark-color: #000000;
    --dark-secondary: #111111;
    --dark-tertiary: #1f1f1f;
    --dark-quaternary: #2a2a2a;
    --light-color: #f9fafb;
    --white: #ffffff;
    --info-color: #9ca3af;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-premium: rgba(255, 255, 255, 0.95);
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-premium: rgba(255, 255, 255, 0.12);
    --accent-silver: #c0c0c0;
    --accent-platinum: #e5e4e2;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 1rem;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-premium);
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Fix section spacing and prevent overlap */
section {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
    margin: 0;
}

/* Section backgrounds */
section.bg-light {
    background-color: var(--dark-secondary) !important;
}

section.bg-dark {
    background-color: var(--dark-color) !important;
}

.py-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
}

p {
    color: var(--text-light);
}

.text-muted {
    color: var(--text-muted) !important;
}

.lead {
    color: var(--text-light);
}

.display-4 {
    font-weight: 800;
    line-height: 1.1;
}

.display-5 {
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Text colors for dark theme */
.text-light {
    color: var(--text-light) !important;
}

.text-white {
    color: var(--white) !important;
}

small {
    color: var(--text-muted);
}

.card-body p,
.card-body small,
.card-body li {
    color: var(--text-light);
}

.list-unstyled li {
    color: var(--text-light);
}

/* Text Gradient Effect */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%) !important;
    border: 1px solid var(--border-premium) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.bg-success-light {
    background-color: var(--success-light) !important;
}

.bg-warning-light {
    background-color: var(--warning-light) !important;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(20px);
    background-color: rgba(10, 10, 10, 0.95) !important;
    border-bottom: 1px solid var(--border-dark);
    transition: all 0.3s ease;
    z-index: 1050;
    min-height: 70px;
}

.navbar-brand {
    font-size: 1.75rem !important;
    font-weight: 800;
}

.navbar-brand img {
    border-radius: 8px;
    /* Removido drop-shadow para manter cores originais */
}

/* Logo sempre com cantos arredondados */
img[src="logo.svg"] {
    border-radius: 8px !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-light) !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    margin-top: 70px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(42, 42, 42, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(31, 31, 31, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(47, 47, 47, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
}

/* Ensure first element in hero has enough space on mobile */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 40px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding-top: 60px;
    }
}

/* Hero Animation - Rocket */
.hero-animation {
    position: relative;
    height: 500px;
}

.rocket-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.development-stages {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stage {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.3;
    transition: all 0.5s ease;
}

.stage.active {
    opacity: 1;
    transform: scale(1.1);
}

.stage-1 { top: 10%; left: 10%; }
.stage-2 { top: 30%; right: 20%; }
.stage-3 { bottom: 40%; left: 15%; }
.stage-4 { bottom: 10%; right: 10%; }

.stage-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    margin-bottom: 0.5rem;
    border: 3px solid var(--primary-color);
}

.stage-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stage span {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    color: var(--dark-color);
}

.rocket {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--primary-color);
    animation: rocketFloat 3s ease-in-out infinite;
    z-index: 10;
}

.rocket-trail {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--accent-silver), rgba(192, 192, 192, 0.5), transparent);
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: trailMove 4s ease-in-out infinite;
    border-radius: 3px;
    box-shadow: 0 0 20px var(--primary-color);
}

.rocket-trail::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    bottom: -2px;
    background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.3), transparent);
    border-radius: 5px;
    animation: trailGlow 4s ease-in-out infinite;
}

@keyframes trailGlow {
    0% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1.2); }
    100% { opacity: 0; transform: scaleX(0); }
}

@keyframes rocketFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(-10deg); }
    50% { transform: translate(-50%, -60%) rotate(10deg); }
}

@keyframes trailMove {
    0% { opacity: 0; width: 0; }
    50% { opacity: 1; width: 200px; }
    100% { opacity: 0; width: 300px; }
}

/* Stats Cards */
.stats-cards {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    flex: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* About Section Cards */
.about-card {
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-dark);
    background-color: rgba(26, 26, 26, 0.8);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* James Photo Section */
.james-photo-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.james-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

.james-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.james-overlay h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.james-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Buttons - Premium Style */
.btn {
    font-weight: 500;
    border-radius: 8px;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.025em;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    border-radius: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%);
    color: var(--text-premium);
    border: 1px solid var(--border-premium);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-quaternary) 0%, var(--dark-tertiary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: var(--white);
    border-color: var(--accent-silver);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
    border: 1px solid var(--border-premium);
    color: var(--text-premium);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-secondary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-silver);
    color: var(--white);
}

.btn-warning {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%);
    color: var(--text-premium);
    border: 1px solid var(--border-premium);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, var(--dark-quaternary) 0%, var(--dark-tertiary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: var(--white);
    border-color: var(--accent-platinum);
}

/* Cards */
.card {
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius-lg);
    background-color: var(--dark-secondary);
    color: var(--text-light);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    border: none;
    font-weight: 600;
    background-color: var(--dark-tertiary);
    color: var(--white);
    border-bottom: 1px solid var(--border-dark);
}

.card-header h4,
.card-header h5,
.card-header h6 {
    color: var(--white);
    margin-bottom: 0;
}

/* Version Timeline */
.version-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-content h6 {
    color: var(--white);
}

.timeline-content p {
    color: var(--text-muted);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: 40px;
    background: var(--primary-color);
}

.timeline-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    margin-right: 2rem;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

/* Plan Badges */
.plan-badge {
    min-width: 120px;
    text-align: center;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%);
    color: var(--accent-platinum);
    border: 1px solid var(--border-premium);
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-weight: bold;
    white-space: nowrap;
}

/* Progress Bar Enhancements */
.progress {
    border-radius: 10px;
    overflow: hidden;
    height: 20px;
}

.progress-bar {
    border-radius: 10px;
    transition: width 2s ease-in-out;
}

.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}

.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% { background-position-x: 1rem; }
}

/* Badges */
.badge {
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.badge.bg-success-light {
    background-color: var(--success-light) !important;
    color: var(--success-color) !important;
}

.badge.bg-primary-light {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
}

.badge.bg-warning-light {
    background-color: var(--warning-light) !important;
    color: var(--warning-color) !important;
}

/* Alerts */
.alert {
    background-color: var(--dark-tertiary);
    border: 1px solid var(--border-dark);
    color: var(--text-light);
}

.alert-info {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
    border: 1px solid var(--border-premium);
    color: var(--text-premium);
}

.alert-success {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
    border: 1px solid var(--border-premium);
    color: var(--text-premium);
}

.alert-warning {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
    border: 1px solid var(--border-premium);
    color: var(--text-premium);
}

/* Icons Fix - Prevent Squashing */
.bi {
    vertical-align: -0.125em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

/* Ensure icons maintain aspect ratio */
i.bi {
    min-width: 1em;
    min-height: 1em;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Fix circular icon containers */
.rounded-circle {
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.rounded-circle i {
    font-size: 1.25rem;
    line-height: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll animations */
[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease;
}

[data-aos="fade-left"] {
    animation: fadeInLeft 0.8s ease;
}

[data-aos="fade-right"] {
    animation: fadeInRight 0.8s ease;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
    position: relative;
    color: var(--text-light);
}

footer h5,
footer h6 {
    color: var(--white);
}

footer p {
    color: var(--text-light);
}

footer .text-light {
    color: var(--text-light) !important;
}

footer a {
    transition: all 0.3s ease;
    color: var(--text-light);
}

footer a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

footer img {
    /* Removido filtro para manter cores originais da logo */
}

footer ul li {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding-top: 60px;
        margin-top: 100px;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    section, .py-6 {
        padding: 3rem 0 !important;
    }
    
    .hero-animation {
        height: 300px;
        margin-top: 2rem;
    }
    
    .stats-cards {
        flex-direction: column;
        gap: 1rem;
    }
    
    .rocket {
        font-size: 2rem;
    }
    
    .stage-icon {
        width: 40px;
        height: 40px;
    }
    
    .stage-icon i {
        font-size: 1rem;
    }
    
    .stage span {
        font-size: 0.75rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item::after {
        display: none;
    }
    
    .timeline-marker {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .plan-badge {
        min-width: 100px;
    }
    
    .popular-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
    
    .hero-section {
        padding-top: 40px;
        margin-top: 120px;
    }
}

/* Utilities */
.rounded-pill {
    border-radius: 50rem !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Hover effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus states */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(192, 192, 192, 0.25);
    border-color: var(--accent-silver);
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Print styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-outline-primary {
        border-width: 3px;
    }
    
    .card {
        border: 2px solid var(--dark-color);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .rocket {
        animation: none;
    }
    
    .rocket-trail {
        animation: none;
    }
}

/* Ensure proper spacing between sections */
.hero-section + section {
    margin-top: 0;
}

section + section {
    margin-top: 0;
}

/* Fix any potential z-index issues */
.navbar {
    z-index: 1050;
}

.hero-section {
    z-index: 1;
}

section {
    z-index: 1;
}

/* Additional text contrast fixes */
.about-content p,
.about-content small,
.about-content li {
    color: var(--text-light);
}

.plan-info p,
.plan-info small {
    color: var(--text-light);
}

.hero-content p {
    color: var(--text-light);
}

.stats-cards small {
    color: var(--text-muted);
}

.stage span {
    color: var(--white) !important;
}

/* Ensure all text in sections has proper contrast */
section p:not(.text-primary):not(.text-success):not(.text-warning):not(.text-danger) {
    color: var(--text-light);
}

section small:not(.text-primary):not(.text-success):not(.text-warning):not(.text-danger) {
    color: var(--text-muted);
}

/* Fix any remaining dark text on dark background */
.text-dark {
    color: var(--white) !important;
}

/* Ensure proper contrast for all Bootstrap text utilities in dark theme */
.text-secondary {
    color: var(--text-muted) !important;
}

/* Development Process Timeline */
.development-process {
    position: relative;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

.process-connection {
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--info-color), var(--warning-color), var(--success-color));
    z-index: 1;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--white);
}

.step-icon i {
    font-size: 1.5rem;
}

.step-content {
    margin-bottom: 1.5rem;
}

.step-content h6 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.step-illustration {
    margin-top: auto;
}

.illustration-card {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

.illustration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bg-info-light {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%) !important;
}

/* Success Cases */
.case-card {
    background: var(--dark-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-dark);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.case-header {
    background: linear-gradient(135deg, var(--dark-color), var(--dark-tertiary)) !important;
}

.case-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* On Air Effect - Premium Dark */
.on-air {
    animation: onAirBlink 2s infinite;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
    position: relative;
}

.on-air::before {
    content: '●';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-silver);
    animation: onAirPulse 1s infinite;
}

@keyframes onAirBlink {
    0%, 50% {
        opacity: 1;
        background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%);
        box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
    }
    51%, 100% {
        opacity: 0.7;
        background: linear-gradient(135deg, var(--dark-quaternary) 0%, var(--dark-tertiary) 100%);
        box-shadow: 0 0 20px rgba(192, 192, 192, 0.8);
    }
}

@keyframes onAirPulse {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

.case-icon {
    text-align: center;
}

.case-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.case-results {
    margin-top: auto;
}

.result-item {
    padding: 0.5rem;
}

.case-footer {
    background-color: var(--dark-tertiary) !important;
    margin-top: auto;
}

.case-footer small {
    color: var(--text-muted) !important;
}

.success-metric {
    text-align: center;
    padding: 1rem;
}

.success-metric i {
    display: block;
    margin-bottom: 1rem;
}

.success-metric h6 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* Responsive Design for Process Timeline */
@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: 3rem;
    }
    
    .process-connection {
        display: none;
    }
    
    .process-step {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 1rem;
    }
    
    .step-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .step-content {
        flex: 1;
        margin-bottom: 0;
    }
    
    .step-illustration {
        margin-top: 0;
        margin-left: 1rem;
    }
    
    .illustration-card {
        padding: 1rem;
    }
}

/* CTA Section with primary background - use dark text for better aesthetics */
section.bg-primary {
    color: var(--dark-color);
}

section.bg-primary h1,
section.bg-primary h2,
section.bg-primary h3,
section.bg-primary h4,
section.bg-primary h5,
section.bg-primary h6 {
    color: var(--dark-color) !important;
}

section.bg-primary p {
    color: var(--dark-color) !important;
}

section.bg-primary .lead {
    color: var(--dark-color) !important;
}

section.bg-primary small {
    color: rgba(10, 10, 10, 0.7) !important;
}

section.bg-primary strong {
    color: var(--dark-color);
}

/* Dashboard de Monitoramento Styles */
.dashboard-container {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative;
    overflow: hidden;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(47, 47, 47, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(42, 42, 42, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.dashboard-header {
    position: relative;
    z-index: 2;
}

/* Status Indicator Animation */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(192, 192, 192, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(192, 192, 192, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(192, 192, 192, 0);
    }
}

/* Metric Cards */
.metric-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Gradientes para os cards - Premium Dark Theme */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%) !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%) !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%) !important;
}

/* Metric Values Animation */
.metric-value {
    position: relative;
    display: inline-block;
}

.metric-value::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    animation: metricGlow 3s ease-in-out infinite;
}

@keyframes metricGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Progress Bars Customizados */
.metric-card .progress {
    height: 6px !important;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.metric-card .progress-bar {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 3px;
    position: relative;
}

.metric-card .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Alertas Section */
.alerts-section {
    background: var(--dark-color) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative;
}

.alert-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.alert-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Security Status Badges */
.security-status .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    position: relative;
    overflow: hidden;
}

.security-status .badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Health Indicators */
.health-indicators {
    position: relative;
}

.health-indicators::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center, rgba(192, 192, 192, 0.1) 0%, transparent 70%);
    border-radius: 8px;
    animation: healthPulse 4s ease-in-out infinite;
}

@keyframes healthPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Feature Cards da seção de monitoramento */
.feature-card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.1), transparent);
    transition: all 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(192, 192, 192, 0.3);
}

.feature-icon {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Team Stats Animation */
.team-stat {
    position: relative;
    transition: all 0.3s ease;
}

.team-stat:hover {
    transform: scale(1.05);
}

.team-stat .fs-2 {
    position: relative;
    display: inline-block;
}

.team-stat .fs-2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.team-stat:hover .fs-2::after {
    width: 100%;
}

/* Responsividade para Dashboard */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 1.5rem !important;
    }
    
    .metric-card {
        margin-bottom: 1rem;
    }
    
    .metric-value {
        font-size: 1.5rem !important;
    }
    
    .feature-card {
        padding: 2rem !important;
    }
    
    .alerts-section {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .dashboard-container {
        padding: 1rem !important;
    }
    
    .metric-value {
        font-size: 1.25rem !important;
    }
    
    .feature-card {
        padding: 1.5rem !important;
    }
    
    .team-stat .fs-2 {
        font-size: 1.5rem !important;
    }
}

/* Animações de entrada para o dashboard */
.dashboard-container {
    animation: dashboardFadeIn 1s ease-out;
}

@keyframes dashboardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.metric-card {
    animation: metricSlideIn 0.8s ease-out;
    animation-fill-mode: both;
}

.metric-card:nth-child(1) { animation-delay: 0.1s; }
.metric-card:nth-child(2) { animation-delay: 0.2s; }
.metric-card:nth-child(3) { animation-delay: 0.3s; }
.metric-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes metricSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Efeito de typing para os valores das métricas */
.metric-value {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(4, end) 0.5s both;
}

@keyframes typing {
    0% { width: 0; }
    100% { width: auto; }
}

/* Glow effect para elementos importantes */
.pulse-animation,
.badge.bg-success,
.badge.bg-danger,
.badge.bg-warning {
    position: relative;
}

.pulse-animation::after,
.badge.bg-success::after,
.badge.bg-danger::after,
.badge.bg-warning::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 20px currentColor;
    opacity: 0;
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}

/* System Cards and Illustrations */
.system-card .card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.system-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.system-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SaaS Illustration */
.saas-illustration {
    position: relative;
    width: 60px;
    height: 40px;
    margin: 0 auto;
}

.cloud-base {
    width: 50px;
    height: 30px;
    border-radius: 15px;
    position: relative;
    animation: cloudFloat 3s ease-in-out infinite;
}

.cloud-base::before,
.cloud-base::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.cloud-base::before {
    width: 20px;
    height: 20px;
    top: -10px;
    left: 10px;
}

.cloud-base::after {
    width: 25px;
    height: 25px;
    top: -15px;
    right: 5px;
}

.cloud-users {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.user-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-silver);
    border-radius: 50%;
    animation: userPulse 2s ease-in-out infinite;
}

.user-dot:nth-child(2) {
    animation-delay: 0.5s;
}

.user-dot:nth-child(3) {
    animation-delay: 1s;
}

/* E-commerce Illustration */
.ecommerce-illustration {
    position: relative;
    width: 60px;
    height: 50px;
    margin: 0 auto;
}

.store-front {
    width: 40px;
    height: 35px;
    border-radius: 5px;
    position: relative;
    animation: storeGlow 4s ease-in-out infinite;
}

.store-front::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    height: 15px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.shopping-cart {
    position: absolute;
    top: 40px;
    right: 0;
    width: 20px;
    height: 15px;
    background: var(--accent-silver);
    border-radius: 3px;
    animation: cartMove 3s ease-in-out infinite;
}

.cart-item {
    width: 4px;
    height: 4px;
    background: var(--dark-color);
    border-radius: 1px;
    margin: 2px;
    animation: itemAdd 2s ease-in-out infinite;
}

/* Internal Systems Illustration */
.internal-illustration {
    position: relative;
    width: 60px;
    height: 50px;
    margin: 0 auto;
}

.company-building {
    width: 35px;
    height: 40px;
    border-radius: 3px;
    position: relative;
    animation: buildingPulse 4s ease-in-out infinite;
}

.company-building::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.workflow-arrows {
    position: absolute;
    top: 0;
    right: -25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.arrow {
    width: 20px;
    height: 2px;
    background: var(--accent-platinum);
    position: relative;
    animation: arrowFlow 2s ease-in-out infinite;
}

.arrow::after {
    content: '';
    position: absolute;
    right: -3px;
    top: -2px;
    width: 0;
    height: 0;
    border-left: 6px solid var(--accent-platinum);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.arrow-2 {
    animation-delay: 0.5s;
}

.arrow-3 {
    animation-delay: 1s;
}

/* Automation Flow Styles */
.automation-flow-container {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-color) 100%);
}

.automation-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 120px;
    position: relative;
}

.step-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    animation: nodeFloat 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(229, 231, 235, 0.3);
}

.step-node::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid currentColor;
    border-radius: 50%;
    opacity: 0.3;
    animation: nodePulse 2s ease-in-out infinite;
}

.step-content h6 {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.step-content small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.flow-arrow {
    font-size: 1.5rem;
    animation: arrowPulse 2s ease-in-out infinite;
    margin: 0 0.5rem;
}

.flow-stats {
    background: var(--dark-tertiary) !important;
}

.stat-item {
    padding: 0.5rem;
}

/* Automation Cards */
.automation-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.automation-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.automation-icon {
    animation: iconFloat 4s ease-in-out infinite;
}

/* Background Gradients */
.bg-gradient-dark {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* ROI Metrics */
.roi-metric {
    padding: 1rem;
    text-align: center;
}

.roi-metric i {
    display: block;
    margin-bottom: 1rem;
}

/* Benefit Items */
.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.benefit-item i {
    flex-shrink: 0;
    width: 20px;
}

/* Animations */
@keyframes cloudFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes userPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes storeGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(192, 192, 192, 0.3); }
    50% { box-shadow: 0 0 20px rgba(192, 192, 192, 0.6); }
}

@keyframes cartMove {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(10px); }
}

@keyframes itemAdd {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@keyframes buildingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes arrowFlow {
    0% { opacity: 0.3; transform: translateX(-5px); }
    50% { opacity: 1; transform: translateX(0px); }
    100% { opacity: 0.3; transform: translateX(5px); }
}

@keyframes nodeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-2px) rotate(1deg); }
    75% { transform: translateY(2px) rotate(-1deg); }
}

/* Premium Dark Theme Overrides */
.bg-primary {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%) !important;
    border: 1px solid var(--border-premium) !important;
}

.bg-success {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%) !important;
    border: 1px solid var(--border-premium) !important;
}

.bg-warning {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%) !important;
    border: 1px solid var(--border-premium) !important;
}

.bg-info {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%) !important;
    border: 1px solid var(--border-premium) !important;
}

.bg-danger {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%) !important;
    border: 1px solid var(--border-premium) !important;
}

.bg-light {
    background: var(--dark-tertiary) !important;
    border: 1px solid var(--border-premium) !important;
}

.bg-secondary {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%) !important;
    border: 1px solid var(--border-dark) !important;
}

.text-primary {
    color: var(--accent-platinum) !important;
}

.text-success {
    color: var(--accent-silver) !important;
}

.text-warning {
    color: var(--accent-platinum) !important;
}

.text-info {
    color: var(--accent-silver) !important;
}

.text-danger {
    color: var(--accent-silver) !important;
}

.text-dark {
    color: var(--text-premium) !important;
}

/* Premium Card Styles */
.card {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
    border: 1px solid var(--border-premium);
    backdrop-filter: blur(20px);
}

.card-header {
    border-bottom: 1px solid var(--border-premium);
}

/* Premium Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%);
    border: 1px solid var(--border-premium);
    color: var(--text-premium);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-quaternary) 0%, var(--dark-tertiary) 100%);
    border-color: var(--accent-silver);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
    border: 1px solid var(--border-premium);
    color: var(--text-premium);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-secondary) 100%);
    border-color: var(--accent-silver);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%);
    border: 1px solid var(--border-premium);
    color: var(--text-premium);
}

.btn-warning:hover {
    background: linear-gradient(135deg, var(--dark-quaternary) 0%, var(--dark-tertiary) 100%);
    border-color: var(--accent-platinum);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Premium Badges */
.badge {
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-quaternary) 100%);
    border: 1px solid var(--border-premium);
    color: var(--text-premium);
}

/* Premium Alerts */
.alert {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 100%);
    border: 1px solid var(--border-premium);
    color: var(--text-premium);
}

/* Premium Sections */
.bg-gradient-dark {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 50%, var(--dark-tertiary) 100%);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-tertiary) 50%, var(--dark-quaternary) 100%);
}

/* Mobile responsive adjustments for new sections */
@media (max-width: 768px) {
    .automation-flow {
        flex-direction: column;
        gap: 2rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .step-node {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .system-icon {
        height: 60px;
    }
    
    .saas-illustration,
    .ecommerce-illustration,
    .internal-illustration {
        width: 50px;
        height: 40px;
    }
    
    .automation-card {
        margin-bottom: 1rem;
    }
    
    .roi-metric {
        padding: 0.5rem;
    }
}

/* Application Form Styles */
.application-form-container {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-premium);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.application-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(192, 192, 192, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(229, 231, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.application-form {
    position: relative;
    z-index: 2;
}

/* Form Labels */
.application-form .form-label {
    display: block;
    width: 100%;
    margin-bottom: 0;
}

.label-text {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-text {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Form Controls */
.application-form .form-control,
.application-form .form-select {
    background: rgba(36, 36, 38, 0.8);
    border: 1px solid rgba(34, 34, 34, 0.8);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.application-form .form-control::placeholder {
    color: rgba(128, 128, 128, 0.8);
}

.application-form .form-control:focus,
.application-form .form-select:focus {
    background: rgba(42, 42, 44, 0.9);
    border-color: var(--accent-silver);
    box-shadow: 0 0 0 0.25rem rgba(192, 192, 192, 0.15);
    color: var(--white);
}

.application-form .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.application-form .form-select option {
    background: var(--dark-tertiary);
    color: var(--white);
}

/* Textarea */
.application-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
.application-form .btn-primary {
    background: linear-gradient(135deg, var(--accent-silver) 0%, var(--accent-platinum) 100%);
    border: none;
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.application-form .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: all 0.5s ease;
}

.application-form .btn-primary:hover::before {
    left: 100%;
}

.application-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-platinum) 0%, var(--white) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.application-form .btn-primary:active {
    transform: translateY(0);
}

/* Form Validation States */
.application-form .form-control:invalid {
    border-color: rgba(220, 53, 69, 0.5);
}

.application-form .form-control:valid {
    border-color: rgba(25, 135, 84, 0.3);
}

/* Loading State */
.application-form .btn-primary:disabled {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.5) 0%, rgba(229, 231, 235, 0.5) 100%);
    color: rgba(0, 0, 0, 0.5);
    cursor: not-allowed;
    transform: none;
}

.application-form .btn-primary:disabled::before {
    display: none;
}

/* Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    border: 1px solid transparent;
}

.form-message.success {
    background: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.3);
    color: var(--accent-silver);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

/* Responsive Form */
@media (max-width: 768px) {
    .application-form-container {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .application-form .form-control,
    .application-form .form-select {
        font-size: 0.8rem;
        padding: 0.625rem 0.875rem;
    }
    
    .application-form .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .label-text {
        font-size: 0.8rem;
    }
    
    .form-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .application-form-container {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .application-form .row {
        margin: 0;
    }
    
    .application-form .row > [class*="col-"] {
        padding: 0 0.5rem;
    }
    
    .application-form .btn-primary {
        width: 100%;
        padding: 1rem;
    }
}

/* Form Animation */
.application-form-container {
    animation: formSlideIn 0.8s ease-out;
}

@keyframes formSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input Focus Animation */
.application-form .form-control,
.application-form .form-select {
    position: relative;
}

.application-form .form-control:focus,
.application-form .form-select:focus {
    animation: inputFocus 0.3s ease-out;
}

@keyframes inputFocus {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}