/* Oblivion-inspired UI Design */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;200;300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@200;300;400&display=swap');

:root {
    --primary-blue: rgba(64, 169, 255, 0.9);
    --secondary-blue: rgba(32, 87, 143, 0.8);
    --accent-orange: rgba(255, 132, 0, 0.9);
    --bg-dark: rgba(10, 20, 30, 0.95);
    --text-light: rgba(0, 0, 0, 0.9);
    --text-blue: rgba(176, 224, 255, 0.9);
    --overlay: rgba(16, 32, 48, 0.7);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: rgb(255, 255, 255);
    color: black;
    overflow-x: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
h1, h2, h3, p .header-title {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700; /* bold for headers */
}

#header-placeholder {
    background-color: #1B2953;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

#canvas { display: block; }

.hero canvas#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
  }

/* Oblivion UI Element: Hero with circular design */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 1;
    background-color: #1B2953;
}

.hero::before,
.hero::after {
    display: none;
}

.white-gradient {
    background: linear-gradient(to top, #07172D 0%, #07172d64 70%, #07172d00 100%);
    position: absolute;
    z-index: 20;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 250px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 30;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;

}

.hero h1 {
    font-weight: 600;
    font-size: 50px;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.8px;
    color: rgb(255, 255, 255);
}

.hero p {
    font-weight: 300;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 30px;
    max-width: 550px;
    color: #f7b9fe;
}

.btn-glow {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background-color: #306fdb;
    color: #ffffff;
    border: 2px solid #306fdb;
    position: relative;
    z-index: 30;
    
}
  
.btn-glow:hover {
    background-color: #447fe4;
    border: 2px solid #447fe4;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 218, 255, 0.2);
}

#cta-text {
    text-decoration: none;
}

/*.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #da826d;
    border: 1px solid #905242;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.cta-button:hover {
    background-color: var(--primary-blue);
    box-shadow: 0 0 15px var(--primary-blue);
}

.cta-button:hover::before {
    left: 100%;
}

/* FEATURED section */
.featured-tool {
    width: 100%;
    background-color: #07172D;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 80px;
}
#featured-spot {
    padding-bottom: 100px;
}
.featured-pre-title {
    text-align: center;
    font-weight: 400;
    font-size: 15px;
    margin-bottom: -10px;
}

/* Featured product Container */
.prod-container {
    background-color: #c9ff78;
    width: 100%;
    min-height: 476px;
    padding: 20px;
    border-radius: 40px;
    display: flex;
    gap: 50px;
    justify-content: center;
}

.prod-content {
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    align-items: right;
}

/* Featured product Content */
.prod-title {
    font-size: 60px;
    font-weight: 500;
    letter-spacing: -0.8px;
    text-align: center;
    line-height: 60px;
}

.prod-copy {
    color: black;
    text-align: center;
    font-size: 20px;
    font-weight: 300;
}

.feature-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.btn-featured {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background-color: #306fdb00;
    color: #000000;
    border: 1px solid #000000;
    
}
  
.btn-featured:hover {
    color: #ffffff;
    background-color: #000000;
    border: 1px solid #000000;
    box-shadow: 0 10px 20px rgba(0, 218, 255, 0.2);
}

/* Featured product Image */
.prod-image {
    width: auto;
    height: 100%px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
}
.prod-image img {
    width: 400px;
    height: auto;
    border-radius: 100%;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    position: relative;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(16, 1fr);
    pointer-events: none;
    z-index: 1;
}
  
.grid-cell {
    border: 1px solid rgba(0, 211, 203, 0.15);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.view-all-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 30px;
}

.view-all-button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background-color: #306fdb;
    color: #ffffff;
    border: 2px solid #306fdb;
    text-align: center;
}

.view-all-button:hover {
    background-color: #447fe4;
    border: 2px solid #447fe4;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 218, 255, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (min-width: 501px) and (max-width: 768px) {
    .featured-tool {
        width: 100%;
        background-color: black;
        padding-left: 25px;
        padding-right: 25px;
    }
    .prod-container {
        width: 100%;
        height: auto;
        padding: 20px;
        margin-bottom: 40px;
        border-radius: 40px;
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
        justify-content: center;
    }
    .prod-content {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: right;
    }
    .prod-copy {
        color: black;
        text-align: center;
        font-size: 21px;
        font-weight: 300;
        padding-bottom: 20px;
    }
    .feature-button-container {
        margin-bottom: 20px;
    }
    .prod-image {
        width: auto;
        height: 100%px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 20px;
    }
    .prod-image img {
        width: 320px;
        height: auto;
        border-radius: 100%;
    }
}

@media (max-width: 500px) {
    .hero h1 {
        font-weight: 600;
        font-size: 30px;
        margin-bottom: 10px;
        line-height: 1.2;
        color: rgb(255, 255, 255);
        width: 320px;
    }
    
    .hero p {
        font-weight: 400;
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 30px;
        max-width: 270px;
        color: #f8b4f7;
    }
    .featured-tool {
        width: 100%;
        background-color: black;
        padding-left: 25px;
        padding-right: 25px;
    }
    .prod-container {
        width: 100%;
        height: auto;
        padding: 20px;
        margin-bottom: 40px;
        border-radius: 40px;
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
        justify-content: center;
    }
    .prod-content {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }
    .prod-copy {
        color: black;
        text-align: center;
        font-size: 21px;
        font-weight: 300;
        padding-bottom: 20px;

    }
    .feature-button-container {
        margin-bottom: 20px;
    }
    .prod-image {
        width: auto;
        height: 100%px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 20px;
    }
    .prod-image img {
        width: 280px;
        height: auto;
        border-radius: 100%;
    }
}

/* Extra small devices (phones) */
@media (max-width: 375px) {
    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 700px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 100px;
    
    }
    
    .hero h1 {
        font-weight: 600;
        font-size: 30px;
        margin-bottom: 10px;
        line-height: 1.2;
        color: rgb(255, 255, 255);
        width: 320px;
    }
    
    .hero p {
        font-weight: 400;
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 30px;
        max-width: 270px;
        color: #f8b4f7;
    }

    .white-gradient {
        display: none;
    }

    .prod-container {
        margin-bottom: 0px;
    }

    .prod-copy {
        color: black;
        text-align: center;
        font-size: 18px;
        font-weight: 300;
        padding-left:10px;
        padding-right:10px;

    }
}
