/* ============================================
   NAVIGATION BAR (Generator Page)
   ============================================ */

.gco-dashboard-nav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
    margin-bottom: 32px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.gco-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gco-nav-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gco-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gco-nav-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.gco-nav-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.gco-nav-user {
    display: flex;
    flex-direction: column;
}

.gco-nav-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.gco-nav-user-type {
    font-size: 12px;
    color: #6b7280;
}

.gco-btn-logout {
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.gco-btn-logout:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

/* ============================================
   GENERATOR PAGE STYLES
   ============================================ */

/* Header Banner */
.gco-qr-header-new {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    padding: 60px 40px;
    border-radius: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.gco-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Content */
.gco-header-content {
    color: white;
    text-align: left;
}

.gco-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gco-header-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gco-header-description {
    font-size: 18px;
    color: #cbd5e1;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.gco-header-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gco-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gco-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gco-feature-text {
    flex: 1;
}

.gco-feature-title {
    font-weight: 600;
    font-size: 15px;
    color: white;
}

.gco-feature-desc {
    font-size: 13px;
    color: #94a3b8;
}

/* Right Illustration */
.gco-header-illustration {
    position: relative;
}

.gco-qr-mockup {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.gco-qr-code {
    width: 100%;
    aspect-ratio: 1;
    background: url('https://gco.co.id/wp-content/uploads/2025/12/banner-image-scan-mee-qr-code-generator.png') center/contain no-repeat;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gco-qr-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.gco-stat-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.gco-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #f59e0b;
}

.gco-stat-value.gco-stat-green {
    color: #10b981;
}

.gco-stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* Floating elements */
.gco-float-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 1;
}

.gco-float-orange {
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.gco-float-green {
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Floating elements */
.gco-float-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 1;
}

.gco-float-orange {
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.gco-float-green {
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Generator Form */
.gco-generator-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .gco-header-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gco-header-title {
        font-size: 36px;
    }
}

/* Login Cards Responsive */
@media (max-width: 768px) {
    .gco-card > div:first-child h2 {
        font-size: 24px !important;
    }
    
    .gco-card > div:first-child p {
        font-size: 14px !important;
    }
    
    .gco-card > div:last-child {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .gco-card > div:last-child > div {
        padding: 24px !important;
    }
}

/* Cara Generate Section Responsive */
@media (max-width: 768px) {
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* QR Type Cards */
.gco-qr-type-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.gco-qr-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #f59e0b;
}

.gco-type-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.gco-qr-type-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #1f2937;
}

.gco-qr-type-card p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* QR Types Grid Responsive */
@media (max-width: 1024px) {
    .gco-qr-types-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .gco-qr-types-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    .gco-qr-type-card {
        padding: 20px;
    }
}

/* Pricing Section */
.gco-pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s;
}

.gco-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.gco-pricing-popular {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 3px solid #f59e0b;
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.3);
}

.gco-pricing-popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.gco-pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #059669;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.gco-badge-save {
    background: #dc2626;
}

.gco-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.gco-pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.gco-features-white li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.gco-pricing-features li:last-child {
    border-bottom: none;
}

.gco-feature-yes span {
    font-size: 14px;
    color: #374151;
}

.gco-features-white .gco-feature-yes span {
    color: white;
    font-weight: 600;
}

.gco-feature-no span {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
}

.gco-pricing-btn {
    display: block;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s;
}

.gco-btn-free {
    background: #f3f4f6;
    color: #1f2937;
}

.gco-btn-free:hover {
    background: #e5e7eb;
}

.gco-btn-popular {
    background: white;
    color: #d97706;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gco-btn-popular:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.gco-btn-yearly {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.gco-btn-yearly:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

/* Pricing Responsive */
@media (max-width: 1024px) {
    .gco-pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .gco-pricing-popular {
        transform: scale(1) !important;
    }
    
    .gco-pricing-popular:hover {
        transform: scale(1) translateY(-4px) !important;
    }
}

/* Review Section */
.gco-review-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.2s;
}

.gco-review-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gco-review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.gco-review-text {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.gco-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gco-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.gco-author-name {
    font-weight: 700;
    font-size: 14px;
    color: #1f2937;
}

.gco-author-title {
    font-size: 13px;
    color: #6b7280;
}

/* Review Responsive */
@media (max-width: 1024px) {
    .gco-review-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .gco-stats-inner {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

@media (max-width: 640px) {
    .gco-stats-inner {
        grid-template-columns: 1fr !important;
    }
}

/* FAQ Section */
.gco-faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.gco-faq-item.active {
    border-color: #f59e0b;
}

.gco-faq-question {
    width: 100%;
    padding: 24px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    transition: background-color 0.2s;
}

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

.gco-faq-question svg {
    transition: transform 0.3s;
    flex-shrink: 0;
}

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

.gco-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.gco-faq-content {
    padding: 0 24px 24px 24px;
}

.gco-faq-content p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.gco-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.gco-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* CTA Responsive */
@media (max-width: 768px) {
    .gco-cta-box h2 {
        font-size: 32px !important;
    }
    
    .gco-cta-box p {
        font-size: 16px !important;
    }
    
    .gco-cta-buttons {
        flex-direction: column !important;
    }
    
    .gco-cta-buttons a {
        width: 100%;
        justify-content: center;
    }
    
    .gco-cta-features {
        flex-direction: column !important;
        gap: 16px !important;
    }
}

/* ============================================
   LOGGED IN GENERATOR FORM
   ============================================ */

/* Generator Content */
.gco-generator-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Quota Alert */
.gco-quota-alert {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gco-quota-alert-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gco-quota-number {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.gco-quota-alert-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
}

.gco-quota-alert-desc {
    font-size: 13px;
    color: #1e3a8a;
}

.gco-quota-alert-upgrade {
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.gco-quota-alert-upgrade:hover {
    background: #2563eb;
}

/* Generator Card */
.gco-generator-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gco-generator-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #1f2937;
}

/* QR Type Selector */
.gco-qr-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gco-qr-type-btn {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.gco-qr-type-btn:hover {
    border-color: #f59e0b;
}

.gco-qr-type-btn.active {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
}

/* Form Groups */
.gco-generator-form .gco-form-group {
    margin-bottom: 20px;
}

.gco-generator-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.gco-input-icon {
    position: relative;
}

.gco-generator-form .gco-input-icon svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 1;
}

.gco-generator-form input[type="url"],
.gco-generator-form input[type="text"],
.gco-generator-form input[type="tel"],
.gco-generator-form input[type="email"],
.gco-generator-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.gco-generator-form .gco-input-icon input {
    padding-left: 44px;
}

.gco-generator-form input:focus,
.gco-generator-form textarea:focus {
    outline: none;
    border-color: #f59e0b;
}

.gco-generator-form textarea {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.gco-generator-form small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

/* Submit Button */
.gco-btn-generate {
    width: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.gco-btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

/* Result Container */
.gco-result-container {
    margin-top: 32px;
    background: white;
    border: 2px solid #10b981;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.gco-result-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.gco-result-container h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1f2937;
}

.gco-result-container p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px 0;
}

.gco-qr-preview {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    display: inline-block;
}

.gco-qr-preview img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
}

.gco-result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.gco-result-actions button,
.gco-result-actions a {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.gco-btn-copy-url {
    background: #3b82f6;
    color: white;
    border: none;
}

.gco-btn-download {
    background: #10b981;
    color: white;
    border: none;
}

.gco-btn-dashboard {
    background: #f3f4f6;
    color: #374151;
}

/* Responsive */
@media (max-width: 768px) {
    .gco-qr-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gco-quota-alert {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .gco-quota-alert-left {
        flex-direction: column;
    }
    
    .gco-result-actions {
        flex-direction: column;
    }
    
    .gco-result-actions button,
    .gco-result-actions a {
        width: 100%;
    }
}
