/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
}

::selection {
    background: rgba(52, 212, 168, 0.3);
    color: #fff;
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #34d4a8;
    top: -200px;
    right: -150px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #34d4a8;
    bottom: 20%;
    left: -100px;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #34d4a8;
    top: 40%;
    right: 5%;
    opacity: 0.03;
    transform: rotate(15deg);
}

.square-1 {
    width: 200px;
    height: 200px;
    background: #34d4a8;
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
    opacity: 0.025;
}

.circle-3 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #f9d8a8;
    bottom: 10%;
    right: 15%;
    opacity: 0.03;
}

/* ===== Navigation ===== */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #34d4a8;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #34d4a8;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #34d4a8;
    color: #0a1628;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(52, 212, 168, 0.25);
}

.btn-primary:hover {
    background: #99f0d4;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(52, 212, 168, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 14px;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #0a1628;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.3);
}

.btn-dark:hover {
    background: #0d1f3c;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(10, 22, 40, 0.4);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    color: #0a1628;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border-radius: 14px;
    text-decoration: none;
    border: 2px solid rgba(10, 22, 40, 0.3);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-outline-dark:hover {
    border-color: #0a1628;
    background: rgba(10, 22, 40, 0.05);
    transform: translateY(-2px);
}

/* ===== Floating Cards ===== */
.card-float-slow {
    animation: floatSlow 6s ease-in-out infinite;
}

.card-float-fast {
    animation: floatFast 4s ease-in-out infinite;
}

.card-float-medium {
    animation: floatMedium 5s ease-in-out infinite;
}

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

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

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

/* ===== Product Cards ===== */
.card-product {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 8px;
    transition: all 0.35s ease;
}

.card-product:hover {
    border-color: rgba(52, 212, 168, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== Feature Cards ===== */
.card-feature {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.35s ease;
}

.card-feature:hover {
    border-color: rgba(52, 212, 168, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
    display: block;
}

.mobile-link:hover {
    color: #34d4a8;
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }

    #hero h1 {
        font-size: 2.75rem !important;
    }

    #hero .min-h-\[420px\] {
        display: none;
    }

    .btn-primary, .btn-secondary, .btn-dark, .btn-outline-dark {
        padding: 12px 22px;
        font-size: 14px;
    }

    #about h2, #products h2, #why-us h2, #contact h2 {
        font-size: 2.25rem;
    }

    .card-feature {
        padding: 22px;
    }
}

@media (max-width: 380px) {
    #hero h1 {
        font-size: 2.25rem !important;
    }
}
