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

html {
    width: 100%;
}

body {
    background: #121212;
    font-family: "Ubuntu Sans", sans-serif;
    color: #AAAAAA;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF;
    letter-spacing: -1.5px;
}

/* Global Utility Classes */
.btn-prim {
    height: 48px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 24px;
    font-family: "Ubuntu Sans", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #050505;
    background: #8DFFE0;
    box-shadow: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-prim:hover {
    background: #8DFFE0;
    box-shadow: 0 0 20px rgba(141, 255, 224, 0.6);
    transform: translateY(-2px);
}

.btn-prim:active {
    transform: translateY(0);
    opacity: 0.9;
}

.btn-sec {
    height: 48px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 24px;
    font-family: "Ubuntu Sans", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-sec:hover {
    background: rgba(141, 255, 224, 0.1);
    box-shadow: 0 0 15px rgba(141, 255, 224, 0.2);
    border-color: #8DFFE0;
    color: #8DFFE0;
    transform: translateY(-2px);
}

.btn-sec:active {
    transform: translateY(0);
    background: rgba(141, 255, 224, 0.05);
}

.btn-sec::before {
    display: none;
}

.btn-ter {
    font-size: 18px;
    color: #AAAAAA;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    font-family: "Ubuntu Sans", sans-serif;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: -0.5px;
}

.btn-ter:hover {
    color: #8DFFE0;
    text-shadow: 0 0 10px rgba(141, 255, 224, 0.4);
}

.btn-ter:hover::after {
    display: none;
}

.card-gradient {
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    color: #FAFAFA;
}

/* Ambient Light Utility */
.ambient-light {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 255, 224, 0.08) 0%, rgba(18, 18, 18, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ambient-light.purple {
    background: radial-gradient(circle, rgba(81, 64, 247, 0.12) 0%, rgba(18, 18, 18, 0) 70%);
}

/* Bento Grid Utility */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    width: 100%;
}

.bento-item {
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(141, 255, 224, 0.3);
}

.bento-item.wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .bento-item.wide {
        grid-column: span 1;
    }
}

.pill-input {
    background: rgba(42, 42, 42, 0.8);
    height: 48px;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    font-family: "Ubuntu Sans", sans-serif;
    font-weight: 200;
    font-size: 16px;
    color: #FAFAFA;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
    border: none;
}

/* Main Wrapper */
.main-wrapper {
    width: 100%;
    margin: 0 auto;
    background: #121212;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0; /* Removed large gap to let sections control their own spacing */
    overflow: visible;
}

.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1888px;
    height: 64px;
    border-radius: 32px;
    background: rgba(31, 31, 31, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.6);
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
    z-index: 100;
}

@media (max-width: 1024px) {
    .header {
        grid-template-columns: 100px 1fr;
        gap: 16px;
        padding: 0 16px;
        top: 10px;
        height: 56px;
    }
}

@media (max-width: 768px) {
    .header {
        grid-template-columns: 80px 1fr;
        height: 48px;
    }
}

.header-logo {
    width: 100px;
    height: 47px;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.header-logo:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.header-logo:active {
    opacity: 0.6;
    transform: scale(0.98);
}

.header-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

@media (max-width: 1024px) {
    .header-nav {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
}

.header-nav .btn-ter {
    font-size: 24px !important;
    line-height: 29px !important;
}

@media (max-width: 1024px) {
    .header-nav .btn-ter {
        font-size: 18px !important;
        line-height: 22px !important;
    }
}

.header-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

@media (max-width: 1024px) {
    .header-cta {
        gap: 8px;
    }
    
    .header-cta .btn-sec,
    .header-cta .btn-prim {
        font-size: 18px;
        padding: 5px 12px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .header-cta {
        justify-self: end;
    }
    
    .header-cta .btn-sec span,
    .header-cta .btn-prim span {
        display: none;
    }
}

.header-cta .btn-sec {
    display: flex;
    gap: 8px;
}

.header-cta .login-icon {
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cta .login-icon svg {
    width: 21px;
    height: 21px;
}

/* Hero Section - Moved to home.css */

/* Section Title - Moved to home.css */

/* Imersão IA Section - Moved to home.css */

/* Stok AI Section - Moved to home.css */

/* Prova Social Section - Moved to home.css */

/* Security Section - Moved to home.css */

/* CTA Workshop Section - Moved to home.css */

/* Footer Section */
.footer-main {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background: #121212;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-section-container {
    padding: 20px 4%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #121212;
}

@media (max-width: 1024px) {
    .blog-section-container {
        padding: 20px 40px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .blog-section-container {
        padding: 20px 20px;
        gap: 20px;
    }
}

.blog-section-label {
    font-family: 'Ubuntu Sans';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .blog-section-label {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

@media (max-width: 768px) {
    .blog-grid {
        gap: 16px;
    }
}

.blog-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
    justify-content: left;
}

@media (max-width: 1200px) {
    .blog-row {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 12px 6px;
    gap: 12px;
    background: #161616;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 120px;
    background: #1F1F1F;
    border: 1px solid #000000;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

.blog-card-label {
    display: inline-flex;
    padding: 6px 12px;
    background: linear-gradient(180deg, #2A2A2A 0%, #151515 52.41%);
    border: 1px solid #424242;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    font-family: 'Ubuntu Sans';
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    color: #FAFAFA;
    white-space: nowrap;
}

/* Newsletter Section */
.newsletter-section-container {
    width: 100%;
    background: #0E0E0E;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 4%;
    display: flex;
    /* Removed justify-content: center to allow full width spread */
}

.newsletter-content-wrapper {
    width: 100%;
    /* Removed max-width to align with page edges */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 500px;
}

.newsletter-title {
    font-family: 'Ubuntu Sans';
    font-weight: 600;
    font-size: 24px;
    color: #FFF;
}

.newsletter-desc {
    font-family: 'Ubuntu Sans';
    font-size: 16px;
    color: #888;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 1;
    max-width: 500px;
}

@media (max-width: 768px) {
    .newsletter-section-container {
        padding: 40px 20px;
    }
    
    .newsletter-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }
    
    .newsletter-title {
        font-size: 20px;
    }
}

.newsletter-form input {
    flex: 1;
    min-width: 160px;
    height: 36px;
    padding: 12px;
    background: rgba(42, 42, 42, 0.8);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    font-family: 'Ubuntu Sans';
    font-weight: 200;
    font-size: 14px;
    color: #FAFAFA;
    border: none;
}

@media (max-width: 768px) {
    .newsletter-form input {
        min-width: 0;
        width: 100%;
    }
}

.newsletter-form input::placeholder {
    color: rgba(250, 250, 250, 0.6);
}

.newsletter-form button {
    height: 36px;
    padding: 0px 16px;
    font-family: 'Ubuntu Sans';
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #D6D5D5;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .newsletter-form button {
        font-size: 16px;
        padding: 0 12px;
    }
}

/* --- FOOTER CONTAINER --- */
.tech-footer {
    position: relative;
    background: #121212; 
    color: #fff;
    /* Reduced padding for compact feel */
    padding: 40px 4% 20px; 
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2; 
}

/* --- BACKGROUND WATERMARK --- */
.bg-watermark {
    display: none;
}

.blueprint-path {
    fill: none;
    stroke: #fff; 
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

/* --- GRID LAYOUT --- */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px; /* Reduced bottom margin */
}

/* Brand Column */
.brand-col { padding-right: 40px; }
        
/* Neon Logo */
.footer-logo-svg {
    width: 100px; 
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.neon-brand-path {
    fill: none;
    stroke: #8DFFE0; 
    stroke-width: 8; 
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px rgba(141, 255, 224, 0.7));
}

.footer-desc { color: #666; font-size: 15px; line-height: 1.6; max-width: 320px; }

/* Links Columns */
.link-col h4 {
    font-size: 14px; /* Slightly bigger header */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8DFFE0; 
    margin-bottom: 28px;
    font-weight: 700;
    opacity: 0.9;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 16px; }
        
.footer-links a {
    text-decoration: none;
    color: #999;
    font-size: 16px; /* Increased font size for readability */
    transition: 0.2s ease;
    display: inline-block;
}

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

/* --- BOTTOM BAR --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.social-icons { display: flex; gap: 20px; }
.social-icon { 
    color: #666; transition: 0.2s; cursor: pointer;
    width: 20px; height: 20px;
}
.social-icon:hover { color: #8DFFE0; }

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
    .brand-col { grid-column: span 3; margin-bottom: 20px; }
    .bg-watermark { width: 600px; right: -10%; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .brand-col { grid-column: span 2; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* Scroll Animation Classes - Removed */

/* Sticky Split Scroll Layout - Moved to home.css */

/* Feature List Card (Glass Dark) - Moved to home.css */

/* Responsive adjustments for Notebooks (1440px and below) */
@media (max-width: 1440px) {
    /* Footer adjustments for 1440px */
    .footer-main {
        padding: 0;
        gap: 60px;
    }

    .footer-nav {
        gap: 60px !important; /* Force reduced gap */
    }
}

/* Responsive adjustments for Smaller Laptops/Tablets (1024px) */
@media (max-width: 1024px) {
    .header {
        grid-template-columns: 100px 1fr;
        gap: 16px;
        padding: 0 16px;
        top: 10px;
        height: 56px;
    }
}

/* Specific adjustments for smaller notebooks (1366px) */
@media (max-width: 1366px) {
    /* Header adjustments */
    .header {
        width: 95%;
        top: 10px;
        height: 56px;
        padding: 0 20px;
    }

    .header-nav {
        gap: 24px;
    }

    .header-nav .btn-ter {
        font-size: 16px !important;
    }

    .header-cta .btn-sec,
    .header-cta .btn-prim {
        height: 40px;
        font-size: 16px;
        padding: 5px 16px;
    }

    /* Footer adjustments */
    .footer-main {
        padding: 0;
        gap: 60px;
    }

    .footer-nav {
        gap: 40px !important; /* Force reduced gap */
        flex-wrap: wrap; /* Allow wrapping if needed */
        justify-content: center;
    }
    
    .footer-nav-group {
        min-width: 120px; /* Allow columns to be narrower */
    }

    .footer-nav-link {
        font-size: 16px;
        line-height: 32px;
    }

    .footer-logo {
        width: 800px; /* Reduce logo size further */
    }

    /* Blog Section adjustments for notebooks */
    .blog-row {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Flexible columns instead of fixed 4 */
        gap: 16px;
    }

    .blog-card {
        padding: 12px;
        min-width: 0; /* Allow shrinking */
    }

    .blog-card-image {
        height: 140px; /* Reduce image height */
    }

    .blog-card-label {
        font-size: 14px;
        padding: 6px 12px;
    }

    .newsletter-row {
        gap: 20px;
    }

    .newsletter-title {
        font-size: 20px;
    }

    .newsletter-form input {
        height: 40px;
        font-size: 14px;
    }

    .newsletter-form button {
        height: 40px;
        font-size: 18px;
    }
}

/* Adjustments for larger screens/zoom out (up to 1600px) */
@media (max-width: 1600px) {
    .footer-nav {
        gap: 100px; /* Reduce default 336px gap */
    }
}

/* Security Hub Section - Moved to home.css */

/* --- Shared Blog Card Styles (Footer & Global) --- */
.post-card {
    display: flex;
    flex-direction: column;
    background: radial-gradient(100% 100% at 50% 0%, #2A2A2A 2.26%, #151515 69.94%);
    border: 1px solid #393939;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: inset 0 4px 4px 1px rgba(0, 0, 0, 0.2);
    position: relative;
    min-height: 360px;
}

.post-card:hover {
    transform: translateY(-8px);
    border-color: rgba(141, 255, 224, 0.4);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.6), 
        inset 0 0 20px rgba(141, 255, 224, 0.02);
}

.post-thumb {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    opacity: 0.9;
    transition: 0.4s;
    background: #1F1F1F;
    padding: 0;
}

.post-card:hover .post-thumb { opacity: 1; }

.post-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.post-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5140F7;
    background: rgba(81, 64, 247, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
}

.post-date {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.post-heading {
    font-size: 20px;
    color: #FAFAFA;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.2s;
}

.post-card:hover .post-heading { color: #FFF; }

/* --- Footer Specific Blog Card Styles --- */
.blog-section-container .post-card {
    border-radius: 16px;
    min-height: 240px;
}

.blog-section-container .post-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.6), 
        inset 0 0 20px rgba(141, 255, 224, 0.02);
}

.blog-section-container .post-thumb {
    height: 120px;
}

.blog-section-container .post-body {
    padding: 16px;
    gap: 8px;
}

.blog-section-container .post-tag {
    font-size: 10px;
}

.blog-section-container .post-date {
    font-size: 11px;
}

.blog-section-container .post-heading {
    font-size: 16px;
}

/* Icon Glow Effect */
.icon-glow {
    color: #8DFFE0;
    filter: drop-shadow(0 0 5px rgba(141, 255, 224, 0.5));
}

/* Workshop Modal - Moved to home.css */
