/* Bendri stiliai */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigacijos meniu */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-btn:hover {
    background: #667eea;
    color: white;
}

.account-btn i.fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.account-dropdown.active .account-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.account-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f5f5f5;
    color: #667eea;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: #667eea;
}

.modal-content.modal-large {
    max-width: 600px;
}

.modal-body {
    padding: 20px;
}

.account-info-section {
    margin-bottom: 25px;
}

.account-info-section h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #666;
}

.info-value {
    color: #333;
    text-align: right;
}

.modal-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.modal-actions .btn-secondary {
    padding: 10px 20px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modal-actions .btn-secondary:hover {
    background: #e9e9e9;
}

.modal-actions .btn-danger {
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modal-actions .btn-danger:hover {
    background: #c82333;
}

.btn-login, .btn-register, .btn-admin {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-login:hover {
    background: #667eea;
    color: white;
}

.btn-register {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-admin {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

.admin-btn-text {
    font-weight: 600;
}

@media (max-width: 768px) {
    .admin-btn-text {
        display: none;
    }
    
    .btn-admin {
        padding: 10px 12px;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #f0f2ff;
    color: #667eea;
    border-left-color: #667eea;
}

.mobile-menu-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #e1e5e9;
}

.btn-login-mobile,
.btn-register-mobile {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-login-mobile {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-login-mobile:hover {
    background: #667eea;
    color: white;
}

.btn-register-mobile {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-register-mobile:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a3d92 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mobile-menu-account {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #e1e5e9;
}

.btn-account-mobile {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-account-mobile:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a3d92 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-logout-mobile {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-logout-mobile:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Hero sekcija */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Prisijungimo mygtuko spalvos (apkeistos) */
.btn-login-submit {
    background: #667eea;
    color: white;
}

.btn-login-submit:hover {
    background: #764ba2;
    color: white;
}

/* Registracijos mygtuko spalvos (apkeistos) */
.btn-register-submit {
    background: #667eea;
    color: white;
}

.btn-register-submit:hover {
    background: #764ba2;
    color: white;
}

/* Administratoriaus prisijungimo mygtuko spalvos (apkeistos) */
.btn-admin-submit {
    background: #667eea;
    color: white;
}

.btn-admin-submit:hover {
    background: #764ba2;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hero vizualizacija */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.card-2 {
    top: 100px;
    right: 100px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 150px;
    left: 100px;
    animation-delay: 2s;
}

.card-4 {
    bottom: 50px;
    right: 50px;
    animation-delay: 3s;
}

.floating-card i {
    font-size: 2rem;
}

.floating-card span {
    font-weight: 600;
}

.score {
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Funkcijų sekcija */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Kaip veikia sekcija */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Apie sekcija */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature i {
    color: #667eea;
    font-size: 1.2rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-container {
    display: flex;
    gap: 20px;
    align-items: end;
    height: 300px;
}

.chart-bar {
    width: 80px;
    background: #e1e5e9;
    border-radius: 5px 5px 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bar-fill {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px 5px 0 0;
    height: 100%;
    animation: fillBar 2s ease-out;
}

.platform-icon {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.chart-bar:hover .platform-icon {
    transform: translateX(-50%) scale(1.1);
}

.platform-icon i {
    font-size: 1.5rem;
    color: #667eea;
}

.platform-icon i.fa-facebook-f {
    color: #1877f2;
}

.platform-icon i.fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-icon i.fa-twitter {
    color: #1da1f2;
}

.platform-icon i.fa-linkedin-in {
    color: #0077b5;
}

@keyframes fillBar {
    from { height: 0; }
    to { height: 100%; }
}

/* CTA sekcija */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.cta-content .btn-large {
    padding: 20px 40px;
    font-size: 1.3rem;
    margin: 0 auto;
    display: inline-flex;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
    color: #667eea;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-list-no-links li {
    color: #ccc;
    cursor: default;
    pointer-events: none;
}

.footer-list-no-links li:hover {
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Modalai */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-header .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.modal-header .close:hover {
    color: #000;
}

.auth-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

/* Slaptažodžio laukelio wrapper'is su akies mygtuku */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.password-toggle:hover {
    color: #667eea;
}

.password-toggle:focus {
    outline: none;
}

.password-toggle i {
    font-size: 1.1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-switch a {
    color: #667eea;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Duomenų valdymas */
.data-management {
    padding: 30px;
}

.data-section {
    margin-bottom: 30px;
}

.data-section h4 {
    margin-bottom: 15px;
    color: #333;
}

.user-data-display {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.data-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline, .btn-danger {
    padding: 10px 20px;
    border: 2px solid;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    border-color: #667eea;
    color: #667eea;
    background: transparent;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-admin-footer {
    white-space: nowrap;
    flex-wrap: nowrap;
}

.btn-admin-footer span {
    white-space: nowrap;
}

.btn-danger {
    border-color: #e74c3c;
    color: #e74c3c;
    background: transparent;
}

.btn-danger:hover {
    background: #e74c3c;
    color: white;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu, .nav-auth {
        display: none;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-logo i {
        font-size: 1.4rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu {
        top: 60px;
        max-height: calc(100vh - 60px);
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-visual {
        height: 250px;
        margin-top: 20px;
    }
    
    .floating-card {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    /* Card-3 paslinkti žemiau, kad neuždengtų hero-stats */
    .card-3 {
        bottom: 50px !important; /* Paslinkti žemiau */
        top: auto !important;
    }
    
    .section {
        padding: 30px 0; /* Sumažinti tarpus tarp sekcijų */
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.3rem; /* Padidinti hero-title tekstą */
    }
    
    /* Floating kortelės žemiau hero-stats */
    .hero-container {
        flex-direction: column;
    }
    
    .hero-visual {
        order: 3; /* Floating kortelės po hero-stats */
        margin-top: 30px;
        height: 300px;
    }
    
    /* Padidinti tarpus tarp floating cards ir padaryti, kad VISOS būtų skirtingose vietose */
    .floating-card {
        margin: 0 !important;
        width: 90px !important; /* Sumažinti plotį */
        max-width: 90px !important;
        padding: 12px 10px !important;
    }
    
    /* Kiekviena kortelė unikali pozicija - skirtingos tiek vertikalios, tiek horizontalios pozicijos */
    .card-1 {
        top: 10px !important; /* Viršuje kairėje */
        left: 10px !important;
        right: auto !important;
        bottom: auto !important;
    }
    
    .card-2 {
        top: 60px !important; /* Viduryje dešinėje - skirtinga vertikali pozicija */
        right: 10px !important;
        left: auto !important;
        bottom: auto !important;
    }
    
    .card-3 {
        bottom: 60px !important; /* Viduryje - skirtinga vertikali pozicija */
        right: 85px !important; /* Kairiau - nustatyta reikšmė */
        left: auto !important;
        top: auto !important;
    }
    
    .card-4 {
        bottom: 10px !important; /* Apačioje - skirtinga vertikali pozicija */
        left: 85px !important; /* Dešiniau - nustatyta reikšmė */
        right: auto !important;
        top: auto !important;
    }
    
    .hero-stats {
        order: 2;
        margin-top: 20px;
        margin-bottom: 0;
    }
    
    .hero-buttons {
        order: 1;
        margin-bottom: 20px;
    }
    
    /* Footer elementus lygiuoti per vidurį */
    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .btn-outline,
    .btn-outline.btn-admin-footer {
        margin: 0 auto;
    }
    
    /* Sumažinti btn-admin-submit mobile */
    .btn-admin-submit {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text {
        padding: 0 10px;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .chart-container {
        height: 180px;
        padding: 15px;
    }
    
    .chart-bar {
        width: 50px;
    }
    
    .platform-icon {
        width: 35px;
        height: 35px;
        bottom: -40px;
    }
    
    .platform-icon i {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-card i {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section {
        margin-bottom: 25px;
    }
    
    /* Padidinti apatinį padding tekstui "Jūsų duomenys saugūs. Galite bet kada:" */
    .footer-section h4 + p {
        padding-bottom: 25px !important;
        margin-bottom: 15px;
    }
    
    .data-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .data-actions .btn-primary,
    .data-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-container {
        padding: 0 12px;
        height: 60px;
    }
    
    .nav-logo {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 70px 0 50px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .hero-visual {
        height: 200px;
    }
    
    .section {
        padding: 25px 0; /* Sumažinti tarpus tarp sekcijų */
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 1.9rem; /* Padidinti hero-title tekstą */
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .chart-container {
        height: 150px;
        padding: 12px;
    }
    
    .chart-bar {
        width: 40px;
    }
    
    .floating-card {
        padding: 10px;
        font-size: 0.8rem;
    }
    
    /* Padidinti tarpus tarp floating cards ir padaryti, kad VISOS būtų skirtingose vietose */
    .floating-card {
        margin: 0 !important;
        width: 85px !important; /* Sumažinti plotį */
        max-width: 85px !important;
        padding: 10px 8px !important;
    }
    
    /* Kiekviena kortelė unikali pozicija - skirtingos tiek vertikalios, tiek horizontalios pozicijos */
    .card-1 {
        top: 8px !important; /* Viršuje kairėje */
        left: 8px !important;
        right: auto !important;
        bottom: auto !important;
    }
    
    .card-2 {
        top: 50px !important; /* Viduryje dešinėje - skirtinga vertikali pozicija */
        right: 8px !important;
        left: auto !important;
        bottom: auto !important;
    }
    
    .card-3 {
        bottom: 50px !important; /* Viduryje - skirtinga vertikali pozicija */
        right: 80px !important; /* Kairiau - nustatyta reikšmė */
        left: auto !important;
        top: auto !important;
    }
    
    .card-4 {
        bottom: 8px !important; /* Apačioje - skirtinga vertikali pozicija */
        left: 80px !important; /* Dešiniau - nustatyta reikšmė */
        right: auto !important;
        top: auto !important;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 15px 12px;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }
}

