/* --- BAZINIAI NUSTATYMAI --- */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #00ff88;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* --- ANIMACIJOS --- */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- NOISE TEXTURE --- */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 50;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* --- HERO SEKCIJA --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- MYGTUKAI --- */
.cta-button {
    display: inline-block;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--bg-color);
    background-color: var(--accent-color);
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

/* --- PASLAUGOS --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    padding: 50px 40px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.05);
}

.service-number {
    font-size: 4rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    margin-bottom: 30px;
    transition: color 0.4s ease, -webkit-text-stroke 0.4s ease;
}

.service-card:hover .service-number {
    color: var(--accent-color);
    -webkit-text-stroke: 1px var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #888;
    line-height: 1.6;
}

/* =========================================
   KAINŲ SEKCIJA (PRICING)
========================================= */
.pricing-section {
    padding: 5rem 1rem;
    background-color: #f8f9fa; /* Šviesiai pilkas fonas, kad kortelės išsiskirtų */
    text-align: center;
}

.pricing-section h2 {
    margin-bottom: 0.5rem;
    color: #333;
}

.subtitle {
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Bazinė kortelės išvaizda */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 330px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

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

/* Naujas elementas: Sodybų nišos aprašymas */
.niche-tag {
    font-size: 0.9rem;
    color: #888;
    margin-top: -10px;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Kainos išvaizda */
.price {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.price span {
    font-size: 1.1rem;
    color: #888;
    font-weight: 400;
}

/* Privalumų sąrašas */
.card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1; /* Leidžia mygtukui visada likti apačioje */
}

.card ul li {
    margin-bottom: 1rem;
    color: #555;
    font-size: 0.95rem;
}

.card ul li strong {
    color: #333;
}

/* Mygtukas kortelėje */
.select-plan-btn {
    width: 100%;
    padding: 1rem;
    background: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.select-plan-btn:hover {
    background: #e0e0e0;
}

/* =========================================
   POPULIARIAUSIAS PLANAS ("Verslas")
========================================= */
.card.popular {
    border: 2px solid #6b46c1; /* Ryškus rėmelis (priderinkite prie savo dizaino) */
    transform: scale(1.05);
    z-index: 1;
}

.card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.card.popular .select-plan-btn {
    background: #6b46c1;
    color: #ffffff;
}

.card.popular .select-plan-btn:hover {
    background: #55359a;
}

/* Speciali žyma viršuje */
.badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #6b46c1;
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   MOBILI VERSIJA
========================================= */
@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .card.popular {
        transform: scale(1); /* Telefone kortelės nepadidiname, kad tilptų į ekraną */
    }

    .card.popular:hover {
        transform: translateY(-5px);
    }
}

/* --- KONTAKTŲ FORMA --- */
.contact-subtitle {
    text-align: center;
    color: #888;
    margin-top: -40px;
    margin-bottom: 60px;
    font-size: 1.2rem;
}

#speedForm {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    color: var(--text-color);
    font-size: 1.2rem;
    padding: 15px 0;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.form-submit {
    margin-top: 20px;
    width: 100%;
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    min-height: 24px;
}

.form-message.success { color: var(--accent-color); }
.form-message.error { color: #ff4444; }

/* --- FOOTER --- */
.main-footer {
    border-top: 1px solid #1a1a1a;
    padding: 60px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: -1px;
}

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

.footer-nav a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-info {
    color: #444;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}