/* ---------- reset & base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f9fcff;
    color: #0a1a2f;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #eef2f6;
    color: #0a1a2f;
}
.btn-primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}
.btn-outline {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
}
.btn-outline:hover {
    background: #2563eb;
    color: #fff;
}
.btn-black {
    background: #212429;
    color: #fff;
    border: 2px solid #212429;
}
.btn-black:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.btn-shortlink {
    background: #1D4ED8;
    color: #fff;
    border: 2px solid #1D4ED8;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
}
.btn-shortlink:hover {
    background: #1a3f8a;
    border-color: #1a3f8a;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(29, 78, 216, 0.35);
}

/* ---------- header ---------- */
header {
    position: relative;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(0, 0, 0, 0.07);
}
header .container.header-inner,
.header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}
.logo {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}
.logo span {
    color: #2563eb;
}
.logo-img {
    height: 36px !important;          
    width: 100% !important;            
    max-width: 100% !important;
    object-fit: contain !important;    
    object-position: left center !important; 
}
@media (max-width: 600px) {
    .logo-img {
        height: 30px !important;
    }
}
@media (min-width: 992px) {
    .logo-img {
        height: 44px !important;
    }
}
.logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}
.logo-badge svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}
.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #0a1a2f;
}
.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
}
.nav-links a:hover {
    color: #2563eb;
}
.header-actions {
    display: flex !important;
    gap: 12px;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

/* ---------- hero ---------- */
.hero {
    padding: 60px 0 0 !important;
    text-align: center;
}
.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.2rem;
    max-width: 620px;
    margin: 0 auto 32px;
    color: #475569;
}
.hero .cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.hero .demo-badge {
    margin-top: 30px;
    margin-bottom: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef2ff;
    padding: 8px 20px;
    border-radius: 60px;
    font-size: 0.9rem;
    color: #2563eb;
    font-weight: 500;
}
.hero .demo-badge i {
    font-size: 0.8rem;
}

/* ---------- Banner Ad Containers (Strict 5px Spacing Top & Bottom) ---------- */
.hero-ad-container,
.footer-ad-container {
    display: block;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding: 0 !important;
}
.hero-ad-container *,
.footer-ad-container * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.hero-ad-container:empty, 
.footer-ad-container:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------- features ---------- */
.features {
    padding: 0 0 20px !important;
}
.features h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.features .sub {
    text-align: center;
    color: #64748b;
    margin-bottom: 48px;
    font-size: 1.1rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.feature-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    transition: 0.2s;
    border: 1px solid #f0f4f9;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.07);
}
.feature-card .icon {
    font-size: 2.4rem;
    color: #2563eb;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.feature-card p {
    color: #475569;
}

/* ---------- footer ---------- */
footer {
    background: #0b1e33;
    color: #cbd5e1;
    padding: 20px 0 30px !important;
    margin-top: 0 !important;
}
footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
footer .brand p {
    margin-top: 12px;
    max-width: 300px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.5;
}
footer h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 16px;
}
footer ul {
    list-style: none;
}
footer ul li {
    margin-bottom: 10px;
}
/* ---------- Footer links ---------- */
footer ul li a {
    color: #60a5fa;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
footer ul li a:hover {
    color: #fff;
    padding-left: 6px;
}
footer .bottom {
    border-top: 1px solid #1e3349;
    padding-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 0.9rem;
}
footer .socials a {
    margin-left: 16px;
    font-size: 1.2rem;
    color: #94a3b8;
}
footer .socials a:hover {
    color: #fff;
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}
@media (max-width: 768px) {
    .nav-links, .header-actions .btn-outline {
        display: none;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .hero .cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    .hero .cta-group .btn {
        width: 100%;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    footer .bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    footer .socials a {
        margin: 0 8px;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .container {
        padding: 0 16px;
    }
}