body {
    font-family: 'Inter', Arial, 'Segoe UI', sans-serif;
    background: #f8fafc;
    color: #2d3748;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.main-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}
.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}
.logo-img {
    height: 40px;
    max-width: 120px;
    object-fit: contain;
}
.btn-nav {
    background: #667eea;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 10px;
    transition: background 0.2s;
}
.btn-nav-outline {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}
.btn-nav:hover, .btn-nav-outline:hover {
    background: #764ba2;
    color: #fff;
}
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Poppins', Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}
.shorten-form {
    max-width: 600px;
    margin: 0 auto;
}
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 10px;
    overflow: hidden;
}
.input-group input {
    flex: 1;
    padding: 20px;
    border: none;
    font-size: 18px;
    outline: none;
}
.btn-primary {
    background: #48bb78;
    color: white;
    border: none;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: #38a169;
    transform: translateY(-2px);
}
.advanced-options {
    margin-bottom: 10px;
    color: #f8fafc;
    text-align: left;
    font-size: 1rem;
    opacity: 0.95;
}
.result-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 2px solid #48bb78;
}
.result-card h3 {
    color: #48bb78;
    margin-bottom: 20px;
    font-size: 1.5rem;
}
.url-display {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.url-display input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    background: #f8fafc;
}
.btn-copy {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-copy:hover {
    background: #5a67d8;
    transform: scale(1.05);
}
.features {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}
.features h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #667eea;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.feature-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 16px rgba(102,126,234,0.07);
    transition: box-shadow 0.2s;
}
.feature-card:hover {
    box-shadow: 0 8px 32px rgba(102,126,234,0.15);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.recent-links {
    background: #f8fafc;
    padding: 50px 0 30px 0;
}
.recent-links h2 {
    color: #764ba2;
    font-size: 2rem;
    margin-bottom: 30px;
}
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.link-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(72,187,120,0.08);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 5px solid #48bb78;
}
.link-card .short-url {
    font-family: 'Courier New', monospace;
    color: #667eea;
    font-size: 1.1rem;
    text-decoration: none;
}
.link-card .original-url {
    color: #2d3748;
    font-size: 0.98rem;
    word-break: break-all;
}
.main-footer {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 24px 0;
    font-size: 1rem;
    color: #2d3748;
}
.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #48bb78;
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s, bottom 0.3s;
}
.toast.show {
    opacity: 1;
    bottom: 60px;
    pointer-events: auto;
}
.toast-error {
    background: #e53e3e;
}
/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}
.btn-primary.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.fade-in {
    animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.stats-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin: 40px 0 32px 0;
    flex-wrap: wrap;
}
.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(102,126,234,0.07);
    padding: 32px 36px 28px 36px;
    text-align: center;
    min-width: 200px;
    max-width: 260px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.stat-value {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.stat-label {
    color: #f8fafc;
    font-size: 1.08rem;
    margin-top: 2px;
    opacity: 0.93;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: #fff;
    color: #333;
    font-size: 1.13rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 16px 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102,126,234,0.07);
    transition: background 0.2s;
    outline: none;
    position: relative;
}
.faq-question:hover {
    background: #f1f5ff;
}
.faq-answer {
    display: none;
    background: #fff;
    border-radius: 0 0 8px 8px;
    padding: 14px 20px 18px 20px;
    color: #444;
    font-size: 1rem;
    margin-top: -8px;
    box-shadow: 0 2px 8px rgba(102,126,234,0.04);
}
.faq-item.active .faq-answer {
    display: block;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 28px;
}
/* === PROMO CARD STYLES === */
.promo-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(251,191,36,0.13), 0 1.5px 8px rgba(59,130,246,0.07);
    padding: 14px 12px;
    max-width: 380px;
    margin: 0 auto 18px auto;
    text-align: center;
    position: relative;
    z-index: 2;
    border: 3px solid #fbbf24;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.promo-card .promo-icon {
    font-size: 2rem;
    margin-bottom: 2px;
}
.promo-card .promo-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f59e42;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}
.promo-timer {
    background: linear-gradient(90deg, #fbbf24 60%, #f472b6 100%);
    color: #fff;
    border-radius: 8px;
    padding: 3px 10px;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    margin: 6px 0 0 0;
    box-shadow: 0 2px 8px rgba(251,191,36,0.13);
    display: inline-block;
    animation: pulse 1.2s infinite alternate;
}
@keyframes pulse {
    0% { opacity: 1; }
    100% { opacity: 0.7; }
}
.old-price {
    text-decoration: line-through;
    color: #bdbdbd;
    margin-right: 8px;
    font-size: 1em;
}
.new-price {
    color: #10b981;
    font-size: 1.1em;
    font-weight: bold;
    margin-left: 4px;
}
.btn-upgrade {
    background: linear-gradient(90deg, #6366f1, #3b82f6);
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 10px;
    display: inline-block;
    box-shadow: 0 4px 18px rgba(59,130,246,0.13);
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
}
.btn-upgrade:hover {
    box-shadow: 0 8px 32px rgba(59,130,246,0.22);
    transform: scale(1.05);
}
.promo-slide-in {
    animation: promoSlideIn 0.6s cubic-bezier(0.4,0,0.2,1);
}
@keyframes promoSlideIn {
    0% { opacity: 0; transform: translateY(-40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.promo-fade-out {
    animation: promoFadeOut 0.5s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes promoFadeOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.95); }
}
.promo-pulse {
    animation: promoPulse 0.7s cubic-bezier(0.4,0,0.2,1) 2;
}
@keyframes promoPulse {
    0% { box-shadow: 0 0 0 0 rgba(251,191,36,0.25); }
    50% { box-shadow: 0 0 0 12px rgba(251,191,36,0.10); }
    100% { box-shadow: 0 0 0 0 rgba(251,191,36,0.0); }
}
.promo-floating {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
    box-shadow: 0 8px 32px rgba(251,191,36,0.18), 0 2px 12px rgba(59,130,246,0.10);
    transition: opacity 0.3s, visibility 0.3s;
}
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .links-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .input-group { flex-direction: column; }
    .input-group input, .btn-primary { width: 100%; }
    .features-grid { grid-template-columns: 1fr; }
    .url-display { flex-direction: column; }
    .main-header, .main-footer { padding: 14px 0; }
}
@media (max-width: 600px) {
    .nav-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .main-header nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 10px;
    }
    .btn-nav, .btn-nav-outline {
        width: 100%;
        margin-left: 0;
        margin-bottom: 0;
        text-align: center;
    }
    .promo-card {
        padding: 10px 4px;
        max-width: 98vw;
    }
    .promo-card .promo-title {
        font-size: 1rem;
    }
    .btn-upgrade {
        padding: 7px 12px;
        font-size: 0.95rem;
    }
    .promo-floating {
        top: 8px;
        max-width: 98vw;
    }
}
@media (max-width: 400px) {
    .container {
        max-width: 100vw;
        padding: 0 5px;
    }
    .main-header nav {
        gap: 6px;
        margin-top: 6px;
    }
    .btn-nav, .btn-nav-outline {
        font-size: 1rem;
        padding: 10px 0;
    }
}
@media (max-width: 900px) {
    .stats-grid { flex-direction: column; gap: 18px; }
    .stat-card { max-width: 100%; }
}
body.promo-has-floating {
    padding-top: 120px;
} 