:root {
    /* Main Colors */
    --color-primary: #4a90e2;
    --color-primary-dark: #3a7bc8;
    --color-secondary: #5c6bc0;
    --color-secondary-dark: #4552a3;
    --color-success: #4CAF50;
    --color-warning: #FF9800;
    --color-error: #F44336;
    --color-info: #2196F3;
    
    /* Background Colors */
    --color-bg: #f8f9fa;
    --color-card-bg: #ffffff;
    --color-input-bg: #ffffff;
    --color-disabled: #cccccc;
    
    /* Text Colors */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-heading: #222222;
    --color-border: #e0e0e0;
    
    /* Sizing and Spacing */
    --border-radius: 12px;
    --border-radius-sm: 6px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #4f70ff;
    --secondary-color: #ff7c43;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #f8f9fa;
    --white: #ffffff;
    --light-gray: #e9ecef;
    --medium-gray: #ced4da;
    --dark-gray: #6c757d;
    --success: #10b981;
    --warning: #fbbf24;
    --error: #ef4444;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

button {
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    width: 100%;
    outline: none;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.2);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%233a86ff"><path d="M3 3h7v7h-7zM14 3h7v7h-7zM14 14h7v7h-7zM3 14h7v7h-7zM10 10h4v4h-4z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover::after {
    width: 80%;
    opacity: 0.5;
}

.main-nav a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.main-nav a.active::after {
    width: 80%;
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-buttons .primary-btn,
.hero-buttons .secondary-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    min-width: 180px;
}

.hero-buttons .primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.hero-buttons .primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

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

.hero-buttons .secondary-btn:hover {
    background-color: rgba(67, 97, 238, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

/* Mobile Menu Improvements */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-color);
    z-index: 100;
    padding: 8px;
    margin-left: 15px;
}

/* Mobile Menu */
body.mobile-menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 90;
    transition: opacity 0.3s ease;
}

.main-nav ul {
    transition: all 0.3s ease;
}

body.mobile-menu-open .main-nav ul {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 20px;
    z-index: 100;
    animation: slideDown 0.3s ease-out;
}

body.mobile-menu-open .main-nav ul li {
    margin: 10px 0;
    text-align: center;
}

body.mobile-menu-open .main-nav ul li a {
    padding: 10px;
    display: block;
    font-size: 18px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
    background-color: var(--color-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-heading);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--color-text);
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Intro Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Tools Section Styling */
.tools-section {
    background-color: var(--white);
}

.tabs {
    display: flex;
    justify-content: center;
    margin: var(--spacing-xl) 0 var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tab-btn {
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 150px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tab-btn:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.tab-content {
    display: none;
    padding: var(--spacing-lg) 0;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qr-generator, .qr-decoder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.input-section, .output-section {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.input-section h3, .output-section h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.content-type {
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: var(--spacing-lg);
}

.input-group label {
    display: block;
}

/* Ad Container Styling */
.ad-container {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    margin: 40px 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.horizontal-ad {
    height: 90px;
    max-width: 728px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--border-radius);
}

.side-ad {
    width: 300px;
    height: 600px;
    position: absolute;
    right: 20px;
    top: 120px;
    display: none;
}

.ad-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    font-size: 0.9rem;
    text-align: center;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--color-card-bg);
    padding: 80px 0;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 280px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    scroll-snap-align: start;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.testimonial-content p::before {
    content: "\201C";
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info p {
    margin: 5px 0;
    color: var(--color-text-light);
}

.rating {
    color: #FFD700;
    margin-top: 5px;
}

/* Footer */
.main-footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 70px 0 20px;
}

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

.footer-column h3, .footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after, .footer-column h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -8px;
    left: 0;
}

.footer-column p {
    margin-bottom: 20px;
    opacity: 0.8;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styling */
@media (max-width: 1200px) {
    .side-ad {
        display: none;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }
    
    /* Header */
    .header-container {
        padding: 15px 0;
    }
    
    .main-nav ul {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    body.mobile-menu-open .main-nav ul {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: 20px;
        z-index: 100;
        animation: slideDown 0.3s ease-out;
    }
    
    body.mobile-menu-open .main-nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    body.mobile-menu-open .main-nav ul li a {
        padding: 10px;
        display: block;
        font-size: 18px;
    }
    
    /* Hero Section */
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    /* QR Generator & Decoder */
    .qr-generator, .qr-decoder {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .input-section, .output-section {
        width: 100%;
    }
    
    /* Feature Tabs */
    .feature-tab-buttons {
        flex-wrap: wrap;
    }
    
    .feature-tab-btn {
        flex: 1 1 calc(50% - 10px);
        margin: 5px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    /* About Section */
    .content-columns {
        flex-direction: column;
    }
    
    .text-column, .image-column {
        width: 100%;
    }
    
    /* Testimonials */
    .testimonials-slider {
        flex-direction: column;
    }
    
    .testimonial {
        width: 100%;
        margin-bottom: 30px;
    }
    
    /* Footer */
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Better container sizing */
    .container {
        padding: 0 15px;
        width: 100%;
    }
    
    /* Force QR generator to properly stack on mobile */
    .qr-generator, .qr-decoder {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }
    
    .input-section, .output-section {
        width: 100%;
        padding: 15px;
    }
    
    /* Ensure output section appears below input section */
    .input-section {
        order: 1;
    }
    
    .output-section {
        order: 2;
    }
    
    /* QR Code proper display for mobile */
    #qrCode {
        min-height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        max-width: 250px;
    }
    
    #qrCode img {
        max-width: 100%;
        height: auto;
        max-height: 250px;
    }
    
    /* Improve button layouts */
    .download-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .download-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    /* Fix customization options */
    .customization-options {
        padding: 15px;
        margin-top: 20px;
    }
    
    .option-group {
        margin-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .option-group label {
        margin-bottom: 5px;
        min-width: 100%;
    }
    
    /* Make content types view better on mobile */
    .content-type {
        margin-bottom: 20px;
    }
    
    .content-type select {
        width: 100%;
    }
    
    /* Improve FAQ visualization */
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        padding-right: 40px;
    }
    
    .faq-toggle {
        width: 28px;
        height: 28px;
        min-width: 28px;
        right: 15px;
    }
    
    .faq-answer {
        padding: 0 15px 15px;
        font-size: 14px;
    }
    
    /* Better tab handling */
    .tabs {
        flex-direction: column;
        gap: 15px;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    /* Ultra compact mobile view */
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 40px 0;
    }
    
    /* Very small screens QR adjustments */
    #qrCode {
        min-height: 180px;
    }
    
    #qrCode img {
        max-height: 200px;
    }
    
    /* Cleaner button layout */
    .generate-btn, .download-btn {
        width: 100%;
        padding: 12px 15px;
        font-size: 13px;
    }
    
    /* Simplify tabs */
    .tab-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    /* Smaller form elements */
    .input-group input,
    .input-group select,
    .input-group textarea {
        font-size: 14px;
        padding: 10px;
    }
    
    /* Ensure content types are usable */
    .input-group label {
        font-size: 14px;
    }
    
    /* Smaller section headers */
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) {
    .btn, button {
        padding: 12px 20px;
    }
    
    .main-nav ul li a {
        padding: 15px 10px;
    }
    
    input[type="checkbox"], input[type="radio"] {
        transform: scale(1.2);
    }
}

/* Custom QR Code Styling */
.qr-code-container {
    position: relative;
    display: inline-block;
}

.qr-code-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-code-container:hover .qr-code-overlay {
    opacity: 1;
}

.password-protection {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.password-input {
    margin-top: 15px;
}

/* Ad Friendly Containers */
.ad-friendly-section {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 50px 0;
}

.ad-vertical-container {
    width: 300px;
    height: 600px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    flex-shrink: 0;
}

.content-with-ads {
    flex: 1;
}

.ad-square-container {
    width: 300px;
    height: 250px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 30px auto;
}

/* Fix for tabs and buttons */
.tab-btn, .btn {
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    user-select: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Specific fixes for QR buttons and tabs */
#generateBtn {
    display: inline-block !important;
    margin-top: 20px !important;
    width: auto !important;
    min-width: 200px !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 12px 24px !important;
    border-radius: var(--border-radius) !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    border: none !important;
    text-align: center !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

#generateBtn:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15) !important;
}

#downloadPNG, #downloadSVG {
    display: inline-block !important;
    min-width: 180px !important;
    margin: 10px !important;
    background-color: var(--secondary-color) !important;
    color: white !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    border-radius: var(--border-radius) !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    border: none !important;
}

#downloadPNG:hover, #downloadSVG:hover {
    background-color: var(--secondary-dark) !important;
    transform: translateY(-2px) !important;
}

.tab-btn {
    background-color: var(--light-gray) !important;
    color: var(--text-color) !important;
    padding: 12px 24px !important;
    border: none !important;
    cursor: pointer !important;
    margin: 0 5px !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    border-radius: var(--border-radius) !important;
    transition: var(--transition) !important;
}

.tab-btn.active {
    background-color: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.tab-btn:hover:not(.active) {
    background-color: var(--medium-gray) !important;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block !important;
}

.download-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-top: 20px !important;
    flex-wrap: wrap !important;
}

/* Make sure QR output area is visible even before code is generated */
.qr-output {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--light-gray) !important;
    min-height: 256px !important;
    min-width: 256px !important;
    border-radius: var(--border-radius) !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.qr-output:empty::before {
    content: "QR code will appear here" !important;
    color: var(--text-light) !important;
    font-style: italic !important;
}

.upload-instructions {
    margin: 15px 0;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-color);
}

.upload-instructions p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-instructions i {
    color: var(--primary-color);
    font-size: 16px;
}

/* QR Generator Styles */
.qr-generator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.input-section {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.output-section {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.content-type {
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.input-group.hidden {
    display: none;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--color-text);
}

.input-group input[type="text"],
.input-group input[type="url"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group input[type="number"],
.input-group input[type="password"],
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-input-bg);
    color: var(--color-text);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input[type="text"]:focus,
.input-group input[type="url"]:focus,
.input-group input[type="email"]:focus,
.input-group input[type="tel"]:focus,
.input-group input[type="number"]:focus,
.input-group input[type="password"]:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

.input-group textarea {
    min-height: 100px;
    resize: vertical;
}

.generate-btn {
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
}

.generate-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.generate-btn:active {
    transform: translateY(0);
}

.generate-btn i {
    font-size: 18px;
}

#qrCode {
    min-height: 256px;
    min-width: 256px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: white;
    border-radius: var(--border-radius-sm);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#qrCode img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
}

.download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    opacity: 0.7;
    pointer-events: none;
    width: 100%;
}

.download-btn.active {
    opacity: 1;
    pointer-events: auto;
}

.download-btn.png-download {
    background-color: #2e7d32; /* Green color for PNG */
    color: white;
}

.download-btn.png-download:hover {
    background-color: #1b5e20;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(27, 94, 32, 0.3);
}

.download-btn.svg-download {
    background-color: #1565c0; /* Blue color for SVG */
    color: white;
}

.download-btn.svg-download:hover {
    background-color: #0d47a1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
}

.download-btn i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .download-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}

.download-btn:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-2px);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn:disabled {
    background-color: var(--color-disabled);
    cursor: not-allowed;
    transform: none;
}

/* Customization options */
.customization-options {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow);
}

.customization-options h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--color-heading);
}

.option-group {
    margin-bottom: 15px;
    position: relative;
}

.option-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--color-text);
}

.option-group input[type="range"] {
    width: calc(100% - 50px);
    margin-right: 10px;
    vertical-align: middle;
}

.size-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.option-group input[type="color"] {
    width: 45px;
    height: 45px;
    padding: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: none;
    margin-right: 10px;
}

.option-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-input-bg);
    color: var(--color-text);
    font-family: inherit;
    font-size: 16px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.option-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

/* Password protection */
.password-protection {
    margin-top: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.password-input {
    position: relative;
    transition: all 0.3s ease;
    height: auto;
    overflow: hidden;
}

.password-input.hidden {
    height: 0;
    margin: 0;
    opacity: 0;
}

.password-input input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-input-bg);
    color: var(--color-text);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    padding-right: 40px;
}

.password-input input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

.password-input i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-success);
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    margin-left: 5px;
    cursor: help;
}

.tooltip i {
    color: var(--color-secondary);
    font-size: 16px;
}

.tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 5px;
}

.tooltip:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
    margin-bottom: -5px;
    z-index: 10;
    rotate: 180deg;
}

/* Success popup */
.success-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--color-success);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* QR Decoder Styles */
.qr-decoder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.decoder-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.decoder-options button {
    padding: 14px 24px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 160px;
}

.decoder-options button i {
    font-size: 18px;
}

.decoder-options button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.decoder-options button.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.upload-instructions {
    background-color: rgba(67, 97, 238, 0.08);
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.upload-instructions p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-size: 15px;
}

.upload-instructions i {
    color: var(--primary-color);
    font-size: 18px;
}

.camera-container {
    width: 100%;
    max-width: 400px;
    height: 300px;
    border: 2px dashed var(--primary-color);
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(67, 97, 238, 0.05);
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.camera-container.active {
    border-style: solid;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
}

.camera-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.camera-overlay i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.camera-overlay p {
    font-size: 16px;
    color: var(--text-color);
    text-align: center;
    max-width: 80%;
}

.file-upload {
    position: relative;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.file-upload:hover label {
    border-color: #4361ee;
    background-color: #f5f7ff;
}

.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.loading-indicator i {
    font-size: 36px;
    color: #4361ee;
    margin-bottom: 15px;
}

.error-message {
    background-color: #fff3f3;
    border-left: 4px solid #ff5252;
    padding: 15px 20px;
    border-radius: 4px;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.error-message i {
    color: #ff5252;
    font-size: 24px;
    margin-right: 10px;
}

.error-message h4 {
    color: #ff5252;
    margin: 5px 0;
}

.error-message p {
    margin: 5px 0 0;
}

.file-upload input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    background-color: var(--white);
    border: 2px dashed var(--primary-color);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 10px;
    text-align: center;
    height: 150px;
    flex-direction: column;
}

.file-upload label i {
    font-size: 40px;
    margin-bottom: 10px;
}

.file-upload-text {
    font-size: 16px;
    color: var(--text-color);
}

.file-upload-hint {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}

.decoded-output {
    background-color: white;
    border: 1px solid var(--light-gray);
    padding: 25px;
    border-radius: var(--radius-md);
    min-height: 200px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    box-shadow: var(--shadow-sm);
}

.decoded-output.with-result {
    border-left: 4px solid var(--success);
}

.decoded-output pre {
    white-space: pre-wrap;
    font-family: monospace;
    margin: 15px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: var(--radius-sm);
    overflow-x: auto;
}

.decoded-output .error {
    color: var(--error);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.decoded-output .error i {
    font-size: 18px;
}

.decoded-output .success {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.decoded-output .success i {
    font-size: 22px;
}

.qr-result-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.qr-result-actions button, 
.qr-result-actions a {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qr-result-actions button:hover,
.qr-result-actions a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.qr-result-actions button i,
.qr-result-actions a i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .qr-decoder {
        grid-template-columns: 1fr;
    }
    
    .decoder-options {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .decoder-options button {
        flex: 1;
        min-width: 140px;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .camera-container {
        height: 250px;
    }
    
    .file-upload label {
        height: 120px;
        padding: 15px;
    }
    
    .file-upload label i {
        font-size: 30px;
    }
    
    .decoded-output {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .decoder-options button {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }
    
    .camera-container {
        height: 200px;
    }
    
    .camera-overlay i {
        font-size: 30px;
    }
    
    .file-upload label {
        height: 100px;
    }
    
    .qr-result-actions {
        flex-direction: column;
    }
    
    .qr-result-actions button,
    .qr-result-actions a {
        width: 100%;
        justify-content: center;
    }
}

/* About QR Codes Section Styling */
.about-section {
    background-color: var(--color-bg);
    padding: 80px 0;
}

.about-qr-container {
    margin-top: 40px;
}

.qr-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.qr-info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.qr-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.qr-info-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 1.4rem;
}

.feature-list {
    list-style: none;
    margin-top: 15px;
    padding-left: 5px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li i {
    color: var(--success);
    font-size: 18px;
}

.qr-anatomy-container {
    position: relative;
    max-width: 100%;
    margin: 30px auto;
    text-align: center;
}

.qr-anatomy-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.anatomy-labels {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.label {
    position: relative;
    margin: 10px 0;
    padding: 8px 15px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .qr-anatomy-container {
        margin: 20px auto;
    }
    
    .label {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

.qr-benefits {
    background-color: var(--color-primary);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: 50px;
}

.qr-benefits h3 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 22px;
    color: white;
}

.benefit-content h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 600;
}

.benefit-content p {
    opacity: 0.9;
    font-size: 0.95rem;
    margin: 0;
    color: white;
}

@media (max-width: 768px) {
    .qr-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefits-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .anatomy-labels .label {
        font-size: 10px;
        padding: 3px 6px;
    }
}

.advanced-features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.advanced-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234361ee' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

.advanced-features-section .container {
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(67, 97, 238, 0) 100%);
    top: 0;
    left: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.3);
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.feature-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.25);
    margin-top: auto;
}

.feature-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.35);
    color: white;
}

.feature-btn:active {
    transform: translateY(0);
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .advanced-features-section {
        padding: 60px 0;
    }
}

.features-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234361ee' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.feature-tabs {
    margin-top: 50px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.feature-tab-buttons {
    display: flex;
    background: linear-gradient(to right, #4361ee, #3f51b5);
    padding: 5px;
    border-radius: 15px 15px 0 0;
}

.feature-tab-btn {
    flex: 1;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px 12px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.feature-tab-btn.active {
    background: white;
    color: #4361ee;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.feature-tab-btn.active::before {
    content: '';
    position: absolute;
    width: 10px; 
    height: 10px;
    background: white;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px;
}

.feature-tab-content {
    padding: 40px;
    min-height: 400px;
}

.feature-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.feature-content.active {
    display: block;
}

.feature-content h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.feature-content h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #4361ee, #3f51b5);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    background: white;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(67, 97, 238, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.1);
    border-color: rgba(67, 97, 238, 0.2);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item i {
    font-size: 40px;
    color: #4361ee;
    margin-bottom: 20px;
    background: rgba(67, 97, 238, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
    background: rgba(67, 97, 238, 0.15);
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

@media (max-width: 992px) {
    .feature-tab-buttons {
        overflow-x: auto;
        padding: 5px;
    }
    
    .feature-tab-btn {
        padding: 15px 15px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-tab-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-tab-content {
        padding: 25px 20px;
    }
    
    .feature-tab-buttons {
        flex-wrap: wrap;
    }
    
    .feature-tab-btn {
        flex: 0 0 50%;
        border-radius: 10px;
        margin-bottom: 5px;
        font-size: 13px;
        padding: 12px 10px;
    }
    
    .feature-content h3 {
        font-size: 24px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-item i {
        font-size: 30px;
        width: 60px;
        height: 60px;
    }
}

.faq-item {
    background-color: white;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.faq-question:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
    padding-right: 40px;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        padding-right: 40px;
    }
    
    .faq-toggle {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }
    
    .faq-answer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .faq-question h3 {
        font-size: 15px;
    }
    
    .faq-toggle {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 22px;
    color: white;
}

@media (max-width: 480px) {
    .benefit-item {
        padding: 15px;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .benefit-icon i {
        font-size: 18px;
    }
    
    .benefit-content h4 {
        font-size: 16px;
    }
    
    .benefit-content p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        gap: 12px;
    }
    
    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn {
        padding: 12px 15px;
        font-size: 15px;
        max-width: 280px;
    }
}

.password-prompt {
    background-color: rgba(67, 97, 238, 0.05);
    border: 1px solid rgba(67, 97, 238, 0.2);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.prompt-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.prompt-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.prompt-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.password-prompt p {
    margin: 0 0 20px 0;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
}

.password-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.password-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-color);
    background-color: white;
    transition: all 0.3s ease;
}

.password-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    outline: none;
}

.password-submit-btn {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.password-submit-btn i {
    font-size: 16px;
}

.password-submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(67, 97, 238, 0.2);
}

@media (max-width: 768px) {
    .password-input-group {
        flex-direction: column;
    }
    
    .password-input, .password-submit-btn {
        width: 100%;
    }
}

.color-picker-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.color-preview {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.1);
}

.color-preview input[type="color"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    transform: translate(-25%, -25%);
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.color-preview-label {
    display: flex;
    flex-direction: column;
}

.color-preview-label span:first-child {
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 14px;
    color: var(--text-color);
}

.color-preview-label span:last-child {
    font-size: 12px;
    color: var(--text-light);
    font-family: monospace;
}

.foreground-preview {
    background-color: #000000;
}

.background-preview {
    background-color: #FFFFFF;
    border: 1px solid #e5e5e5;
}

.qr-colors-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .color-preview {
        width: 40px;
        height: 40px;
    }
    
    .qr-colors-row {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .qr-colors-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Blog Section Styles */
.blog-section {
    padding: 80px 0;
    background-color: #f9fafc;
}

.blog-article {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
    overflow: hidden;
}

.article-header {
    padding: 30px 40px;
    border-bottom: 1px solid #eaeef3;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.article-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-content {
    padding: 40px;
}

.article-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #45505e;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    font-weight: 500;
}

.article-content h3 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 10px;
}

.article-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.article-content h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-color);
}

.article-content ul, 
.article-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.5;
    position: relative;
}

.article-content ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.article-content ol {
    list-style-type: decimal;
    padding-left: 30px;
}

.article-content ol li {
    padding-left: 8px;
}

.article-feature-box {
    background-color: #f2f6fd;
    border-radius: var(--radius-md);
    padding: 25px 30px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.article-feature-box h4 {
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-feature-box ul {
    margin-bottom: 0;
}

.article-feature-box li strong {
    color: var(--dark-color);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.use-case {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eaeef3;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.use-case i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.use-case h4 {
    margin: 0 0 10px;
    color: var(--dark-color);
}

.use-case p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light);
}

.content-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.content-type-item {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eaeef3;
}

.content-type-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.content-type-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.content-type-item h4 {
    margin: 0 0 10px;
    color: var(--dark-color);
}

.content-type-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light);
}

.pro-tip {
    background-color: #fff8e6;
    border-radius: var(--radius-md);
    padding: 25px 30px;
    margin: 30px 0;
    border-left: 4px solid #ffc107;
}

.pro-tip h4 {
    color: #996b00;
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pro-tip p {
    margin-bottom: 0;
    color: #7a5900;
}

.security-note {
    background-color: #e9f4f0;
    border-radius: var(--radius-md);
    padding: 25px 30px;
    margin: 30px 0;
    border-left: 4px solid #2e856e;
}

.security-note h4 {
    color: #2e856e;
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-note p {
    margin-bottom: 0;
    color: #265e4f;
}

@media (max-width: 768px) {
    .article-header {
        padding: 25px;
    }
    
    .article-header h2 {
        font-size: 1.7rem;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .use-case-grid,
    .content-types-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 20px;
    }
    
    .article-header h2 {
        font-size: 1.5rem;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-content h3 {
        font-size: 1.4rem;
    }
    
    .article-content h4 {
        font-size: 1.2rem;
    }
}

/* Content Types Showcase Styles */
.content-types-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.content-type-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eaeef3;
    height: 100%;
}

.content-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.content-type-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
}

/* Format styles for QR code content display */
.format-url, .format-sms, .format-contact, .format-wifi, 
.format-email, .format-calendar, .format-geo, .format-crypto, .format-text {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.format-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.format-field {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.format-field strong {
    font-weight: 600;
    color: #555;
}

.format-link {
    display: block;
    margin: 8px 0;
    overflow-wrap: break-word;
    word-break: break-all;
    color: #007bff;
    text-decoration: none;
}

.format-link:hover {
    text-decoration: underline;
}

.format-content {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 14px;
    line-height: 1.6;
}

.format-action {
    margin-top: 12px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-sm:hover {
    background-color: #0069d9;
}

.btn-icon {
    background: transparent;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
}

.btn-icon:hover {
    color: #0056b3;
}

.format-icon {
    margin-left: 8px;
    color: #007bff;
    text-decoration: none;
}

.format-icon:hover {
    color: #0056b3;
}

/* Social sharing buttons styles */
.sharing-buttons {
    margin-top: 20px;
    padding: 16px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    animation: fadeIn 0.5s ease-in-out;
}

.sharing-buttons h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.social-share-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.social-btn.facebook {
    background-color: #3b5998;
}

.social-btn.twitter {
    background-color: #1da1f2;
}

.social-btn.linkedin {
    background-color: #0077b5;
}

.social-btn.whatsapp {
    background-color: #25d366;
}

.social-btn.email {
    background-color: #ea4335;
}

@media (max-width: 480px) {
    .social-share-btns {
        gap: 8px;
    }
    
    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

.decoded-content {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 15px;
    word-break: break-word;
    overflow-wrap: break-word;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.decoded-content pre {
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    background: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.field-row {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.field-row:last-child {
    border-bottom: none;
}

.field-row strong {
    display: inline-block;
    width: 150px;
    font-weight: 600;
    color: #555;
}

.field-row span {
    color: #333;
}

.structured-content h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

/* Extra style to clean any nested format displays */
.format-content {
    max-width: 100%;
    overflow: hidden;
}

/* Success Message Styles */
.success-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.success-message i {
    margin-right: 10px;
    font-size: 18px;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}