/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1.125rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(63, 168, 152, 0.5);
}

.btn-secondary {
    background-color: white;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: var(--color-bg-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
}

/* Hero Section Premium */
.hero {
    background-color: var(--color-primary-dark);
    /* Subtle gradient overlay */
    background-image: radial-gradient(circle at 100% 0%, rgba(52, 120, 154, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 0% 100%, rgba(63, 168, 152, 0.1) 0%, transparent 50%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: #94A3B8; /* Slate 400 */
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Floating Form in Hero */
.hero-floating-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-floating);
    position: relative;
    z-index: 10;
}

.hero-floating-form h3 {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.hero-floating-form p {
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

/* Trust Bar */
.trust-bar {
    background: white;
    border-bottom: 1px solid var(--color-border);
    padding: 2rem 0;
}

.trust-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity var(--transition-fast);
}

.trust-logos:hover {
    opacity: 0.8;
}

.trust-logos img {
    height: 40px;
    object-fit: contain;
}

/* Premium Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    border: 1px solid rgba(226, 232, 240, 0.5); /* Ultra subtle border */
    position: relative;
    overflow: hidden;
    text-decoration: none; /* In case card is a link */
    display: block;
    color: var(--color-text);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-floating);
    border-color: rgba(63, 168, 152, 0.3);
}

/* Pill Icon inside card */
.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(63, 168, 152, 0.1);
    color: var(--color-accent);
    border-radius: 20px; /* Squircle look */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-smooth);
}

.card:hover .card-icon {
    background: var(--color-accent);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--color-heading);
    transition: color var(--transition-fast);
}

.card:hover h3 {
    color: var(--color-accent);
}

.card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Team Images Hover */
.card img {
    transition: transform var(--transition-smooth);
}

.card:hover img {
    transform: scale(1.05);
}

/* Floating Elements (like Calculators/Tables) */
.floating-panel {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-floating);
    padding: 3rem;
    max-width: 800px;
    margin: -4rem auto 4rem auto; /* Pulls it up into the previous section */
    position: relative;
    z-index: 20;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-base);
    font-size: 1rem;
    color: var(--color-heading);
    background-color: var(--color-bg-soft);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(63, 168, 152, 0.15);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: right;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--color-bg-soft);
}

.faq-icon {
    transition: transform var(--transition-smooth);
    color: var(--color-accent);
    font-size: 1.5rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
    background-color: white;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary-dark);
    color: #F8FAFC;
    padding: 5rem 0 2rem;
    font-size: 1.05rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col p {
    color: #CBD5E1;
    line-height: 1.8;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #CBD5E1;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: #94A3B8;
}

.footer-bottom a {
    color: #CBD5E1;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .btn-group {
        justify-content: center;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .floating-panel {
        padding: 2rem 1.5rem;
    }
}
