:root {
    --primary: #1a1a1a;
    --accent: #0984e3;
    --bg: #ffffff;
    --light-grey: #f9f9f9;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    background: var(--bg);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to bottom, #fcfcfc, #ffffff);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin: 0;
    letter-spacing: -2px;
}

.tagline {
    font-weight: 300;
    color: #888;
    margin-bottom: 50px;
}

.tool-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

input[type="url"] {
    width: 100%;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #eee;
    font-size: 16px;
    margin-bottom: 20px;
    outline: none;
    transition: 0.3s;
}

input:focus { border-color: var(--accent); }

button#shortenBtn {
    width: 100%;
    padding: 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

button#shortenBtn:hover { opacity: 0.9; transform: translateY(-2px); }

#resultArea {
    display: none;
    margin-top: 30px;
    padding: 20px;
    background: var(--light-grey);
    border-radius: 15px;
}

#displayUrl {
    display: block;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
}

.content { padding: 80px 0; line-height: 1.8; }
.content h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; }

footer { padding: 40px; text-align: center; font-size: 12px; color: #ccc; }

.fade-in { animation: fadeIn 0.5s ease-in; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }