/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #111827;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Color Variables */
:root {
    --primary-color:rgb(28, 160, 242);
       --body-color: #ffffff;
    --body-bg: #1e293b;
    --secondary-color:hsl(208, 7%, 46%);
    --success-color:#48c774;
    --warning-color:rgb(255, 221, 87);
    --error-color:#d62828;
    --info-color:#209cee;
    --dark-color:hsl(0, 0%, 33%);
    --light-color:#ffffff;
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-border: #334155;
}

/* Navigation */
.navbar {
    background: var(--gray-900);
    border-bottom: 1px solid var(--dark-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
    color: #f9fafb;
     text-decoration: none;
}

.nav-logo i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.nav-item:hover {
    color: var(--primary);

}



.search-btn, .desktop-search {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.2s;
}

.search-btn:hover, .desktop-search:hover {
    color: var(--primary);
    background-color: var(--dark-card);
}

.nav-mobile {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.hamburger {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: var(--gray-300);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5rem;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    background: var(--gray-800);
    border: 1px solid var(--dark-border);
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 42rem;
    margin: 0 1rem;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--dark-border);
}

.search-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f9fafb;
}

.search-header button {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: var(--gray-400);
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-header button:hover {
    background-color: var(--dark-card);
}

.search-input-container {
    position: relative;
    padding: 1.5rem;
}

.search-input-container i {
    position: absolute;
    left: 2.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-input-container input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--dark-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
    background: var(--dark-card);
    color: #f9fafb;
}

.search-input-container input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-results {
    max-height: 24rem;
    overflow-y: auto;
    padding: 0 1.5rem 1.5rem;
}

.search-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.search-result:hover {
    background-color: var(--dark-card);
    border-color: var(--dark-border);
}

.search-result h4 {
    font-weight: 500;
    color: #f9fafb;
    margin-bottom: 0.25rem;
}

.search-result p {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-transform: capitalize;
}

/* Sections */
.section {
  display: block;
    min-height: calc(100vh - 4rem);
    padding: 3rem 0;
}


.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #f9fafb;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #f9fafb;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-300);
    max-width: 48rem;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(59, 130, 246, 0.1);
}
.btn-download:disabled{
    pointer-events: none;
    user-select: none;
}

/* Home Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1rem;
    border-radius: 1rem;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.hero-icon i {
    font-size: 4rem;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #f9fafb;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-primary {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.features-section {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dark-border);
    transition: all 0.2s;
}

.feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.feature-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-300);
}

.use-cases-section {
    background: var(--gray-900);
    padding: 5rem 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid;
    transition: all 0.2s;
    background: var(--dark-card);
}

.use-case-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.use-case-card.blue {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), var(--dark-card));
}

.use-case-card.purple {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), var(--dark-card));
}

.use-case-card.green {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), var(--dark-card));
}

.use-case-card.orange {
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), var(--dark-card));
}

.use-case-card.teal {
    border-color: rgba(20, 184, 166, 0.3);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), var(--dark-card));
}

.use-case-card.pink {
    border-color: rgba(236, 72, 153, 0.3);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), var(--dark-card));
}

.use-case-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.5rem;
}

.use-case-card p {
    color: var(--gray-300);
}

.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 5rem 0;
    color: white;
}

.stats-section .section-header h2 {
    color: white;
}

.stats-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.cta-section {
    background: var(--dark-bg);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #f9fafb;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-card {
    background: var(--dark-card);
    border: 2px solid var(--dark-border);
    padding: 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cta-card:hover {
    border-color: var(--primary);
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.cta-card i {
    font-size: 2rem;
    color: var(--primary);
}

.cta-card span {
    font-weight: 600;
    color: #f9fafb;
}

/* Types Section */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.type-card {
    background: var(--dark-card);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 2px solid;
    padding: 2rem;
    transition: all 0.2s;
}

.type-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.type-card.standard {
    border-color: var(--dark-border);
}

.type-card.dynamic {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), var(--dark-card));
}

.type-card.micro {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), var(--dark-card));
}

.type-card.custom {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), var(--dark-card));
}

.type-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.type-header i {
    font-size: 2rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.type-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f9fafb;
    margin-bottom: 0.5rem;
}

.type-header p {
    font-size: 1.125rem;
    color: var(--gray-300);
}

.type-features {
    margin-bottom: 1.5rem;
}

.type-features h4 {
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.75rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.features-list span {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-300);
}

.features-list i {
    color: var(--success);
    margin-right: 0.5rem;
    font-size: 1rem;
}

.type-use-case {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
}

.type-use-case h4 {
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.5rem;
}

.type-use-case p {
    color: var(--gray-300);
}

.comparison-table {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    padding: 2rem;
}

.comparison-table h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #f9fafb;
    margin-bottom: 2rem;
    text-align: center;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--dark-border);
}

th {
    font-weight: 600;
    color: #f9fafb;
    background-color: rgba(0, 0, 0, 0.2);
}

td {
    color: var(--gray-300);
}

th:not(:first-child), td:not(:first-child) {
    text-align: center;
}

/* Data Types Section */
.data-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.data-type-card {
    background: var(--dark-card);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 2px solid;
    padding: 2rem;
    transition: all 0.2s;
}

.data-type-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.data-type-card.url {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), var(--dark-card));
}

.data-type-card.text {
    border-color: var(--dark-border);
    background: var(--dark-card);
}

.data-type-card.vcard {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), var(--dark-card));
}

.data-type-card.email {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), var(--dark-card));
}

.data-type-card.phone {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), var(--dark-card));
}

.data-type-card.sms {
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), var(--dark-card));
}

.data-type-card.wifi {
    border-color: rgba(20, 184, 166, 0.3);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05), var(--dark-card));
}

.data-type-card.location {
    border-color: rgba(236, 72, 153, 0.3);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05), var(--dark-card));
}

.data-type-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.data-type-header i {
    font-size: 2rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.data-type-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f9fafb;
    margin-bottom: 0.5rem;
}

.data-type-header p {
    font-size: 1.125rem;
    color: var(--gray-300);
}

.data-type-example {
    margin-bottom: 1.5rem;
}

.data-type-example h4 {
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.75rem;
}

.data-type-example code {
    display: block;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dark-border);
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--gray-200);
    word-break: break-all;
}

.data-type-format {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
}

.data-type-format h4 {
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.5rem;
}

.data-type-format p {
    color: var(--gray-300);
    font-size: 0.875rem;
}

/* Technical Section */
.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.tech-spec-card {
    background: var(--dark-card);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 2px solid;
    padding: 2rem;
    transition: all 0.2s;
}

.tech-spec-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.tech-spec-card.structure {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), var(--dark-card));
}

.tech-spec-card.capacity {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), var(--dark-card));
}

.tech-spec-card.error-correction {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), var(--dark-card));
}

.tech-spec-card.size-requirements {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), var(--dark-card));
}

.tech-spec-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.tech-spec-header i {
    font-size: 2rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.tech-spec-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f9fafb;
    margin-bottom: 0.5rem;
}

.tech-spec-header p {
    font-size: 1.125rem;
    color: var(--gray-300);
}

.tech-spec-details ul {
    list-style: none;
}

.tech-spec-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: var(--gray-300);
}

.tech-spec-details li::before {
    content: '•';
    color: var(--gray-500);
    font-weight: bold;
    width: 1rem;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.version-table {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    padding: 2rem;
}

.version-table h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #f9fafb;
    margin-bottom: 2rem;
    text-align: center;
}

.table-note {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 1rem;
}

/* Best Practices Section */
.best-practices-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #f9fafb;
    margin-bottom: 2rem;
    text-align: center;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.guideline-card {
    background: var(--dark-card);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--dark-border);
    padding: 2rem;
    transition: all 0.2s;
}

.guideline-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.guideline-card.good {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), var(--dark-card));
}

.guideline-card.bad {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), var(--dark-card));
}

.guideline-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.guideline-header i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.guideline-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #f9fafb;
}

.guideline-card p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.examples {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.example {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid;
    display: flex;
    align-items: flex-start;
}

.example.good {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.example.bad {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.example i {
    margin-right: 0.5rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.example span {
    font-size: 0.875rem;
    color: var(--gray-300);
}

.mistakes-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mistake-item {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--error);
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.mistake-item i {
    color: var(--error);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.mistake-item h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #fca5a5;
    margin-bottom: 0.5rem;
}

.mistake-item p {
    color: #fecaca;
    margin-bottom: 0.75rem;
}

.mistake-item p:last-child {
    margin-bottom: 0;
}

/* Generator Section */
.generator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.generator-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.control-group {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
}

.control-group h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.control-group h3 i {
    margin-right: 0.5rem;
}

.data-type-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.data-type-btn {
    padding: 0.75rem;
    border: 2px solid var(--dark-border);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.2s;
}

.data-type-btn:hover {
    border-color: var(--gray-600);
}

.data-type-btn.active {
    border-color: var(--primary);
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

#qr-content {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--dark-border);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
    background: rgba(0, 0, 0, 0.2);
    color: #f9fafb;
}

#qr-content:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.content-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.content-info span {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.content-info button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.content-info button:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.content-info button i {
    margin-right: 0.25rem;
}

.setting-item {
    margin-bottom: 1.5rem;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-item label {
    display: block;
    font-weight: 500;
    color: #f9fafb;
    margin-bottom: 0.75rem;
}

.error-correction-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.error-btn {
    padding: 0.75rem;
    border: 1px solid var(--dark-border);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.error-btn:hover {
    border-color: var(--gray-600);
}

.error-btn.active {
    border-color: var(--primary);
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

#size-slider {
    width: 100%;
    height: 0.5rem;
    background: var(--dark-border);
    border-radius: 0.25rem;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

#size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

#size-slider::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.color-settings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.color-setting label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}




.generator-preview {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.preview-section {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    text-align: center;
}

.preview-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 1.5rem;
}

.qr-preview {
    display: inline-block;
    padding: 1rem;
    background: white;
    border: 2px solid var(--dark-border);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

#qr-canvas {
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
}

.preview-section p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.download-section {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
}

.download-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 1rem;
}

.download-section .btn {
    width: 100%;
    margin-bottom: 1rem;
}

.download-section .btn:last-child {
    margin-bottom: 0;
}

.templates-section {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
}

.templates-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 1rem;
}

.template-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.template-btn {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--dark-border);
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.template-btn:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
}

.template-btn div {
    font-weight: 500;
    font-size: 0.875rem;
    color: #f9fafb;
    margin-bottom: 0.25rem;
}

.template-btn small {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* FAQ Section */
.faq-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1rem;
    border-radius: 1rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.faq-icon i {
    font-size: 3rem;
    color: white;
}

.faq-search {
    margin-bottom: 3rem;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--dark-card);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dark-border);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f9fafb;
    margin-right: 1rem;
}

.faq-question i {
    color: var(--gray-400);
    transition: transform 0.2s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--dark-border);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--gray-300);
    line-height: 1.6;
    padding-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: #f9fafb;
    padding: 3rem 0;
    border-top: 1px solid var(--dark-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-400);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section button,
.footer-section a {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section button:hover,
.footer-section a:hover {
    color: #f9fafb;
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
}

/* Color Utilities */
.text-blue { color: var(--primary); }
.text-purple { color: var(--secondary); }
.text-green { color: var(--success); }
.text-red { color: var(--error); }
.text-orange { color: var(--warning); }
.text-teal { color: #14b8a6; }
.text-pink { color: #ec4899; }
.text-gray { color: var(--gray-400); }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gray-900);
        border-top: 1px solid var(--dark-border);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }
    .section {
    margin: 1.5rem ;
}
.hero-section,.stats-section {
    border-radius: 1.5rem;
}
.footer {
    padding: 1.5rem ;
 
}

    .nav-menu.active {
        display: flex;
    }

    .nav-mobile {
        display: flex;
    }

    .desktop-search {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h1 {
        font-size: 2rem;
    }

    .types-grid,
    .data-types-grid,
    .tech-specs-grid {
        grid-template-columns: 1fr;
    }

    .guidelines-grid {
        grid-template-columns: 1fr;
    }

    .generator-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .data-type-buttons,
    .error-correction-buttons {
        grid-template-columns: 1fr;
    }

    .color-settings {
        grid-template-columns: 1fr;
    }

    .examples {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .table-container {
        font-size: 0.875rem;
    }

    th, td {
        padding: 0.5rem;
    }
}

@media(max-width:992px){
     .generator-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .section-header h1 {
        font-size: 1.75rem;
    }
        .section {
    margin: 1rem ;
}

    .type-card,
    .data-type-card,
    .tech-spec-card {
        padding: 1.5rem;
    }

    .control-group {
        padding: 1rem;
    }
}

.animation-rotate {
  animation: rotate-keyframes 1s linear infinite;
}
@keyframes rotate-keyframes {
  100% {
    transform: rotate(360deg);
  }
}

#notifications {
  position: fixed;
}

#notifications :where(.toast, .column) {
  display: flex;
  align-items: center;
}

#notifications .toast {
  width: 400px;
  overflow: hidden;
  list-style: none;
  border-radius: 6px;
  margin: 10px;
  padding: 16px;
  background: var(--body-bg) !important;
  display: -ms-flexbox;
  display: flex;
  z-index: 99999;
  min-height: 64px;
  -ms-flex-pack: justify;
  justify-content: flex-start;
  align-items: center;
  animation: 0.3s ease-in-out forwards show_toast_fade;
  transition: 2s ease-in-out;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.141), 0 2px 0.5px -10px rgba(0, 0, 0, 0.1215686275), 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.toast-inner {
  display: flex;
  align-items: center;
}
.toast-inner .toast-icon {
  margin-right: 1rem;
}
.toast-inner p {
  margin: 0;
  padding: 0.5rem 0;
}

.toasts-top-right {
  top: 64px;
  right: 5px;
}

.toasts-bottom-left {
  bottom: 10px;
  left: 5px;
}

.toasts-bottom-right {
  bottom: 10px;
  right: 5px;
}

.toasts-top-left {
  top: 10px;
  left: 5px;
}

.toast::before {
  position: absolute;
  content: "";
  height: 6px;
  width: 100%;
  bottom: 0;
  left: 0;
  animation: progress var(--secs) linear forwards;
}

#notifications .toast.hide {
  animation: 0.6s ease-out forwards show_toast_fade_out;
}

@keyframes hide_toast {
  0% {
    transform: translateX(-30px);
  }
  40% {
    transform: translateX(0);
  }
  80% {
    transform: translateX(-5%);
  }
  100% {
    transform: translateX(calc(120% + 20px));
  }
}
@keyframes progress {
  100% {
    width: 0%;
  }
}
.toast-default, .toast-error, .toast-info, .toast-load, .toast-success, .toast-warning {
  color: var(--body-color) !important;
}

.toast.success::before {
  background-color: var(--success-color);
  opacity: 0.95;
}

.toast.error::before {
  background-color: var(--error-color);
  opacity: 0.95;
}

.toast.warning::before {
  background-color: var(--warning-color);
  opacity: 0.95;
}

.toast.info::before {
  background-color: var(--info-color);
  opacity: 0.95;
}

.toast.default::before {
  background-color: var(--secondary-color);
  opacity: 0.95;
}

.toast.load::before {
  background-color: var(--body-bg);
  opacity: 0.95;
}

@keyframes show_toast_fade {
  from {
    transform: translate3d(400px, 0, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes show_toast_fade_out {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  to {
    transform: translate3d(400px, 0, 0);
    opacity: 0;
  }
}
@media (max-width: 767px) {
  #notifications .toast {
    width: 100%;
  }
  #notifications .toast {
    border-radius: 0px;
    margin: 0;
  }
  .toasts-top-right, .toasts-top-left {
    top: 64px;
    right: 0;
    left: 0;
  }
  .toasts-bottom-left, .toasts-bottom-right {
    right: 0;
    bottom: 0;
    left: 0;
  }
}
.spinner {
  color: transparent !important;
  width: 50px;
  height: 50px;
  pointer-events: none;
  position: relative;
}

.spinner::after {
  animation: 0.5s linear infinite loading;
  border: 0.2rem solid var(--secondary-color);
  background: 0 0;
  border-radius: 50%;
  border-right-color: rgba(var(--secondary-color), 0.2);
  border-top-color: rgba(var(--secondary-color), 0.2);
  content: "";
  display: block;
  height: 2rem;
  left: 50%;
  margin-left: -0.4rem;
  margin-top: -0.4rem;
  opacity: 1;
  padding: 0;
  position: absolute;
  top: 50%;
  width: 2rem;
  z-index: 1;
}

.spinner.spinner--primary::after {
  border: 0.2rem solid var(--primary-color);
  border-right-color: rgba(var(--primary-color), 0.2);
  border-top-color: rgba(var(--primary-color), 0.2);
}





@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes loading {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

/*# sourceMappingURL=loaders.css.map */




.tabcontent{
    display: none;
    padding: 1rem 0;
}
.tabcontent.active {
  display: block;
}

.btn-icon {
    width: 16px;
    height: 16px;
    margin-right: .5rem;
}
.form-input {
  width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
    color: white;
    background: var(--dark-card);
}
.form-input:not(:last-child){
    margin-bottom: 1rem;
}
.faq-link{
    color: var(--primary);
    text-decoration: none;
}
.faq-ol{
    padding: 1rem;
}
.faq-ol li{
    padding: .5rem 0;
}
.faq-ol p{
    padding: .5rem 0;
}
