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

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

body {
    margin: 0;
    background-color: #1A1A2E;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

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

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 106, 75, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.geo-square-1 {
    width: 300px;
    height: 300px;
    background: rgba(232, 106, 75, 0.05);
    border: 2px solid rgba(232, 106, 75, 0.1);
    bottom: 20%;
    left: -80px;
    transform: rotate(45deg);
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 106, 75, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: 30%;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid rgba(232, 106, 75, 0.04);
    top: 40%;
    right: 5%;
    transform: rotate(-15deg);
}

/* === Scroll Reveal === */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* === Navbar === */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

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

/* === Custom Selection === */
::selection {
    background: rgba(232, 106, 75, 0.3);
    color: #ffffff;
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A1A2E;
}

::-webkit-scrollbar-thumb {
    background: #2D2D52;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E86A4B;
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* === Focus Styles === */
a:focus-visible, button:focus-visible {
    outline: 2px solid #E86A4B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* === Form Styles === */
input, textarea {
    font-family: 'Inter', sans-serif;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #E86A4B;
    box-shadow: 0 0 0 3px rgba(232, 106, 75, 0.2);
}

/* === Success Message === */
.form-success {
    animation: fadeIn 0.4s ease;
}

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