@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Varela+Round&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Mozilla+Headline:wght@200..700&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Varela Round', 'Poppins', sans-serif;
    color: #ffffff;
    background: url('../images/purple-wavy.jpg') center/cover no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
}
.section-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2.5rem 2rem;
    min-height: 100svh;
}

.glass-container {
    width: 100%;
    max-width: 1200px;
    background: rgba(20, 20, 20, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
    gap: 20px;
}
.logo img {
    height: 80px;
}
nav {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}
nav a:hover,
nav a.active {
    color: #ffffff;
}
.main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
}
.text-content {
    flex-basis: 60%;
}
.text-content .subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: #c0c0c0;
    margin-bottom: 10px;
}
.text-content h1 {
    font-size: 5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: 'Mozilla Headline', sans-serif;
}
.text-content p {
    font-size: 1rem;
    font-weight: 300;
    color: #d0d0d0;
    line-height: 1.6;
    max-width: 450px;
    margin-bottom: 30px;
}
.action-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}
.btn {
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.btn-primary {
    background: linear-gradient(90deg, #c965ff, #6c65ff);
    color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(156, 101, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(156, 101, 255, 0.4);
}
.illustration {
    flex-basis: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    min-height: 300px;
}
.iso-grid {
    transform: rotateX(60deg) rotateZ(-45deg);
    transform-style: preserve-3d;
    width: 250px;
    height: 250px;
    position: relative;
    
}
.stack {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}
.stack:hover {
    transform: translateZ(25px);
}

.stack:nth-child(1) { top: 0; left: 0; }
.stack:nth-child(2) { top: 0; left: 120px; }
.stack:nth-child(3) { top: 120px; left: 0; }
.stack:nth-child(4) { top: 120px; left: 120px; }
.layer {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(108, 101, 255, 0.2);
    border: 1px solid rgba(138, 131, 255, 0.5);
    transform-style: preserve-3d;
    box-shadow: 0 0 20px rgba(108, 101, 255, 0.3);
}
.layer:nth-child(1) { transform: translateZ(0px); }
.layer:nth-child(2) { transform: translateZ(10px); }
.layer:nth-child(3) { transform: translateZ(20px); }
.layer:nth-child(4) {
    transform: translateZ(30px);
    background: rgba(138, 131, 255, 0.5);
    border-color: #c965ff;
}

.iso-grid {
    transform: rotateX(60deg) rotateZ(-45deg);
    transform-style: preserve-3d;
    width: 250px;
    height: 250px;
    position: relative;
}


.stack {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
    animation-name: pulse-up;
    animation-duration: 2s; 
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.stack:hover {
    transform: translateZ(25px); 
}

.stack:nth-child(1) { top: 0;   left: 0;   animation-delay: 0s; } 
.stack:nth-child(3) { top: 120px; left: 0;   animation-delay: .5s; } 
.stack:nth-child(4) { top: 120px; left: 120px; animation-delay: 1s; } 
.stack:nth-child(2) { top: 0;   left: 120px; animation-delay: 1.5s; } 

@keyframes pulse-up {
    0% {
        transform: translateZ(0px);
    }
    25% {
        transform: translateZ(25px);
    }
    50%, 100% {
        transform: translateZ(0px);
    }
}

#features, #how-it-works {
    width: 100%;
}
.float{
    position: absolute;
    height: 50px;
    width: 50px;
    right: 350px;
    top: 290px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 60px;
    color: #fff;
}
.feature-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}
.feature-row:last-child {
    margin-bottom: 0;
}
.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}
.feature-text, .feature-image {
    flex-basis: 50%;
}
.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.feature-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    background: -webkit-linear-gradient(45deg, #c965ff, #6eb1ff);
    --webkit-background-clip: text;
    --webkit-text-fill-color: transparent;
}
.flowchart-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 40px 0;
    transform: rotate(-10deg);
}
.flowchart-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    width: 220px;
    text-align: center;
    position: relative;
    transform: rotate(10deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.flowchart-step:hover {
    transform: rotate(10deg) translateY(-15px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.flowchart-step:not(:last-child) {
    margin-right: 60px;
}
.flowchart-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    width: 40px;
    height: 2px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.5) 50%, transparent 50%);
    background-size: 10px 2px;
    transform: translateY(-50%);
}
.step-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px auto;
    background: linear-gradient(135deg, #c965ff, #6c65ff);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.step-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}
.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.step-description {
    font-size: 0.9rem;
    color: #d0d0d0;
    line-height: 1.5;
}
.faq-item{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#faq{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 1200px) {
    .text-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .glass-container {
        padding: 30px;
    }
    header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }
    .main-content {
        flex-direction: column;
        text-align: center;
    }
    .text-content {
        order: 2;
    }
    .illustration {
        order: 1;
        margin-bottom: 30px;
    }
    .action-buttons {
        justify-content: center;
    }
    .text-content h1 {
        font-size: 3.5rem;
    }
    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    .feature-image {
        margin-bottom: 30px;
    }
    .flowchart-wrapper {
        transform: rotate(0);
        flex-direction: column;
        gap: 50px;
        margin-top: 20px;
        padding: 20px 0;
    }
    .flowchart-step,
    .flowchart-step:hover {
        transform: none;
    }
    .flowchart-step:not(:last-child) {
        margin-right: 0;
    }
    .flowchart-step:not(:last-child)::after {
        top: auto;
        bottom: -35px;
        left: 50%;
        right: auto;
        width: 2px;
        height: 30px;
        transform: translateX(-50%);
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 50%, transparent 50%);
        background-size: 2px 10px;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 70px;
    }
    .text-content h1 {
        font-size: 3.2rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .feature-text h3 {
        font-size: 1.75rem;
    }
    nav {
        gap: 20px;
    }
    .iso-grid {
        transform: rotateX(60deg) rotateZ(-45deg) scale(0.8);
    }
}

@media (max-width: 576px) {
    .section-wrapper {
        padding: 1.5rem 1rem;
    }
    .glass-container {
        padding: 20px;
    }
    nav {
        justify-content: center;
        gap: 15px;
    }
    .text-content h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    .feature-text h3 {
        font-size: 1.5rem;
    }
    .text-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 450px) {
    .logo img {
        height: 60px;
    }
    .iso-grid {
        transform: rotateX(60deg) rotateZ(-45deg) scale(0.7);
    }
    .flowchart-wrapper {
        gap: 40px;
    }
    .flowchart-step {
        width: 100%;
        max-width: 200px;
    }
}