:root {
    --bg-color: #0E1116;
    --text-primary: #EDEDED;
    --text-secondary: #A6A6A6;
    --accent-primary: #6A5AE0;
    --accent-secondary: #4FD1C5;
    --glass-bg: rgba(30, 34, 40, 0.55);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 999;
}

.gradient-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, #1a1f35 0%, #0e1116 70%);
    z-index: -1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

header {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-header);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.studio {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

section {
    position: relative;
    margin-bottom: 10rem;
    text-align: center;
}

h1 {
    font-family: var(--font-header);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.05;
    letter-spacing: -2px;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.8;
}

/* Lio Animation & Hero Image */
.lio-container {
    width: 280px;
    margin: 0 auto 2rem;
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { 
        transform: translateY(0) rotateX(0) rotateY(0); 
    }
    33% {
        transform: translateY(-20px) rotateX(4deg) rotateY(-4deg);
    }
    66% {
        transform: translateY(-10px) rotateX(-2deg) rotateY(6deg);
    }
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 10px 30px rgba(106, 90, 224, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(106, 90, 224, 0.4);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4rem;
    text-align: left;
    overflow: hidden;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .feature {
        flex-direction: row;
        text-align: left;
    }
    
    .feature.rev {
        flex-direction: row-reverse;
    }
    
    .feature-content {
        flex: 1;
    }
    
    .feature-visual {
        flex: 1;
        display: flex;
        justify-content: center;
    }
}

.feature-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
    transition: transform 0.5s ease;
}

.feature:hover .feature-visual img {
    transform: scale(1.05) translateY(-10px);
}

.feature h2 {
    font-family: var(--font-header);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.social-context {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.feature p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.showcase {
    margin-top: 4rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: translateY(-10px) rotate(2deg);
}

.gallery-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-tags {
    display: flex;
    gap: 0.75rem;
}

.feature-tags span {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-card {
    padding: 3rem 2.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.why-card h3 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.why-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.privacy-list {
    list-style: none;
    margin-top: 2rem;
}

.privacy-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.privacy-list li::before {
    content: "•";
    color: var(--accent-secondary);
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* Section Label */
.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(106, 90, 224, 0.1);
    color: var(--accent-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* How it Works */
.how-it-works-section {
    padding: 4rem 0;
}

.how-it-works-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
    align-items: center;
}

@media (min-width: 900px) {
    .how-it-works-container {
        flex-direction: row;
        text-align: left;
    }
    
    .steps-list {
        flex: 1;
    }
    
    .how-it-works-visual {
        flex: 1.2;
    }
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.step {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    display: flex;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.step:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.step.active {
    background: rgba(106, 90, 224, 0.08);
    border-color: var(--accent-primary);
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.step.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--accent-primary);
    border-radius: 0 4px 4px 0;
}

.step-number {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-primary);
    opacity: 0.5;
}

.step.active .step-number {
    opacity: 1;
}

.step-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-header);
    letter-spacing: -0.5px;
}

.step-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    background: radial-gradient(circle at center, rgba(106, 90, 224, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    padding: 2rem;
}

.visual-container img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6));
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: absolute;
    top: 0;
    left: 0;
}

.visual-container img.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-family: var(--font-header);
    font-size: 4rem;
    position: absolute;
    top: -2rem;
    left: -1rem;
    opacity: 0.1;
    color: var(--accent-primary);
}

.rating {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 1rem;
}

.author-tag {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq-section {
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 4rem auto 0;
    text-align: left;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0 1.5rem;
    transition: all 0.3s ease;
}

.faq-item.open {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--accent-primary);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 90, 224, 0.1);
    border-radius: 50%;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--accent-primary);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 2rem;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Refinements */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.showcase h2 {
    margin-bottom: 3rem;
}

.why-grid {
    margin-top: 4rem;
}

@media (max-width: 600px) {
    .glass-panel { padding: 2rem; }
    .feature { gap: 2rem; }
    .how-it-works-container { gap: 2rem; }
    h1 { font-size: 2.5rem; }
    .subtitle { font-size: 1.2rem; }
    main { padding: 2rem 1rem; }
}

footer {
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--font-header);
    font-weight: 900;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.5;
    width: 100%;
}
