/* ================= GLOBAL CONFIG & FONTS ================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ================= RESET ================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Selection Color */
::selection {
    background: #7c3aed;
    color: #fff;
}

/* Custom Scrollbar for Chrome/Safari */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 10px;
}

/* ================= BODY ================= */
body {
    font-family: 'Poppins', sans-serif;
    background: 
        radial-gradient(circle at 20% 20%, #4f46e5 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, #7c3aed 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, #2563eb 0%, transparent 40%),
        #0f172a;
    color: #fff;
    line-height: 1.7;
    letter-spacing: .2px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ================= LINKS & ACCESSIBILITY ================= */
a {
    text-decoration: none;
    color: inherit;
    transition: .25s ease;
}

a:hover {
    opacity: .8;
}

/* Keyboard Focus State for Accessibility */
a:focus-visible, .btn:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 4px;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.logo {
    font-weight: 700;
    font-size: 24px;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar nav {
    display: flex;
    align-items: center;
}

.navbar nav a {
    margin-left: 20px;
    color: #333;
    font-weight: 500;
    transition: .3s;
}

.navbar nav a:hover {
    color: #2563eb;
    transform: translateY(-1px);
}

/* ================= HERO ================= */
.hero {
    max-width: 1200px;
    margin: 40px auto;
    padding: 90px 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    max-width: 520px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: .95;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 480px;
    margin: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* ================= BUTTON ================= */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    transition: .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

/* ================= TRUST ================= */
.trust-section {
    margin-top: 40px;
    text-align: center;
}

.trust-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    backdrop-filter: blur(8px);
}

/* ================= SECTION ================= */
.section {
    padding: 100px 20px;
    margin: 60px auto;
    max-width: 1200px;
    text-align: center;
}

.section h2 {
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -1px;
}

/* Divider Decoration */
.section::after {
    content: "";
    display: block;
    height: 1px;
    width: 40%;
    margin: 60px auto 0;
    background: linear-gradient(to right, transparent, #6366f1, transparent);
}

/* ================= LIGHT SECTION (FOR CONTENT) ================= */
.section.light {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    color: #111;
    border-radius: 32px;
    padding: 80px 40px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.section.light h2 { color: #0f172a; }

.section.light p {
    max-width: 800px;
    margin: 15px auto;
    text-align: left;
    line-height: 1.8;
    color: #334155;
    font-size: 1.1rem;
}

/* ================= GRID & CARDS ================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.3);
}

.card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    color: #1e40af;
}

.card p {
    font-size: 15px;
    color: #475569;
}

/* ================= FOOTER ================= */
.site-footer {
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #fff;
    padding: 80px 20px;
    margin-top: 100px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-note {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 15px;
    color: #94a3b8;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: #cbd5e1;
    margin: 0 12px;
}

.footer-links a:hover {
    color: #60a5fa;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero h1 { font-size: 36px; }
    .hero-image img { max-width: 340px; }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    .navbar nav a { margin: 0 8px; font-size: 14px; }
    .section { padding: 60px 20px; }
    .section h2 { font-size: 30px; }
    .hero { padding: 60px 20px; }
    .card { padding: 25px; }
    .blog-grid { grid-template-columns: 1fr; padding: 15px; }
    .blog-hero { padding-top: 80px; }
}