body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #030C19;
    max-width: 100%;
    overflow: auto;
    margin: 0px;
    padding: 0px 5vw 5px 5vw;
    box-sizing: border-box;
    font-family: "Fira Code", sans-serif;
}
.page-container {
    width: 100%;
    height: auto;
    min-height: 100vh;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-size: 1.3rem;

}
main {
    flex: 1;
}
header {
    display: flex;
    justify-content: center;
    height: 75px;
    position: fixed;
    left: 5vw;
    right: 5vw;
    top: 0;
    z-index: 1000;
    background-color: #030C19;

}
.header-container {
    max-width: 2000px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.header-logo {
    height: 100%;
    width: auto;
    display: flex;
    display: row;
    justify-content: center;
    align-items: center;
    
    margin: 0;
}
.logo-img {
    max-height: 75px;
    padding: 0;
    margin: 0;
}
.logo-text {
    font-family: 'Chakra Petch', sans-serif;
    color: #ffb400;
    font-weight: 700;
    font-size: 36px;
    padding: 0px 10px 0px 0px;
}
.logo-link {
    
    text-decoration: none;
    color: inherit;

    -webkit-tap-highlight-color: inherit;
}
.inline-logo-text {
    font-family: 'Chakra Petch', sans-serif;
    color: #ffb400;
    font-weight: 700;
}
header nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
}
.nav-toggle{
    display: none;
}
.nav-links-mobile {
    display: none;
}
header nav ul {
    display: flex;
    height: 100%;
    width: 100%;
    gap: 0 5%;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
}
header nav ul li {
    display: flex;;
    align-items: center;
    height: 100%;
    padding: 0;
    padding-right: 1%;
    padding-left: 1%;
    margin: 0;
    cursor: pointer;  
}
header nav ul li a {
    display: flex;
    align-items: flex-end;
    height: 60%;
    padding: 0;
    margin: 0;
    text-decoration: none;
    line-height: 1;
    color: #88969f;
}
header nav ul li:hover a {
    display: flex;
    padding: 0;
    margin: 0;
    text-decoration: none;
    color: #ffb400;  
}

.inline-link {
    color: #ffb400;
}
.inline-link {
    color: #ffb400;
}
.inline-link:hover {
    color: #c8d0d6;
}
main{
    display: flex;
    justify-content: center;
    padding: 75px 0px 0px 0px;
    margin-bottom: 100px;
    width:100%;

}
.main-container {
    max-width: 2000px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.hero-section{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 75px);  /* 75px = header height */
}

.hero-img {
    display:flex;
    flex: 2;
    height: auto;
    width: 30vw;
    max-width:60vw;
    max-height: 700px;
    object-fit: contain;
    padding: 6vh 6vw 6vh 6vw;
    margin: 0;
}

.hero-left {
    display: flex;
    flex: 3;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

}
.hero-text {
    display: flex;
    max-width: 750px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    line-height: 1.3;
    padding-left: 5vw;
}
.hero-text h1 {
    width: 100%;
    padding: 0;
    margin: 0;
    color: #c8d0d6;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 700;
    text-align: left;
}

.hero-text .accent {
    color: #ffb400;
}
.hero-text .subtitle {
    width: 100%;
    color: #88969f;
    font-weight: 400;
    font-size: 1.3rem;
    font-size: clamp(1rem, 2vw, 1.3rem);
    padding: 0;
    margin: 1rem 0 0 0;
}

.btn-container {
    margin: 3rem 0 0 0;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 50px;
    align-items: left;
    
}
#action-btn {
    display: flex;
    width: 175px;
    height: 45px;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    padding: 0;
    margin: 0;
    transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    background: rgba(255, 180, 0, 0.3);
    color: #ffb400;
    border: 1px solid rgba(255, 180, 0, 0.5);
    text-decoration: none;
    box-sizing: border-box;
}
#oss-btn {
    display: flex;
    width: 175px;
    height: 45px;
    align-items: center;
    background: rgba(200, 208, 214, 0.3);
    color: #c8d0d6;
    border: 1px solid rgba(200, 208, 214, 0.5);
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    margin: 0;
    padding: 0;
    transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    text-decoration: none;
    box-sizing: border-box;
}
#action-btn:hover {
    box-shadow: 0 0 15px rgba(255, 180, 0, 0.8);
    background: rgba(255, 180, 0, 0.4);
    border-color: rgba(255, 180, 0, 0.8);
}
#oss-btn:hover {
    box-shadow: 0 0 15px rgba(200, 208, 214, 0.8);
    background: rgba(200, 208, 214, 0.4);
    border-color: rgba(200, 208, 214, 0.8);
}
#action-btn:active {
    transform: scale(0.97);
}
#oss-btn:active {
    transform: scale(0.97);
}

.info-section  {
    width: 100%;
    padding: 0;
    margin-bottom: clamp(10px, 10vh, 50px);
    color: #c8d0d6;
    font-weight: 700;
    text-align: left;
}
.section-header {
    font-size: 2.5rem;
    text-align: center;
    color: #c8d0d6;
}
.info-cards-container {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    
}
.info-card {
    display: flex;
    font-size: 1rem;
    color: #88969f;
    text-wrap: pretty;
    font-weight: 400;
    
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: left;

    height: auto;
    width: auto;
    z-index: 50;
    border-radius: 15px;
    padding: 10px;
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: radial-gradient(circle at top, rgba(20, 30, 48, 0.85), rgba(12, 18, 32, 0.85));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    
    transform: translateY(0);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 1px solid rgba(31, 47, 64, 0.3);
    pointer-events: auto;
}
.info-card .card-content {
    height: 100%;
    max-width: 53ch;
    padding-bottom: 30px;
    padding-top: 30px;
}

.info-card h3 {
    font-size: clamp(1.3rem, 1.6vw, 1.5rem);
    color: #c8d0d6;
}

.info-card .card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    color: #ffb400;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 10px;
    box-sizing: border-box;
    border: 2px solid #ffb400;
    border-radius: 50%;
    flex-shrink: 0
}

.features-section {
    display: flex;
    flex-direction: row;
    font-size: 1.5rem;
    color: #88969f;
    text-wrap: pretty;
    font-weight: 400;
    align-items: top;
    justify-content: flex-end;
    gap: clamp(30px, 10vw, 100px);
}
.feature-list-section {
    display: flex;
    width: clamp(600px, 50vw, 800px);
  
    
   
}
.feature-list-section h2 {
    color: #c8d0d6;
    text-align: left;
    
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #c8d0d6;
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}
.feature-list-item {
        position: relative;
        padding-left: 1.5em;
    }
.feature-list-item::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #ffb400;
}

.dashboard-picture-section {
    display: flex;
    min-width: 0;
    min-height: 0;
    width: clamp(600px, 50vw, 1000px);
    
    align-items: center;
    justify-content: center;
}
.dashboard-picture-section img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    border: 1px solid rgba(31, 47, 64, 0.5);
   
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    transform: perspective(1200px) rotateY(-8deg);
    transition: transform 0.4s ease-in-out;
}

.dashboard-picture-section img:hover {
    transform: perspective(1200px) rotateY(0deg);
}


.coming-soon {
    display: none !important;
}


footer {
    border-top: 2px solid rgba(31, 47, 64, 0.3);
    padding: 100px 0px 50px 0px;
    
}

.footer-container {
    display: flex;
    flex-direction: row;
    color: #88969f;
    font-size: 1rem;
    justify-content: space-between;
    gap: clamp(50px, 5vw,1000px)
}
.footer-aiphish-info {
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 60ch
}
.footer-logo {
    display: flex;
    align-items: left;
}
.footer-bio {
    color: #88969f;
    font-size: 1rem;
    flex: 1;
    text-wrap: pretty;
}
.copyright {
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: 0.75rem;
    color: #88969f;
}
.footer-nav-container{
    flex: 1; 
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: clamp(30px, 10vw, 200px)
}
.footer-nav-col {

}
.footer-nav-col ul {
    list-style-type: none;
    padding: 0;
}
.footer-nav-col li{
    padding-bottom: 3px;  
}

.footer-inline-link {
    color: #88969f;
    text-decoration: none;
}
.footer-inline-link:hover {
    color: #ffb400;
    cursor: pointer;
}
.copyright-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.github{
    fill: currentColor;
}


@media (max-width: 768px){
    body {
        
       padding: clamp(16px, 4vw, 24px);
       margin: 0;
        
    }
    .page-container {
        width: 100%;
    }
    header {
        padding-top: 20px;
    }
    main {
        width: 100%;
     
    }
    .main-container {
        width: 100%;
        justify-content: center;
    }
    .hero-section{
        flex-direction: column-reverse;
        width: 100%;
        justify-content: center;
    }
    .hero-img {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
        max-width: 50%;
        width: 50%;
    }
    .hero-text h1 {
        width: 100%;
        padding: 0;
        margin: 0;
        color: #c8d0d6;
        font-size: clamp(1.6rem, 2vw, 3rem);
        font-weight: 700;
        text-align: left;
    }
    .hero-text {
        padding: 0;
    }
    .hero-text .subtitle {
        width: 100%;
        font-size: 1rem;

    }
    .btn-container {
        margin: 3rem 0 0 0;
        width: 100%;
        padding: 0;
        justify-content: center;
        flex-wrap: wrap;

        gap: 10px;
        
    }
    #action-btn, #oss-btn {
        width: 100%;
        max-width: 280px;
    }
    .info-section {
        width: 100%;
    }
    .info-cards-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
    
    }
    .features-section {
        width: 100%;
        flex-direction: column;
        
        
    }
    .feature-list-section {
        flex-direction: column;
        width: 100%;
    }
    .feature-list {
        font-size: 1rem;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        box-sizing: border-box;
    }
    .feature-list-item {
        position: relative;
        padding-left: 1.5em;
    }
    
    .dashboard-picture-section{
        width: 100%;
        
    }

    .dashboard-picture-section img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 15px;
        border: 1px solid rgba(31, 47, 64, 0.5);
    
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
        transform: none;
        transition: none;
    }

    .dashboard-picture-section img:hover {
        transform: none;
    }
    .footer-container {
        width: 100%;
        flex-direction: column;

    }
    .footer-aiphish-info {
        width: 100%;
    }
    .footer-nav-container {
        width: 100%;
        justify-content: center;
    }
    
    header nav {
        justify-content: end;
    }
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    #menu-dialog {
        position: fixed;
        flex-direction: column;
        justify-content: end;
        align-items: center;
        inset: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        margin: 0;
        padding: 0;
        border: none;
        background: transparent;
        box-sizing: border-box;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out,
                    overlay 0.3s ease-in-out allow-discrete,
                    display 0.3s ease-in-out allow-discrete;
    }
    #menu-dialog[open] {
        display: flex;
        transform: translateY(0);  
    }
    @starting-style {
        #menu-dialog[open] {
            transform: translateY(100%);
        }
    }

    #menu-content {
        display: flex;
        flex-direction: column;
        max-height: 50%;
        box-sizing: border-box;
        width: 100%;       
        padding: 1rem;
        border: none;
        border-radius: 16px 16px 0 0;
        background: #0b1622;
        color: #c8d0d6;
        
        overflow-y: auto;
        

        
        /*
        
        display: none;
  
        
        margin: 0;
        overflow-y: auto;
        justify-content: flex-start; 
        
        
       
        
        
        
        */
    }
    

    #menu-dialog::backdrop {
        background: rgba(0, 0, 0, 0);
        transition: background 0.3s ease-in-out allow-discrete;
    }
    #menu-dialog[open]::backdrop {
        background: rgba(0, 0, 0, 0.5);
    }
    @starting-style {
        #menu-dialog[open]::backdrop {
            background: rgba(0, 0, 0, 0);
        }
    }
    .nav-links-desktop {
        display: none;
    }
    .nav-links-mobile {
        display: flex;
        cursor: pointer;
    }
    #menu-dialog .nav-links {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        list-style: none;
    }
    .menu-btn-close {
        display: flex;
        justify-content: end;
    }
    .menu-btn-close button {
        background: none;
        border: none;
        color: #ffb400;
    }
    .menu-btn-close button:hover {
        color:#c8d0d6;
    }
}