/* ===== Savari Go - Global Styles ===== */

:root {
    --sg-blue: #1f5fd6;
    --sg-blue-dark: #0a1436;
    --sg-blue-deep: #050b20;
    --sg-blue-panel: #0d2154;
    --sg-lime: #7ed321;
    --sg-lime-bright: #9aea2f;
    --sg-mist: #e8f3ff;
}

/* Base Reset & Font */
* {
    font-family: 'Inter', sans-serif;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--sg-blue), #3f85ff 45%, var(--sg-lime) 85%, var(--sg-lime-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Gradient Background */
.hero-gradient {
    background:
        radial-gradient(circle at top left, rgba(63, 133, 255, 0.22), transparent 34%),
        radial-gradient(circle at top right, rgba(126, 211, 33, 0.16), transparent 28%),
        linear-gradient(180deg, #08112f 0%, #050b20 62%, #030716 100%);
}

/* Card Glow Effect */
.card-glow:hover {
    box-shadow: 0 18px 50px rgba(31, 95, 214, 0.18), 0 0 32px rgba(126, 211, 33, 0.12);
}

/* Float Animation */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

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

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: var(--sg-blue-deep);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(31, 95, 214, 0.85), rgba(13, 33, 84, 0.95));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--sg-lime-bright), var(--sg-lime));
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(126, 211, 33, 0.5);
    box-shadow: 0 0 0 3px rgba(63, 133, 255, 0.12);
}

/* Active Nav Link */
.nav-link.active {
    color: var(--sg-lime);
}

/* Page Transition */
.page-fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Button Hover Scale */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* Spec Table Row Hover */
.spec-row:hover {
    background: rgba(63, 133, 255, 0.08);
}

/* Testimonial Card */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(126, 211, 33, 0.3);
    transform: translateY(-4px);
}

@media (max-width: 640px) {
    .btn-primary:hover {
        transform: none;
    }
}
