/* style.css */
:root {
    --primary-color: #4a5ee5;
    --primary-dark: #3a4bcc;
    --secondary-color: #ff6b6b;
    --bg-light: #f8f9fa;
    --text-main: #2d3436;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

/* Hero Section */
.bg-gradient-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

/* Make the form card pop */
.hero-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
}

/* Input Fields */
.input-group-lg > .form-control,
.input-group-lg > .input-group-text,
.input-group-lg > .btn {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.2s ease-in-out;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: scale(1.02);
}

/* Features */
.feature-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.max-w-700 {
    max-width: 700px;
}

/* Results Area */
.result-box {
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    animation: fadeIn 0.4s ease-in-out;
}

.short-url-link {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    word-break: break-all;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    border-top: 5px solid var(--primary-color);
}
