:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.90);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* SKLANDUS SLINKIMAS */
html {
    scroll-behavior: smooth !important;
}

body {
    background: #f7f9fc;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- FONO BURBULAI (ANIMUOTI) --- */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #f7f9fc;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.8;
    animation: move 10s infinite alternate ease-in-out, rotateColor 20s infinite linear;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: #a1c4fd;
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: #c2e9fb;
    animation-delay: -2s;
}

.blob-3 {
    top: 30%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: #e0c3fc;
    animation-delay: -5s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(150px, -100px) scale(1.2); }
}

@keyframes rotateColor {
    0% { filter: blur(60px) hue-rotate(0deg); }
    100% { filter: blur(60px) hue-rotate(360deg); }
}

/* --- STRUKTŪRA --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* --- NAVIGACIJA --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 15px 30px;
    border-radius: 50px;
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
}

.dot { color: #764ba2; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: #764ba2; }

/* --- MYGTUKAI --- */
.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
    transition: transform 0.2s;
    display: inline-block;
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    padding: 12px 30px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-secondary:hover { border-color: #764ba2; color: #764ba2; }

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content { max-width: 800px; }

.tagline {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #764ba2;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.tech-stack {
    display: inline-flex;
    gap: 15px;
    margin-bottom: 40px;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.6);
}

.tech-stack span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- PASLAUGOS IR DARBAI --- */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: start;
}

/* STANDARTINĖ KORTELĖ */
.card {
    padding: 40px;
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-10px); }

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 1.5rem;
}

.card h3 { margin-bottom: 15px; font-size: 1.4rem; }
.card p { color: var(--text-light); }

/* KONTAKTAI */
.contact-box {
    text-align: center;
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.email-link {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    margin-top: 20px;
    margin-bottom: 40px;
}

.footer-note {
    font-size: 0.9rem;
    color: var(--text-light);
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 20px;
}

/* ATSIRADIMO ANIMACIJOS */
.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(100px);
    transition: all 1s ease-out;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.card:nth-child(2) { transition-delay: 200ms; }
.card:nth-child(3) { transition-delay: 400ms; }

/* MOBILUS MENIU */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: var(--text-dark); margin: 5px; transition: all 0.3s ease; }

@media screen and (max-width: 768px) {
    body { overflow-x: hidden; }
    .hero h1 { font-size: 2.2rem; }
    .navbar { width: 100%; top: 0; border-radius: 0; padding: 15px 20px; }
    
    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 60px;
        background: rgba(255, 255, 255, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
    
    .nav-links li { opacity: 0; margin: 20px 0; }
    .burger { display: block; }
}

.nav-active { transform: translateX(0%); }

@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0px); }
}

.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }


/* --- KAINŲ IR PORTFOLIO KORTELIŲ STILIUS --- */

.pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%; 
    min-height: auto; 
    padding-bottom: 30px;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #764ba2;
    margin: 10px 0;
}

.plan-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
    font-style: italic;
}

/* SĄRAŠO PAKAITALAS (DIV) - BE TAŠKŲ */
.features-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px; 
    flex-grow: 1;
    text-align: left;
}

.list-item {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.list-item i {
    color: #48bb78;
    margin-top: 5px;
    flex-shrink: 0;
}

.list-item.disabled {
    color: #cbd5e0;
    text-decoration: line-through;
}

.list-item.disabled i {
    color: #cbd5e0;
}

/* Mygtukas */
.full-width {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: auto; 
    padding: 12px 0;
    position: relative;
    z-index: 5;
    background-color: transparent; 
}

.btn-secondary.full-width {
    background: #fff; 
    border: 2px solid #e2e8f0;
}

/* Populiariausio plano išskyrimas */
.popular {
    border: 2px solid #764ba2;
    transform: scale(1.05);
    z-index: 2;
    background: rgba(255, 255, 255, 0.98);
}

.popular:hover {
    transform: scale(1.08) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(118, 75, 162, 0.3);
    white-space: nowrap;
}

@media screen and (max-width: 900px) {
    .popular {
        transform: scale(1);
        margin: 40px 0;
    }
}