:root {
    --primary: #0077B6;
    --secondary: #90E0EF;
    --dark: #1D3557;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --accent: #FFB703;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

header {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

.btn-cta {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 119, 182, 0.2);
}

.btn-cta:hover {
    background: #023E8A;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 119, 182, 0.3);
}

/* --- Widget Section --- */
.widget-section {
    padding: 4rem 5%;
    background: #eefbff;
    position: relative;
    overflow: hidden;
}

.widget-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.widget-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 3rem;
    border: 1px solid rgba(0, 119, 182, 0.1);
}

.widget-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.widget-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin: 1rem 0;
    letter-spacing: -0.5px;
}

.widget-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.widget-content {
    min-height: 150px; /* Space for widget loading */
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
}

.widget-footer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.widget-footer span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-footer i {
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--primary) 0%, #023E8A 100%);
    color: var(--white);
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

/* --- Grid Layouts --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 5%;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.card h3 {
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-size: 1.4rem;
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 5% 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1.5rem 5%;
    font-size: 0.9rem;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumbs span {
    margin: 0 0.7rem;
    color: #94a3b8;
}

/* Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    nav { display: none; }
    .widget-wrapper { padding: 1.5rem; }
    .widget-header h2 { font-size: 1.6rem; }
}