html {
    scroll-behavior: smooth;
}

:root {
    /* Sielf Color Palette - Derived from reference images */
    --sielf-blue: #005ce6;
    --sielf-blue-hover: #004bb3;
    --sielf-blue-light: #e6f0ff;
    
    --bg-page: #f9fbff;
    --bg-white: #ffffff;
    
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --text-light: #718096;
    
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;

    /* Animations */
    --anime-speed: 0.6s;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;700;800&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

/* Navbar Styling */
.navbar {
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    position: relative;
}

.info-banner {
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px auto;
    max-width: var(--container-width);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.scrolling-text-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.scrolling-text {
    display: inline-block;
    font-weight: 500;
    color: var(--text-main);
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.info-banner ion-icon {
    color: var(--sielf-blue);
    flex-shrink: 0;
    background: white;
    z-index: 11;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: absolute;
    left: 24px;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    margin: 0 auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--sielf-blue);
}

.nav-cta {
    background: var(--sielf-blue);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--sielf-blue-hover);
    transform: translateY(-2px);
    color: white;
}

/* Main Sections */
section {
    padding: 100px 24px;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    background: radial-gradient(circle at top right, #e6f0ff, transparent 40%),
                radial-gradient(circle at bottom left, #f0fff4, transparent 40%);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a202c;
    font-weight: 800;
}

.hero h1 span {
    background: linear-gradient(to right, var(--sielf-blue), #00c6ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--sielf-blue);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 92, 230, 0.39);
}

.btn-primary:hover {
    background-color: var(--sielf-blue-hover);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: white;
    color: var(--sielf-blue);
    border: 1px solid var(--sielf-blue);
}

.btn-secondary:hover {
    background-color: var(--sielf-blue-light);
}

/* Module Section - The requested Card design from images */
.modules-section {
    background: white;
    margin-top: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.module-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    cursor: pointer;
    text-align: left;
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

/* Pastel Borders for Hover */
.module-card.hover-blue:hover { border-color: #a5c8ff; border-width: 1.5px; }
.module-card.hover-green:hover { border-color: #a7f3d0; border-width: 1.5px; }
.module-card.hover-pink:hover { border-color: #fbcfe8; border-width: 1.5px; }
.module-card.hover-yellow:hover { border-color: #fef08a; border-width: 1.5px; }
.module-card.hover-purple:hover { border-color: #ddd6fe; border-width: 1.5px; }
.module-card.hover-orange:hover { border-color: #fed7aa; border-width: 1.5px; }

.module-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.module-info h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #1a202c;
}

.module-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tag {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

/* Colors for module icons as seen in ref images */
.bg-blue { background-color: #e6f0ff; color: #005ce6; }
.bg-green { background-color: #f0fff4; color: #38a169; }
.bg-orange { background-color: #fffaf0; color: #dd6b20; }
.bg-purple { background-color: #faf5ff; color: #805ad5; }
.bg-gray { background-color: #f7fafc; color: #4a5568; }

/* Verticals / Solutions */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.solution-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.solution-card:hover {
    border-color: var(--sielf-blue);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.solution-card ion-icon {
    font-size: 3rem;
    color: var(--sielf-blue);
    margin-bottom: 24px;
}

/* Footer Simple Styling */
.footer-simple {
    background: #ffffff;
    color: var(--text-muted);
    padding: 100px 24px 40px;
    text-align: center;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-color);
}

.footer-container-centered {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.logo-centered {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-centered img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-copy {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp ion-icon {
    font-size: 1.5rem;
}

.footer-bottom-simple {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background: #0d1117;
    color: white;
    padding: 80px 24px 40px;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-section p, .footer-section a {
    color: #8b949e;
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: block;
    text-decoration: none;
}

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

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #30363d;
    text-align: center;
    color: #484f58;
    font-size: 0.85rem;
}

/* Banner mirroring image 1 warning but as a feature callout */
.info-banner {
    background-color: #fff5f5;
    border-left: 5px solid #f56565;
    padding: 20px;
    border-radius: 8px;
    margin: 40px 0;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #c53030;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 2.75rem; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

/* Animations & Blobs */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 92, 230, 0.1) 0%, rgba(0, 198, 255, 0.1) 100%);
    filter: blur(80px);
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

.blob-1 { top: -100px; right: -100px; background: rgba(0, 92, 230, 0.08); }
.blob-2 { bottom: 100px; left: -100px; background: rgba(56, 161, 105, 0.05); width: 600px; height: 600px; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 100px) scale(1.1); }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
