/*
 * Castle Capital LLC - Landing Page Complete Styling
 * This file contains all the professional styling from landing.html inline CSS
 * to ensure it works when CDNs are blocked
 */

/* CSS Custom Properties - Castle Capital Brand Colors */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2d4a6b;
    --accent-color: #f7931e;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f8fafc;
    --gold: #d4a574;
    --dark-blue: #0f1419;
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Navigation Styling */
.navbar {
    background: rgba(26, 54, 93, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: color 0.3s ease;
}

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

/* Hero Section - Full Height with Gradient Background */
.hero-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* Account for fixed navbar */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:0" /></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23grad)"/><circle cx="800" cy="400" r="150" fill="url(%23grad)"/><circle cx="400" cy="800" r="120" fill="url(%23grad)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* CTA Buttons */
.cta-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 0 10px 10px 0;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Trust Badges */
.trust-badges {
    margin-top: 2rem;
}

.trust-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    margin: 5px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Statistics Section */
.stats-section {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Playfair Display', Georgia, serif;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Right Side Hero Content */
.hero-section .col-lg-6:last-child .text-center > div {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 3rem;
    margin: 2rem 0;
}

.hero-section .col-lg-6:last-child .text-center > div .fas {
    font-size: 6rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.hero-section .col-lg-6:last-child .text-center > div h3 {
    color: white;
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 1rem;
}

.hero-section .col-lg-6:last-child .text-center > div p {
    color: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-section .section-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: white;
}

/* Footer Brand */
.footer .col-lg-4:first-child > div:first-child {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer .col-lg-4:first-child > div:first-child .fas {
    color: var(--accent-color);
}

.footer .col-lg-4:first-child > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Contact Information Styling */
.footer .col-lg-4:last-child > div {
    color: rgba(255, 255, 255, 0.7);
}

.footer .col-lg-4:last-child > div p {
    margin-bottom: 0.5rem;
}

.footer .col-lg-4:last-child > div .fas {
    margin-right: 0.5rem;
}

/* Footer Bottom */
.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer .row:last-child p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer .row:last-child .fas {
    margin-right: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .cta-buttons .btn {
        display: block;
        margin: 0 0 1rem 0;
        width: 100%;
    }
}

/* G-4 Grid Gap Fix */
.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.g-4 > * {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}