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

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --secondary: #10b981;
    --dark: #1f2937;
    --light: #f9fafb;
    --gray: #6b7280;
    --light-gray: #e5e7eb;
    --transition: all 0.3s ease;
}
html{
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header & Navigation */
header {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.605);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

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

.logo i {
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background-color: rgb(206, 208, 255);
    text-align: center;
    position: relative;
}
.person1{
    width: 30%;
    position: absolute;
    top: 40%;
    left: 5%;
    z-index: 4;
}
@media (max-width:768px) {
    .person1{
        display: none;
    }
}
.vector1{
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: white;
    right: 0;
    top: 0;
    z-index: 0;
    border-top-left-radius: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}
@media (max-width:480px) {
    .cta-button{
        padding: 5px 20px;
        font-size: 0.7rem;
    }
}

/* Section Styling */
section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background-color: white;
    position: relative;
}
.vector2{
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: rgb(206, 208, 255);
    left: 0;
    top: 0;
    z-index: 0;
    border-bottom-right-radius: 100%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgb(0, 0, 0);
    transition: var(--transition);
    text-align: center;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.362);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 28px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--gray);
    position: relative;
    z-index: 1;
}

/* How It Works Section */
.how-it-works {
    background-color: white;
    position: relative;
}

.vector3{
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: rgb(206, 208, 255);
    right: 0;
    top: 0;
    z-index: 0;
    border-top-left-radius: 100%;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.step-content {
    position: relative;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.577);
}

.person2{
    position: absolute;
    width: 50%;
    top: -120%;
    right: -20%;
}
@media (max-width:780px) {
    .person2{
        display: none;
    }
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.step-content p {
    color: var(--gray);
    margin-bottom: 10px;
}

/* Platform Showcase */
.platform-showcase {
    background-color: rgb(206, 208, 255);
    position: relative;
}
.vector4{
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: white;
    left: 0;
    top: 0;
    z-index: 0;
    border-bottom-right-radius: 100%;
}

.showcase-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.person3{
    position: absolute;
    width: 40%;
    bottom: -50%;
    left: 0;
}
@media (max-width:768px) {
    .person3{
        display: none;
    }
}

.hierarchy-visualization {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 60px;
    position: relative;
}

.hierarchy-node {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.634);
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hierarchy-node:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.node-main {
    width: 80%;
    margin: 0 auto 50px;
    background-color: rgb(255, 255, 255);
    border-top: 5px solid var(--primary);
}

.node-secondary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.node-child {
    flex: 1;
    background-color: white;
    border-top: 5px solid var(--secondary);
}

.node-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.node-title i {
    color: var(--primary);
}

.node-content {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Tech Stack */
.tech-stack {
    background-color: rgb(206, 208, 255);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.tech-item {
    background-color: white;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.625);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--primary);
}

.tech-item h4 {
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

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

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step:nth-child(even) {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 20px;
    }
}

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

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 80px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .node-secondary {
        flex-direction: column;
    }

    .node-main {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 12px 25px;
    }
}
.auth{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.579);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.authcontainer{
    position: relative;
    width: 30vw;
    padding: 20px;
    background-color: white;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 20px;
}
@media (max-width:780px) {
    .authcontainer{
        width: 60vw;
    }
}
@media (max-width:480px) {
    .authcontainer{
        width: 90vw;
    }
}
.authcontainer>div{
    margin: 20px;
}
.authcontainer>div:nth-child(3){
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: beige;
}
.authcontainer>div:nth-child(2){
    background-color: beige;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.authcontainer>h1{
    color: black;
    text-align: center;
}
iframe{
    width: 100%;
    border: none;
}
.profile{
    position: fixed;
    top: 10px;
    right: 20px;
    width: 20vw;
    z-index: 2000;
    padding: 20px;
    background-color: white;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.673);
    border-radius: 20px;
    border: thin solid black;
    
}
@media (max-width:780px) {
    .profile{
        width: 60vw;
        right: 10px;
        top: 10px;
    }
}
@media (max-width:480px) {
    .profile{
        width: 90vw;
        top: 5px;
    }
}
.profile>h3{
    margin-bottom: 10px;
    font-family: sans-serif;
}
.profile>h4{
    cursor: pointer;
    color: blue;
    margin-bottom: 10px;
    font-family: sans-serif;
}
.closeprofile{
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}
.closeauth{
    position: absolute;
    right: 0px;
    top: 0px;
    cursor: pointer;
    transition: transform 0.5s;
}
.closeauth:hover{
    transform: rotate(180deg);
}
.signout{
    background-color: red;
    border: none;
    border-radius: 10px;
    padding: 10px;
    color: white;
    display: block;
    margin: auto;
    cursor: pointer;
}
.publicbookscon{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    background-color: rgba(0, 0, 0, 0.637);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.publicbookdiv{
    width: 40vw;
    padding: 0px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
@media (max-width:768px) {
    .publicbookdiv{
        width: 90vw;
    }
}
.publicbookdiv>h1{
    margin: 0;
    padding: 10px;
    font-family: sans-serif;
    text-align: center;
    background-color: #4f46e5;
    color: white;
    font-size: 20px;
}
.publicbookdiv>div>div{
    padding: 10px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    cursor: pointer;
}
.publicbookdiv>div>div>div:first-child{
    width: 20%;
}
.publicbookdiv>div>div>div:nth-child(2){
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.publicbookdiv>div>div>div:nth-child(2)>h2{
    font-family: sans-serif;
    color: rgba(0, 0, 0, 0.595);
    padding: 20px;
}
@media (max-width:480px) {
    .publicbookdiv>div>div>div:nth-child(2)>h2{
        padding: 10px;
        font-size: 15px;
    }
}
.publicbookdiv>div>div>div:nth-child(3){
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.closepublicbook{
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    cursor: pointer;
    transition: transform 0.5s;
}
.closepublicbook:hover{
    transform: rotate(180deg);
}
.loadingcon {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.579);
    backdrop-filter: blur(5px);
    z-index: 2001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loadingcon h1 {
    color: white;
    text-align: center;
    font-size: 15px;
}
.publicbookcoll{
    height: 50vh;
    overflow: auto;
    background-color: white;
}
