/* ========================================
   PT Palmarius Jaya Solusindo
   Modern & Elegant Website Styles
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    
    --dark-color: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-light) 100%);
    
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========== Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== Utilities ========== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 30px;
}

/* ========== Buttons ========== */
.btn {
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ========== Navbar ========== */
#mainNavbar {
    padding: 20px 0;
    background: transparent;
    transition: var(--transition-normal);
    z-index: 1000;
}

#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition-normal);
}

#mainNavbar.scrolled .brand-text {
    color: var(--dark-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

#mainNavbar.scrolled .nav-link {
    color: var(--gray-700);
}

#mainNavbar.scrolled .nav-link:hover,
#mainNavbar.scrolled .nav-link.active {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

#mainNavbar.scrolled .navbar-toggler {
    background: var(--gray-100);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNavbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2879, 70, 229, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== Hero Section ========== */
.hero-section {
    background: var(--gradient-dark);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--success-color);
    bottom: 20%;
    right: 20%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-50px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(50px) rotate(-5deg);
    }
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    animation: heroFloat 6s infinite ease-in-out;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-floating-card {
    position: absolute;
    background: var(--white);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark-color);
    animation: cardFloat 4s infinite ease-in-out;
}

.hero-floating-card.card-1 {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    bottom: 30%;
    right: 10%;
    animation-delay: -2s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ========== About Section ========== */
.about-section {
    background: var(--white);
    padding: 100px 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 25px 35px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge span {
    font-size: 14px;
    opacity: 0.9;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
}

.feature-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* ========== Products Section ========== */
.products-section {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
    padding: 100px 0;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.product-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(14, 165, 233, 0.02) 100%);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.product-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.product-icon-wrapper.sincos {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.product-icon-wrapper.hris {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
}

.product-icon-wrapper.absensi {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.product-icon-wrapper.kpi {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.product-icon-wrapper i {
    font-size: 2rem;
    color: var(--white);
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-tagline {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.product-description {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.product-features .feature {
    font-size: 14px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features .feature i {
    color: var(--success-color);
}

.product-platforms {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.product-platforms .platform {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 5px 12px;
    border-radius: 50px;
}

.product-users {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
}

.user-avatars {
    display: flex;
    align-items: center;
}

.user-avatars img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -10px;
    background: var(--gray-200);
}

.user-avatars img:first-child {
    margin-left: 0;
}

.more-users {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-left: -10px;
}

.users-text {
    font-size: 13px;
    color: var(--gray-600);
}

.btn-product {
    width: 100%;
}

/* ========== Services Section ========== */
.services-section {
    background: var(--white);
    padding: 100px 0;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    height: 100%;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-600);
    margin: 0;
}

/* ========== Technology Section ========== */
.tech-section {
    background: var(--gray-100);
    padding: 80px 0;
    overflow: hidden;
}

.tech-slider {
    margin-top: 30px;
    overflow: hidden;
}

.tech-track {
    display: flex;
    gap: 50px;
    animation: slideTrack 30s linear infinite;
}

@keyframes slideTrack {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 100px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.tech-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

/* ========== Clients Section ========== */
.clients-section {
    background: var(--white);
    padding: 100px 0;
}

.client-logo {
    background: var(--gray-100);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: var(--transition-normal);
}

.client-logo:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.client-logo img {
    max-height: 50px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition-normal);
}

.client-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.testimonials-wrapper {
    max-width: 800px;
    margin: 50px auto 0;
}

.testimonial-card {
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    text-align: center;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.3;
    display: block;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.2rem;
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gray-300);
}

.testimonial-author h5 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--gray-500);
}

.testimonial-indicators {
    margin-top: 30px;
    position: static;
}

.testimonial-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    opacity: 1;
    margin: 0 5px;
    border: none;
}

.testimonial-indicators button.active {
    background: var(--primary-color);
}

/* ========== CTA Section ========== */
.cta-section {
    background: var(--gray-100);
    padding: 50px 0;
}

.cta-wrapper {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-xl);
    padding: 60px 50px;
    box-shadow: var(--shadow-2xl);
}

.cta-wrapper h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.cta-wrapper p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--white);
    padding: 100px 0;
}

.contact-info-wrapper {
    background: var(--gradient-dark);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    height: 100%;
    color: var(--white);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.contact-info-item h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.contact-social {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social h5 {
    color: var(--white);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-control,
.form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-floating > label {
    padding: 15px 20px;
}

/* ========== Footer ========== */
.footer-section {
    background: var(--dark-color);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-brand img {
    margin-bottom: 20px;
}

.footer-brand h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 14px;
}

.footer-section h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 14px;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========== Responsive Styles ========== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: var(--border-radius);
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav .nav-link {
        color: var(--gray-700);
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--primary-color);
        background: rgba(79, 70, 229, 0.1);
    }
    
    .cta-wrapper {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-buttons .btn.ms-3 {
        margin-left: 0 !important;
    }
    
    .hero-stats {
        justify-content: space-between;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-card {
        padding: 30px;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .cta-wrapper {
        padding: 40px 30px;
    }
    
    .footer-social {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-floating-card {
        display: none;
    }
    
    .experience-badge {
        position: relative;
        margin-top: 20px;
        display: inline-block;
    }
}

/* ========== Animation Classes ========== */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Loading Animation ========== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: var(--transition-slow);
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
