/* Base & resets */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, #2dd4bf 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, #5eead4 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #2dd4bf 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: float 12s ease-in-out infinite;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: #2dd4bf;
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    background: #5eead4;
    bottom: 25%;
    right: 8%;
    transform: rotate(30deg);
    animation: spin 15s linear infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #2dd4bf;
    top: 60%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-ring-1 {
    width: 200px;
    height: 200px;
    border: 4px solid #5eead4;
    border-radius: 50%;
    top: 40%;
    right: 15%;
    animation: spin 25s linear infinite;
}

.shape-diamond-1 {
    width: 150px;
    height: 150px;
    background: #2dd4bf;
    top: 15%;
    right: 10%;
    transform: rotate(45deg);
    animation: spin 18s linear infinite;
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* FAQ accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-content {
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.25s ease;
}

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