/* Font Logic */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --primary-color: #a6bf8b;
    /* Causeway Sage Green */
    --primary-dark: #8da375;
    --secondary-color: #F1592A;
    /* Causeway Orange */
    --accent-color: #3490dc;
    /* Blue from variables */
    --primary-gradient: linear-gradient(135deg, #a6bf8b 0%, #8da375 100%);
    --dark-bg: #2d3748;
    --light-bg: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(166, 191, 139, 0.2);
    --nav-height: 80px;
}

body {
    font-family: var(--font-body);
    color: #334155;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1e293b;
}

/* Utilities */
.text-gradient-primary {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-gradient {
    background: var(--primary-gradient);
    border: none;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(79, 70, 229, 0.5);
    color: white;
}

/* Navbar */
.navbar-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Navbar Link Handling */
/* Only apply these overrides when inside our custom navbar-glass, avoiding global nav conflicts */
.navbar-glass .nav-link {
    font-weight: 500;
    color: #475569 !important;
    margin: 0 0.5rem;
    transition: color 0.2s;
}

.navbar-glass .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section Base Styles */
section.hero-section {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.icon-box-primary {
    background-color: #e0e7ff;
    color: var(--primary-color);
}

.icon-box-secondary {
    background-color: #bae6fd;
    color: var(--secondary-color);
}

.icon-box-accent {
    background-color: #ffe4e6;
    color: var(--accent-color);
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: white;
    border-radius: 1rem !important;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: #1e293b;
}

.accordion-button:not(.collapsed) {
    background-color: #f1f5f9;
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    border-color: #c7d2fe;
}

.accordion-body {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 1.5rem;
    color: #475569;
}

/* Footer */
footer a:hover {
    color: var(--primary-color) !important;
}

/* Micro-Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

/* Browser Frame for Screenshots */
.browser-frame {
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.browser-header {
    background: #f1f5f9;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #22c55e;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}