* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.home-container {
    min-height: 100vh;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    background-color: #fafafa;
}

/* CSS Reset for home page to prevent collisions */
.home-container * {
    box-sizing: border-box;
}

.home-container {
    position: relative;
    z-index: 1;
}

/* Hero Section - More specific selectors to avoid collisions */
.home-container .hero-section {
    position: relative;
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 150px;
    padding-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    z-index: 1;
}

.home-container .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.home-container .hero-content {
    position: relative;
    z-index: 10 !important;
    text-align: center;
    color: #1a1a1a;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Ensure animation completion keeps elements visible */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Fix for animation end state */
.home-container .hero-content * {
    opacity: 1 !important;
    visibility: visible !important;
}

.home-container .hero-badge {
    display: inline-block !important;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
    color: #2c2c2c;
    opacity: 1 !important;
    visibility: visible !important;
}

.home-container .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: #000000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.home-container .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #4a4a4a !important;
    font-weight: 400;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.home-container .hero-buttons {
    display: flex !important;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    opacity: 1 !important;
    visibility: visible !important;
}

.home-container .hero-stats {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -5%;
    animation-delay: 2s;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
    color: #2c2c2c;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: #000000;
}

.hero-title-highlight {
    background: linear-gradient(45deg, #000000, #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title-highlight::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, #000000, #666666);
    border-radius: 2px;
    animation: underlineExpand 1.5s ease-out 0.5s both;
}

@keyframes underlineExpand {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #4a4a4a;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, #000000, #2c2c2c);
    color: white;
    text-decoration: none;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: linear-gradient(45deg, #1a1a1a, #404040);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
    border: 2px solid rgba(0, 0, 0, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
}

.products-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 15px;
}

.products-subtitle {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Additional subtle patterns for visual interest */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%,
            rgba(0, 0, 0, 0.02) 0%,
            transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 15px;
    }

    .products-section {
        padding: 60px 15px;
    }

    .products-title {
        font-size: 2rem;
    }
}