:root {
    --primary: #4f46e5; /* Electric Indigo */
    --secondary: #fbbf24; /* Amber */
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo span {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #2A473C 0%, #192a24 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    color: var(--secondary);
}

.benefits-list {
    list-style: none;
    margin-top: 30px;
}

.benefits-list li {
    margin-bottom: 10px;
    font-weight: 600;
    color: #94a3b8;
}

/* Glassmorphism Form */
.hero-form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-form-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.btn-primary {
    width: 100%;
    padding: 18px;
    background: var(--secondary);
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #f59e0b;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 15px;
    color: #94a3b8;
}

/* Table Section */
.comparison {
    padding: 100px 0;
}

.comparison h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.table-wrapper {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
/* Tabulas konteiners ar ritināšanas funkciju */
.table-wrapper {
    width: 100%;
    overflow-x: auto; /* Atļauj horizontālo ritināšanu */
    -webkit-overflow-scrolling: touch; /* Padara ritināšanu plūstošu uz iPhone/iOS */
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Svarīgi: šis neļauj tabulai "saspiesties" par mazu */
}

th, td {
    padding: 15px 20px; /* Nedaudz kompaktākas atstarpes mobilajiem */
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap; /* Neļauj tekstam pārlēkt jaunā rindā, saglabājot tabulas struktūru */
}

/* Speciāls stils pirmajai kolonnai, lai tā būtu skaidri lasāma */
td:first-child, th:first-child {
    font-weight: 600;
    color: var(--dark);
    position: sticky; /* Neobligāti: var nofiksēt pirmo kolonnu (skatīt piezīmi zemāk) */
    left: 0;
    background: var(--white);
    z-index: 1;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 25px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

th {
    background: #f8fafc;
    font-weight: 600;
}

.brand-col {
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
	#logo {
		width:150px !important;
	}
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .benefits-list {
        display: none;
    }
}
thead tr th{
	background-color:#d1cfff !important;
}
/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    background: var(--light);
    border-radius: 15px;
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f1f5f9; /* Nedaudz savādāks tonis atdalīšanai */
}
.footeris {
	background-color:#f1f5f9;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #475569;
}

/* Responsive adjust */
@media (max-width: 768px) {
    .services, .about {
        padding: 60px 0;
    }
}


@media (max-width: 768px) {
	
	
/* Tabulas konteiners ar ritināšanas funkciju */
.table-wrapper {
    width: 100%;
    overflow-x: auto; /* Atļauj horizontālo ritināšanu */
    -webkit-overflow-scrolling: touch; /* Padara ritināšanu plūstošu uz iPhone/iOS */
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Svarīgi: šis neļauj tabulai "saspiesties" par mazu */
}

th, td {
    padding: 15px 20px; /* Nedaudz kompaktākas atstarpes mobilajiem */
    text-align: left;
    border-bottom: 1px solid #dfdfdf;
    white-space: nowrap; /* Neļauj tekstam pārlēkt jaunā rindā, saglabājot tabulas struktūru */
}

/* Speciāls stils pirmajai kolonnai, lai tā būtu skaidri lasāma */
td:first-child, th:first-child {
    font-weight: 600;
    color: var(--dark);
    position: sticky; /* Neobligāti: var nofiksēt pirmo kolonnu (skatīt piezīmi zemāk) */
    left: 0;
    background: var(--white);
    z-index: 1;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px; 
}

.logo {
	
    display: flex;
    align-items: center;
    gap: 8px; 
	
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}


    .table-wrapper {
        overflow-x: hidden;
        margin: 0;
        border-radius: 8px;
    }

    table {
        min-width: 100% !important; 
        width: 100%;
        table-layout: fixed; 
    }

    th, td {
        padding: 10px 5px !important;
        font-size: 0.75rem !important;
        white-space: normal !important;
        word-wrap: break-word;
        vertical-align: middle;
    }

    th:nth-child(1), td:nth-child(1) {
        width: 30%; 
        position: static !important; 
        padding-left: 8px !important;
    }

    th:nth-child(2), td:nth-child(2) {
        width: 35%;
    }

    th:nth-child(3), td:nth-child(3) {
        width: 35%;
    }

    td strong {
        font-weight: 700;
        font-size: 0.75rem;
    }
}