/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #2d4092 0%, #3850b7 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    min-height: 3.5rem;
    position: relative;
}

.navbar .container {
    width: 100%;
    max-width: 1344px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

.navbar-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    padding: 0.75rem 0;
}

.navbar-logo {
    flex-shrink: 0;
}

.navbar-logo img {
    max-height: 2.5rem;
    transition: transform 0.3s ease;
}

.navbar-logo:hover img {
    transform: scale(1.05);
}

.navbar-menu {
    background-color: transparent;
    box-shadow: none;
}

.navbar-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin: 0 auto;
}

.navbar-items-wrapper {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
    justify-content: center;
}

.navbar-item {
    color: white;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
}

.navbar-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
}

.navbar-item i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.navbar-item span {
    display: inline-block;
}

.navbar-burger {
    color: white;
    background: transparent;
    border: none;
    width: 3.25rem;
    height: 3.25rem;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 4px;
    margin-left: auto;
}

.navbar-burger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media screen and (max-width: 1023px) {
    .navbar-burger {
        display: flex;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #2d4092 0%, #3850b7 100%);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        padding: 1rem 0;
        z-index: 1000;
    }
    
    .navbar-menu.is-active {
        display: block;
    }
    
    .navbar-center {
        flex-direction: column;
        align-items: stretch;
    }
    
    .navbar-items-wrapper {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .navbar-item {
        width: 100%;
        padding: 1rem 1.5rem;
        justify-content: flex-start;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-item:last-child {
        border-bottom: none;
    }
    
    .navbar-item:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: none;
    }
    
    .navbar-brand {
        padding: 0.75rem 1rem;
    }
}

/* Tablet adjustments */
@media screen and (min-width: 769px) and (max-width: 1023px) {
    .navbar-items-wrapper {
        gap: 0.75rem;
    }
    
    .navbar-item {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Desktop - ensure centered */
@media screen and (min-width: 1024px) {
    .navbar-burger {
        display: none !important;
    }
    
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .navbar-brand {
        justify-content: flex-start;
        flex-shrink: 0;
        width: auto;
    }
    
    .navbar-menu {
        display: flex !important;
        flex: 1;
        justify-content: center;
        min-width: 0;
        overflow: hidden;
    }
    
    .navbar-center {
        position: static;
        transform: none;
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }
    
    .navbar-items-wrapper {
        gap: 0.25rem;
        flex-wrap: nowrap;
        justify-content: center;
        width: 100%;
        overflow: hidden;
    }
    
    .navbar-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
}

/* Intro Section */
#introSection {
    background: linear-gradient(135deg, #3850b7 0%, #2d4092 100%);
    color: #fff;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

/* QR Generator specific intro */
.form-qr-generator ~ #introSection,
#qr-form ~ #introSection {
    padding: 1.5rem 0;
}

#introSection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

#introSection .title {
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#introSection .subtitle {
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

/* Intro Content Layout */
.intro-content {
    position: relative;
    z-index: 1;
}

.intro-hero {
    padding: 1rem 0;
}

.intro-hero .title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

/* QR Generator specific hero */
#qr-form ~ #introSection .intro-hero,
.form-qr-generator ~ #introSection .intro-hero {
    padding: 0.5rem 0;
}

#qr-form ~ #introSection .intro-hero .title,
.form-qr-generator ~ #introSection .intro-hero .title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.intro-hero .title i {
    margin-right: 0.75rem;
    color: #4ade80;
}

.intro-hero .subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.intro-description {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
}

.benefits-section .title {
    margin-bottom: 2.5rem;
}

.benefits-section .title i {
    margin-right: 0.5rem;
    color: #4ade80;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    color: #4ade80;
    margin-bottom: 1rem;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(74, 222, 128, 0.3);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: rgba(74, 222, 128, 0.2);
    transform: scale(1.1);
    border-color: rgba(74, 222, 128, 0.5);
}

.benefit-card .title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    line-height: 1.7;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Call to Action */
.intro-cta {
    padding: 2rem 0;
    margin-top: 3rem;
}

.intro-cta p {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

.intro-cta p i {
    margin-right: 0.5rem;
    color: #4ade80;
}

.cta-button-wrapper {
    margin-top: 1.5rem;
}

.cta-button-wrapper .button {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-width: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-button-wrapper .button:hover {
    background: white;
    color: #3850b7;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-button-wrapper .button i {
    margin-right: 0.5rem;
}

/* QR Generator Form */
.form-qr-generator {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 1.5rem 0 3rem 0;
    margin-top: -1rem;
}

.qr-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-form-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.qr-form-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.qr-form-header .title {
    color: #2d4092;
    font-weight: 700;
}

.qr-form-header .title i {
    color: #3850b7;
    margin-right: 0.75rem;
}

.qr-form-body {
    padding-top: 1rem;
}

.qr-form-body .field {
    margin-bottom: 1.75rem;
}

.qr-form-body .label {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.qr-form-body .label i {
    margin-right: 0.5rem;
    color: #3850b7;
    width: 20px;
}

.qr-form-body .input,
.qr-form-body .textarea,
.qr-form-body .select select {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.qr-form-body .input:focus,
.qr-form-body .textarea:focus,
.qr-form-body .select select:focus {
    border-color: #3850b7;
    background: white;
    box-shadow: 0 0 0 4px rgba(56, 80, 183, 0.1);
    outline: none;
}

.qr-form-body .input:hover,
.qr-form-body .textarea:hover {
    border-color: #9ca3af;
}

.qr-form-body .textarea {
    resize: vertical;
    min-height: 100px;
}

.qr-form-body .help {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.qr-form-body .checkbox {
    font-size: 1rem;
    color: #374151;
}

.qr-form-body .checkbox input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: #3850b7;
}

/* Benefits Section (White Background) */
.benefit-card-white {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid #f3f4f6;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.benefit-card-white:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #3850b7;
}

.benefit-icon-blue {
    font-size: 3rem;
    color: #3850b7;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 90px;
    height: 90px;
    line-height: 90px;
    background: linear-gradient(135deg, rgba(56, 80, 183, 0.1) 0%, rgba(45, 64, 146, 0.1) 100%);
    border-radius: 50%;
    border: 3px solid rgba(56, 80, 183, 0.2);
    transition: all 0.3s ease;
}

.benefit-card-white:hover .benefit-icon-blue {
    background: linear-gradient(135deg, rgba(56, 80, 183, 0.2) 0%, rgba(45, 64, 146, 0.2) 100%);
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(56, 80, 183, 0.4);
}

.benefit-card-white .title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.benefit-card-white p {
    line-height: 1.8;
    font-size: 1rem;
}

/* QR Type Selection Grid */
.qr-type-selection {
    margin-bottom: 3rem;
}

.qr-type-selection .label {
    font-size: 1.1rem;
    color: #374151;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.qr-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.qr-type-option {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.qr-type-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3850b7, #2d4092);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.qr-type-option:hover {
    border-color: #3850b7;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(56, 80, 183, 0.15);
}

.qr-type-option.is-active {
    border-color: #3850b7;
    background: linear-gradient(135deg, rgba(56, 80, 183, 0.05) 0%, rgba(45, 64, 146, 0.05) 100%);
    box-shadow: 0 4px 15px rgba(56, 80, 183, 0.2);
}

.qr-type-option.is-active::before {
    transform: scaleX(1);
}

.qr-type-icon {
    font-size: 2.5rem;
    color: #3850b7;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.qr-type-option:hover .qr-type-icon {
    transform: scale(1.1);
}

.qr-type-option.is-active .qr-type-icon {
    color: #2d4092;
    transform: scale(1.15);
}

.qr-type-label {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.qr-type-option.is-active .qr-type-label {
    color: #2d4092;
}

.qr-type-desc {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Form Content Wrapper */
.qr-form-content-wrapper {
    min-height: 200px;
    margin-bottom: 2rem;
}

.qr-type-content {
    display: none;
    animation: slideIn 0.3s ease;
}

.qr-type-content.active-content {
    display: block;
}

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

/* Form Sections */
.form-section {
    background: #f9fafb;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2d4092;
}

.form-section-header i {
    color: #3850b7;
    font-size: 1.25rem;
}

.qr-form-body .label {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: block;
}

.qr-form-body .label.required::after {
    content: ' *';
    color: #ef4444;
}

.qr-form-body .label.optional {
    color: #6b7280;
}

.optional-badge {
    display: inline-block;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 500;
}

/* Input Icons */
.control.has-icons-left .icon {
    color: #9ca3af;
    pointer-events: none;
}

.control.has-icons-left .input:focus ~ .icon {
    color: #3850b7;
}

/* Help Text */
.help-text {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-text i {
    color: #3850b7;
    font-size: 0.875rem;
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    padding-right: 0.5rem;
}

.char-counter.char-limit-exceeded {
    color: #ef4444;
    font-weight: 600;
}

/* Modern Checkbox */
.checkbox-modern {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.checkbox-modern:hover {
    background-color: #f9fafb;
}

.checkbox-modern input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 22px;
    width: 22px;
    background-color: white;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-modern:hover input ~ .checkmark {
    border-color: #3850b7;
}

.checkbox-modern input:checked ~ .checkmark {
    background-color: #3850b7;
    border-color: #3850b7;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-modern input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.checkbox-label i {
    color: #3850b7;
}

/* Advanced Section */
.advanced-section {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.advanced-options-content {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

/* Generate Button */
.generate-button-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f3f4f6;
}

.button-generate-qr {
    width: 100%;
    background: linear-gradient(135deg, #3850b7 0%, #2d4092 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 80, 183, 0.3);
    position: relative;
    overflow: hidden;
}

.button-generate-qr::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button-generate-qr:hover::before {
    width: 300px;
    height: 300px;
}

.button-generate-qr:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(56, 80, 183, 0.4);
}

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

.button-generate-qr:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.button-content i {
    font-size: 1.2rem;
}

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

/* FAQ Styles */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq-question strong {
  font-weight: 600;
  color: #2d4092;
  font-size: 1.1rem;
  flex: 1;
}

.faq-item {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-item:hover {
  background-color: #f9fafb;
}

.faq-item .answer {
  padding-top: 1rem;
  padding-left: 0.5rem;
}

.faq-item .answer p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #374151;
}

.faq-item .answer ul,
.faq-item .answer ol {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.faq-item .answer li {
  margin-bottom: 0.5rem;
}

.faq-item .answer code {
  background-color: #f3f4f6;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #3850b7;
}

.faq-item .arrow {
  margin-left: 1rem;
  color: #3850b7;
  transition: transform 0.3s ease;
}

.faq-item .arrow i {
  font-size: 0.875rem;
}

/* Footer Styles */
#footerMain {
  background-color: #3850b7;
  color: #fff;
}

#footerMain a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

#footerMain a:hover {
  color: #fff;
  transform: translateX(5px);
}

#footerMain a i {
  margin-right: 0.5rem;
  width: 20px;
}

#footerMain ul {
  list-style: none;
  padding: 0;
}

#footerMain ul li {
  margin-bottom: 0.75rem;
}

#footerMain h4.title {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

#footerMain hr {
  background-color: rgba(255,255,255,0.2);
  border: none;
    height: 1px;
  margin: 2rem 0;
}

#footerMain small {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

/* UTM Parser Styles */
.parsed-results-container {
  margin-top: 1rem;
}

.parsed-utm-params,
.parsed-base-url,
.parsed-other-params {
  margin-bottom: 2rem;
}

.parsed-param-item {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.parsed-param-item.has-success {
  border-color: #10b981;
  background: #f0fdf4;
}

.parsed-param-item.has-warning {
  border-color: #f59e0b;
  background: #fffbeb;
}

.parsed-param-item.has-info {
  border-color: #3b82f6;
  background: #eff6ff;
}

.parsed-param-item.has-default {
  border-color: #d1d5db;
  background: #f9fafb;
}

.parsed-param-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.parsed-param-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #374151;
}

.parsed-param-label strong {
  color: #2d4092;
}

.parsed-param-key {
  font-size: 0.875rem;
}

.parsed-param-key code {
  background: #e5e7eb;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: #6b7280;
  font-family: 'Courier New', monospace;
}

.parsed-param-value {
  margin-top: 0.5rem;
}

.parsed-value-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.parsed-value-text {
  flex: 1;
  word-break: break-all;
  color: #1f2937;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  background: white;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.copy-param-btn {
  background: #3850b7;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.copy-param-btn:hover {
  background: #2d4092;
  transform: scale(1.05);
}

.copy-param-btn.copy-success {
  background: #10b981;
}

.no-value {
  color: #9ca3af;
  font-style: italic;
}

.required-badge {
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.optional-badge {
  background: #6b7280;
  color: white;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

/* Social Preview Styles */
.social-preview-section {
  margin-bottom: 2rem;
}

.social-preview-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 2px solid #e5e7eb;
}

.social-preview-content {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.facebook-style {
  max-width: 500px;
}

.twitter-style {
  max-width: 550px;
}

.linkedin-style {
  max-width: 700px;
}

.social-preview-image {
  width: 100%;
  height: 262px;
  background-size: cover;
  background-position: center;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.social-preview-image.no-image {
  background-color: #e5e7eb;
}

.social-preview-image.no-image i {
  font-size: 3rem;
  color: #9ca3af;
}

.social-preview-text {
  padding: 1rem 1.25rem;
}

.social-preview-site {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.social-preview-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.social-preview-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.preview-warning {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  color: #92400e;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preview-warning i {
  color: #f59e0b;
}

/* Meta Tags Info */
.meta-tags-container {
  margin-top: 1rem;
}

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

.meta-tag-group {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.meta-tag-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.meta-tag-item {
  background: white;
  padding: 1rem;
  border-radius: 6px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.meta-tag-item.has-tag {
  border-color: #10b981;
  background: #f0fdf4;
}

.meta-tag-item.no-tag {
  border-color: #f59e0b;
  background: #fffbeb;
}

.meta-tag-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.meta-tag-name code {
  background: #e5e7eb;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: #374151;
}

.meta-tag-status {
  font-size: 1rem;
}

.meta-tag-status .fa-check-circle {
  color: #10b981;
}

.meta-tag-status .fa-times-circle {
  color: #f59e0b;
}

.meta-tag-value {
  color: #1f2937;
  font-size: 0.875rem;
  word-break: break-all;
  line-height: 1.5;
}

/* Loader */
.loader-wrapper {
  padding: 2rem;
}

.loader {
  border: 4px solid #f3f4f6;
  border-top: 4px solid #3850b7;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .parsed-param-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .parsed-value-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .copy-param-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .parsed-value-text {
        font-size: 0.85rem;
    }
    
    .social-preview-image {
        height: 200px;
    }
    
    .meta-tags-grid {
        grid-template-columns: 1fr;
    }
    
    .social-preview-content {
        max-width: 100%;
    }
    
    .qr-form-card {
        padding: 2rem 1.5rem;
    }
    
    .qr-form-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .qr-form-header .title {
        font-size: 1.75rem;
    }
    
    .qr-type-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .qr-type-option {
        padding: 1.25rem 0.75rem;
    }
    
    .qr-type-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .qr-type-label {
        font-size: 0.9rem;
    }
    
    .qr-type-desc {
        font-size: 0.7rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-section-header {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
    
    .button-generate-qr {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .benefit-card-white {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-icon-blue {
        font-size: 2.5rem;
        width: 80px;
        height: 80px;
        line-height: 80px;
    }
    .intro-hero .title {
        font-size: 2rem;
    }
    
    .intro-hero .subtitle {
        font-size: 1.25rem;
    }
    
    .intro-description {
        font-size: 1rem !important;
    }
    
    .benefit-card {
        margin-bottom: 1.5rem;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
        line-height: 70px;
    }
}

.white-text {
    color: white !important;
}

/* Form Section */
.form-utm-create {
    margin-top: -4em;
    box-sizing: border-box;
    padding: 10px;
    position: relative;
    z-index: 10;
}

.form-utm-create .card {
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    background: white;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-utm-create .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.form-utm-create .title {
    color: #2d4092;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.form-utm-create .field {
    margin-bottom: 1.5rem;
}

.form-utm-create .label {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-utm-create .label i {
    margin-right: 0.5rem;
    color: #3850b7;
    width: 18px;
}

.form-utm-create .label .tag {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.form-utm-create .input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-utm-create .input:focus {
    border-color: #3850b7;
    background: white;
    box-shadow: 0 0 0 3px rgba(56, 80, 183, 0.1);
    outline: none;
}

.form-utm-create .input:hover {
    border-color: #9ca3af;
}

.form-utm-create .help {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-utm-create input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: #3850b7;
}

.form-utm-create input[type="checkbox"] + label {
    cursor: pointer;
    user-select: none;
}

/* Buttons */
.button {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    text-transform: none;
    letter-spacing: 0.025em;
}

.button.is-link {
    background: linear-gradient(135deg, #3850b7 0%, #2d4092 100%);
    color: white;
}

.button.is-link:hover {
    background: linear-gradient(135deg, #2d4092 0%, #1e2f6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 80, 183, 0.4);
}

.button.is-link:active {
    transform: translateY(0);
}

.button.is-link.is-light {
    background: linear-gradient(135deg, #3850b7 0%, #2d4092 100%);
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.button.is-link.is-light:hover {
    background: linear-gradient(135deg, #2d4092 0%, #1e2f6b 100%);
    box-shadow: 0 6px 20px rgba(56, 80, 183, 0.5);
}

.button.is-link.is-light:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button.is-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.button.is-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.button.is-link.is-inverted {
    background: white;
    color: #3850b7;
    border: 2px solid #3850b7;
    margin: 0.25rem;
}

.button.is-link.is-inverted:hover {
    background: #3850b7;
    color: white;
    transform: translateY(-2px);
}

/* Results Section */
#resultsgenerated {
    background: linear-gradient(135deg, #eff1fa 0%, #e0e7ff 100%);
    min-height: 350px;
    padding: 3rem 0;
}

#result {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 1rem auto;
    max-width: 900px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    word-break: break-all;
    line-height: 1.8;
}

#result strong {
    color: #3850b7;
    font-size: 1.1rem;
}

#result .url-display {
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #3850b7;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    word-break: break-all;
}

.copy-btn {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn .icon {
    margin-right: 0.25rem;
}

/* QR Code Section */
#qrcode {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 1rem 0;
    transition: transform 0.3s ease;
}

#qrcode:hover {
    transform: scale(1.02);
}

.qrcodeSize {
    margin: 1.5rem 0;
}

.qrcodeSize .button {
    min-width: 100px;
}

#colorPickerM {
    margin: 1.5rem 0;
}

#colorPickerM .label {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

#colorPicker {
    width: 80px;
    height: 50px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

#colorPicker:hover {
    border-color: #3850b7;
}

/* FAQ Section */
.section {
    padding: 4rem 1.5rem;
}

.faq-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 1rem !important;
    margin: 0.5rem 0;
}

.faq-item:hover {
    background-color: #f9fafb;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item .media-content p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.faq-item .arrow {
    transition: transform 0.3s ease;
    color: #3850b7;
}

.faq-item:hover .arrow {
    transform: translateX(4px);
}

.faq-item .answer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    line-height: 1.8;
    animation: slideDown 0.3s ease;
}

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

.faq-item .answer code {
    background: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #3850b7;
}

/* Footer */
#footerMain {
    background: linear-gradient(135deg, #2d4092 0%, #3850b7 100%);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

#footerMain small {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .form-utm-create .card {
        padding: 1.5rem;
    }
    
    #introSection {
        padding: 2rem 0;
    }
    
    #introSection .title {
        font-size: 1.5rem;
    }
    
    .form-utm-create {
        margin-top: -2em;
    }
    
    #result {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
    
    .qrcodeSize .button {
        min-width: 80px;
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .button.is-link.is-light {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-utm-create .card {
        padding: 1rem;
    }
    
    #result {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .qrcodeSize .button {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #3850b7;
    outline-offset: 2px;
}

button:focus,
input:focus {
    outline: 2px solid #3850b7;
    outline-offset: 2px;
}

/* Utility Classes */
.is-purple-light {
    background-color: #3850b7;
    color: #fff;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.pl-5 {
    padding-left: 2rem;
}
