/* Modern Design System Matches User Screenshot */
:root {
    --primary-color: #056cf2;
    /* Muted Blue from screenshot example */
    --primary-hover: #1a669a;
    --secondary-color: #343a40;
    --text-main: #343a40;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #333333;
    /* Dark footer similar to screenshot */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.text-dark {
    color: #333 !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.bg-white {
    background-color: white !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-dark {
    background-color: var(--bg-dark) !important;
}

.font-bold {
    font-weight: 700;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Logo Area */
.logo-text span {
    display: block;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 6rem;
}

/* Shortener Box - The Card */
.shortener-box {
    background: white;
    padding: 3rem;
    border-radius: 6px;
    max-width: 800px;
    /* Add a subtle drop shadow to lift it off the white bg (if needed) or keep flat if preferred. 
     Screenshot shows a very subtle card look or maybe just spacing. 
     I'll add a subtle border/shadow to make it distinct. */
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

/* Input Form Styling */
.input-group-custom {
    background: #f1f3f5;
    /* Light gray background for input area */
    padding: 6px;
    border-radius: 4px;
}

.url-input {
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 1rem;
    outline: none;
    width: 100%;
    color: #495057;
}

.btn-shorten {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 24px;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-shorten:hover {
    background-color: var(--primary-hover);
}

/* Features Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.icon-box i {
    /* Ensure icons are outlined/thin style if using FontAwesome Regular */
    font-weight: 400;
}

/* Footer */
.modern-footer {
    font-size: 0.9rem;
    color: #adb5bd;
}

.footer-links a {
    color: #adb5bd;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    transition: color 0.2s;
}

.social-icons a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .input-group-custom {
        flex-direction: column;
        background: transparent;
        padding: 0;
    }

    .url-input {
        background: #f1f3f5;
        margin-bottom: 10px;
        border-radius: 4px;
    }

    .btn-shorten {
        width: 100%;
        padding: 12px;
    }
}