/* Custom CSS for PirateFin - Matching piratefin.com styling */

/* CSS Custom Properties for Color Palette */
:root {
    /* Brand Blues - for gradients and large sections */
    --blue-light: #007DD7;
    --blue-dark: #00090F;
    --blue-medium: #003D6B;
    
    /* Brand Golds - for CTAs and accents */
    --gold-dark: #BC9000;
    --gold-light: #FDD500;
    --gold-medium: #D9B200;
    
    /* Gradients */
    --hero-gradient-start: #00090F;
    --hero-gradient-end: #007DD7;
    --button-gradient-start: #BC9000;
    --button-gradient-end: #FDD500;
    
    /* Functional colors */
    --button-primary: #BC9000;
    --button-primary-hover: #D9B200;
    --button-secondary: #007DD7;
    --button-secondary-hover: #005BA3;
    --reviews-bg: #00090F;
    --reviews-heading: #FDD500;
    --zero-risk-card-bg: #003D6B;
    --footer-bg: #f8fafc;
    --checkmark-color: #22C55E;
    --x-color: #ef4444;
}

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

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Hero Section Gradient */
.hero-gradient {
    background: linear-gradient(to bottom right, var(--blue-dark) 0%, var(--blue-light) 70%, var(--gold-light) 95%, var(--gold-medium) 100%);
    color: white;
}

.hero-gradient h1,
.hero-gradient p,
.hero-gradient strong {
    color: white;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: #00090F;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(188, 144, 0, 0.3), 0 2px 4px -1px rgba(188, 144, 0, 0.2);
    border: 1px solid #000000;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--button-gradient-end) 0%, var(--button-gradient-start) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(188, 144, 0, 0.4), 0 4px 6px -1px rgba(188, 144, 0, 0.3);
    border-color: transparent;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-medium) 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 125, 215, 0.3), 0 2px 4px -1px rgba(0, 125, 215, 0.2);
    border: 1px solid #000000;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--blue-medium) 0%, var(--blue-light) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(0, 125, 215, 0.4), 0 4px 6px -1px rgba(0, 125, 215, 0.3);
    border-color: transparent;
}

/* Pricing Table Styling */
.pricing-table {
    border-collapse: separate;
    border-spacing: 0;
}

.pricing-table thead th {
    background-color: var(--table-header-bg);
    color: white;
    font-weight: 600;
}

.pricing-table tbody tr:nth-child(even) {
    background-color: var(--table-row-alt);
}

.pricing-table tbody tr:nth-child(odd) {
    background-color: white;
}

.pricing-table .checkmark {
    color: var(--checkmark-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.pricing-table .x-mark {
    color: var(--x-color);
    font-weight: bold;
    font-size: 1.25rem;
}

/* POPULAR Badge */
.popular-badge {
    position: relative;
}

.popular-badge::before {
    content: "POPULAR";
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
    color: #00090F;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 8px;
    transform: rotate(12deg);
    z-index: 10;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(188, 144, 0, 0.3);
}

/* Reviews Section */
.reviews-section {
    background-color: var(--reviews-bg);
    color: white;
}

.reviews-section h2,
.reviews-heading {
    color: var(--reviews-heading);
}

.reviews-section p {
    color: white;
}

/* Zero Risk Section */
.zero-risk-section {
    background-color: #1f2937;
}

.zero-risk-card {
    background: linear-gradient(135deg, rgba(0, 61, 107, 0.75) 0%, rgba(0, 125, 215, 0.75) 100%);
    color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    position: relative;
}

.zero-risk-card h2,
.zero-risk-card p {
    color: white;
}

.promo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
    color: #00090F;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    transform: rotate(12deg);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(188, 144, 0, 0.3);
}

/* Feature Cards */
.feature-card {
    background-color: #1f2937;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0, 125, 215, 0.3);
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    border-color: var(--blue-light);
    box-shadow: 0 10px 30px -5px rgba(0, 125, 215, 0.4);
}

.pricing-card .price-number {
    color: var(--blue-light);
}

/* Stats Section */
.stat-number {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-medium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Checkmark Color */
.checkmark-color {
    color: var(--checkmark-color);
}

/* NO Feature Items - Red Pill Background */
.no-feature-item {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 9999px;
    padding: 0rem 0.3rem;
}

/* Table responsive styling */
@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }
    
    table th,
    table td {
        padding: 0.75rem 0.5rem;
    }
    
    .popular-badge::before {
        font-size: 0.625rem;
        padding: 1px 6px;
        top: -6px;
        right: -6px;
    }
}
