html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.hero {
    padding: 80px 0;
}

.card-hover {
    transition: 0.3s;
}

.card-hover:hover {
    transform: translateY(-6px);
}

.section-title {
    font-weight: 700;
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.navbar-brand img {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-btn-docs {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.nav-btn-docs:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-btn-demo {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: 2px solid transparent;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.nav-btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    color: white;
}

.footer-section {
    background: #1f2937;
    color: #9ca3af;
    padding: 60px 0 30px 0;
}

.footer-brand h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand h3 img {
    height: 36px;
    width: auto;
}

.footer-brand p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.95rem;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #374151;
    background: #374151;
    color: white;
    border-radius: 8px;
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #667eea;
    background: #4b5563;
}

.newsletter-form button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.brand-block {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    height: 32px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.brand-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
}

.scroll-up-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 1100;
}

.scroll-up-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-up-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
}

.scroll-up-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.action-btns a {
    margin-right: 4px;
}

.action-btns a:last-child {
    margin-right: 0;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 28px;
    }

    .footer-brand h3 img {
        height: 32px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .social-links {
        justify-content: center;
    }

    .nav-btn-docs,
    .nav-btn-demo {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .scroll-up-btn {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }
}