/* CanadaPardon.pro - Premium Legal Design v2 */

:root {
    --primary: #0f172a;
    /* Slate 900 */
    --primary-light: #1e293b;
    --accent: #dc2626;
    /* Red 600 */
    --accent-hover: #b91c1c;
    --success: #15803d;
    /* Green 700 */
    --background: #f8fafc;
    --text: #334155;
    /* Slate 700 */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 0.75em;
    font-weight: 800;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

/* Snazzier Hero Section */
.hero {
    /* Subtle gradient background */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    /* Abstract overlay pattern */
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(220, 38, 38, 0.1), transparent 40%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    /* Above layout */
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.35rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.1);
    transform: rotate(2deg);
    /* Stylish tilt */
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: rotate(0deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    /* Modern rounded pill */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.4);
}

/* Emotional Benefit Section */
.emotion-section {
    padding: 6rem 2rem;
    text-align: center;
    background: white;
}

.emotion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.emotion-card {
    padding: 2rem;
    background: var(--background);
    border-radius: 16px;
    transition: transform 0.3s;
}

.emotion-card:hover {
    transform: translateY(-5px);
}

.emotion-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* The "Box" Styles */
.card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.card.highlight {
    border: 3px solid var(--success);
    background: #f0fdf4;
    /* Slight green tint */
}

/* Comparison Grid Updated */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-image img {
        transform: rotate(0);
        margin-top: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .emotion-grid {
        grid-template-columns: 1fr;
    }
}